Skip to content

bounds, verify_challenge: wire 12 #194 Lean bounds, upgrade last 9 reproduced bounds to verified, and add 22 exact cells - #200

Merged
vprusso merged 2 commits into
unitaryfoundation:mainfrom
mizopl:feat/wave5-lean-crowns-and-exact-bounds
Nov 17, 2026
Merged

vprusso merged 2 commits into
unitaryfoundation:mainfrom
mizopl:feat/wave5-lean-crowns-and-exact-bounds

Conversation

@mizopl

@mizopl mizopl commented Nov 16, 2026 •

Copy link
Copy Markdown

Follows up on #193 and on the review note in #194 ("A follow-up could point those bound files at the modules so the board shows the lean tier"), synced against main (fc48fc8c, after #192 and #198).

Scope & Limitations First

  • What this does not change: Asymptotic stabilizer-rank exponents remain open across all ten tracks, and all 35 existing attested lower bounds on main (qubit_sqrtT $m=6,7 \ge 7$, T3 $m=4..6 \ge 8$, H3 $m=4..6 \ge 7$, N $m=4..6 \ge 7$, S $m=5..8 \ge 6$, T5 $m=3..5 \ge 6$, qubit_H/qubit_T $m=5..10 \ge 6$, cat $m=7,8 \ge 5$) remain untouched. The new monotonicity cells (qubit_H/qubit_T $m=7..10 \ge 5$, qubit_sqrtT $m=7..10 \ge 6$, H3 $m=5,6 \ge 5$, N $m=5,6 \ge 5$, T3 $m=4..6 \ge 7$, T5 $m=5 \ge 5$) establish self-contained verified (exact: true) floors alongside those attested bounds.
  • Fork-PR CI & post-merge lean receipt note: Because .github/workflows/submissions.yml (SAME_REPO == "false") stages bounds/ and --diff-filter=A verify_challenge/cert_*.py onto $BASE, the 12 bounds wired to LeanProofs.* modules from lean_proofs: Norrell reflection, m=1 exact bounds, and m=5,7,8 upper bounds (N, H3, qubit_T) #194 check that each module and theorem exists on main and fall back to tier=verified in PR CI until certs/lean-LeanProofs-*.json receipts exist on main. Note for post-merge site build: since submissions.yml runs record_receipts.py before make lean-certify (and site_challenge/build.py:receipt_for checks certs/<slug>.json before verify_lean()), running make lean-certify and removing those 12 fallback certs/<slug>.json files lets make build promote all 12 cells to tier=lean (44 -> 56).
  • Separate test-maintenance note (CONTRIBUTING.md): tests/test_ququint_dictionary.py:185 (pytest.importorskip("sympy")) hardcodes ("T5-m2-lower-5", "cert_t5_m2_rank4.py"); since fork PRs stage only bounds/ and verify_challenge/cert_*.py, that test tuple can be pointed to cert_t5_m2_to_m5_exact.py in a separate test-maintenance commit.

