| 1 |
Axiom T : Type. |
| 2 |
|
| 3 |
Lemma foo : True * Type. |
| 4 |
Proof. |
| 5 |
split. |
| 6 |
par: abstract (exact I || exact T). |
| 7 |
Defined. |
| 8 |
|
| 9 |
(* Yes, these names are generated hence |
| 10 |
the test is fragile. I want to assert |
| 11 |
that abstract was correctly handled |
| 12 |
by par: *) |
| 13 |
Check foo_subproof. |
| 14 |
Check foo_subproof0. |
| 15 |
Check (refl_equal _ : |
| 16 |
foo = |
| 17 |
pair foo_subproof foo_subproof0). |
| 18 |
|
| 19 |
Lemma bar : True * Type. |
| 20 |
Proof. |
| 21 |
split. |
| 22 |
par: (exact I || exact T). |
| 23 |
Defined. |
| 24 |
Check (refl_equal _ : |
| 25 |
bar = pair I T). |