GCY Go Check Yourself
Archive Reports Quantum & Verification paper-02 Tag /t/0002 MSC 81P68 · 03F20 · 68Q15

Prime-Characteristic Fermat Replay and Cross-Block Degree Bounds for BIKPRS Extension Polynomials over Fp\mathbb{F}_p

Lean-Checked Core · Primary status: Lean-Checked Finite/Algebraic Core + Paper Proof (Unrefereed) for prose bridges in MANUSCRIPT.md Also tagged: Computed Cited Open
By Sonny JSON Card
Claim Key: Lean-Checked finite/algebraic Lean 4.34.1 kernel replay (trustLevel = 0) Paper Proof (Unrefereed) author's prose proof in MANUSCRIPT.md Computed exact/interval machine check Conditional relies on cited external result or unrefereed bridge Cited prior scholarship Open unreached boundary
Theorem 13 — Scope & Overview Tag /t/0002

Extends Paper 1 from 0/1 arithmetic to clock arithmetic modulo any prime number p, using Fermat's Little Theorem (x^p = x) to eliminate extension variables cleanly. Proves exact degree bounds independent of how many extension blocks are chained together, while stopping short of unrestricted prime-modulo Frege proofs.

Abstract & Certified Findings

We develop the prime-characteristic counterpart to Boolean Idempotent Replay over F2\mathbb{F}_2 [Son26a], establishing block-count-free, width-free, and rank-free degree bounds for ordinary Polynomial Calculus derivations over Fp\mathbb{F}_p augmented with leveled extension polynomials of Buss, Impagliazzo, Krajíček, Pudlák, Razborov, and Sgall (BIKPRS, 1996/97), the standard algebraic translation of bounded-depth Frege proofs with modular counting gates (AC0[p]\mathrm{AC}^0[p]-Frege). Over odd primes p≥3p \ge 3, BIKPRS Theorem 6.13 removes a single accuracy-11 extension block at a quadratic degree cost p(p−2)d2+3dp(p - 2) d^2 + 3d (which becomes doubly exponential upon iteration over kk blocks), while Boolean idempotence P2=PP^2 = P fails even when every variable is restricted to {0,1}N\{0, 1\}^N inside Fp[X]/⟨xi2−xi⟩\mathbb{F}_p[X]/\langle x_i^2 - x_i \rangle, because sums of {0,1}\{0, 1\}-valued polynomials take values throughout {0,1,…,p−1}\{0, 1, \dots, p - 1\}.

Replacing P2=PP^2 = P with Fermat's identity Pp=PP^p = P—which holds identically in both the full finite-field quotient Fp[X]/⟨xip−xi⟩\mathbb{F}_p[X]/\langle x_i^p - x_i \rangle and the Boolean-variable BIKPRS quotient Fp[X]/⟨xi2−xi⟩\mathbb{F}_p[X]/\langle x_i^2 - x_i \rangle—we prove five core structural theorems over every prime p≥2p \ge 2:

  1. Arbitrary-kk Fermat Replay (Theorem 1 [12A]): For any base FF, any cutoff D≥4D \ge 4, and any union of kk degree-≤1\le 1 BIKPRS blocks of arbitrary widths wbw_b over Fp\mathbb{F}_p, every old-variable polynomial P=∑b,iab,igb,iP = \sum_{b, i} a_{b, i} g_{b, i} (deg⁡ab,i≤D−3\deg a_{b, i} \le D - 3, deg⁡gb,i≤1\deg g_{b, i} \le 1) obtained by one-step selector cancellation satisfies

