Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.AnalyticBridge.GAUSSIAN_FIELD_ALIGNMENT.Relative |
| 2 | import YM.ProjectorNext.PROJECTOR_CALIBRATION.Filters |
| 3 | import YM.Push.STATIONARY_UNIFORM.Paths |
| 4 | import YM.SectorTools.ACTUAL_SCALAR_LEDGER.Charts |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | set_option autoImplicit false |
| 9 | set_option synthInstance.maxSize 1024 |
| 10 | |
| 11 | /-! |
| 12 | # The four physical arrays and the blank-sector comparator |
| 13 | |
| 14 | Keep the same true path cut, channel and counting orders (`Rows.move`, `Native.ground_gram`). |
| 15 | Never identify the cost after cutoff with the untruncated metric. The default for |
| 16 | matrix *pricing* (since Scanner requires all configurations even there) at mismatched |
| 17 | flags is the construction on this exact geometry and tag with predictor input field one, |
| 18 | **not** used to evaluate the physical reads or chart on the draped field (the bill is |
| 19 | identically zero there). Also give the everywhere-defined literal formula. `fieldLaw` |
| 20 | agrees with `Gaussian.cloud` in the relabeled coordinates (even with Mathlib's defaults); |
| 21 | no need to change from/to Lebesgue at a singular or indefinite Gaussian at the illegal flags. |
| 22 | -/ |
| 23 | noncomputable section |
| 24 | namespace YM.SectorTools.ActualScalar |
| 25 | open Function Filter Set MeasureTheory Matrix |
| 26 | open RG Wilson Lattice Pressure Pressure.Stores Precision Tree Push.SectorMeasure |
| 27 | Next.SectorChange Further GaussianScalar AnalyticBridge.ResetIncome |
| 28 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius |
| 29 | |
| 30 | variable {G : Gauge} {c f : Side} {S : StepData c f} (e : Plate G S) (h : Doors e) (A : Stores S) |
| 31 | (k : S.Choices) (V : Config G c) |
| 32 | |
| 33 | /-- Literal four inputs of SectorChange (cols relabeled, original row order). -/ |
| 34 | abbrev page : Fiber e.forest e.chart (Rows.Receipt G S) where |
| 35 | H := held e A |
| 36 | veil := cover e A h |
| 37 | D _ := (Rows.move e.tube e.x V k (shots S e.x) A e.forest).submatrix id (moving e A) |
| 38 | b0 Y := Rows.source e.tube e.x V k (shots S e.x) A e.forest e.chip e.d (shellMap e A Y) |
| 39 | C _ := (e.Cov A V k).submatrix (moving e A) (moving e A) |
| 40 | μ Y := (chartMap e A).symm (e.center A V k (shellMap e A Y)) |
| 41 | |
| 42 | def supported := if e.matched A V then V else 1 |
| 43 | |
| 44 | abbrev sheets := page e h A k (supported e A V) |
| 45 | lemma opens_at_match (hm : e.matched A V) : sheets e h A k V=page e h A k V := by simp [sheets,supported,hm] |
| 46 | |
| 47 | variable (Y : GaussianScalar.Frozen (held e A) G) (z : VV (Bits G (held e A))) |
| 48 | |
| 49 | lemma moves : let u := page e h A k V |
| 50 | u.D Y *ᵥ z = Rows.move e.tube e.x V k (shots S e.x) A e.forest *ᵥ chartMap e A z := by |
| 51 | change Matrix.submatrix (Rows.move e.tube e.x V k (shots S e.x) A e.forest) id (moving e A) *ᵥ _ = _ |
| 52 | rw [submatrix_mulVec_equiv,chart_ap]; rfl |
| 53 | lemma prec_eq : precision ((page e h A k V).D Y) = (e.Gram A V k).submatrix (moving e A) (moving e A) := by |
| 54 | let D := Rows.move e.tube e.x V k (shots S e.x) A e.forest |
| 55 | change D.transpose.submatrix (moving e A) id * D.submatrix id (moving e A) = _ |
| 56 | exact Matrix.submatrix_mul_equiv _ _ (moving e A) (Equiv.refl (Rows.Receipt G S)) (moving e A) |
| 57 | lemma sigma_eq : (page e h A k V).sigma Y = filled (held e A) ((e.Gram A V k).submatrix (moving e A) (moving e A)) := by |
| 58 | rw [Fiber.sigma,prec_eq] |
| 59 | lemma linear_eq : let u := page e h A k V |
| 60 | linearCost (u.D Y) (u.b0 Y) = Rows.blame e.tube e.x V k (shots S e.x) A e.forest e.chip e.d (shellMap e A Y) ∘ moving e A := rfl |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | lemma eps_price : let u := page e h A k V; let Q := e.Gram A V k; let H := e.Cov A V k |
| 69 | (u.sigma Y).det = Q.det ∧ (u.complete Y).det = H.det ∧ (1+u.eps Y).det = (1+(Q*H-1)).det := by |
| 70 | intro u Q H |
| 71 | have ht : (u.sigma Y).det = Q.det := by unfold u; rw [sigma_eq,paid_filled,Matrix.det_submatrix_equiv_self] |
| 72 | have hr : (u.complete Y).det = H.det := by |
| 73 | change Matrix.det (filled (held e A) (H.submatrix (moving e A) (moving e A))) = _ |
| 74 | rw [paid_filled,Matrix.det_submatrix_equiv_self] |
| 75 | refine ⟨ht,hr,?_⟩; unfold Fiber.eps; rw [show 1+(u.sigma Y*u.complete Y-1)=u.sigma Y*u.complete Y by abel, |
| 76 | show 1+(Q*H-1)=Q*H by abel,Matrix.det_mul,Matrix.det_mul,ht,hr] |
| 77 | |
| 78 | /-- A-flat from V≡1 with empty Σ on this exact tree and allocation/four arrays; |
| 79 | proof irrelevant in h. No determinant-only assertion. -/ |
| 80 | def noHole : Stores S := ⟨∅,∅,∅⟩ |
| 81 | lemma clear (i : e.forest.Free) : i ∉ held e noHole := by |
| 82 | rw [held_iff]; simp [chill,Stores.dome,Stores.place,halo_spec,noHole] |
| 83 | |
| 84 | def benchmark := (page e h noHole e.tag 1).sigma 1 |
| 85 | lemma flat_price_eq (hm : S.patch.Branches S.kernel G) : benchmark e h=e.Flat := by |
| 86 | rw [benchmark,sigma_eq, Plate.Flat, ← Native.ground_gram e.tube e.forest e.tag e.x hm] |
| 87 | ext i j |
| 88 | let x (i : Key e.forest G) : Bits G (held e noHole) := (⟨i.1, clear _ _⟩,i.2) |
| 89 | let C := (e.Gram noHole 1 e.tag).submatrix (moving e noHole) (moving e noHole) |
| 90 | exact congr_fun (congr_fun (sortBits _ C 1) (.inl (x i))) (.inl (x j)) |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | end YM.SectorTools.ActualScalar |