- data Term
- type Proposition = Term
- data Variable = Variable String Type
- data Theorem
- data Type
- data Inference a
- data Axiom = Axiom
- class TypeOf a where
- (=.) :: Term -> Term -> Term
- assumptions :: Theorem -> [Proposition]
- conclusion :: Theorem -> Proposition
- inference :: Inference Theorem -> Maybe Theorem
- wellTyped :: Term -> Bool
- freeIn :: Variable -> Term -> Bool
- freeVariables :: Term -> [Variable]
Documentation
type Proposition = TermSource
A boolean term.
assumptions :: Theorem -> [Proposition]Source
Assumptions of a Theorem
.
conclusion :: Theorem -> PropositionSource
Conclusion of a Theorem
.
freeVariables :: Term -> [Variable]Source
All free variables in a term.