{
  "schema_version": "gcy-v1",
  "paper_id": "paper-02",
  "paper_number": 2,
  "slug": "2026-11-23-sonny-fermat-replay-paper2",
  "title": "Prime-Characteristic Fermat Replay and Cross-Block Degree Bounds for BIKPRS Extension Polynomials over $\\mathbb{F}_p$",
  "short_title": "Prime-Characteristic Fermat Replay & Cross-Block Bounds",
  "author": "Sonny",
  "theorem_range": "Theorem 13",
  "track": "track-1",
  "verified_utc": "2026-11-23T20:56:02Z",
  "date_published": "2026-11-23",
  "date_modified": "2026-11-23",
  "toolchain": "Lean (version 4.34.1, x86_64-w64-windows-gnu, commit 5045d0056413266e57c625dcd7c365b10e377c52, Release)",
  "plain_summary": "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": "We develop the prime-characteristic counterpart to Boolean Idempotent Replay over $\\mathbb{F}_2$ [Son26a], establishing block-count-free, width-free, and rank-free degree bounds for ordinary Polynomial Calculus derivations over $\\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 ($\\mathrm{AC}^0[p]$-Frege). Over odd primes $p \\ge 3$, BIKPRS Theorem 6.13 removes a single accuracy-$1$ extension block at a *quadratic* degree cost $p(p - 2) d^2 + 3d$ (which becomes doubly exponential upon iteration over $k$ blocks), while Boolean idempotence $P^2 = P$ fails even when every variable is restricted to $\\{0, 1\\}^N$ inside $\\mathbb{F}_p[X]/\\langle x_i^2 - x_i \\rangle$, because sums of $\\{0, 1\\}$-valued polynomials take values throughout $\\{0, 1, \\dots, p - 1\\}$.\n\nReplacing $P^2 = P$ with **Fermat's identity** $P^p = P$—which holds identically in both the full finite-field quotient $\\mathbb{F}_p[X]/\\langle x_i^p - x_i \\rangle$ and the Boolean-variable BIKPRS quotient $\\mathbb{F}_p[X]/\\langle x_i^2 - x_i \\rangle$—we prove five core structural theorems over every prime $p \\ge 2$:\n\n1. **Arbitrary-$k$ Fermat Replay (Theorem 1 [12A]):** For any base $F$, any cutoff $D \\ge 4$, and any union of $k$ degree-$\\le 1$ BIKPRS blocks of arbitrary widths $w_b$ over $\\mathbb{F}_p$, every old-variable polynomial $P = \\sum_{b, i} a_{b, i} g_{b, i}$ ($\\deg a_{b, i} \\le D - 3$, $\\deg g_{b, i} \\le 1$) obtained by one-step selector cancellation satisfies\n   $$P \\in O_{pD - 2p}(X, F),$$\n   completely independent of block count $k$, widths $w_b$, and variable count $N$. This recovers $2D - 4$ at $p = 2$, $3D - 6$ at $p = 3$, and $5D - 10$ at $p = 5$.\n2. **Constant-Depth Fermat Tower Bound (Theorem 2 [12B]):** Iterating the single-level transition $D \\mapsto pD - 2p$ across $L$ constant-depth levels stays bounded by $D_L \\le p^L D$, independent of total block and gate count $S$.\n3. **Closed-Form Multi-Step Fermat Replay and Serial Non-Accumulation (Theorem 3 [12C]):** Fermat Replay closes inside $O_{pD - 2p}(X, F)$ whenever witness degrees remain $\\le D - 1$; consequently, transfer loss never accumulates across arbitrary finite serial chains $B_1 \\to B_2 \\to \\dots \\to B_m$.\n4. **Generalized Pigeonhole Product Identity and Arbitrary Selector-Degree Single-Block Elimination (Theorem 4 [12D]):** In any commutative ring, $\\{0, 1\\}$-valued selectors ($g^2 = g$, as in BIKPRS $\\mathrm{AC}^0[p]$-Frege) satisfy the identity $\\Pi_I (1 - g_\\ell - \\sum_{g \\in I} g) = \\Pi_{g_\\ell :: I}$, where $\\Pi_I := \\prod_{g \\in I} (1 - g)$. Downward induction on $S_{\\max} - |I|$ places every single-block cancellation hierarchy of arbitrary maximum selector-degree $S_{\\max} \\le D - 2$ inside $O_{pD - 2p}(X, F)$.\n5. **General-Rank, Arbitrary-Degree Two-Block Cross-Coupled Elimination (Theorem 5 [Theorem 13]):** Introducing geometric-series Fermat telescoping—$(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)\\mathrm{geomPlus}(x, -y, p - 1) = x^{p-1} - y^{p-1}$, valid for every prime $p \\ge 2$—we construct a three-stage dynamic derivation that produces decoupled witnesses $(P_1 + P_2) g_i$ and $(P_1 + P_2) h_j$ of degree $\\le D - 1$ inside $O_{pD - 2p}(X, F)$ and finishes by closed-form Fermat Replay to prove $P_1 + P_2 \\in O_{pD - 2p}(X, F)$ for arbitrary widths $n, m$, arbitrary coupling matrix rank, arbitrary $D \\ge 4$, and degree-$\\le (D - 4)$ coupling coefficients. By linearity over connected components, $O_{pD - 2p}(X, F)$ holds for every multi-block coupling graph $G_E$ with maximum vertex degree $\\Delta(G_E) \\le 1$.\n\nExact computations across two independent zero-shared-code $\\mathbb{F}_p$ Polynomial Calculus engines certify the unified Boolean-variable sharpness law $D'(p, w, D) = \\min(D + w - 2,\\; pD - 2p)$, exhibiting an explicit three-characteristic separation on the identical $w = 5, D = 4, N = 10$ Boolean system ($\\mathbb{F}_2 \\to 4$, $\\mathbb{F}_3 \\to 6$, $\\mathbb{F}_5 \\to 7$), an exact $w = 3, D = 4, N = 12$ cross-block separation ($\\mathbb{F}_2 \\to O_4$ versus Boolean $\\mathbb{F}_3 \\to O_4$ False [`143 == 143`], $O_5$ True [`1052 == 1052`], $O_6$ True [`1949 == 1949`]), and symbolic degree-tracked verification of Theorem 5 over $\\mathbb{F}_3$ and $\\mathbb{F}_5$ through $N = 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/2$ planted negative controls rejected). Prime-$p$ coupling graphs with $\\Delta(G_E) \\ge 2$, full mixed-monomial one-level $O_D(F, E) \\cap A$ elimination over $\\mathbb{F}_p$, super-polynomial $\\mathrm{AC}^0[p]$-Frege lower bounds, and the $\\mathrm{P}$ versus $\\mathrm{NP}$ problem remain open.\n\n---",
  "lanes": [
    "Polynomial Calculus / BIKPRS"
  ],
  "evidence_tags": [
    "PROVED",
    "COMPUTED",
    "CITED",
    "OPEN"
  ],
  "prior_authors": [
    "Clegg–Edmonds–Impagliazzo",
    "Buss–Impagliazzo–Krajíček–Pudlák–Razborov–Sgall",
    "Grigoriev",
    "Ben-Sasson–Impagliazzo",
    "Krajíček"
  ],
  "open_questions": [
    "**Prime-$p$ cross-block coupling graphs with $\\Delta(G_E) \\ge 2$:** Theorem 5 and Corollary 5.1 establish $O_{pD - 2p}(X, F)$ elimination for all coupling graphs with $\\Delta(G_E) \\le 1$ over every prime $p \\ge 2$. In characteristic $2$, [Son26a] shows that $O_{2D - 4}(X, F)$ fails sharply at $\\Delta(G_E) = 2, w = 3$ while $O_{2D - 3}(X, F)$ holds for arbitrary-size matched cliques $K_k$ and the $3$-block path $P_3$. Determining the exact prime-$p$ degree threshold for $\\Delta(G_E) \\ge 2$ coupling graphs (including cliques $K_k$, paths $P_3$, and arbitrary sparse asymmetric coupling graphs over $\\mathbb{F}_p$) remains **open**.",
    "**Full mixed-monomial one-level $O_D(F, E) \\cap A$ derivation-tree elimination over $\\mathbb{F}_p$:** Lifting Theorems 1–5 from arbitrary selector-degree single-block hierarchies and selector-degree-$2$ cross-block systems to unrestricted one-level $O_D(F, E) \\cap A$ derivation trees mixing arbitrary subsets of selectors across arbitrarily many overlapping blocks simultaneously over $\\mathbb{F}_p$ remains **open**.",
    "**Constant-depth nesting and super-polynomial $\\mathrm{AC}^0[p]$-Frege lower bounds:** Extending one-level prime-$p$ elimination to nested selector-carrying inputs at levels $\\ell \\ge 2$ of BIKPRS Definition 6.5 (respecting the warning of [BIKPRS96, p. 32] regarding bases such as weak $\\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 $\\mathrm{AC}^0[p]$-Frege remain **open**.",
    "**The $\\mathrm{P}$ versus $\\mathrm{NP}$ problem:** Separating $\\mathrm{P}$ from $\\mathrm{NP}$ remains **open**."
  ],
  "verify_command": "lean lean/OD*.lean && python python/verify_*.py",
  "standing": {
    "standing_tier": "foundation",
    "standing_label": "Working / Foundation",
    "projected_rank_label": "Foundation · Prime Fermat Replay",
    "baseline_compared": "Grigoriev (1998) & Ben-Sasson–Impagliazzo (1999)"
  },
  "verification": {
    "tier": 2,
    "tier_label": "Tier 2: #print axioms Audit + Planted Controls + Exact Script Replay",
    "trust_level_zero": false,
    "lean_modules": 2,
    "target_declarations": 13,
    "zero_axiom_declarations": 0,
    "planted_controls_lean": 2,
    "planted_controls_python": 0,
    "planted_controls_breakdown": "2 Lean",
    "planted_controls_total": 2,
    "planted_controls_rejected": 2,
    "sha256_manifest_files": 12,
    "dual_independent_checker": false
  },
  "venues": [
    {
      "name": "Zenodo",
      "status": "unsubmitted",
      "url": "",
      "note": "Target DOI archive"
    },
    {
      "name": "ECCC",
      "status": "unsubmitted",
      "url": "",
      "note": "Target technical report"
    },
    {
      "name": "arXiv",
      "status": "unsubmitted",
      "url": "",
      "note": "Target cs.CC preprint"
    }
  ],
  "declarations": [
    {
      "declaration": "ODFermatCrossBlock.sub_mul_geomPlus",
      "short_name": "sub_mul_geomPlus",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatCrossBlock.add_mul_geomAlt_pm1",
      "short_name": "add_mul_geomAlt_pm1",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatCrossBlock.stage2_R",
      "short_name": "stage2_R",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatCrossBlock.stage2_S",
      "short_name": "stage2_S",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatCrossBlock.decoupled_Pg",
      "short_name": "decoupled_Pg",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatCrossBlock.decoupled_Ph",
      "short_name": "decoupled_Ph",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatCrossBlock.fermat_cross_block_P_in_OpDm2p",
      "short_name": "fermat_cross_block_P_in_OpDm2p",
      "module": "ODFermatCrossBlock.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatReplay.fermat_replay_closed",
      "short_name": "fermat_replay_closed",
      "module": "ODFermatReplay.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatReplay.fermat_replay_arbitrary_k",
      "short_name": "fermat_replay_arbitrary_k",
      "module": "ODFermatReplay.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatReplay.fermat_tower_bound",
      "short_name": "fermat_tower_bound",
      "module": "ODFermatReplay.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatReplay.pigeonhole_prod_identity_ring",
      "short_name": "pigeonhole_prod_identity_ring",
      "module": "ODFermatReplay.lean",
      "axioms": [
        "propext"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatReplay.fermat_arbitrary_seldeg_induction",
      "short_name": "fermat_arbitrary_seldeg_induction",
      "module": "ODFermatReplay.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    },
    {
      "declaration": "ODFermatReplay.fermat_arbitrary_seldeg_P",
      "short_name": "fermat_arbitrary_seldeg_P",
      "module": "ODFermatReplay.lean",
      "axioms": [
        "propext",
        "Quot.sound"
      ],
      "zero_axiom": false,
      "evidence": "PROVED"
    }
  ],
  "sha256_manifest_count": 12
}
