tct-2.0.1: A Complexity Analyser for Term Rewrite Systems

Portabilityunportable
Stabilityunstable
MaintainerMartin Avanzini <martin.avanzini@uibk.ac.at>, Andreas Schnabl <andreas.schnabl@uibk.ac.at>
Safe HaskellSafe-Infered

Tct.Method.Bounds.Automata

Description

This module implements automata functionality as employed by the bounds processor.

Synopsis

Documentation

data Enrichment

This datatype represents the enrichment employed.

Constructors

Match

Matchbounds.

Roof

Roofbounds.

Top

Topbounds.

type Label = Int

type LSym = (Symbol, Label)

type State = Int

data LTerm

Constructors

F LSym [LTerm] 
S State 

ppRule :: (Symbol -> Doc) -> Rule -> Doc

size :: LTerm -> Int