Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Interpreter.AccSize

The size of the program of low degree #

The sizes of the codes of formulas (Interpreter.size_quote, …, Interpreter.size_app) and of lists of trees (Interpreter.size_listT, Interpreter.size_listT_le, Interpreter.size_listT_le_mul). The program Interpreter.accF has size linear in its parameters (Interpreter.size_accF).

From VP ≠ VNP over every field [Ant26], module Nc.Acc.Main.

Main results #

The size of a list of trees.

theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.size_listT_le {l : List Tree} {s X : ℕ} (hl : l.length ≤ X) (h : ∀ t ∈ l, t.size ≤ s) :
(listT l).size ≤ X * (s + 1) + 1

A list of at most X trees of size at most s has size at most X * (s + 1) + 1.

theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.size_listT_le_mul {l : List Tree} {X a u : ℕ} (hX : 1 ≤ X) (hu : 1 ≤ u) (hl : l.length ≤ X) (h : ∀ t ∈ l, t.size ≤ a * u) :
(listT l).size ≤ (a + 2) * (X * u)

At most X trees of size at most a * u make a list of size at most (a + 2) * (X * u).

theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.size_accF :
∃ (c : ℕ), ∀ (M m d : ℕ) (out : List Bool), out.length = M → (accF M m d out).code.size ≤ c * (M + m + 1) + 2 * d

The size of the program.