Documentation

CslibFrontier.Computability.LogSpaceDerandomization.PolynomialAtomCutoffs

Polynomial preparation, score, and witness cutoffs #

These are concrete polynomial versions of the atom threshold template in [OpenAI2026LogSpace, (5.5)] and the broad witness in the proof of its support-margin lemma. For a fixed support scale θ > 0, they define the preparation hθ(v) Rθ(r), auxiliary score Iθ(v,r), and witness Jθ(v,r). They take values in [0,1], have globally Lipschitz fourth roots jointly in the entry and rank, and use rational arithmetic when their inputs are rational.

Their entry-zero and rank-closure thresholds (e,g) are respectively (θ/2, θ/500), (θ/8, θ/50), and (82θ/1000, 27θ/1000). Each has 3g < e, including the witness's strict margin θ/1000. All rank factors are one near zero. These are scalar laws for the concrete row functions, suitable for the stationary-reference compression comparison. The first argument is the full raw entry and the second is the prescribed full-row rank; only function evaluation applies the switches' scalar clipping.

This is the fourth-moment adaptation in cslib-frontier issue #1721. The pinned preprint uses eighth roots. These polynomial cutoffs do not replace the existing exponential AtomCutoffs API, which proves regularity for every positive power. Normalized main atom functions, access enumeration, eighth-root regularity, and machine-resource bounds are separate obligations.

Main definitions #

Main results #

References #

def Cslib.polynomialPrepCutoff4 {R : Type u_1} [Field R] [LinearOrder R] (θ v : R) :
R

The polynomial preparation factor with transition from θ/2 to 3θ/4.

def Cslib.polynomialRowCutoff4 {R : Type u_1} [Field R] [LinearOrder R] (θ r : R) :
R

The polynomial row gate, full through θ/1000 and closed from θ/500.

def Cslib.polynomialPrepRow4 {R : Type u_1} [Field R] [LinearOrder R] (θ v r : R) :
R

The actual unnormalized pre-incoming preparation hθ(v) Rθ(r).

def Cslib.polynomialAuxCutoff4 {R : Type u_1} [Field R] [LinearOrder R] (θ v r : R) :
R

The auxiliary score with the threshold intervals of [OpenAI2026LogSpace, (5.5)].

def Cslib.polynomialWitnessCutoff4 {R : Type u_1} [Field R] [LinearOrder R] (θ v r : R) :
R

The broad analytical witness Jθ of the support-margin lemma. Its support is not required to have a further witness.

Range and threshold laws #

theorem Cslib.polynomialPrepCutoff4_eq_zero {θ v : ℝ} (hθ : 0 < θ) (hv : v ≤ θ / 2) :
theorem Cslib.polynomialPrepCutoff4_eq_one {θ v : ℝ} (hθ : 0 < θ) (hv : 3 * θ / 4 ≤ v) :
theorem Cslib.polynomialRowCutoff4_eq_one {θ r : ℝ} (hθ : 0 < θ) (hr : r ≤ θ / 1000) :
theorem Cslib.polynomialRowCutoff4_eq_zero_iff {θ r : ℝ} (hθ : 0 < θ) :
polynomialRowCutoff4 θ r = 0 ↔ θ / 500 ≤ r
theorem Cslib.polynomialRowCutoff4_eq_zero {θ r : ℝ} (hθ : 0 < θ) (hr : θ / 500 ≤ r) :
theorem Cslib.polynomialPrepRow4_eq_zero_of_entry_le {θ v r : ℝ} (hθ : 0 < θ) (hv : v ≤ θ / 2) :
theorem Cslib.polynomialPrepRow4_eq_zero_of_rank_ge {θ v r : ℝ} (hθ : 0 < θ) (hr : θ / 500 ≤ r) :
theorem Cslib.polynomialPrepRow4_of_rank_le {θ v r : ℝ} (hθ : 0 < θ) (hr : r ≤ θ / 1000) :
theorem Cslib.polynomialAuxCutoff4_eq_zero_of_entry_le {θ v r : ℝ} (hθ : 0 < θ) (hv : v ≤ θ / 8) :
theorem Cslib.polynomialAuxCutoff4_eq_zero_of_rank_ge {θ v r : ℝ} (hθ : 0 < θ) (hr : θ / 50 ≤ r) :
theorem Cslib.polynomialAuxCutoff4_of_rank_le {θ v r : ℝ} (hθ : 0 < θ) (hr : r ≤ θ / 100) :
polynomialAuxCutoff4 θ v r = polynomialSwitch4 (θ / 8) (θ / 4) v
theorem Cslib.polynomialAuxCutoff4_eq_one {θ v r : ℝ} (hθ : 0 < θ) (hv : θ / 4 ≤ v) (hr : r ≤ θ / 100) :
theorem Cslib.polynomialAuxCutoff4_eq_one_of_rowCutoff_ne_zero {θ v r : ℝ} (hθ : 0 < θ) (hv : θ / 4 ≤ v) (hr : polynomialRowCutoff4 θ r ≠ 0) :

