Skip to content

chore: add the consequences of an empty alphabet type on Language and OmegaLanguage - #722

Merged
ctchou merged 4 commits into
leanprover:mainfrom
ctchou:empty-alphabet
Jul 16, 2026
Merged

chore: add the consequences of an empty alphabet type on Language and OmegaLanguage#722
ctchou merged 4 commits into
leanprover:mainfrom
ctchou:empty-alphabet

Conversation

@ctchou

@ctchou ctchou commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

This PR proves some consequences of an empty alphabet type (denoted by Symbol) on Language and OmegaLanguage:
(1) The only possible languages over an empty alphabet are {} and {[]}.
(2) The only possible omega-language over an empty alphabet is {}.
Furthermore, (1) enables the assumption [Inhabited Symbol] to be removed from the regular language closure properties IsRegular.mul and IsRegular.kstar. Now no closure property for regular languages has that assumption.

Comment thread Cslib/Computability/Languages/Language.lean Outdated
Comment thread Cslib/Computability/Languages/OmegaLanguage.lean Outdated
Comment thread Cslib/Foundations/Data/OmegaSequence/Init.lean Outdated
@chenson2018
chenson2018 added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
@ctchou
ctchou added this pull request to the merge queue Jul 16, 2026
Merged via the queue into leanprover:main with commit 5ccce0e Jul 16, 2026
2 checks passed
@ctchou
ctchou deleted the empty-alphabet branch July 16, 2026 04:42
fmontesi pushed a commit that referenced this pull request Jul 22, 2026
… OmegaLanguage (#722)

This PR proves some consequences of an empty alphabet type (denoted by
`Symbol`) on Language and OmegaLanguage:
(1) The only possible languages over an empty alphabet are {} and {[]}.
(2) The only possible omega-language over an empty alphabet is {}.
Furthermore, (1) enables the assumption `[Inhabited Symbol]` to be
removed from the regular language closure properties `IsRegular.mul` and
`IsRegular.kstar`. Now no closure property for regular languages has
that assumption.
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