| 1 |
Section foo. |
| 2 |
Context (x := 1). |
| 3 |
Definition foo : x = 1 := eq_refl. |
| 4 |
End foo. |
| 5 |
|
| 6 |
Module Type Foo. |
| 7 |
#[local] Definition x := 1. |
| 8 |
Definition foo : x = 1 := eq_refl. |
| 9 |
End Foo. |
| 10 |
|
| 11 |
Set Universe Polymorphism. |
| 12 |
|
| 13 |
Inductive unit := tt. |
| 14 |
Inductive eq {A} (x y : A) : Type := eq_refl : eq x y. |
| 15 |
|
| 16 |
Section bar. |
| 17 |
Context (x := tt). |
| 18 |
Definition bar : eq x tt := eq_refl _ _. |
| 19 |
End bar. |
| 20 |
|
| 21 |
Module Type Bar. |
| 22 |
#[local] Definition x := tt. |
| 23 |
Definition bar : eq x tt := eq_refl _ _. |
| 24 |
End Bar. |