Plain-language statement
Over a finite type, xs k is in InfOcc xs for all sufficiently large k.
Exact Lean statement
theorem inf_occ_eventually {X : Type*} [Finite X] (xs : Stream' X) :
∀ᶠ k in atTop, xs k ∈ InfOcc xsFormal artifact
Lean source
theorem inf_occ_eventually {X : Type*} [Finite X] (xs : Stream' X) : ∀ᶠ k in atTop, xs k ∈ InfOcc xs := by have h_compl : ∀ x ∈ (InfOcc xs)ᶜ, ∃ n, ∀ k ≥ n, xs k ≠ x := by simp [InfOcc] choose lb h_lb using h_compl let fs_compl := Finite.toFinset <| toFinite (InfOcc xs)ᶜ let glb := fs_compl.sup (fun x ↦ if h : x ∈ (InfOcc xs)ᶜ then lb x h else 0) have h_glb : ∀ x, (h : x ∈ (InfOcc xs)ᶜ) → lb x h ≤ glb := by intro x h ; refine Finset.le_sup_of_le (b := x) (by simpa [fs_compl]) (by simp [h]) apply eventually_atTop.mpr use glb ; intro k h_k ; by_contra h_contra have := h_glb (xs k) h_contra have := h_lb (xs k) h_contra k (by omega) contradiction- Project
- Automata Theory
- License
- Apache-2.0
- Commit
- f196548710ce
- Source
- AutomataTheory/Sequences/InfOcc.lean:70-82
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.