P∈OpD−2p(X,F),P \in O_{pD - 2p}(X, F),
completely independent of block count kk, widths wbw_b, and variable count NN. This recovers 2D−42D - 4 at p=2p = 2, 3D−63D - 6 at p=3p = 3, and 5D−105D - 10 at p=5p = 5.

  1. Constant-Depth Fermat Tower Bound (Theorem 2 [12B]): Iterating the single-level transition D↦pD−2pD \mapsto pD - 2p across LL constant-depth levels stays bounded by DL≤pLDD_L \le p^L D, independent of total block and gate count SS.
  2. Closed-Form Multi-Step Fermat Replay and Serial Non-Accumulation (Theorem 3 [12C]): Fermat Replay closes inside OpD−2p(X,F)O_{pD - 2p}(X, F) whenever witness degrees remain ≤D−1\le D - 1; consequently, transfer loss never accumulates across arbitrary finite serial chains B1→B2→⋯→BmB_1 \to B_2 \to \dots \to B_m.
  3. Generalized Pigeonhole Product Identity and Arbitrary Selector-Degree Single-Block Elimination (Theorem 4 [12D]): In any commutative ring, {0,1}\{0, 1\}-valued selectors (g2=gg^2 = g, as in BIKPRS AC0[p]\mathrm{AC}^0[p]-Frege) satisfy the identity ΠI(1−gℓ−∑g∈Ig)=Πgℓ::I\Pi_I (1 - g_\ell - \sum_{g \in I} g) = \Pi_{g_\ell :: I}, where ΠI:=∏g∈I(1−g)\Pi_I := \prod_{g \in I} (1 - g). Downward induction on Smax⁡−∣I∣S_{\max} - |I| places every single-block cancellation hierarchy of arbitrary maximum selector-degree Smax⁡≤D−2S_{\max} \le D - 2 inside OpD−2p(X,F)O_{pD - 2p}(X, F).
  4. General-Rank, Arbitrary-Degree Two-Block Cross-Coupled Elimination (Theorem 5 [Theorem 13]): Introducing geometric-series Fermat telescoping—(x−y)∑t=0n−1xn−1−tyt=xn−yn(x - y)\sum_{t=0}^{n-1} x^{n-1-t} y^t = x^n - y^n together with the prime-parity alternating identity (x+y)geomPlus(x,−y,p−1)=xp−1−yp−1(x + y)\mathrm{geomPlus}(x, -y, p - 1) = x^{p-1} - y^{p-1}, valid for every prime p≥2p \ge 2—we construct a three-stage dynamic derivation that produces decoupled witnesses (P1+P2)gi(P_1 + P_2) g_i and (P1+P2)hj(P_1 + P_2) h_j of degree ≤D−1\le D - 1 inside OpD−2p(X,F)O_{pD - 2p}(X, F) and finishes by closed-form Fermat Replay to prove P1+P2∈OpD−2p(X,F)P_1 + P_2 \in O_{pD - 2p}(X, F) for arbitrary widths n,mn, m, arbitrary coupling matrix rank, arbitrary D≥4D \ge 4, and degree-≤(D−4)\le (D - 4) coupling coefficients. By linearity over connected components, OpD−2p(X,F)O_{pD - 2p}(X, F) holds for every multi-block coupling graph GEG_E with maximum vertex degree Δ(GE)≤1\Delta(G_E) \le 1.

Exact computations across two independent zero-shared-code Fp\mathbb{F}_p Polynomial Calculus engines certify the unified Boolean-variable sharpness law D′(p,w,D)=min⁡(D+w−2,  pD−2p)D'(p, w, D) = \min(D + w - 2,\; pD - 2p), exhibiting an explicit three-characteristic separation on the identical w=5,D=4,N=10w = 5, D = 4, N = 10 Boolean system (F2→4\mathbb{F}_2 \to 4, F3→6\mathbb{F}_3 \to 6, F5→7\mathbb{F}_5 \to 7), an exact w=3,D=4,N=12w = 3, D = 4, N = 12 cross-block separation (F2→O4\mathbb{F}_2 \to O_4 versus Boolean F3→O4\mathbb{F}_3 \to O_4 False [143 == 143], O5O_5 True [1052 == 1052], O6O_6 True [1949 == 1949]), and symbolic degree-tracked verification of Theorem 5 over F3\mathbb{F}_3 and F5\mathbb{F}_5 through N=27N = 27. All 13 core declarations are machine-checked in Lean 4.34.1 across 2 standalone zero-Mathlib files using purely constructive axioms (zero Classical.choice, zero sorry, 2/22/2 planted negative controls rejected). Prime-pp coupling graphs with Δ(GE)≥2\Delta(G_E) \ge 2, full mixed-monomial one-level OD(F,E)∩AO_D(F, E) \cap A elimination over Fp\mathbb{F}_p, super-polynomial AC0[p]\mathrm{AC}^0[p]-Frege lower bounds, and the P\mathrm{P} versus NP\mathrm{NP} problem remain open.

