Safe Haskell | None |
---|---|
Language | Haskell98 |
Jukebox.Form
Documentation
Minimal complete definition
data Connective Source #
Instances
connective :: Connective -> Form -> Form -> Form Source #
notInwards :: Form -> Form Source #
Constructors
CNF | |
Fields
|
toLiterals :: Clause -> [Literal] Source #
Constructors
Axiom | |
Hypothesis | |
Definition | |
Assumption | |
Lemma | |
TheoremKind | |
NegatedConjecture |
Constructors
Conjecture | |
Question |
Constructors
Sat SatReason (Maybe Model) | |
Unsat UnsatReason (Maybe CNFRefutation) | |
NoAnswer NoAnswerReason |
data NoAnswerReason Source #
Instances
Constructors
Satisfiable | |
CounterSatisfiable |
type CNFRefutation = [String] Source #
explainAnswer :: Answer -> String Source #
data InputSource Source #
Constructors
Form :: TypeOf Form | |
Clause_ :: TypeOf Clause | |
Term :: TypeOf Term | |
Atomic :: TypeOf Atomic | |
Signed :: (Symbolic a, Symbolic (Signed a)) => TypeOf (Signed a) | |
Bind_ :: (Symbolic a, Symbolic (Bind a)) => TypeOf (Bind a) | |
List :: (Symbolic a, Symbolic [a]) => TypeOf [a] | |
Input_ :: (Symbolic a, Symbolic (Input a)) => TypeOf (Input a) | |
CNF_ :: TypeOf CNF |
Minimal complete definition
recursively :: Symbolic a => (forall a. Symbolic a => a -> a) -> a -> a Source #
termsAndBinders :: forall a b. Symbolic a => (Term -> DList b) -> (forall a. Symbolic a => Bind a -> [b]) -> a -> [b] Source #
eraseTypes :: Symbolic a => a -> a Source #
uniqueNames :: Symbolic a => a -> NameM a Source #