diff --git a/theories/base.v b/theories/base.v index c30bbe8247d382360c42d1c967335f922583887f..763e86c419fa5f7b2811e25e14d87e0fa268c073 100644 --- a/theories/base.v +++ b/theories/base.v @@ -91,6 +91,14 @@ Existing Class TCForall. Existing Instance TCForall_nil. Existing Instance TCForall_cons. +Inductive TCForall2 {A B} (P : A → B → Prop) : list A → list B → Prop := + | TCForall2_nil : TCForall2 P [] [] + | TCForall2_cons x y xs ys : + P x y → TCForall2 P xs ys → TCForall2 P (x :: xs) (y :: ys). +Existing Class TCForall2. +Existing Instance TCForall2_nil. +Existing Instance TCForall2_cons. + (** Throughout this development we use [stdpp_scope] for all general purpose notations that do not belong to a more specific scope. *) Delimit Scope stdpp_scope with stdpp.