| 1 |
Set Printing Universes. |
| 2 |
|
| 3 |
Inductive Foo@{i} (A:Type@{i}) : Type := foo : (Set:Type@{i}) -> Foo A. |
| 4 |
Arguments foo {_} _. |
| 5 |
Print Universes Subgraph (Foo.i). |
| 6 |
Definition bar : Foo True -> Set := fun '(foo x) => x. |
| 7 |
|
| 8 |
Definition foo_bar (n : Foo True) : foo (bar n) = n. |
| 9 |
Proof. destruct n;reflexivity. Qed. |
| 10 |
|
| 11 |
Definition bar_foo (n : Set) : bar (foo n) = n. |
| 12 |
Proof. reflexivity. Qed. |
| 13 |
|
| 14 |
Require Import TestSuite.hurkens. |
| 15 |
|
| 16 |
Inductive box (A : Set) : Prop := Box : A -> box A. |
| 17 |
|
| 18 |
Definition Paradox : False. |
| 19 |
Proof. |
| 20 |
Fail unshelve refine ( |
| 21 |
NoRetractFromSmallPropositionToProp.paradox |
| 22 |
(Foo True) |
| 23 |
(fun A => foo A) |
| 24 |
(fun A => box (bar A)) |
| 25 |
_ |
| 26 |
_ |
| 27 |
False |
| 28 |
). |
| 29 |
Abort. |