All proofs
Project-declaredLean 4.33.0-rc1 · mathlib@169c26b52a38

Inter freq comp acc freq acc

Cslib.Automata.NA.Buchi.inter_freq_comp_acc_freq_acc

Plain-language statement

If the intersection automaton sees the accepting conditions of both component automata infinitely many times, then its own accepting condition also happens infinitely many times.

Exact Lean statement

lemma inter_freq_comp_acc_freq_acc {xs : ωSequence Symbol} {ss : ωSequence ((Π i, State i) × Bool)}
    (h_run : (interNA na acc).Run xs ss)
    (h_inf_f : ∃ᶠ k in atTop, ss k ∈ {s | s.fst false ∈ acc false})
    (h_inf_t : ∃ᶠ k in atTop, ss k ∈ {s | s.fst true ∈ acc true}) :
    ∃ᶠ k in atTop, ss k ∈ interAccept acc

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma inter_freq_comp_acc_freq_acc {xs : ωSequence Symbol} {ss : ωSequence ((Π i, State i) × Bool)}    (h_run : (interNA na acc).Run xs ss)    (h_inf_f : ᶠ k in atTop, ss k  {s | s.fst false  acc false})    (h_inf_t : ᶠ k in atTop, ss k  {s | s.fst true  acc true}) :    ᶠ k in atTop, ss k  interAccept acc := by  have (k : ) := (h_run.trans k).right  have h_univ : ᶠ k in atTop, ss k  univ := by simp [atTop_neBot]  have (b : Bool) : interAcc b acc = {_, b' | b' = b} ∩ {p,_ | p b  acc b} := by    ext; grind  have : {_, b : (Π i, State i) × Bool | b = false}ᶜ = {_, b | b = true} := by    ext; grind  apply frequently_leadsTo_frequently h_univ  apply leadsTo_cases_or (q := {_, b | b = false}) <;>  grind [until_frequently_leadsTo_and, univ_inter]
Project
Lean Computer Science Library
License
Apache-2.0
Commit
f36649cff2c9
Source
Cslib/Computability/Automata/NA/BuchiInter.lean:81-94

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

Project-declaredLean 4.33.0-rc1

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.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

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.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record