---

Offline Verification Command

lean lean/OD*.lean && python python/verify_*.py

Formal-to-Informal Bridge & Evidence Boundaries

EvidenceScope & Verification Boundary
Proved (Lean 4)2 standalone zero-Mathlib Lean 4.34.1 modules, 13 target declarations (0 strictly axioms = []), Lean 4.34.1 #print axioms audit, planted negative controls rejected: 2 Lean.
Computed6 certified empirical tables; standing: Foundation · Prime Fermat Replay; baseline compared: Grigoriev (1998) & Ben-Sasson–Impagliazzo (1999).
CitedClegg–Edmonds–Impagliazzo; Buss–Impagliazzo–Krajíček–Pudlák–Razborov–Sgall; Grigoriev; Ben-Sasson–Impagliazzo; Krajíček
Open / Boundary
  • Prime-pp cross-block coupling graphs with Δ(GE)≥2\Delta(G_E) \ge 2: Theorem 5 and Corollary 5.1 establish OpD−2p(X,F)O_{pD - 2p}(X, F) elimination for all coupling graphs with Δ(GE)≤1\Delta(G_E) \le 1 over every prime p≥2p \ge 2. In characteristic 22, [Son26a] shows that O2D−4(X,F)O_{2D - 4}(X, F) fails sharply at Δ(GE)=2,w=3\Delta(G_E) = 2, w = 3 while O2D−3(X,F)O_{2D - 3}(X, F) holds for arbitrary-size matched cliques KkK_k and the 33-block path P3P_3. Determining the exact prime-pp degree threshold for Δ(GE)≥2\Delta(G_E) \ge 2 coupling graphs (including cliques KkK_k, paths P3P_3, and arbitrary sparse asymmetric coupling graphs over Fp\mathbb{F}_p) remains open.
  • Full mixed-monomial one-level OD(F,E)∩AO_D(F, E) \cap A derivation-tree elimination over Fp\mathbb{F}_p: Lifting Theorems 1–5 from arbitrary selector-degree single-block hierarchies and selector-degree-22 cross-block systems to unrestricted one-level OD(F,E)∩AO_D(F, E) \cap A derivation trees mixing arbitrary subsets of selectors across arbitrarily many overlapping blocks simultaneously over Fp\mathbb{F}_p remains open.
  • Constant-depth nesting and super-polynomial AC0[p]\mathrm{AC}^0[p]-Frege lower bounds: Extending one-level prime-pp elimination to nested selector-carrying inputs at levels ℓ≥2\ell \ge 2 of BIKPRS Definition 6.5 (respecting the warning of [BIKPRS96, p. 32] regarding bases such as weak PHPn2n\mathrm{PHP}^{2n}_n that admit short constant-depth proofs, and potentially pairing with pseudo-solution frameworks [Kra24, Kra26]) and proving super-polynomial lower bounds for AC0[p]\mathrm{AC}^0[p]-Frege remain open.
  • The P\mathrm{P} versus NP\mathrm{NP} problem: Separating P\mathrm{P} from NP\mathrm{NP} remains open.
