summaryrefslogtreecommitdiff
path: root/Theorem.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Theorem.hs')
-rw-r--r--Theorem.hs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Theorem.hs b/Theorem.hs
new file mode 100644
index 0000000..c4a36c8
--- /dev/null
+++ b/Theorem.hs
@@ -0,0 +1,19 @@
+module Theorem (
+ Theorem(..),
+ ) where
+
+
+
+import Data.List
+import TypeVar
+import Term
+
+
+
+data Theorem = Theorem { thmHyp :: [Term]
+ , thmCon :: Term } deriving (Eq)
+
+
+
+instance Show Theorem where
+ show a = (show . thmHyp $ a) ++ " |- " ++ (show . thmCon $ a)