Straight-line programs as lists of steps #
A straight-line program over Fin D is a cslib Program over fullSignature 2 (Fin D), which has
one constant symbol for every element of Fin D and one binary symbol for every operation on
Fin D, with fullInterpretation. The source VP ≠ VNP over every field [Ant26]
(module Nc.Cut.Slp, IsSlpStep) describes such programs instead as lists of functions, each of
which is an input, a constant, or a binary operation of two earlier ones.
The two descriptions agree up to the inputs: a list of p such steps is computed by a program
with p gates (Cslib.Circuits.exists_program_of_isSlpStep), and a program with p gates on
n inputs gives a list of n + p steps (Cslib.Circuits.exists_isSlpStep_of_program). Steps stay
steps when the inputs are read through a map (Cslib.Circuits.IsSlpStep.comp).
Main definitions #
Cslib.Circuits.IsSlpStep: one step of a straight-line program given as a list of functions.
Main results #
Cslib.Circuits.exists_program_of_isSlpStep,Cslib.Circuits.exists_isSlpStep_of_program.Cslib.Circuits.IsSlpStep.comp: steps of functions of a map of the inputs.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
module
Nc.Cut.Slp
A list of p steps is computed by a program with p gates, gate k computing step k.