language-toolkit-1.0.1.0: A set of tools for analyzing languages via logic and automata
Copyright(c) 2019-2021 Dakotah Lambert
LicenseMIT
Safe HaskellSafe-Inferred
LanguageHaskell2010

LTK.Decide.PT

Description

This module implements an algorithm to decide whether a given FSA is Piecewise Testable (PT) based on the semigroup characterization of Simon from his 1975 work "Piecewise testable events".

Since: 0.2

Synopsis

Documentation

isPT :: (Ord n, Ord e) => FSA n e -> Bool Source #

True iff the automaton recognizes a PT stringset.

isPTM :: (Ord n, Ord e) => SynMon n e -> Bool Source #

True iff the monoid is \(\mathcal{J}\)-trivial

Since: 1.0