Lean 4.34.1 Modules & Declarations (2 modules, 13 targets, 0 zero-axiom) 13 declarations
DeclarationModuleAxiom FootprintStatus
sub_mul_geomPlus ODFermatCrossBlock.lean propext Proved
add_mul_geomAlt_pm1 ODFermatCrossBlock.lean propext, Quot.sound Proved
stage2_R ODFermatCrossBlock.lean propext, Quot.sound Proved
stage2_S ODFermatCrossBlock.lean propext, Quot.sound Proved
decoupled_Pg ODFermatCrossBlock.lean propext, Quot.sound Proved
decoupled_Ph ODFermatCrossBlock.lean propext, Quot.sound Proved
fermat_cross_block_P_in_OpDm2p ODFermatCrossBlock.lean propext, Quot.sound Proved
fermat_replay_closed ODFermatReplay.lean propext, Quot.sound Proved
fermat_replay_arbitrary_k ODFermatReplay.lean propext, Quot.sound Proved
fermat_tower_bound ODFermatReplay.lean propext, Quot.sound Proved
pigeonhole_prod_identity_ring ODFermatReplay.lean propext Proved
fermat_arbitrary_seldeg_induction ODFermatReplay.lean propext, Quot.sound Proved
fermat_arbitrary_seldeg_P ODFermatReplay.lean propext, Quot.sound Proved

Certified Tables & Numerical Ledgers

6.1. Exact Sharpness in Full F3[X]/⟨xi3−xi⟩\mathbb{F}_3[X]/\langle x_i^3 - x_i \rangle (q=3q = 3)

CellwwNNP2=PP^2 = P?O4O_4 (A == B)O5O_5 (A == B)O6O_6 (A == B)Exact min⁡D′\min D'
F3_q3_D4_w224FalseNO (9 == 9)NO (23 == 23)YES (43 == 43)6 (3D−63D - 6)
F3_q3_D4_w336FalseNO (18 == 18)NO (61 == 61)YES (167 == 167)6 (3D−63D - 6)

6.2. Boolean-Variable Sharpness across F3\mathbb{F}_3 and F5\mathbb{F}_5 (q=2q = 2)

CellppwwNNP2=PP^2 = P?O4O_4 (A == B)O5O_5 (A == B)O6O_6 (A == B)O7O_7 (A == B)Exact min⁡D′\min D'min⁡(D+w−2,  pD−2p)\min(D+w-2,\; pD-2p)
F3_q2_D4_w2324FalseYES (7 == 7)———44
F3_q2_D4_w3336FalseNO (15 == 15)YES (35 == 35)——55
F3_q2_D4_w4348FalseNO (26 == 26)NO (78 == 78)YES (154 == 154)—66
F3_q2_D4_w53510FalseNO (40 == 40)NO (150 == 150)YES (385 == 385)—66 (Fermat cap)
F5_q2_D4_w3536FalseNO (15 == 15)YES (36 == 36)——55
F5_q2_D4_w4548FalseNO (26 == 26)NO (78 == 78)YES (166 == 166)—66
F5_q2_D4_w55510FalseNO (40 == 40)NO (150 == 150)NO (355 == 355)YES (724 == 724)77

6.3. Exact Three-Characteristic Separation on an Identical Boolean System

FieldP2=PP^2 = P?O4O_4 (A == B)O5O_5 (A == B)O6O_6 (A == B)O7O_7 (A == B)Exact min⁡D′\min D'Governing Law
F2\mathbb{F}_2TrueYES (55 == 55)———42D−42D - 4 (Boolean Idempotent Replay)
F3\mathbb{F}_3FalseNO (40 == 40)NO (150 == 150)YES (385 == 385)—63D−63D - 6 (Fermat Replay caps w=5<7w = 5 < 7)
F5\mathbb{F}_5FalseNO (40 == 40)NO (150 == 150)NO (355 == 355)YES (724 == 724)7D+w−2D + w - 2 (<5D−10=10< 5D - 10 = 10)

6.4. Symbolic and Two-Engine Verification of Theorem 5 (Cross-Block Elimination)

InstanceppqqDDwwNNCoupling CoefficientsExact MatchMax Degree SeenBound pD−2ppD - 2p
F3_q2_D4_w4_rank4324416Random rank-44 constants (deg⁡=0\deg = 0)True66
F3_q3_D4_w3_full_Fp334312Full F3[X]/(X3−X)\mathbb{F}_3[X]/(X^3 - X), rank-33True66
F3_q2_D5_w4_deg1_ru325427Generic affine rij,ujir_{ij}, u_{ji} (deg⁡=1\deg = 1)True99
F5_q2_D4_w3_rank3524312Random rank-33 constants (deg⁡=0\deg = 0)True1010

