Documentation

Projects.Kolakoski.Count

theorem Kolakoski.count_le_6_of_length_eq_10 (xs : List ℕ) (a : ℕ) (h₁ : xs.length = 10) (h : SeqInfix xs kolakoski) :
theorem Kolakoski.count_ge_4_of_length_eq_10 (xs : List ℕ) (c : ℕ) (hc : c = 1 ∨ c = 2) (h₁ : xs.length = 10) (h : SeqInfix xs kolakoski) :
theorem Kolakoski.count_mem_of_length_eq_10 (xs : List ℕ) (c : ℕ) (hc : c = 1 ∨ c = 2) (h₁ : xs.length = 10) (h : SeqInfix xs kolakoski) :
List.count c xs ∈ {4, 5, 6}
theorem Kolakoski.count_1_eq_of_length_eq_10 (xs : List ℕ) (h₁ : xs.length = 10) (h : SeqInfix xs kolakoski) :
List.count 1 xs = 4 ∨ List.count 1 xs = 5 ∨ List.count 1 xs = 6
theorem Kolakoski.count_2_eq_of_length_eq_10 (xs : List ℕ) (h₁ : xs.length = 10) (h : SeqInfix xs kolakoski) :
List.count 2 xs = 4 ∨ List.count 2 xs = 5 ∨ List.count 2 xs = 6