| 1 |
|
| 2 |
|
| 3 |
Set Primitive Projections. |
| 4 |
Record total2 (P : nat -> Prop) := tpair { pr1 : nat; pr2 : P pr1 }. |
| 5 |
Theorem onefiber' (q : total2 (fun y => y = 0)) : True. |
| 6 |
Proof. assert (foo:=pr2 _ q). simpl in foo. |
| 7 |
destruct foo. (* Error: q is used in conclusion. *) exact I. Qed. |
| 8 |
|
| 9 |
Print onefiber'. |