tpdb-0.8.2: Data Type for Rewriting Systems

Safe HaskellSafe-Inferred

TPDB.Convert

Synopsis

Documentation

trs2srs :: Eq v => TRS v s -> Maybe (SRS s)Source

convert_trs_rule :: Eq a => Rule (Term a s) -> Maybe (Rule [s])Source

unspine :: v -> [s] -> Term v sSource

spine :: Term v s -> Maybe ([s], v)Source

success iff term consists of unary symbols and the lowest node is a variable