Documentation

Projects.Kolakoski.Alts.Alt4

def Kolakoski.alt₄' (q : List ℕ) (c n : ℕ) :
Equations
Instances For
    Equations
    Instances For
      @[simp]
      theorem Kolakoski.alt₄'_zero {q : List ℕ} {c : ℕ} :
      alt₄' q c 0 = []
      @[simp]
      theorem Kolakoski.length_alt₄' {q : List ℕ} {c n : ℕ} :
      (alt₄' q c n).length = n
      @[simp]
      theorem Kolakoski.alt₄'_eq_nil_iff {q : List ℕ} {c n : ℕ} :
      alt₄' q c n = [] ↔ n = 0
      theorem Kolakoski.alt₄'_eq_mkList_kolakoski_aux₁ {q : List ℕ} {c k m n : ℕ} (hm : m = (mkList k kolakoski).sum - k) (hq : q = mkList m fun (x : ℕ) => kolakoski (x + k)) (hc : c = if Even k then 1 else 2) :
      alt₄' q c n = mkList n fun (x : ℕ) => kolakoski (x + k)