Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Cuts.Compose

Cuts, and one cut after another #

A cut (Cut.IsCut) is a program that turns an instance of a plain sum into a weighted list of lists of smaller instances, the pieces, such that the plain sum of the instance is the weighted sum of the products of the plain sums of the pieces (Cut.pvProd). The numbers of steps and the sizes before and after, the number of pieces and the running time are parameters.

Running a second cut on every piece of a first one is a cut again (Cut.IsCut.comp): the numbers of pieces multiply and the sum formulas compose. This is the composition step of the proof of [Ant26], Theorem J.4 (module NS1.Compose).

Main definitions #

Main results #

References #

The product of the plain sums of a list of instances.

def Cslib.Circuits.Arithmetic.Separation.Cut.IsCut {A : Type} [CommRing A] (θ : List Bool → A) (τ s τ' s' P t : ℕ) (G : Interpreter.Tree) :

The program G cuts plain sums into pieces. The parameters of IsCut θ τ s τ' s' P t G are, in order: the number τ of steps and the size s of the instances that are cut; the number τ' of steps and the size s' of the pieces; the bound P for the number of pieces; the running time t; and the program G. The value of G is a weighted list of lists of pieces, and P bounds the number of pieces in each of the returned lists, not the number of lists.

theorem Cslib.Circuits.Arithmetic.Separation.Cut.IsCut.mono {A : Type} [CommRing A] {θ : List Bool → A} {τ s τ' s' P t τ'' s'' P' t' : ℕ} {G : Interpreter.Tree} (h : IsCut θ τ s τ' s' P t G) (hτ : τ' ≤ τ'') (hs : s' ≤ s'') (hP : P ≤ P') (ht : t ≤ t') :
IsCut θ τ s τ'' s'' P' t' G

A cut with weaker bounds on the pieces and the time.

theorem Cslib.Circuits.Arithmetic.Separation.Cut.IsCut.cutProg {A : Type} [CommRing A] {θ : List Bool → A} {H v τ s P t : ℕ} {G : Interpreter.Tree} (h : IsCut θ τ s (v ^ H) (v ^ (H - 32)) P t G) (hG : G.size ≤ v ^ H) (ht : t * v ^ 24 ≤ τ) (hP : P * v ^ H ≤ τ * v ^ 2) :
Interpreter.CutProg θ H v τ s G

A cut to v ^ H steps whose pieces, sizes and time are small enough is a program for the cut hypothesis.

The pieces of the pieces #

The program #

First the cut G, then the cut G' on every piece.

theorem Cslib.Circuits.Arithmetic.Separation.Cut.IsCut.comp {A : Type} [CommRing A] {θ : List Bool → A} {τ s τ₁ s₁ P₁ t₁ τ₂ s₂ P₂ t₂ : ℕ} {G₁ G₂ : Interpreter.Tree} (h₁ : IsCut θ τ s τ₁ s₁ P₁ t₁ G₁) (h₂ : IsCut θ τ₁ s₁ τ₂ s₂ P₂ t₂ G₂) :
IsCut θ τ s τ₂ s₂ (P₁ * P₂) (t₁ + P₁ * (t₂ + 62 * P₂ + 110) + 100) (cutComp G₁ G₂).code

Composition of cuts ([Ant26], proof of Theorem J.4): running a second cut on every piece of a first one is a cut. The numbers of pieces multiply, and the second cut and the concatenation of its pieces are paid once for every piece of the first.