| 1 |
Fixpoint big n : unit := match n with 0 => tt | S n => match big n with tt => big n end end. |
| 2 |
|
| 3 |
Inductive squash (A : Type) : SProp := Squash : A -> squash A. |
| 4 |
Inductive box (A : SProp) : Type := Box : A -> box A. |
| 5 |
|
| 6 |
(* If this is ever unfolded, this will explode *) |
| 7 |
Goal Box _ (Squash _ (big 50)) = Box _ (Squash _ tt). |
| 8 |
Proof. |
| 9 |
reflexivity. |
| 10 |
Qed. |
| 11 |
|
| 12 |
Definition SquashC := Squash. |
| 13 |
|
| 14 |
(* If this is ever unfolded, this will explode *) |
| 15 |
Goal Box _ (SquashC _ (big 50)) = Box _ (SquashC _ tt). |
| 16 |
Proof. |
| 17 |
reflexivity. |
| 18 |
Qed. |