| 1 |
(* File reduced by coq-bug-finder from original input, then from 7593 lines to 243 lines, then from 256 lines to 102 lines, then from 104 lines to 28 lines *) |
| 2 |
(* coqc version trunk (September 2014) compiled on Sep 17 2014 0:22:30 with OCaml 4.01.0 |
| 3 |
coqtop version cagnode16:/afs/csail.mit.edu/u/j/jgross/coq-trunk,trunk (d34e1eed232c84590ddb80d70db9f7f7cf13584a) *) |
| 4 |
Set Primitive Projections. |
| 5 |
Set Implicit Arguments. |
| 6 |
Record prod (A B : Type) := pair { fst : A ; snd : B }. |
| 7 |
Notation "x * y" := (prod x y) : type_scope. |
| 8 |
Notation "( x , y , .. , z )" := (pair .. (pair x y) .. z) : core_scope. |
| 9 |
Class UnitSubuniverse := { O : Type -> Type ; O_unit : forall T, T -> O T }. |
| 10 |
Class ReflectiveSubuniverse := { rsubu_usubu : UnitSubuniverse ; O_rectnd : forall {P Q : Type} (f : P -> Q), O P -> Q }. |
| 11 |
Global Existing Instance rsubu_usubu. |
| 12 |
#[warning="context-outside-section"] Context {subU : ReflectiveSubuniverse}. |
| 13 |
Goal forall (A B : Type) (x : O A * O B) (x0 : B), |
| 14 |
{ g : _ & O_rectnd (fun z : A * B => (O_unit (fst z), O_unit (snd z))) |
| 15 |
(O_rectnd (fun a : A => O_unit (a, x0)) (fst x)) = |
| 16 |
g x0 }. |
| 17 |
eexists. |
| 18 |
Show Existentials. Set Printing Existential Instances. |
| 19 |
match goal with |
| 20 |
| [ |- context[?e] ] => is_evar e; let e' := fresh "e'" in set (e' := e) |
| 21 |
end. |
| 22 |
|
| 23 |
|
| 24 |
(* Toplevel input, characters 15-114: |
| 25 |
Anomaly: Bad recursive type. Please report. *) |
| 26 |
Abort. |