File: modeq.v

package info (click to toggle)
coq 8.6-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 26,884 kB
  • sloc: ml: 183,693; ansic: 1,858; lisp: 1,425; sh: 1,138; makefile: 713; xml: 24; sed: 2
file content (22 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Module M.
  Definition T := nat.
  Definition x : T := 0.
End M.

Module Type SIG.
  Module M := Top.M.
  Module Type SIG.
    Parameter T : Set.
  End SIG.
  Declare Module N: SIG.
End SIG.

Module Z.
  Module M := Top.M.
  Module Type SIG.
    Parameter T : Set.
  End SIG.
  Module N := M.
End Z.

Module A : SIG := Z.