1
0
mirror of https://github.com/nmvdw/HITs-Examples synced 2025-11-04 07:33:51 +01:00

Separated lemmas for extensionality for properties, added tactic toHProp

This commit is contained in:
Niels
2017-08-08 13:35:28 +02:00
parent 4ade6e60cc
commit c1dfef3cc1
7 changed files with 108 additions and 155 deletions

View File

@@ -197,3 +197,18 @@ End FSet.
Notation "{| x |}" := (L x).
Infix "" := U (at level 8, right associativity).
Notation "" := E.
Lemma union_idem {A : Type} : forall x: FSet A, x x = x.
Proof.
hinduction ; try (intros ; apply set_path2).
- apply nl.
- apply idem.
- intros x y P Q.
rewrite assoc.
rewrite (comm x y).
rewrite <- (assoc y x x).
rewrite P.
rewrite (comm y x).
rewrite <- (assoc x y y).
f_ap.
Defined.