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

LTK.Decide.LAcom

Description

This module implements an algorithm to decide whether a given FSA has a syntactic semigroup which is Locally Commutative and Aperiodic, a near superclass of the Locally Threshold Testable languages.

Since: 1.1

Synopsis

Documentation

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

True iff the automaton recognizes a LAcom stringset.

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

True iff the monoid recognizes a LAcom stringset.