| 1 |
Set Implicit Arguments. |
| 2 |
Unset Strict Implicit. |
| 3 |
|
| 4 |
|
| 5 |
Module M. |
| 6 |
Definition id (A : Set) (x : A) := x. |
| 7 |
|
| 8 |
Module Type SIG. |
| 9 |
Parameter idid : forall A : Set, A -> A. |
| 10 |
End SIG. |
| 11 |
|
| 12 |
Module N. |
| 13 |
Definition idid (A : Set) (x : A) := id x. |
| 14 |
(* <Warning> : Grammar is replaced by Notation *) |
| 15 |
Notation inc := (plus 1). |
| 16 |
End N. |
| 17 |
|
| 18 |
Definition zero := N.idid 0. |
| 19 |
|
| 20 |
End M. |
| 21 |
|
| 22 |
Definition zero := M.N.idid 0. |
| 23 |
Definition jeden := M.N.inc 0. |
| 24 |
|
| 25 |
Module Goly := M.N. |
| 26 |
|
| 27 |
Definition Gole_zero := Goly.idid 0. |
| 28 |
Definition Goly_jeden := Goly.inc 0. |
| 29 |
|
| 30 |
Module Ubrany : M.SIG := M.N. |
| 31 |
|
| 32 |
Definition Ubrane_zero := Ubrany.idid 0. |