Documentation

Projects.Kolakoski.Generator

Equations
Instances For
    Equations
    Instances For
      Equations
      Instances For
        Equations
        Instances For
          theorem Kolakoski.diverse_of_not_seqInfix_replicate {α : Type u_1} {a : ℕ → α} {n : ℕ} (h : ∀ (x : α), ¬SeqInfix (List.replicate n x) a) :
          theorem Kolakoski.diverse_of_not_seqInfix_replicate_three {α : Type u_1} {a : ℕ → α} (h : ∀ (x : α), ¬SeqInfix [x, x, x] a) :
          theorem Kolakoski.runs_one_le_of_not_seqInfix_replicate {α : Type u_1} {a : ℕ → α} {n : ℕ} (h : ∀ (x : α), ¬SeqInfix (List.replicate n x) a) :
          runs a 1 < n
          theorem Kolakoski.runLengths_le_of_not_seqInfix_replicate {α : Type u_1} {a : ℕ → α} {n k : ℕ} (h : ∀ (x : α), ¬SeqInfix (List.replicate n x) a) :
          theorem Kolakoski.runs_one_eq_or_eq_of_not_seqInfix_replicate_three {α : Type u_1} {a : ℕ → α} (h : ∀ (x : α), ¬SeqInfix [x, x, x] a) :
          runs a 1 = 1 ∨ runs a 1 = 2
          theorem Generator.seq_contract {α : Type} [ha : DecidableEq α] {gen : Generator α} (h : ∀ (x : α), ¬SeqInfix [x, x, x] gen.seq) :
          theorem Kolakoski.cnd_of_gen_contract_eq_self {gen : Generator ℕ} (h₁ : ∀ (x : ℕ), ¬SeqInfix [x, x, x] gen.seq) (h₂ : gen.contract.seq = gen.seq) :
          Cnd gen.seq
          theorem Kolakoski.gen₁_eq_shiftRight_gen₃ {n : ℕ} {x₁ y₁ x₂ y₂ : ℤ} (h₁ : (StateT.run (gen₁.seq' n) gen₁.state).2 = (x₁, y₁)) (h₂ : (StateT.run (gen₃.seq' n) gen₃.state).2 = (x₂, y₂)) :
          x₁ = x₂ >>> 1 ∧ y₁ = y₂ >>> 1
          @[simp]