Summary of Changes (21 Modified bounds/*.json, 22 Added bounds/*.json, 7 Added verify_challenge/cert_*.py)

  1. 12 LeanProofs Wirings from lean_proofs: Norrell reflection, m=1 exact bounds, and m=5,7,8 upper bounds (N, H3, qubit_T) #194 (provenance and witness/certificate preserved verbatim):

    • $m = 1$ exact $\chi = 2$ cells (lower & upper): qubit_H-m1-{lower,upper}-2.json, qubit_T-m1-{lower,upper}-2.json, H3-m1-{lower,upper}-2.json, N-m1-{lower,upper}-2.json $\to$ LeanProofs.M1Lower and LeanProofs.{QubitHM1,QubitTM1,H3M1,NorrellM1}StabRank.
    • $m = 5, 7, 8$ upper bounds: N-m5-upper-10.json ($\gamma = \log_3(10)/5 \approx 0.4192$), H3-m5-upper-12.json, qubit_T-m7-upper-9.json, qubit_T-m8-upper-9.json ($\gamma = \log_2(9)/8 \approx 0.3962$) $\to$ LeanProofs.{NorrellM5,H3M5,QubitTM7,QubitTM8}StabRank.
  2. Upgrading All 9 Remaining reproduced Bounds on main to verified (exact: true, reproduced: 9 -> 0, original provenance preserved byte-for-byte with prior scripts/notes retained):

    • H3 (verify_challenge/cert_h3_m4_to_m6_rank5_exact.py, ~4.0 s 1-core vs. 1,183 s float): Zero-float $\mathbb{F}_P$ Clifford orbit reduction ($P = 1{,}000{,}000{,}021$), 1-pivot 2D $\tau$-Galois plane $V_3(H_3)$ ($\le 4\times 4$ and $\le 5\times 5$ Hadamard norms $\le 55{,}296$ and $\le 432{,}000 &lt; P$, confirmed over $\mathbb{Z}$), and exact $\mathbb{Z}[\omega_3, \sqrt{3}]$ meet-in-the-middle Pauli slice-1 exclusion (H3-m4-lower-5.json upgraded; H3-m5-lower-5.json, H3-m6-lower-5.json added).
    • T5 (verify_challenge/cert_t5_m2_to_m5_exact.py, ~17.8 s vs. 51 s float): Exact ququint dictionary $D(5, 2)$ (3,900 states), explicit group-closure verification of the order-200 $\mathrm{Gal}(\mathbb{Q}(\omega_5)/\mathbb{Q}) \rtimes \text{Clifford}$ group (38 pivot orbits, 40,124 pairs), and exact $\mathbb{F}_P$ rank exclusion ($5\times 5$ norm $\le 5^{10} = 9{,}765{,}625 &lt; P$), settling $\chi(|T_5\rangle^{\otimes 2}) = 5$ at verified/lean (T5-m{2,3,4}-lower-5.json upgraded; T5-m5-lower-5.json added).
    • S & N (verify_challenge/cert_s_n_rank5_exact.py, ~96.0 s combined vs. 2,580 s + 120 s float): Zero-float projective $\mathcal{C}_1(3)$ group (216 elements via $(1 - \omega_3) F_3$ over $\mathbb{F}P$), unprojected 27-column $\mathbb{F}{65521}$ rank filter (_rank_rows_27, Hadamard norms $\le 27$ and $\le 256 &lt; 65521$) + $\mathbb{F}_P$ and SymPy $\mathbb{Z}[\omega_3]$ confirmation, and exact $\mathbb{Z}[\omega_3]$ meet-in-the-middle Pauli slice-and-lift recovering the unique $|N\rangle^{\otimes 3}$ rank-4 orbit (0 lifts to $m=4$) and 69 exact $|S\rangle^{\otimes 4}$ rank-4 lifts (0 lifts to $m=5$) (N-m4-lower-5.json and S-m{5,6,7,8}-lower-5.json upgraded; N-m{5,6}-lower-5.json added).
  3. Additional Exact verified (exact: true) Cells:

    • CS-m4-lower-5.json (verify_challenge/cert_cs_m4_rank5_exact.py, ~22.6 s cold / ~8 s warm): Tightens the CS $m = 4$ lower bound from 4 to 5 (5 <= chi(CS^4) <= 9, alongside Raise the CS-cube stabilizer-rank lower bound to five with an exact certificate #192's CS-m3-lower-5) via 4-qubit even-qubit postselection $(\langle 0|_2(I \otimes H))^{\otimes 4}|\text{CS}\rangle^{\otimes 4} \propto |\Psi_4\rangle = (2|0\rangle + (1+i)|1\rangle)^{\otimes 4} \in \mathbb{Z}[i]^{16}$, paired with an explicit 5-term tightness witness proving $\chi(|\Psi_4\rangle) = 5$ and exhaustive $S_3$-reduced Pauli slice-1 exclusion across all 2,297 minimal rank-4 decompositions of $|\Psi_3\rangle$ ($P = 1{,}000{,}000{,}009$).
    • cat-m2-lower-1.json (verify_challenge/cert_cat_m2_rank1.py, 0.34 s): Symbolic projective and norm check closing $\chi(|\text{cat}_2\rangle) = 1$ with bounds/cat-m2-upper-1.json.
    • qubit_sqrtT-m{7,8,9,10}-lower-6.json (23.4 s cached): Files verified lower bounds from existing verify_challenge/cert_sqrtt_galois_census.py on main (Vincent Russo, 2026-10-23), giving $m = 7$ a verified floor alongside qubit_sqrtT-m7-lower-7.json (attested) and providing the initial lower bounds for the $m = 8, 9, 10$ cells opened in Improving exponent for qubit sqrtT states #198.
    • T3-m{4,5,6}-lower-7.json (verify_challenge/cert_t3_m4_to_m6_rank7.py, ~165 s cached): Symbolic slice verification wrapping verify_challenge/cert_t3m3_rank7.py on main.
    • qubit_H-m{7,8,9,10}-lower-5.json & qubit_T-m{7,8,9,10}-lower-5.json (verify_challenge/cert_qubit_galois_m7_m10_rank5.py, ~8.6 s cached): Purely symbolic trigsimp slice verification wrapping cert_qubit_galois_m5_m6_rank4.py.

Verification

  • python3 verify_challenge/validate_bounds.py $\to$ 209 of 209 valid
  • python3 verify_challenge/stabrank_verify.py on all 43 modified/added bound files in a detached origin/main checkout with bounds/ and --diff-filter=A verify_challenge/cert_*.py staged (submissions.yml fork-PR simulation) $\to$ 43 of 43 PASS (0 orphan CERTIFIED lines; 21/21 modified files byte-identical on provenance to origin/main).
  • Board census (187 -> 209 bounds): 56 with lean theorems (44 receipted + 12 from lean_proofs: Norrell reflection, m=1 exact bounds, and m=5,7,8 upper bounds (N, H3, qubit_T) #194), 118 verified, 0 reproduced (down from 9), 35 attested, 0 cited.

— engineered & verified by we* (PROOFER powered by Gemini + @mizopl)

…upgrade last 9 reproduced bounds to verified, and add 22 exact cells

- Wire the 12 bounds formalized in unitaryfoundation#194 (m=1 lower/upper on qubit_H, qubit_T, H3, N; N-m5-upper-10; H3-m5-upper-12; qubit_T-m7/8-upper-9) to LeanProofs.* with verbatim provenance and intact witnesses/certificates.
- Upgrade all 9 remaining reproduced bounds on main (H3-m4-lower-5, T5-m2..4-lower-5, N-m4-lower-5, S-m5..8-lower-5) to verified (exact: true, 0 float operations, reproduced: 9 -> 0), preserving original provenance and notes.
- Add 22 exact verified lower bounds: CS-m4-lower-5 (4 -> 5 via 4-qubit (I x H)^4 postselection), cat-m2-lower-1 (closing chi(cat_2)=1), qubit_sqrtT-m7..10-lower-6, T3-m4..6-lower-7, H3-m5..6-lower-5, T5-m5-lower-5, N-m5..6-lower-5, and qubit_H/T-m7..10-lower-5.

— we* (PROOFER powered by Gemini + @mizopl)

@vprusso vprusso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at b232adb.

Checks done here: validate_bounds passes 209 of 209; the board verifier passes the 31 non-Lean files at the verified tier (under five minutes locally) and, with Lean receipts built locally for the nine #194 modules (make lean-certify, all 40 modules ok), the 12 wired files at the lean tier. The 21 modified files keep their provenance byte-identical to main, and the twelve theorem statements match the bounds they are wired to. An independent referee re-derived the finite inputs of the four exact certificates without your code (dictionaries of 30,240, 3,900, and 1,080 states; group orders 216, 200, 768, and 2,592; the single rank-4 orbit of |H3>^3 and of |N>^3; the 2,160 rank-4 decompositions of |S>^3 lifting to 9,936 of |S>^4; the T5 rank-4 exclusion and the Psi_3 census re-run with different primes) and confirms all four as exact throughout, with the claim strings printed only after every stage passes.

One change before merge. Seven files list someone other than the submitter as author. The three T3 files carry the author string "Vincent Russo; projection wrapper by we* + @mizopl", which the leaderboard keys on and would show as a new contributor, and the four qubit_sqrtT floors carry author "Vincent Russo" with github ["vprusso", "mizopl"]. CONTRIBUTING asks that a pull request come from the author's own account so the github handles match the author of record, which here is the submitter. Please set author and github on those seven files to the submitter, and keep the credit to the wrapped certificates (cert_t3m3_rank7.py, cert_sqrtt_galois_census.py) in notes and reference as the files already do.

Not blocking, for the docstrings if you touch them: the hash matmuls (H3 line 429, T5 line 195, S/N lines 355, 714, 715) wrap around in int64, so they are deterministic filters followed by exact checks rather than exact themselves; the H3 6x6 and CS 2,000,000 Hadamard constants are asserted but not used by the arguments; the "38" in the T5 print is hard-coded; the 2,297 and 69 counts in the CS and S output depend on the dictionary ordering and the representative set.

On the twelve Lean wirings: after merge the maintainer runs make lean-certify, commits the nine new receipts, and removes the twelve fallback receipts so the rebuild shows the lean tier, as your body describes. The seventeen new files that sit below attested bounds change no cell; the board has no rule against them, so they stay.

…unds and clarify cert docstrings

- Set provenance.author = "we* + @mizopl" and provenance.github = ["mizopl"]
  on bounds/T3-m{4,5,6}-lower-7.json and bounds/qubit_sqrtT-m{7,8,9,10}-lower-6.json,
  preserving attribution to verify_challenge/cert_t3m3_rank7.py and
  verify_challenge/cert_sqrtt_galois_census.py in provenance.reference and notes.
- Clarify in cert_{h3,t5,s_n} docstrings/comments that the int64 matmul hashes
  wrap in two's-complement int64 as deterministic collision filters followed by
  exact row-equality / rank_mod_p / zw3_rank checks.
- Clarify the exact <= 4x4 (55,296) and <= 5x5 (432,000) Hadamard bounds in H3
  and the Cramer/Hadamard coordinate norm (< 1,268,000 < 2,000,000) in CS,
  noting both main() assertions are conservative sanity guards.
- Replace hard-coded 38 in T5 summary print with {len(reps)} and note ordering
  and representative-set dependence of the 2,297 (CS) and 69 (S) counts.

— we* (PROOFER powered by Gemini + @mizopl)
@mizopl

mizopl commented Nov 17, 2026

Copy link
Copy Markdown
Author

Thanks @vprusso (and to the independent referee pass) for the thorough review and verification.

Updated in 6f9b0737:

  1. Author & GitHub fields on the 7 bound files: Set provenance.author to "we* + @mizopl" and provenance.github to ["mizopl"] across bounds/T3-m{4,5,6}-lower-7.json and bounds/qubit_sqrtT-m{7,8,9,10}-lower-6.json, keeping the attribution to verify_challenge/cert_t3m3_rank7.py (bounds/T3-m3-lower-7.json) and verify_challenge/cert_sqrtt_galois_census.py (bounds/qubit_sqrtT-m6-lower-6.json) in provenance.reference and notes. All 21 modified bound files remain byte-identical to main on provenance, and validate_bounds.py passes 209 of 209.
  2. Docstring & print clarifications across the 4 exact certificate scripts:
    • Documented in cert_h3_m4_to_m6_rank5_exact.py, cert_t5_m2_to_m5_exact.py, and cert_s_n_rank5_exact.py that the int64 matmul hashes wrap in two's-complement int64 and serve as deterministic collision filters (mapping equal canonical rows to identical buckets) followed by exact row-equality, rank_mod_p, or zw3_rank checks.
    • Clarified in cert_h3_m4_to_m6_rank5_exact.py that 0-pivot m = 3 rank-3 exclusion and W harvest use 3 x 3 and 4 x 4 minors (<= 4^2 * 48 * 72 = 55,296 < P) and mod-P collinearity / rank-4 span checks use at most 5 x 5 minors (<= 5^3 * 48 * 72 = 432,000 < P, confirmed over Z via zw3_rank), and in cert_cs_m4_rank5_exact.py derived the explicit Cramer/Hadamard coordinate norm bound (< 1,268,000 < 2,000,000 << P), noting that both main() assertions are conservative sanity guards.
    • Replaced the hard-coded 38 in the cert_t5_m2_to_m5_exact.py summary print with {len(reps)} and noted in the CS and S docstrings that the 2,297 and 69 counts depend on the dictionary ordering and representative set.

— engineered & verified by we* (PROOFER powered by Gemini + @mizopl)

@vprusso vprusso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revision 6f9b073 resolves the request. The seven files now carry we* + @mizopl and ["mizopl"], the same author string as the nine entries already on the board, so the leaderboard gains no extra row. The four sqrt(T) floors also now reference cert_sqrtt_galois_census.py and carry the submission date instead of the date of the cited certificate. The script changes are docstrings, comments, and the summary print in cert_t5_m2_to_m5_exact.py, with no change to any computation.

Checked locally on 6f9b073: validate_bounds.py passes all 209 files, and stabrank_verify.py passes all 43 bounds this PR adds or modifies, 31 at the verified tier and 12 at the lean tier with receipts built here from the Lean library. CI passed on the revision as well.

Merging. The push run on main writes verified-tier receipts for the twelve Lean-wired cells, since it does not build Lean. I will commit the nine new Lean receipts and remove those fallbacks in a follow-up so the rebuild shows the lean tier.

@vprusso
vprusso merged commit 0c0cbb4 into unitaryfoundation:main Nov 17, 2026
6 checks passed
github-actions Bot added a commit that referenced this pull request Nov 17, 2026
…-lower-5 H3-m5-lower-5 H3-m5-upper-12 H3-m6-lower-5 N-m1-lower-2 N-m1-upper-2 N-m4-lower-5 N-m5-lower-5 N-m5-upper-10 N-m6-lower-5 S-m5-lower-5 S-m6-lower-5 S-m7-lower-5 S-m8-lower-5 T3-m4-lower-7 T3-m5-lower-7 T3-m6-lower-7 T5-m2-lower-5 T5-m3-lower-5 T5-m4-lower-5 T5-m5-lower-5 cat-m2-lower-1 qubit_H-m1-lower-2 qubit_H-m1-upper-2 qubit_H-m10-lower-5 qubit_H-m7-lower-5 qubit_H-m8-lower-5 qubit_H-m9-lower-5 qubit_T-m1-lower-2 qubit_T-m1-upper-2 qubit_T-m10-lower-5 qubit_T-m7-lower-5 qubit_T-m7-upper-9 qubit_T-m8-lower-5 qubit_T-m8-upper-9 qubit_T-m9-lower-5 qubit_sqrtT-m10-lower-6 qubit_sqrtT-m7-lower-6 qubit_sqrtT-m8-lower-6 qubit_sqrtT-m9-lower-6

Built by the Site rebuild workflow from 0c0cbb4 (Merge pull request #200 from mizopl/feat/wave5-lean-crowns-and-exact-bounds).
mizopl pushed a commit to mizopl/we-star that referenced this pull request Nov 18, 2026
…s #003

- stabrank/: sync 11 review-refined bounds & certificates from merged unitaryfoundation/stabrank#200 (6f9b0737 -> e6197e24, 56 live lean, 0 reproduced across 209 entries) + update verify.py, README.md & SHA256SUMS
- solutions/openproblems-spatially-variable-genes-correlation/: add monochrome constellation & bet-tree branch SVGs + update SHA256SUMS
- assets/ & README.md: refresh cross-domain constellation/tree SVGs, mark stabrank 3/3 merged, update V3R1T4S main merges to 8 (#435, #724), and link Field Notes #003
- news/: publish Field Notes #003 (2026-11-18) under Article 0 (-0 Hype / Limitations First)

— we* (PROOFER powered by Gemini + @mizopl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants