diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-06-25 16:54:35 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-06-25 16:54:35 +0000 |
| commit | e9e80fc389365e24d4300d7d5390c7d833a96c50 (patch) | |
| tree | f0b58473adaa670bd8fc52ada419d8cad470ee03 /old-examples/math/Math.gf | |
| parent | b96b36f43de3e2f8b58d5f539daa6f6d47f25870 (diff) | |
changed names of resource-1.3; added a note on homepage on release
Diffstat (limited to 'old-examples/math/Math.gf')
| -rw-r--r-- | old-examples/math/Math.gf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/old-examples/math/Math.gf b/old-examples/math/Math.gf new file mode 100644 index 000000000..35cfcbfdc --- /dev/null +++ b/old-examples/math/Math.gf @@ -0,0 +1,41 @@ +abstract Math = { + +flags startcat = Section ; + +cat + Section ; Label ; Context ; Typ ; Obj ; Prop ; Proof ; Var ; + +fun + SDefObj : Label -> Context -> Obj -> Typ -> Obj -> Section ; + SDefProp : Label -> Context -> Prop -> Prop -> Section ; + SAxiom : Label -> Context -> Prop -> Section ; + STheorem : Label -> Context -> Prop -> Proof -> Section ; + + CEmpty : Context ; + CObj : Var -> Typ -> Context -> Context ; + CProp : Prop -> Context -> Context ; + + OVar : Var -> Obj ; + + LNone : Label ; + LString : String -> Label ; + VString : String -> Var ; + + V_x, V_y, V_z : Var ; --- for js + + PLink : Proof ; + +-- lexicon + + Set : Typ ; + Nat : Typ ; + Zero : Obj ; + Succ : Obj -> Obj ; + One : Obj ; + Two : Obj ; + Even : Obj -> Prop ; + Odd : Obj -> Prop ; + Prime : Obj -> Prop ; + Divisible : Obj -> Obj -> Prop ; + +} |
