I Sum run iff
Cslib.Automata.NA.iSum_run_iff
Plain-language statement
An infinite run of the sum automaton is an infinite run of one of its component automata.
Exact Lean statement
@[simp, scoped grind =]
theorem iSum_run_iff {na : (i : I) → NA (State i) Symbol}
{xs : ωSequence Symbol} {ss : ωSequence (Σ i, State i)} :
(iSum na).Run xs ss ↔ ∃ i ss_i, (na i).Run xs ss_i ∧ ss_i.map (Sigma.mk i) = ssFormal artifact
Lean source
@[simp, scoped grind =]theorem iSum_run_iff {na : (i : I) → NA (State i) Symbol} {xs : ωSequence Symbol} {ss : ωSequence (Σ i, State i)} : (iSum na).Run xs ss ↔ ∃ i ss_i, (na i).Run xs ss_i ∧ ss_i.map (Sigma.mk i) = ss := by constructor · rintro ⟨h_init, h_next⟩ obtain ⟨i, s0, h_s0, h_ss0⟩ := mem_iUnion.mp h_init have h_exists n : ∃ s_i, ⟨i, s_i⟩ = ss n := by induction n case zero => use s0 case succ n h_ind => obtain ⟨j, s_j, t_j, _⟩ := h_next n grind choose ss_i h_ss_i using h_exists use i, ss_i refine ⟨⟨?_, ?_⟩, ?_⟩ · grind · intro n obtain ⟨j, _⟩ := h_next n grind · ext <;> grind · rintro ⟨i, ss, h_run, rfl⟩ constructor · simp only [iSum, get_map, mem_iUnion] grind only [NA.Run, = mem_image] · simp only [LTS.OmegaExecution] grind only [NA.Run, = get_map, iSum, LTS.OmegaExecution]- Project
- Lean Computer Science Library
- License
- Apache-2.0
- Commit
- f36649cff2c9
- Source
- Cslib/Computability/Automata/NA/Sum.lean:30-56
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
Unique minimal
Cslib.Automata.DA.FinAcc.unique_minimal
Plain-language statement
The minimal DFA M accepting the language l is unique up to unique isomorphism.
Source project: Lean Computer Science Library
Person-level attribution pending.
Buchi Family cover
Cslib.Automata.NA.Buchi.buchiFamily_cover
Project documentation
na.buchiFamily is a cover if na has only finitely many states. This theorem uses the Ramsey theorem for infinite graphs and does not depend on any details of na.BuchiCongruence other than that it is of finite index.
Source project: Lean Computer Science Library
Person-level attribution pending.
Buchi Family saturation
Cslib.Automata.NA.Buchi.buchiFamily_saturation
Plain-language statement
na.buchiFamily saturates the ω-language accepted by na.
Source project: Lean Computer Science Library
Person-level attribution pending.