All projects

Standalone Lean project

Automata Theory

A reusable Lean library for automata, languages, and related computer-science proofs.

63indexed declarationsLean 4.24.0-rc1mathlib@aad26963commit f196548710ceApache-2.0Repository Versions and build evidence

Flagship declarations

Start with the mathematical results

Pinned project revision
Project-declaredLean 4.24.0-rc1

Acc lang congr

acc_lang_congr

Plain-language statement

The language accepted by c.toDA with a unique accepting state s is exactly the equivalence class of s.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc lang concat e

Automata.acc_lang_concat_e

Plain-language statement

The language of the concatenation NA that is accepted by M0's accepting states is the language accepted by M0.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc lang concat ne

Automata.acc_lang_concat_ne

Plain-language statement

The language of the concatenation NA that is accepted by M1's accepting states is the language accepted by M0 concatenated with the language accepted by M1 minus the empty word.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc lang inter

Automata.acc_lang_inter

Plain-language statement

The language accepted by the product NA is the intersection of the languages accepted by the component automata.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc lang loop

Automata.acc_lang_loop

Plain-language statement

The language accepted by the loop NA is the Kleene star of the language accepted by M.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc lang loop concat

Automata.acc_lang_loop_concat

Plain-language statement

The concatenation of the language accepted by the loop NA with itself is a subset of itself.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record

Project index

More declarations

Search within this project

Showing 8 of 57 additional declarations. Use project search for the complete index.

Project-declaredLean 4.24.0-rc1

Acc lang pset

Automata.acc_lang_pset

Plain-language statement

The language accepted by M.Pset is the same as that accepted by M, where the accepting states of M.Pset are those that contains at least one accepting state of M.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc lang union

Automata.acc_lang_union

Plain-language statement

The language accepted by the sum NA is the union of the languages accepted by the component automata.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc omega lang concat

Automata.acc_omega_lang_concat

Plain-language statement

The ω-language of the concatenation NA that is accepted by M1's accepting states is the language accepted by M0 concatenated with the ω-language accepted by M1.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc omega lang inter2

Automata.acc_omega_lang_inter2

Plain-language statement

The ω-language accepted by the OI2 NA is the intersection of the ω-languages accepted by M0 and M1.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc omega lang loop

Automata.acc_omega_lang_loop

Plain-language statement

The ω-language accepted by the loop NA is the ω-power of the language accepted by M.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Acc omega lang union

Automata.acc_omega_lang_union

Plain-language statement

The ω-language accepted by the sum NA is the union of the ω-languages accepted by the component automata.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Buchi congr ample

Automata.buchi_congr_ample

Project documentation

The BuchiCongr of an NA is ample if the NA is finite-state. For simplicity, this result is proved using a Ramsey theorem on infinite graphs.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record
Project-declaredLean 4.24.0-rc1

Buchi congr saturates

Automata.buchi_congr_saturates

Plain-language statement

The BuchiCongr of an NA saturates the ω-language accepted by the NA. Note that this result does not need to assume that the NA is finite-state.

automata theoryformal languagescomputer science

Source project: Automata Theory

Person-level attribution pending.

View proof record