Documentation

Projects.Kolakoski.Alts.Alt3

noncomputable def Kolakoski.alt₃' (a : Word ℕ) :
Equations
Instances For
    noncomputable def Kolakoski.alt₃ :
    ℕ → ℕ
    Equations
    Instances For
      theorem Kolakoski.alt₃'_prefix_append {w₁ w₂ : Word ℕ} :
      (alt₃' w₁).IsPrefix (alt₃' (w₁ ++ w₂))
      theorem Kolakoski.take_alt₃'_ofSeq {a : ℕ → ℕ} {n : ℕ} (h₁ : SeqPrefix [1, 2] a) (h₂ : ∀ (i : ℕ), a i ≠ 0) :
      @[simp]
      theorem Kolakoski.eq_or_eq_of_mem_alt₃' {w : Word ℕ} {c : ℕ} (h : c ∈ alt₃' w) :
      c = 1 ∨ c = 2
      @[simp]