Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.ControlledTwoBlockDecision

A counting-level decision for controlled two-block polynomial zero avoidance #

A shared fixed-width word selects a degree piece and a coordinate candidate. The two controlled feasibility tests check that the candidate exists and that its real fiber has no zero. The family index is the encoded input. A separate reduction from encoded sentences would supply the family.

The explicit level a + 60 comes from this formalization's level accounting. The preprint proves membership at some fixed level for its two-block language.

Main results #

References #

The decision step follows [OAI26f], §6.4 (pp. 29–30), equations (6.14)–(6.16). The preprint uses Lemma 6.1 for the reduction from encoded sentences and Theorem 5.1 for the two existential tests. This module adapts nonnegative_twoBlock_mem and twoBlock_mem in lean-canny's ControlledTwoBlockDecision at 970f28a5ecefc1327402ade16c068aa4b1b2c183.

theorem Cslib.Complexity.RealAlgebraic.Controlled.twoBlock_mem {α : 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) :
{w : α | ∃ (x : Fin (m w) → ℝ), ∀ (z : Fin (n w) → ℝ), MvPolynomial.eval₂ (Int.castRingHom ℝ) (fun (i : Fin (n w + m w)) => Fin.addCases z x i) (P w) ≠ 0} ∈ CountingLevel (a + 60) enc

Two-block real zero avoidance for a controlled integer polynomial family at level a belongs to C_(a+60)P. The explicit level a + 60 comes from this formalization's level accounting. Theorem 1.1 of [OAI26f] gives existence of a fixed level for the two-block language. The block sizes are computable in unary. Squaring the input preserves its real zeros and the counting level of its modular evaluator.