| 1 |
Module Type PARAM. |
| 2 |
Parameter T : Type. |
| 3 |
End PARAM. |
| 4 |
|
| 5 |
Module Type NESTED. |
| 6 |
Declare Module KI: PARAM. |
| 7 |
End NESTED. |
| 8 |
|
| 9 |
Module Type BUNDLE. |
| 10 |
Declare Module KI: PARAM. |
| 11 |
Declare Module K0: NESTED with Module KI := KI. |
| 12 |
End BUNDLE. |
| 13 |
|
| 14 |
Declare Module MyKI : PARAM. |
| 15 |
Declare Module MyKO : BUNDLE with Module KI := MyKI. |
| 16 |
|
| 17 |
(** Check that the delta-resolver contains the correct equivalence |
| 18 |
|
| 19 |
MyKO.K0.KI.T ↦ MyKI.T *) |
| 20 |
|
| 21 |
Goal MyKI.T. |
| 22 |
Proof. |
| 23 |
match goal with |
| 24 |
[ |- MyKO.K0.KI.T ] => idtac |
| 25 |
end. |
| 26 |
Abort. |
| 27 |
|
| 28 |
Goal MyKO.K0.KI.T. |
| 29 |
Proof. |
| 30 |
match goal with |
| 31 |
[ |- MyKI.T ] => idtac |
| 32 |
end. |
| 33 |
Abort. |