| 1 |
Inductive test : Type := test_intro : (exists x : nat, True) -> test. |
| 2 |
|
| 3 |
Lemma test_lemma (x y : nat) : |
| 4 |
test_intro (ex_intro _ x I) = test_intro (ex_intro _ y I) -> |
| 5 |
(ex_intro _ x I) = (ex_intro _ y I). |
| 6 |
Proof. |
| 7 |
intros [=]. |
| 8 |
Abort. |
| 9 |
|
| 10 |
Inductive squash A : Prop := sq (x : A). |
| 11 |
|
| 12 |
Goal sq _ true = sq _ false -> False. |
| 13 |
Proof. |
| 14 |
intros [=]. |
| 15 |
Abort. |
| 16 |
|
| 17 |
Set Keep Proof Equalities. |
| 18 |
|
| 19 |
Lemma test_lemma x y : |
| 20 |
test_intro x = test_intro y -> x = y. |
| 21 |
Proof. |
| 22 |
intros [=]. assumption. |
| 23 |
Abort. |