Greater subseq lemma
Automata.greater_subseq_lemma
Project documentation
A technical lemma for use in the next theorem.
Exact Lean statement
lemma greater_subseq_lemma (φ φ' : ℕ → ℕ) (hi : Injective φ') :
∃ σ : ℕ → ℕ, StrictMono σ ∧ ∀ n, φ (σ n) < φ' (σ (n + 1))Formal artifact
Lean source
lemma greater_subseq_lemma (φ φ' : ℕ → ℕ) (hi : Injective φ') : ∃ σ : ℕ → ℕ, StrictMono σ ∧ ∀ n, φ (σ n) < φ' (σ (n + 1)) := by have h_step : ∀ n, ∃ m > n, φ n < φ' m := by intro n have h_inf : {m | m > n}.Infinite := by apply infinite_of_forall_exists_gt ; intro k use (k + n + 1) ; simp ; omega have h_inf' := Infinite.image (injOn_of_injective hi) h_inf have h_fin : {m | m ≤ φ n}.Finite := by exact finite_le_nat (φ n) obtain ⟨k, ⟨m, h_m, rfl⟩, h_m'⟩ := Infinite.exists_notMem_finite h_inf' h_fin simp at h_m h_m' ; use m choose f h_f h_φ using h_step use (fun k ↦ f^[k] 0) ; constructor · apply strictMono_nat_of_lt_succ ; simp [iterate_succ_apply', h_f] · simp [iterate_succ_apply', h_φ]- Project
- Automata Theory
- License
- Apache-2.0
- Commit
- f196548710ce
- Source
- AutomataTheory/Languages/ChouekaLemma.lean:38-52
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.