On the support relevant to the incoming cap, the concrete auxiliary score is one.

theorem Cslib.polynomialWitnessCutoff4_eq_zero_of_entry_le {θ v r : ℝ} (hθ : 0 < θ) (hv : v ≤ 82 * θ / 1000) :
theorem Cslib.polynomialWitnessCutoff4_eq_zero_of_rank_ge {θ v r : ℝ} (hθ : 0 < θ) (hr : 27 * θ / 1000 ≤ r) :
theorem Cslib.polynomialWitnessCutoff4_of_rank_le {θ v r : ℝ} (hθ : 0 < θ) (hr : r ≤ 26 * θ / 1000) :
polynomialWitnessCutoff4 θ v r = polynomialSwitch4 (82 * θ / 1000) (90 * θ / 1000) v
theorem Cslib.polynomialWitnessCutoff4_eq_one {θ v r : ℝ} (hθ : 0 < θ) (hv : 90 * θ / 1000 ≤ v) (hr : r ≤ 26 * θ / 1000) :

Joint fourth-root regularity #

theorem Cslib.exists_abs_polynomialPrepRow4_root_sub_le (θ : ℝ) :
∃ (C : ℝ), 0 ≤ C ∧ ∀ (v r v' r' : ℝ), |polynomialPrepRow4 θ v r ^ 4⁻¹ - polynomialPrepRow4 θ v' r' ^ 4⁻¹| ≤ C * (|v - v'| + |r - r'|)

The actual preparatory row function has a globally Lipschitz fourth root.

theorem Cslib.exists_abs_polynomialAuxCutoff4_root_sub_le (θ : ℝ) :
∃ (C : ℝ), 0 ≤ C ∧ ∀ (v r v' r' : ℝ), |polynomialAuxCutoff4 θ v r ^ 4⁻¹ - polynomialAuxCutoff4 θ v' r' ^ 4⁻¹| ≤ C * (|v - v'| + |r - r'|)

The actual auxiliary score has a globally Lipschitz fourth root.

theorem Cslib.exists_abs_polynomialWitnessCutoff4_root_sub_le (θ : ℝ) :
∃ (C : ℝ), 0 ≤ C ∧ ∀ (v r v' r' : ℝ), |polynomialWitnessCutoff4 θ v r ^ 4⁻¹ - polynomialWitnessCutoff4 θ v' r' ^ 4⁻¹| ≤ C * (|v - v'| + |r - r'|)

The broad witness also has a globally Lipschitz fourth root.

Exact rational evaluation #

@[simp]
theorem Cslib.polynomialPrepRow4_ratCast (θ v r : ℚ) :
polynomialPrepRow4 ↑θ ↑v ↑r = ↑(polynomialPrepRow4 θ v r)
@[simp]
theorem Cslib.polynomialAuxCutoff4_ratCast (θ v r : ℚ) :
polynomialAuxCutoff4 ↑θ ↑v ↑r = ↑(polynomialAuxCutoff4 θ v r)