Repository navigation
lean_proofs: Norrell reflection, m=1 exact bounds, and m=5,7,8 upper bounds (N, H3, qubit_T) - #194
Merged
vprusso merged 1 commit intoNov 15, 2026
Conversation
…7,8 upper bounds
Extends LeanProofs/ReflectQutrit.lean and tools/gen_witness_lean.py to support:
- the Norrell orbit |N> = (|0> + |1> - 2|2>)/sqrt(6) reflected into Z[omega_3, sqrt(3)]
via scalar (sqrt(2) sqrt(3) / 6)^m and integer digit factors {1, 1, -2} (tgtN, norrellVec_eq_ev),
- imaginary unit I in Q(omega_9, sqrt(3)) for T3 and negative quadratic radicands in CoeffParser,
- rank words 15, 16, 27 in WORDS.
Adds 9 machine-checked Lean 4 modules (0 sorryAx):
- LeanProofs/M1Lower.lean + QubitHM1StabRank, QubitTM1StabRank, H3M1StabRank, NorrellM1StabRank:
settles all four remaining m=1 cells (qubit_H, qubit_T, H3, N) at stabRank = 2 with both
upper and lower bounds proved in Lean,
- LeanProofs/NorrellM5StabRank.lean: proves chi(|N>^5) <= 10 (gamma = log_3(10)/5 = 0.4192,
best known finite-m Norrell exponent on the board),
- LeanProofs/H3M5StabRank.lean: proves chi(|H3>^5) <= 12,
- LeanProofs/QubitTM7StabRank.lean & QubitTM8StabRank.lean: proves chi(|qubit_T>^7) <= 9
and chi(|qubit_T>^8) <= 9 (gamma = 0.3962).
— autonomously engineered & 3-skeptic verified by Gemini-CLSS (PROOFER v20) on @mizopl's behalf
vprusso
approved these changes
Nov 15, 2026
vprusso
left a comment
Contributor
There was a problem hiding this comment.
Built locally from 6fc15c5 against the pinned Mathlib and printed the axioms of the 16 new theorems: each depends only on propext, Classical.choice, and Quot.sound, with no native_decide and no sorry. The bounds they formalize (N and H3 at m = 5, qubit_T at m = 7 and 8, and the m = 1 cells) are already on the board, so this changes no cell. A follow-up could point those bound files at the modules so the board shows the lean tier. Merging after the Lean job finishes.
This was referenced Nov 15, 2026
vprusso
pushed a commit
that referenced
this pull request
Nov 17, 2026
…produced bounds to verified, and add 22 exact cells - Wire the 12 bounds formalized in #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
added a commit
that referenced
this pull request
Nov 17, 2026
…bounds bounds, verify_challenge: wire 12 #194 Lean bounds, upgrade last 9 reproduced bounds to verified, and add 22 exact cells
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR extends$|N\rangle = (|0\rangle + |1\rangle - 2|2\rangle)/\sqrt{6}$ ($i \in \mathbb{Q}(\omega_9, \sqrt{3})$ in $m=1$ cells in both directions ($m=5, 7, 8$ upper bounds for
lean_proofs/LeanProofs/ReflectQutrit.leanandlean_proofs/tools/gen_witness_lean.pyto support the Norrell qutrit orbitnorrellVec,tgtN,norrellVec_eq_ev), imaginary unitT3, and negative quadratic radicands inCoeffParser, and adds 9 machine-checked Lean 4 proof modules (0 sorryAx) settling all four remaining= 2) and proving theN,H3, andqubit_T.To keep
Tests / Lean library(LEAN_NUM_THREADS=2,use-mathlib-cache: true) fast and self-contained on fork pull requests, this PR touches onlylean_proofs/(12files).1. Reflection Infrastructure (
ReflectQutrit.lean&gen_witness_lean.py)LeanProofs/ReflectQutrit.lean(norrellVec_eq_ev): ReflectsB3ofnorZ(tgtN).lean_proofs/tools/gen_witness_lean.py:orbit == "N"(scalar_inv = (s2 * s3)^min $\mathbb{Q}(\omega_3, \sqrt{2}, \sqrt{3})$)."I"(make_orbit("T3", m)and"s2"to the intermediate ring ofmake_orbit("H3", m).CoeffParser.parseand adds15: "fifteen",16: "sixteen",27: "twentyseven"toWORDS.2. New Machine-Checked Lean 4 Proof Modules (
0 sorryAx)Every theorem below compiles cleanly with
LEAN_NUM_THREADS=2 lake buildand depends only on standard axioms[propext, Classical.choice, Quot.sound]:StabRank.*)bounds/*.json)LeanProofs.QubitHM1StabRankqubit_h_m1_stabRankP_le_twoqubit_H-m1-upper-2.jsonLeanProofs.QubitTM1StabRankqubit_t_m1_stabRankP_le_twoqubit_T-m1-upper-2.jsonLeanProofs.H3M1StabRankh3_m1_stabRankP_le_two,h3_m1_stabRank_le_twoH3-m1-upper-2.jsonLeanProofs.NorrellM1StabRanknorrell_m1_stabRankP_le_two,norrell_m1_stabRank_le_twoN-m1-upper-2.jsonLeanProofs.M1Lowerqubit_h_m1_stabRankP_gt_one(_eq_two)qubit_t_m1_stabRankP_gt_one(_eq_two)h3_m1_stabRank_gt_one(_eq_two)norrell_m1_stabRank_gt_one(_eq_two)qubit_H-m1-lower-2.jsonqubit_T-m1-lower-2.jsonH3-m1-lower-2.jsonN-m1-lower-2.jsonIsStabP.pow_period_eq) and exact equalityLeanProofs.NorrellM5StabRanknorrell_m5_stabRankP_le_ten,norrell_m5_stabRank_le_tenN-m5-upper-10.jsonLeanProofs.H3M5StabRankh3_m5_stabRankP_le_twelve,h3_m5_stabRank_le_twelveH3-m5-upper-12.jsonLeanProofs.QubitTM7StabRankqubit_t_m7_stabRankP_le_ninequbit_T-m7-upper-9.jsonLeanProofs.QubitTM8StabRankqubit_t_m8_stabRankP_le_ninequbit_T-m8-upper-9.json(Once these modules are on
main, the 12 correspondingbounds/*.jsonfiles listed above can record"lean": {"module": ..., "theorem": ...}and runmake lean-certify.)— autonomously engineered & 3-skeptic verified by Gemini-CLSS (
PROOFER v20) on @mizopl's behalf