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.
Exact Lean statement
theorem buchi_congr_ample [Finite M.State] : (M.BuchiCongr acc).Ample
Formal artifact
Lean source
theorem buchi_congr_ample [Finite M.State] : (M.BuchiCongr acc).Ample := by intro as have : Finite (M.BuchiCongr acc).QuotType := buchi_congr_finite_index let color (t : Finset ℕ) : (M.BuchiCongr acc).QuotType := if h : t.Nonempty then ⟦ as.extract (t.min' h) (t.max' h) ⟧ else ⟦ [] ⟧ obtain ⟨q, ns, h_ns, h_color⟩ := inf_graph_ramsey color obtain ⟨φ, h_mono, rfl⟩ := strict_mono_of_infinite h_ns let p : (M.BuchiCongr acc).QuotType := ⟦ as.extract 0 (φ 0) ⟧ use p, q, (as.extract 0 (φ 0)), (as.drop (φ 0)) ; constructorm* _ ∧ _ · simp [Congruence.EqvCls, p] · use (φ · - φ 0) ; simp [base_zero_strict_mono h_mono] intro m have := StrictMono.monotone h_mono (show 0 ≤ m by omega) have := StrictMono.monotone h_mono (show 0 ≤ m + 1 by omega) simp [extract_drop, (show φ 0 + (φ m - φ 0) = φ m by omega), (show φ 0 + (φ (m + 1) - φ 0) = φ (m + 1) by omega)] have h_card2 : Finset.card {φ m, φ (m + 1)} = 2 := by apply Finset.card_pair have := h_mono (show m < m + 1 by omega) omega have h_ne2 : Finset.Nonempty {φ m, φ (m + 1)} := by apply Finset.card_pos.mp ; omega have := h_mono (show m < m + 1 by omega) have h_min : Finset.min' {φ m, φ (m + 1)} h_ne2 = φ m := by simp ; omega have h_max : Finset.max' {φ m, φ (m + 1)} h_ne2 = φ (m + 1) := by simp ; omega have h_color := h_color {φ m, φ (m + 1)} h_card2 (by intro x ; simp ; grind) simp [color, h_min, h_max] at h_color simp [Congruence.EqvCls, h_color] · simp [append_extract_drop]- Project
- Automata Theory
- License
- Apache-2.0
- Commit
- f196548710ce
- Source
- AutomataTheory/Congruences/BuchiCongr.lean:160-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.