Langlib

Langlib.Classes.Regular.Examples.SingletonWord

The singleton-word language is regular #

{w} is regular for any word w. The Mathlib IsRegular form holds over any alphabet; the Langlib is_RG form (a right-regular grammar) needs a finite terminal alphabet.

The singleton-word language {w} is regular (Mathlib IsRegular).

The singleton-word language {w} is regular (Langlib is_RG).