Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.ControlledRelativeValue

Controlled relative critical-value families #

Controlled.relativeValueFamilyOfDegree packages the finite relative polynomial and its evaluator at counting level a + 10, with degree, norm, and prime cutoff bounds computed from the source. Controlled.relativeValueFamily chooses an even degree parameter from the source degree bound, so the deformed potential has an even highest power in the witness variables.

Adapted from ControlledRelativeCharacteristic and NativeRelativeBounds in lean-canny at 970f28a5ecefc1327402ade16c068aa4b1b2c183. The two-block decision theorem remains open under #6560.

noncomputable def Cslib.Complexity.RealAlgebraic.Controlled.relativeValueFamilyOfDegree {α : Type} {n m : α → ℕ} {enc : α ↪ List Bool} {a : ℕ} {P : (w : α) → MvPolynomial (Fin (n w + m w)) ℤ} (C : Controlled P enc a) (E : Turing.MultiTapeTM.Decoder enc) (hn : Turing.MultiTapeTM.ComputableInPolyTime n enc Turing.MultiTapeTM.encUnary) (hm : Turing.MultiTapeTM.ComputableInPolyTime m enc Turing.MultiTapeTM.encUnary) (d : α → ℕ) (hd : Turing.MultiTapeTM.ComputableInPolyTime d enc Turing.MultiTapeTM.encNat) (hpos : ∀ (w : α), 1 ≤ d w) (hdeg : ∀ (w : α), (P w).totalDegree ≤ d w + 1) :

Build the actual relative critical-value family from a controlled source and a supplied binary degree parameter. Both variable counts are unary. The prime cutoff is the maximum of the source cutoff, the trace grid cutoff, and one more than the squared quotient dimension.

Choose an even degree parameter from the source degree bound. This makes the leading witness power even for the later coercive deformation.