| 1 |
Require Import TestSuite.admit. |
| 2 |
(* File reduced by coq-bug-finder from original input, then from 5479 lines to 4682 lines, then from 4214 lines to 86 lines, then from 60 lines to 25 lines *) |
| 3 |
(* coqc version trunk (October 2014) compiled on Oct 1 2014 18:13:54 with OCaml 4.01.0 |
| 4 |
coqtop version cagnode16:/afs/csail.mit.edu/u/j/jgross/coq-trunk,trunk (68846802a7be637ec805a5e374655a426b5723a5) *) |
| 5 |
Set Primitive Projections. |
| 6 |
Notation "( x ; y )" := (existT _ x y) : fibration_scope. |
| 7 |
Open Scope fibration_scope. |
| 8 |
Notation pr1 := projT1. |
| 9 |
Notation "x .1" := (pr1 x) : fibration_scope. |
| 10 |
Axiom ap : forall {A B:Type} (f:A -> B) {x y:A} (p:x = y), f x = f y. |
| 11 |
Class IsEquiv {A B : Type} (f : A -> B) := { equiv_inv : B -> A }. |
| 12 |
Record Equiv A B := { equiv_fun :> A -> B ; equiv_isequiv :> IsEquiv equiv_fun }. |
| 13 |
Global Existing Instance equiv_isequiv. |
| 14 |
Notation "A <~> B" := (Equiv A B) (at level 85) : equiv_scope. |
| 15 |
Notation "f ^-1" := (@equiv_inv _ _ f _) (at level 3, format "f '^-1'") : equiv_scope. |
| 16 |
Axiom IsHSet : Type -> Type. |
| 17 |
Local Open Scope equiv_scope. |
| 18 |
Record hSet := BuildhSet {setT:> Type; iss :> IsHSet setT}. |
| 19 |
Canonical Structure default_HSet:= fun T P => (@BuildhSet T P). |
| 20 |
Axiom issig_hSet: (sigT IsHSet) <~> hSet. |
| 21 |
Definition isequiv_ap_setT X Y : IsEquiv (@ap _ _ setT X Y). |
| 22 |
Proof. |
| 23 |
assert (H'' : forall g : X = Y -> (issig_hSet^-1 X).1 = (issig_hSet^-1 Y).1, |
| 24 |
g = g -> IsEquiv g) by admit. |
| 25 |
Eval compute in (@projT1 Type IsHSet (@equiv_inv _ _ _ (equiv_isequiv _ _ issig_hSet) X)). |
| 26 |
Fail apply H''. (* stack overflow *) |
| 27 |
Abort. |