Documentation

Projects.Kolakoski.Basic

Equations
Instances For
    @[irreducible]
    Equations
    Instances For
      Instances
        class KolakoskiSequence.Diverse {α : Type u_1} (a : α) :
        Instances
          theorem KolakoskiSequence.kolIter_iff {xs : List } :
          KolIter xs ∃ (n : ), f₁^[n] [1, 2] = xs
          @[simp]
          @[simp]
          instance KolakoskiSequence.kolIter_iterate {xs : List } {n : } [h : KolIter xs] :
          @[simp]
          theorem KolakoskiSequence.f₂_0 {xs : List } {n : } :
          f₂ xs n 0 = xs
          @[simp]
          theorem KolakoskiSequence.prefix_f₁ {xs : List } [h : KolIter xs] :
          xs <+: f₁ xs
          @[simp]
          theorem KolakoskiSequence.prefix_iterate_f₁ {xs : List } {n : } [h : KolIter xs] :
          xs <+: f₁^[n] xs
          @[simp]
          @[simp]
          @[simp]
          @[simp]
          @[simp]
          @[simp]
          theorem KolakoskiSequence.mem_iff_of_kolIter {xs : List } {x : } [h : KolIter xs] :
          x xs x = 1 x = 2
          @[simp]
          instance KolakoskiSequence.kolIter_f₂ {xs : List } {n k : } [h : KolIter xs] :
          KolIter (f₂ xs n k)
          @[simp]
          theorem KolakoskiSequence.prefix_f₂ {xs : List } {n k : } [h : KolIter xs] :
          xs <+: f₂ xs n k
          @[simp]
          @[simp]
          @[simp]
          @[simp]
          theorem KolakoskiSequence.iterate_f₁_eq_iff {xs : List } {n m : } [h : KolIter xs] :
          f₁^[n] xs = f₁^[m] xs n = m
          theorem KolakoskiSequence.le_length_f₂ {xs : List } {n k : } [h : KolIter xs] (h₁ : n k) :
          n (f₂ xs n k).length
          @[simp]
          theorem KolakoskiSequence.le_length_f₂_same {xs : List } {n : } [h : KolIter xs] :
          n (f₂ xs n n).length
          @[simp]
          @[simp]
          theorem KolakoskiSequence.f₃_succ_getElem! {n : } :
          (f₃ (n + 1))[n]! = (f₃ (n + 1))[n]
          @[simp]
          theorem KolakoskiSequence.f₃_eq_iff {n m : } :
          f₃ n = f₃ m n = m
          theorem KolakoskiSequence.kolIter_prefix_or_prefix (xs ys : List ) [hx : KolIter xs] [hy : KolIter ys] :
          xs <+: ys ys <+: xs
          @[simp]
          theorem KolakoskiSequence.mem_f₃_iff {n x : } :
          x f₃ n x = 1 1 n x = 2 2 n
          theorem KolakoskiSequence.diverse_iff {α : Type u_1} {a : α} :
          Diverse a ∀ (N : ), ∃ (n : ), N n a N a n