summaryrefslogtreecommitdiff
path: root/old-examples/logic/Theory.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-06-27 09:18:50 +0000
committeraarne <aarne@cs.chalmers.se>2008-06-27 09:18:50 +0000
commit5c713d8f027a9b6be687ee3f7e917e8bd2115773 (patch)
tree65da19829810b753345a5b2164bef2d8876268dd /old-examples/logic/Theory.gf
parentf7b2a83059697f1b36a6369e489ac276e7ff875d (diff)
took away old-examples
Diffstat (limited to 'old-examples/logic/Theory.gf')
-rw-r--r--old-examples/logic/Theory.gf47
1 files changed, 0 insertions, 47 deletions
diff --git a/old-examples/logic/Theory.gf b/old-examples/logic/Theory.gf
deleted file mode 100644
index 778e0a8ec..000000000
--- a/old-examples/logic/Theory.gf
+++ /dev/null
@@ -1,47 +0,0 @@
-abstract Theory = {
-
- cat
- Chapter ;
- Jment ;
- [Jment] {0} ;
- Decl ;
- [Decl] {0} ;
- Prop ;
- Proof ;
- [Proof] {2} ;
- Branch ;
- Typ ;
- Obj ;
- Label ;
- Ref ;
- [Ref] ;
- Adverb ;
- Number ;
-
- fun
- Chap : Label -> [Jment] -> Chapter ; -- title, text
-
- JDefObj : [Decl] -> Obj -> Obj -> Jment ; -- a = b (G)
- JDefObjTyp : [Decl] -> Typ -> Obj -> Obj -> Jment ; -- a = b : A (G)
- JDefProp : [Decl] -> Prop -> Prop -> Jment ; -- A = B : Prop (G)
- JThm : [Decl] -> Prop -> Proof -> Jment ; -- p : P (G)
-
- DProp : Prop -> Decl ; -- assume P
- DPropLabel : Label -> Prop -> Label ; -- assume P (h)
- DTyp : Obj -> Typ -> Decl ; -- let x,y be T
-
- PProp : Prop -> Proof ; -- P.
- PAdvProp : Adverb -> Prop -> Proof ; -- Hence, P.
- PDecl : Decl -> Proof ; -- Assume P.
- PBranch : Branch -> [Proof] -> Proof ; -- By cases: P1 P2
-
- BCases : Number -> Branch ; -- We have n cases.
-
- ARef : Ref -> Adverb ; -- by Thm 2
- AHence : Adverb ; -- therefore
- AAFort : Adverb ; -- a fortiori
-
- RLabel : Label -> Ref ; -- Thm 2
- RMany : [Ref] -> Ref ; -- Thm 2 and Lemma 4
-
-}