| 1 |
(* File reduced by coq-bug-finder from original input, then from 11716 lines to 11295 lines, then from 10518 lines to 21 lines, then \ |
| 2 |
from 37 lines to 21 lines *) |
| 3 |
(* coqc version trunk (August 2014) compiled on Aug 31 2014 10:12:32 with OCaml 4.01.0 |
| 4 |
coqtop version cagnode17:/afs/csail.mit.edu/u/j/jgross/coq-trunk,trunk (437b91a3ffd7327975a129b95b24d3f66ad7f3e4) *) |
| 5 |
Set Primitive Projections. |
| 6 |
Record prod A B := pair { fst : A ; snd : B }. |
| 7 |
Arguments pair {A B} _ _. |
| 8 |
Arguments fst {A B} _ / . |
| 9 |
Arguments snd {A B} _ / . |
| 10 |
Notation "x * y" := (prod x y) : type_scope. |
| 11 |
Notation "( x , y , .. , z )" := (pair .. (pair x y) .. z) : core_scope. |
| 12 |
Axiom transport : forall {A : Type} (P : A -> Type) {x y : A} (p : x = y) (u : P x), P y. |
| 13 |
Goal forall (H H0 H1 : Type) (H2 : H1) (H3 : H1 -> H * H0) |
| 14 |
(H4 : (fun c : H1 => (fst (H3 c), snd (H3 c))%core) = |
| 15 |
H3) (H5 : H -> Type) (H6 H7 : H5 (fst (H3 H2))), |
| 16 |
transport (fun y : H1 -> H * H0 => H5 (fst (y H2))) H4 H6 = H7. |
| 17 |
intros. |
| 18 |
match goal with |
| 19 |
| [ |- context ctx [transport (fun y => (?g (@fst ?C ?h (y H2)))) H4 H6] ] |
| 20 |
=> set(foo:=h); idtac |
| 21 |
end. |
| 22 |
match goal with |
| 23 |
| [ |- context ctx [transport (fun y => (?g (fst (y H2))))] ] |
| 24 |
=> idtac |
| 25 |
end. |
| 26 |
Abort. |
| 27 |
Goal forall (H H0 H1 : Type) (H2 : H1) (H3 : H1 -> (H1 -> H) * H0) |
| 28 |
(H4 : (fun c : H1 => (fst (H3 c), snd (H3 c))%core) = |
| 29 |
H3) (H5 : H -> Type) (H6 H7 : H5 (fst (H3 H2) H2)), |
| 30 |
transport (fun y : H1 -> (H1 -> H) * H0 => H5 (fst (y H2) H2)) H4 H6 = H7. |
| 31 |
intros. |
| 32 |
match goal with |
| 33 |
| [ |- context ctx [transport (fun y => (?g (@fst ?C ?D (y H2) ?X)))] ] |
| 34 |
=> set(foo:=X) |
| 35 |
end. |
| 36 |
(* Anomaly: Uncaught exception Not_found(_). Please report. *) |
| 37 |
|
| 38 |
(* Anomaly: Uncaught exception Not_found(_). Please report. *) |
| 39 |
Abort. |