atp-haskell-1.10: Translation from Ocaml to Haskell of John Harrison's ATP code

Safe HaskellNone
LanguageHaskell98

Data.Logic.ATP.Prolog

Description

Backchaining procedure for Horn clauses, and toy Prolog implementation.

Documentation

data PrologRule lit Source

Constructors

Prolog (Set lit) lit 

Instances

Eq lit => Eq (PrologRule lit) Source 
Ord lit => Ord (PrologRule lit) Source 

renamerule :: forall lit atom term v. (IsLiteral lit, JustLiteral lit, Ord lit, HasApply atom, IsTerm term, atom ~ AtomOf lit, term ~ TermOf atom, v ~ TVarOf term) => Int -> PrologRule lit -> (PrologRule lit, Int) Source