Documentation

Projects.Kolakoski.Patterns

theorem Kolakoski.eq_or_eq_of_mkList_kolakoski_eq_f₁ {xs : List ℕ} (h₁ : mkList xs.sum kolakoski = f₁ xs) (h₂ : 0 ∉ xs) (x : ℕ) :
x ∈ xs → x = 1 ∨ x = 2
theorem Kolakoski.exi_mem_fInv_ge_of_replicate_infix {α : Type u_1} [ha : DecidableEq α] (xs : List α) (n : ℕ) (x : α) (h₁ : n ≠ 0) (h₂ : List.replicate n x <:+: xs) :
∃ k ∈ fInv xs, n ≤ k