Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
TPDB.Data
Description
Data types for rewrite systems and termination problems.
A "bare" term rewrite system (list of rules and relative rules) is TRS v s
.
A termination problem is Problem v s
. This contains a rewrite system plus extra
information (strategy, theory, etc.)
Synopsis
- data Type
- data RS s r = RS {}
- data Strategy
- class Ord (Var t) => Variables t where
- type TES = TRS Identifier Identifier
- data Funcsym = Funcsym {}
- data Theory
- data Replacementmap = Replacementmap [Int]
- data Signature
- type TRS v s = RS s (Term v s)
- type SRS s = RS s [s]
- data Problem v s = Problem {
- type_ :: Type
- trs :: TRS v s
- strategy :: Maybe Strategy
- full_signature :: Signature
- startterm :: Maybe Startterm
- attributes :: Attributes
- data Startterm
- data Theorydecl v s
- type SES = SRS Identifier
- strict_rules :: RS s b -> [(b, b)]
- weak_rules :: RS s b -> [(b, b)]
- equal_rules :: RS s b -> [(b, b)]
- mknullary :: Text -> Identifier
- mkunary :: Text -> Identifier
- from_strict_rules :: Bool -> [(t, t)] -> RS i t
- with_rules :: RS s r -> [Rule r] -> RS s r
- module TPDB.Data.Identifier
- module TPDB.Data.Term
- module TPDB.Data.Rule
Documentation
Constructors
Termination | |
Complexity |
Constructors
RS | |
Instances
Functor (RS s) Source # | |
Variables (SRS s) Source # | |
Reader (SRS Identifier) Source # | |
Defined in TPDB.Plain.Read | |
Eq r => Eq (RS s r) Source # | |
(Pretty s, PrettyTerm r, Variables (RS s r), Pretty (Var (RS s r))) => Pretty (RS s r) Source # | |
Defined in TPDB.Plain.Write | |
(Ord v, TermC v s) => Variables (TRS v s) Source # | |
Reader (TRS Identifier Identifier) Source # | |
Defined in TPDB.Plain.Read Methods reader :: Parser (TRS Identifier Identifier) Source # | |
XmlContent (TRS Identifier Symbol) Source # | |
Defined in TPDB.CPF.Proof.Write Methods toContents :: TRS Identifier Symbol -> [Node] Source # parseContents :: Cursor -> [TRS Identifier Symbol] Source # | |
type Var (SRS s) Source # | |
type Var (TRS v s) Source # | |
type TES = TRS Identifier Identifier Source #
legacy stuff (used in matchbox)
according to XTC spec
data Replacementmap Source #
Constructors
Replacementmap [Int] |
Instances
Show Replacementmap Source # | |
Defined in TPDB.Data Methods showsPrec :: Int -> Replacementmap -> ShowS # show :: Replacementmap -> String # showList :: [Replacementmap] -> ShowS # |
Constructors
Signature [Funcsym] | |
HigherOrderSignature |
Constructors
Problem | |
Fields
|
Constructors
Startterm_Constructor_based | |
Startterm_Full |
data Theorydecl v s Source #
this is modelled after https://www.lri.fr/~marche/tpdb/format.html
type SES = SRS Identifier Source #
strict_rules :: RS s b -> [(b, b)] Source #
weak_rules :: RS s b -> [(b, b)] Source #
equal_rules :: RS s b -> [(b, b)] Source #
mknullary :: Text -> Identifier Source #
mkunary :: Text -> Identifier Source #
from_strict_rules :: Bool -> [(t, t)] -> RS i t Source #
module TPDB.Data.Identifier
module TPDB.Data.Term
module TPDB.Data.Rule