tamarin-prover-term-0.4.0.0: Term manipulation library for the tamarin prover.

MaintainerBenedikt Schmidt <beschmi@gmail.com>
Safe HaskellSafe-Infered

Term.Narrowing.Variants.Compute

Contents

Description

Computing the variants of a term.

Synopsis

Documentation

computeVariantsBound :: LNTerm -> Maybe Int -> WithMaude (Maybe [LNSubstVFresh])Source

computeVariants t d compute the variants of term t with bound d. The rewriting rules are taken from the Maude context.

computeVariants :: LNTerm -> WithMaude [LNSubstVFresh]Source

variantsList ts computes all variants of ts considered as a single term without a bound or symmetry substitution. The rewriting rules are taken from the Maude context.

for testing

compareSubstVariant :: LNTerm -> LNSubstVFresh -> LNSubstVFresh -> WithMaude (Maybe Ordering)Source

substCompareVariant t s1 t2 compares two substitutions using the variant order with respect to t.