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 /examples/math/MathEnz.gf | |
| parent | b96b36f43de3e2f8b58d5f539daa6f6d47f25870 (diff) | |
changed names of resource-1.3; added a note on homepage on release
Diffstat (limited to 'examples/math/MathEnz.gf')
| -rw-r--r-- | examples/math/MathEnz.gf | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/examples/math/MathEnz.gf b/examples/math/MathEnz.gf deleted file mode 100644 index 2e3525032..000000000 --- a/examples/math/MathEnz.gf +++ /dev/null @@ -1,44 +0,0 @@ ---# -path=.:prelude - -concrete MathEnz of Mathw = open Prelude in { - -flags lexer = textlit ; unlexer = textlit ; - --- lincat Section ; Context ; Typ ; Obj ; Prop ; Proof ; Var ; - -lin - SDefObj cont obj typ df = - ss ("Definition" ++ "." ++ cont.s ++ - obj.s ++ "is" ++ "a" ++ typ.s ++ "," ++ "defined" ++ "as" ++ df.s ++ ".") ; - SDefProp cont prop df = - ss ("Definition" ++ "." ++ cont.s ++ "we" ++ "say" ++ - "that" ++ prop.s ++ "if" ++ df.s ++ ".") ; - SAxiom cont prop = - ss ("Axiom" ++ "." ++ cont.s ++ prop.s ++ ".") ; - STheorem cont prop proof = - ss ("Theorem" ++ "." ++ cont.s ++ prop.s ++ "." ++ proof.s ++ ".") ; - - CEmpty = ss [] ; - CObj vr typ co = ss ("let" ++ vr.s ++ "be" ++ "a" ++ typ.s ++ "." ++ co.s) ; - CProp prop co = ss ("assume" ++ prop.s ++ "." ++ co.s) ; - - OVar v = v ; - - V_x = ss "x" ; - V_y = ss "y" ; - V_z = ss "z" ; - --- lexicon - - Set = ss "set" ; - Nat = ss ["natural number"] ; - Zero = ss "zero" ; - Succ = prefixSS ["the successor of"] ; - One = ss "one" ; - Two = ss "two" ; - Even = postfixSS ["is even"] ; - Odd = postfixSS ["is odd"] ; - Prime = postfixSS ["is prime"] ; - Divisible = infixSS ["is divisible by"] ; - -} |
