summaryrefslogtreecommitdiff
path: root/src/Library/Theorem.hs
blob: a9765495ca43164926807abd22ba6cb097483017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Library.Theorem (
	Theorem(..),
	) where



import qualified Data.Set as Set
import Library.TypeVar
import Library.Term



data Theorem = Theorem { thmHyp :: Set.Set Term
                       , thmCon :: Term } deriving (Eq, Ord)



instance Show Theorem where
    show a   =   (show . Set.toList . thmHyp $ a) ++ " |- " ++ (show . thmCon $ a)