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.Further.GAUSSIAN_SCALAR_LEDGER.Inactive |
| 2 | import YM.Further.GAUSSIAN_SCALAR_LEDGER.Marginal |
| 3 | import YM.Work.B13 |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! # Consistency between full-coordinate and regular-only readings |
| 9 | |
| 10 | Don't need inactive Gaussian factors in the balance. If wanting |
| 11 | to complete the **Z** law with A,C matrices (Y still separately on |
| 12 | actual Haar!), here are exact marginal connections. The Frco exponent |
| 13 | charged in full-position ordered products pays the one inside the real |
| 14 | changes, including arbitrary centering. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Further.GaussianScalar.Reads |
| 19 | |
| 20 | open Matrix Function Filter MeasureTheory Set Precision SectorNext.Vacuum Lattice RG Tree |
| 21 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 22 | section |
| 23 | variable {ι ω : Type*} [Fintype ι] [Fintype ω] (e : ι ≃ ω) |
| 24 | |
| 25 | -- counting convention |
| 26 | lemma cut_quad (x y : VV ω) : dotProduct x y= dotProduct (x∘⇑e) (y∘⇑e) := |
| 27 | (Equiv.sum_comp e (fun i => x i*y i)).symm |
| 28 | lemma legs (K : Wall ω) (x : VV ω) : (K *ᵥ x) ∘ ⇑e = (K.submatrix e e)*ᵥ(x∘⇑e) := by |
| 29 | rw [Matrix.submatrix_mulVec_equiv]; rw [show (x ∘ ⇑e) ∘ ⇑e.symm = x from funext (by intro i; simp)] |
| 30 | |
| 31 | variable [DecidableEq ι] [DecidableEq ω] |
| 32 | |
| 33 | lemma bonds {C : Wall ω} (z : VV ω) : lawPDF (C.submatrix e e) (z∘⇑e) = lawPDF C z := by |
| 34 | unfold lawPDF modeCost |
| 35 | rw [Fintype.card_congr e, Matrix.det_submatrix_equiv_self, inv_submatrix_equiv,←legs, |
| 36 | ← cut_quad] |
| 37 | |
| 38 | lemma pushing (C : Wall ω) (h : C.PosDef) : |
| 39 | (fieldLaw (C.submatrix e e)).map (MeasurableEquiv.piCongrLeft (fun _ : ω => ℝ) e)=fieldLaw C := by |
| 40 | let g := MeasurableEquiv.piCongrLeft (fun _ : ω => ℝ) e |
| 41 | have he : MeasurePreserving g volume volume := volume_measurePreserving_piCongrLeft _ _ |
| 42 | rw [fieldLaw_density h,fieldLaw_density (h.submatrix e.injective)] |
| 43 | ext s hs; rw [Measure.map_apply g.measurable hs,withDensity_apply _ (g.measurable hs), withDensity_apply _ hs] |
| 44 | let F := fun y => ENNReal.ofReal (lawPDF C y) |
| 45 | have hw := setLIntegral_map (μ:=volume) hs (f:=F) (lawPDF_cont C).measurable.ennreal_ofReal g.measurable |
| 46 | rw [he.map_eq] at hw |
| 47 | rw [hw] |
| 48 | apply setLIntegral_congr_fun (g.measurable hs); intro x _ |
| 49 | have hx : g x ∘ ⇑e = x := funext (Equiv.piCongrLeft_apply_apply (fun _ : ω=>ℝ) e x) |
| 50 | have hb := bonds (C:=C) e (g x) |
| 51 | rw [hx] at hb |
| 52 | exact congr_arg _ hb |
| 53 | |
| 54 | -- reindex followed by projection (fast dropped) |
| 55 | theorem reads {τ π : Type*} [Fintype τ] [DecidableEq τ] [Fintype π] [DecidableEq π] |
| 56 | (e : τ⊕π ≃ ω) (C : Wall ω) (h : C.PosDef) : |
| 57 | let r := ⇑e ∘ Sum.inr |
| 58 | (fieldLaw C).map (fun z : VV ω => z∘r) = fieldLaw (C.submatrix r r) := by |
| 59 | intro r |
| 60 | let g (z : VV ω) := z∘r |
| 61 | have he : Measurable g := measurable_pi_lambda _ fun i => measurable_pi_apply _ |
| 62 | let Y := MeasurableEquiv.piCongrLeft (fun _ : ω => ℝ) e |
| 63 | let M := C.submatrix e e |
| 64 | have hh : M.PosDef := h.submatrix e.injective |
| 65 | letI : Invertible M := hh.isUnit.invertible |
| 66 | have hp := Marginal.push_right hh.inv |
| 67 | rw [Matrix.inv_inv_of_invertible M] at hp |
| 68 | change Measure.map g _ = _ |
| 69 | rw [← pushing e C h, Measure.map_map he Y.measurable] |
| 70 | have hr : g ∘ ⇑Y = fun z => z ∘ Sum.inr := by |
| 71 | funext z i; exact Equiv.piCongrLeft_apply_apply _ _ _ _ |
| 72 | rw [hr]; exact hp |
| 73 | end |
| 74 | |
| 75 | variable {G : Gauge} {c f : Side} {g : Ratio c f} {F : Forest g} (H : Finset F.Free) |
| 76 | |
| 77 | def holdBits (b : VV (Key F G)) (i : Hold G H) := b (mergeBits H G (Sum.inr i)) |
| 78 | |
| 79 | lemma budget (A : Wall (Bits G H)) (x : VV (Key F G)) : |
| 80 | x ⬝ᵥ (filled H A *ᵥ x) = viewBits H x ⬝ᵥ (A *ᵥ viewBits H x) + holdBits H x ⬝ᵥ holdBits H x := by |
| 81 | let e := mergeBits H G |
| 82 | rw [cut_quad e, legs e,show (filled H A).submatrix e e=_ from sortBits H A 1,Matrix.fromBlocks_mulVec, |
| 83 | Matrix.zero_mulVec,Matrix.zero_mulVec, Matrix.one_mulVec,zero_add, add_zero] |
| 84 | exact Fintype.sum_sum_type _ |
| 85 | |
| 86 | |
| 87 | set_option synthInstance.maxSize 2048 |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | omit H |
| 98 | section actual |
| 99 | variable {S : StepData c f} {F : Forest S.ratio} {O : ChartRatio G} {ρ : Type*} [Fintype ρ] |
| 100 | variable (v : Fiber F O ρ) (L : Lens (Key F G)) (Y : Frozen v.H G) |
| 101 | |
| 102 | |
| 103 | end actual |
| 104 | end YM.Further.GaussianScalar.Reads |