Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Tape.RunCount

The sizes of the clause sum of a run #

If the alphabet, the tapes, the states, the inputs, the steps and the places are at most B, then the letters are at most 4 B² (card_letter_le), the hidden variables at most 6 B² (RunVar.card_le), their one-hot bits at most 9 B³ (card_sigma_dom_le), the weighted clauses at most 4 B⁵ (RunStep.card_le) and the forbidding clauses at most 25 B⁵ (RunRule.card_le).

Main results #

References #

theorem Cslib.Circuits.Arithmetic.Separation.Tape.card_letter_le {Γ S : Type} [Fintype Γ] [Fintype S] {n B : ℕ} (hΓ : Fintype.card Γ ≤ B) (hS : Fintype.card S ≤ B) (hn : n ≤ B) (hB : 1 ≤ B) :
Fintype.card (Letter S (Fin n) Γ) ≤ 4 * B ^ 2
theorem Cslib.Circuits.Arithmetic.Separation.Tape.RunVar.card_le {S : Type} [Fintype S] {n t M B : ℕ} (hS : Fintype.card S ≤ B) (hn : n ≤ B) (ht : t + 1 ≤ B) (hM : M ≤ B) :
Fintype.card (RunVar S n t M) ≤ 6 * B ^ 2
theorem Cslib.Circuits.Arithmetic.Separation.Tape.card_sigma_dom_le {Γ S Q : Type} [Fintype Γ] [Fintype S] [Fintype Q] {n t M B : ℕ} (hΓ : Fintype.card Γ + 1 ≤ B) (hS : Fintype.card S ≤ B) (hQ : Fintype.card Q ≤ B) (hn : n ≤ B) (ht : t + 1 ≤ B) (hM : M ≤ B) :
Fintype.card ((d : RunVar S n t M) × RunVar.Dom Γ Q d) ≤ 9 * B ^ 3
theorem Cslib.Circuits.Arithmetic.Separation.Tape.RunStep.card_le {Γ S Q : Type} [Fintype Γ] [Fintype S] [Fintype Q] {n t B : ℕ} (hΓ : Fintype.card Γ + 1 ≤ B) (hS : Fintype.card S ≤ B) (hQ : Fintype.card Q ≤ B) (hn : n ≤ B) (ht : t ≤ B) :
Fintype.card (RunStep Γ S Q n t) ≤ 4 * B ^ 5
theorem Cslib.Circuits.Arithmetic.Separation.Tape.RunRule.card_le {Γ S : Type} [Fintype Γ] [Fintype S] {n t M B : ℕ} (hΓ : Fintype.card Γ + 1 ≤ B) (hS : Fintype.card S ≤ B) (hn : n ≤ B) (ht : t ≤ B) (hM : M ≤ B) :
Fintype.card (RunRule Γ S n t M) ≤ 25 * B ^ 5
theorem Cslib.Circuits.Arithmetic.Separation.Tape.length_wordOf_ofFn {Γ : Type} {n : ℕ} (u : Fin n → List Γ) :
(wordOf (List.ofFn u)).length = ∑ j : Fin n, (u j).length + n

The total length of the words with their separators.