6.4. Symbolic and Two-Engine Verification of Theorem 5 (Cross-Block Elimination)

RingwwDDNNO4(F)O_4(F) (A == B)O5(F)O_5(F) (A == B)O6(F)O_6(F) (A == B)Theorem 5 Ceiling pD−2ppD - 2p
F2[X]/⟨xi2−xi⟩\mathbb{F}_2[X]/\langle x_i^2 - x_i \rangle (companion [Son26a])3412True (224 == 224)——4
F3[X]/⟨xi2−xi⟩\mathbb{F}_3[X]/\langle x_i^2 - x_i \rangle (Boolean F3\mathbb{F}_3)3412False (143 == 143)True (1052 == 1052)True (1949 == 1949)6

7. Lean 4.34.1 Machine Verification

#Source FileLean DeclarationMathematical ContentKernel Axioms
1ODFermatReplay.leanODFermatReplay.fermat_replay_closedThm 3 [12C]: Closed-form Fermat Replay in OpD−2p(F)O_{pD - 2p}(F)[propext, Quot.sound]
2ODFermatReplay.leanODFermatReplay.fermat_replay_arbitrary_kThm 1 [12A]: Arbitrary-kk Fermat Replay from OD(F)O_D(F)[propext, Quot.sound]
3ODFermatReplay.leanODFermatReplay.fermat_tower_boundThm 2 [12B]: Constant-depth tower bound DL≤pLDD_L \le p^L D[propext, Quot.sound]
4ODFermatReplay.leanODFermatReplay.pigeonhole_prod_identity_ringLemma 4.1 [12D]: ΠI(1−gℓ−∑I)=Πgℓ::I\Pi_I(1 - g_\ell - \sum I) = \Pi_{g_\ell :: I} in any ring[propext]
5ODFermatReplay.leanODFermatReplay.fermat_arbitrary_seldeg_inductionThm 4 [12D]: Downward induction on Smax⁡−∣I∣S_{\max} - |I| over Fp\mathbb{F}_p[propext, Quot.sound]
6ODFermatReplay.leanODFermatReplay.fermat_arbitrary_seldeg_PThm 4 [12D]: Root elimination W∅∈OpD−2p(F)W_\emptyset \in O_{pD - 2p}(F)[propext, Quot.sound]
7ODFermatCrossBlock.leanODFermatCrossBlock.sub_mul_geomPlusLemma 5.1(1): (x−y)geomPlus(x,y,n)=xn−yn(x - y)\mathrm{geomPlus}(x, y, n) = x^n - y^n[propext]
8ODFermatCrossBlock.leanODFermatCrossBlock.add_mul_geomAlt_pm1Lemma 5.1(3): (x+y)geomPlus(x,−y,p−1)=xp−1−yp−1(x + y)\mathrm{geomPlus}(x, -y, p-1) = x^{p-1} - y^{p-1}[propext, Quot.sound]
9ODFermatCrossBlock.leanODFermatCrossBlock.stage2_RThm 5 [13] Stage 2A: Rj=P1hj+Wj∈OpD−2p(F)R_j = P_1 h_j + W_j \in O_{pD - 2p}(F)[propext, Quot.sound]
10ODFermatCrossBlock.leanODFermatCrossBlock.stage2_SThm 5 [13] Stage 2B: Si=P2gi−Vi∈OpD−2p(F)S_i = P_2 g_i - V_i \in O_{pD - 2p}(F)[propext, Quot.sound]
11ODFermatCrossBlock.leanODFermatCrossBlock.decoupled_PgThm 5 [13] Stage 3A: (P1+P2)gi∈OpD−2p(F)(P_1 + P_2) g_i \in O_{pD - 2p}(F)[propext, Quot.sound]
12ODFermatCrossBlock.leanODFermatCrossBlock.decoupled_PhThm 5 [13] Stage 3B: (P1+P2)hj∈OpD−2p(F)(P_1 + P_2) h_j \in O_{pD - 2p}(F)[propext, Quot.sound]
13ODFermatCrossBlock.leanODFermatCrossBlock.fermat_cross_block_P_in_OpDm2pThm 5 [13]: General-rank P1+P2∈OpD−2p(F)P_1 + P_2 \in O_{pD - 2p}(F)[propext, Quot.sound]
Verification Receipt & SHA-256 Manifest (12 sealed entries) manifest
Paper 2 Standalone Candidate Bundle Live Verification Receipt
UTC: 2026-11-23T20:56:02Z
Toolchain: Lean (version 4.34.1, x86_64-w64-windows-gnu, commit 5045d0056413266e57c625dcd7c365b10e377c52, Release)
ODFermatReplay.lean EXIT=0 (6/6 constructive decls)
ODFermatCrossBlock.lean EXIT=0 (7/7 constructive decls)
PlantedFermatBad.lean EXIT=1 (rejected as required)
PlantedFermatCrossBad.lean EXIT=1 (rejected as required)
run_fp_sharpness.py EXIT=0
run_fp_separation.py EXIT=0
verify_thm13_fp.py EXIT=0
LOCAL_PATH_HITS=0
BANNED_WORD_HITS=0
Bundle FileSHA-256 Digest
lean/ODFermatCrossBlock.lean0de1c8db00fcf27e6729ff7ef21837832f5831831e2b4deb2986e6a5b4334cc0
lean/ODFermatReplay.lean334d0b6f55eb7ce474fc94607774349c9f4d1819165586845331e7819ce156e6
lean/PlantedFermatBad.leandfdbaeed895fb451a75bf157d5db3f9ac4bf4442d3759563fbd722487c68d61e
lean/PlantedFermatCrossBad.leand8d3080d97640b9a34f1ef06bda69d7bc1a77941e8c93b189417da18ed781463
PAPER2.md8ef15bf0533e3a93efc51fef817981190181f32ba4889a478a01f4e11b4394e0
PAPER2.tex0de7b8aa4378e18b8665a309d2fd61e2db4c074ab7f94e13e1b23fdb5084e59e
python/engine_fp_a.py52c6c7fa44692daf27696195348ad14c4b376575ae04c2d0b406bb3059011814
python/engine_fp_b.py30aaa5186d8215920a605a28160f6517e6724200c0596acc175c669f74b22adc
python/run_fp_separation.py578d02d7745d33e2df208771113fcb7c0b35d191519224680a0abdd962cd7ff6
python/run_fp_sharpness.pyd0f86063f756a9e44fad45cd94f2e72f65e150bc63231b27e967019dac961f37
python/verify_thm13_fp.pyc8d183521d90b3e957955614224118c4ddaf4c3ad716239235cc5002eb7b0329
REPRODUCIBILITY2.mdef4b5e640d3ed3aedc3367f768c144e1c22f5cba8c1f2f8d4ece54adccd26069
Provenance

Where this came from, and how to check it

Review record
  • Standing: Working / Foundation
  • No refereed venue recorded in the registry (unrefereed).
  • Venues: Zenodo: not submitted · ECCC: not submitted · arXiv: not submitted
  • Replay receipts: live ledger · review log
How to verify
  • Replaylean lean/OD*.lean && python python/verify_*.py
Cite this

Cite this report

Plain text

Sonny (2026). Prime-Characteristic Fermat Replay and Cross-Block Degree Bounds for BIKPRS Extension Polynomials over F_p. Go Check Yourself. https://gocheckyourself.org/reports/paper-02/

BibTeX

@misc{sonny2026paper02,
  author    = {Sonny},
  title     = {{Prime-Characteristic Fermat Replay and Cross-Block Degree Bounds for BIKPRS Extension Polynomials over $\mathbb{F}_p$}},
  year      = {2026},
  month     = nov,
  url       = {https://gocheckyourself.org/reports/paper-02/},
  note      = {Go Check Yourself report paper-02, https://gocheckyourself.org/reports/paper-02/}
}