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.
Exact Lean statement
theorem acc_omega_lang_union :
(NA.Sum M).AcceptedOmegaLang (NA.Sum_Acc M acc) = ⋃ i : I, (M i).AcceptedOmegaLang (acc i)Formal artifact
Lean source
theorem acc_omega_lang_union : (NA.Sum M).AcceptedOmegaLang (NA.Sum_Acc M acc) = ⋃ i : I, (M i).AcceptedOmegaLang (acc i) := by ext as ; simp [NA.Sum_Acc, NA.AcceptedOmegaLang, NA.BuchiAccept] constructor · rintro ⟨ss, h_run, h_inf⟩ obtain ⟨i, ss_i, h_run_i, h_ss_i⟩ := na_sum_inf_run.mp h_run use i, ss_i constructor · assumption · let p k := ∃ i', ∃ si' ∈ acc i', ⟨i', si'⟩ = ss k let q k := ss_i k ∈ acc i have h_p : ∃ᶠ k in atTop, p k := by assumption have h_pq : ∀ k, p k → q k := by rintro k ⟨i', si', h_si'_acc, h_si'_ss⟩ simp [h_ss_i] at h_si'_ss rw [Sigma.mk.inj_iff] at h_si'_ss obtain ⟨rfl, h_si'_eq⟩ := h_si'_ss rw [heq_eq_eq] at h_si'_eq simpa [q, ← h_si'_eq] exact Frequently.mono h_p h_pq · rintro ⟨i, ss_i, h_run_i, h_inf_i⟩ use ((Sigma.mk i) ∘ ss_i) constructor · apply na_sum_inf_run.mpr use i, ss_i · let p k := ss_i k ∈ acc i let q k := ∃ i', ∃ si' ∈ acc i', ⟨i', si'⟩ = ((Sigma.mk i ∘ ss_i) k : (NA.Sum M).State) have h_p : ∃ᶠ k in atTop, p k := by assumption have h_pq : ∀ k, p k → q k := by simp [p, q] ; intro k h use i, (ss_i k) exact Frequently.mono h_p h_pq- Project
- Automata Theory
- License
- Apache-2.0
- Commit
- f196548710ce
- Source
- AutomataTheory/Automata/Sum.lean:156-187
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
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.
Source project: Automata Theory
Person-level attribution pending.
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.
Source project: Automata Theory
Person-level attribution pending.
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.
Source project: Automata Theory
Person-level attribution pending.