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

MaintainerBenedikt Schmidt <beschmi@gmail.com>
Safe HaskellNone

Term.SubtermRule

Contents

Description

Subterm rewriting rules.

Synopsis

Documentation

data StRhs Source

The righthand-side of a subterm rewrite rule. Does not enforce that the term for RhsGround must be ground.

data StRule Source

A subterm rewrite rule.

Constructors

StRule LNTerm StRhs 

rRuleToStRule :: RRule LNTerm -> Maybe StRuleSource

Convert a rewrite rule to a subterm rewrite rule if possible.

stRuleToRRule :: StRule -> RRule LNTermSource

Convert a subterm rewrite rule to a rewrite rule.

Pretty Printing

prettyStRule :: HighlightDocument d => StRule -> dSource

Pretty print an StRule