gmultiset lemmas
Merge request reports
Activity
- Resolved by Dan Frumin
- Resolved by Dan Frumin
- Resolved by Dan Frumin
added 1 commit
- a41a00fd - [gmultiset.v] Make use of `foldr_permutation_proper`.
added 1 commit
- 90c03053 - Move out a `Proper ((≡ₚ) ==> R)` instace for `foldr`.
- Resolved by Robbert Krebbers
added 1 commit
- 87c732fc - Simplify the proof of `gmultiset_set_fold_disj_union`.
added 1 commit
- 765e544c - Add `elements_disj_union` and `set_fold` lemmas.
200 200 Proof. apply set_ind. by intros ?? ->%leibniz_equiv_iff. Qed. 201 201 202 202 (** * The [set_fold] operation *) 203 Lemma elements_disj_union (X Y : C) : 204 X ## Y → elements (X ∪ Y) ≡ₚ elements X ++ elements Y. 205 Proof. 206 generalize dependent X. changed this line in version 6 of the diff
-
revert
requires fewer keystrokes thangeneralize dependent
-
revert
supports multiple arguments, e.g.revert x y z
;generalize dependent
only supports one argument. -
generalize dependent x
will also revert all hypotheses that depend onx
. The order is not very well-defined, so you typically run into problems with anintros
later. Better to userevert x Hx Hx'
to be specific about the order in which the hypotheses that depend onx
are being reverted.
-
- Resolved by Robbert Krebbers
i've added the corresponding lemmas for finite sets.
Thank you very much!
I don't really know where to put the elements_disj_union lemma. I proved it using set_ind induction. But for set_ind you need lemmas about the size function, and for those you need some elements lemmas
I see, that's annoying. Not sure there is a proper solution for that. I guess what you've done makes sense.
added 1 commit
- 3521f39b - Add `elements_disj_union` and `set_fold` lemmas.
mentioned in commit a8e9b673
Please register or sign in to reply