| 1 |
Ltac show H := |
| 2 |
let T := type of H in |
| 3 |
let s := type of T in |
| 4 |
idtac s. |
| 5 |
|
| 6 |
Module M1. |
| 7 |
Goal True. |
| 8 |
Proof. |
| 9 |
refine (let H := _ in _). |
| 10 |
show H. |
| 11 |
Set Printing Universes. |
| 12 |
show H. |
| 13 |
Set Printing Sort Qualities. |
| 14 |
show H. |
| 15 |
Unset Printing Universes. |
| 16 |
show H. |
| 17 |
Abort. |
| 18 |
End M1. |
| 19 |
|
| 20 |
Module M2. |
| 21 |
Set Universe Polymorphism. |
| 22 |
Lemma foo@{s;u|} (A : Type@{s;u}) : True. |
| 23 |
Proof. |
| 24 |
Check A. |
| 25 |
Set Printing Universes. |
| 26 |
Check A. |
| 27 |
Set Printing Sort Qualities. |
| 28 |
Check A. |
| 29 |
Unset Printing Universes. |
| 30 |
Check A. |
| 31 |
Abort. |
| 32 |
End M2. |