summaryrefslogtreecommitdiff
path: root/examples/systemS/Proof.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2005-12-20 14:20:42 +0000
committeraarne <aarne@cs.chalmers.se>2005-12-20 14:20:42 +0000
commit25b31684378d3b0668b65939fc7b30b0c1e8d130 (patch)
tree7ed3e007a8847096087a3593504aec526fedd455 /examples/systemS/Proof.gf
parent774abf612d5cc3a099f229c9cc649c7c51979f2d (diff)
CS's system S
Diffstat (limited to 'examples/systemS/Proof.gf')
-rw-r--r--examples/systemS/Proof.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/systemS/Proof.gf b/examples/systemS/Proof.gf
new file mode 100644
index 000000000..06a6f1c68
--- /dev/null
+++ b/examples/systemS/Proof.gf
@@ -0,0 +1,23 @@
+abstract Proof = Formula ** {
+
+ cat
+ Text ;
+ Proof ;
+ [Formula] ;
+
+ fun
+ Start : [Formula] -> Formula -> Proof -> Text ;
+
+ Hypo : Proof ;
+ Implic : [Formula] -> Formula -> Proof -> Proof ;
+ RedAbs : Formula -> Proof -> Proof ;
+ ExFalso : Formula -> Proof ;
+ ConjSplit : Formula -> Formula -> Formula -> Proof -> Proof ;
+ ModPon : [Formula] -> Formula -> Proof -> Proof ;
+ Forget : [Formula] -> Formula -> Proof -> Proof ;
+
+ DeMorgan1, DeMorgan2 : Formula -> Formula -> Proof -> Proof ;
+ ImplicNeg : [Formula] -> Formula -> Proof -> Proof ;
+ NegRewrite : Formula -> [Formula] -> Proof -> Proof ;
+
+}