Random collection of lemmas from RefinedC
4 unresolved threads
4 unresolved threads
These are some things from RefinedC that I would like to upstream to stdpp. There are still some open questions, see the comments for them. Please let me know which of these changes make sense in stdpp.
Merge request reports
Activity
127 127 Existing Class TCTrue. 128 128 Existing Instance TCTrue_intro. 129 129 130 Inductive TCFalse : Prop :=. 131 Existing Class TCFalse. 132 133 Notation TCUnless P := (TCIf P TCFalse TCTrue). 148 153 Global Hint Mode TCForall2 ! ! ! ! - : typeclass_instances. 149 154 Global Hint Mode TCForall2 ! ! ! - ! : typeclass_instances. 150 155 156 Inductive TCExists {A} (P : A → Prop) : list A → Prop := 157 | TCExists_cons_hd x l : P x → TCExists P (x :: l) 158 | TCExists_cons_tl x l: TCExists P l → TCExists P (x :: l). 4320 4320 Lemma TCForall2_Forall2 {A B} (P : A → B → Prop) xs ys : TCForall2 P xs ys ↔ Forall2 P xs ys. 4321 4321 Proof. split; induction 1; constructor; auto. Qed. 4322 4322 4323 Lemma TCExists_Exists {A} (P : A → Prop) l : 4324 TCExists P l ↔ Exists P l. I've tried reordering
fin_maps.v
for a bit, but could not find a reordering that works (Theunion_with
section depends on thedisjoint_map
section, which depends on themap_relation
section, which depends on themap_Forall
section, which depends on themap_to_list / list_to_map
section). I don't really know what the best thing to do here is.I've created !249 (merged)
mentioned in merge request !246 (merged)
mentioned in merge request !247 (merged)
mentioned in merge request !248 (merged)
mentioned in merge request !249 (merged)
Please register or sign in to reply