ωLanguage #
This file contains the definition and operations on formal ω-languages, which
are sets of infinite sequences over an alphabet α (namely, objects of type
ωSequence α).
Main definitions and notations #
In general we will use p and q to denote ω-languages and l and m to
denote languages (namely, sets of finite sequences of type List α).
- Set operations (union, intersection, complementation), constants (empty and
universe sets), and the subset relation are denoted using lattice-theoretic
notations (
p ∪ q,p ∩ q,pᶜ,⊥,⊤, and≤) and terminologies in definition and theorem names ("inf", "sup", "compl", "bot", "top", "le"). p.closure: the topological closure ofp, whereωLanguage αinherits the product topology ofTopologicalSpace (ωSequence α)l * p: ω-language ofx ++ω ywherex ∈ landy ∈ p; referred to as "hmul" in definition and theorem names.l^ω: ω-language of infinite sequences each of which is the concatenation of infinitely many (nonemoty) members ofl; referred to as "omegaPow" in definition and theorem names.- Note: Since
l^ωis defined usingωSequence.flatten, any theorem about it needs the additional assumption[Inhabited α].
- Note: Since
l↗ω: ω-language of infinite sequences each of which has infinitely many distinct prefixes inl; referred to as "omegaLim" in definition and theorem names.p.map f: transform an ω-languagepoverαinto an ω-language overβby mapping throughf : α → β; referred to as "map" in definition and theorem names.
Main theorems #
- Many algebraic properties of the above operations.
omegaPow_seq_prop: an alternative characterization ofl^ω.omegaPow_coind: a "coinductive" rule for provingpis a subset ofl^ω.hmul_omegaPow_eq_omegaPow:l * l^ω = l^ω.kstar_omegaPow_eq_omegaPow:(l∗)^ω = l^ω.kstar_hmul_omegaPow_eq_omegaPow:l∗ * l^ω = l^ω.
TODO #
- Prove more theorems about omegaLim and map.
@[instance_reducible]
@[instance_reducible]
@[instance_reducible]
The topological closure of an ω-language.
Use the postfix notation ^ωforomegaPow`.
The ω-limit of a language l is the ω-language of infinite sequences each of which
contains infinitely many distinct prefixes in l.
Use the postfix notation ↗ωforomegaLim`.
@[simp]
@[simp]
theorem Cslib.ωLanguage.kstar_hmul_omegaPow_eq_omegaPow {α : Type u_1} [Inhabited α] (l : Language α) :