Skip to content

feat(Language): characterizing regular languages using syntactic monoids - #903

Open
ctchou wants to merge 1 commit into
leanprover:mainfrom
ctchou:syntactic-monoid
Open

feat(Language): characterizing regular languages using syntactic monoids#903
ctchou wants to merge 1 commit into
leanprover:mainfrom
ctchou:syntactic-monoid

Conversation

@ctchou

@ctchou ctchou commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

This PR develops yet another characterization of regular languages: a language is regular if and only if its syntactic monoid is finite. The syntactic monoid is the quotient of the free monoid by the Myhill congruence, which is a two-sided congruence on finite words that is finer than the Nerode congruence used in the Myhill-Nerode theorem.

As part of this PR, both left and two-sided congruences on finite words are defined and all congruences on finite words are moved from the namespace Cslib to the more appropriate namespace Language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants