| 1 |
Set Primitive Projections. |
| 2 |
Record prod A B := pair { fst : A ; snd : B }. |
| 3 |
Arguments pair {_ _} _ _. |
| 4 |
Notation "( x , y , .. , z )" := (pair .. (pair x y) .. z) : core_scope. |
| 5 |
Definition ap11 {A B} {f g:A->B} (h:f=g) {x y:A} (p:x=y) : f x = g y. |
| 6 |
Admitted. |
| 7 |
Goal forall x y z w : Set, (x, y) = (z, w). |
| 8 |
Proof. |
| 9 |
intros. |
| 10 |
apply ap11. (* Toplevel input, characters 21-25: |
| 11 |
Error: In environment |
| 12 |
x : Set |
| 13 |
y : Set |
| 14 |
z : Set |
| 15 |
w : Set |
| 16 |
Unable to unify "?31 ?191 = ?32 ?192" with "(x, y) = (z, w)". |
| 17 |
*) |
| 18 |
Abort. |