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.Push.SECTOR_MEASURE.Output |
| 2 | import YM.Push.SECTOR_MEASURE.Overlap |
| 3 | import YM.SectorNext.VACUUM_NORMALIZATION.Stripped |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Normalizing the sectors *along the run* |
| 8 | |
| 9 | Spending v's and likelihood/noise scales on the exact sector totals, |
| 10 | without taking logs of cutEntries. Real probability on (tag,store) at |
| 11 | every V. No airlift of an integral bound past normalizing by a V-density |
| 12 | without proof of the relationship. Also includes useful true density |
| 13 | majorant route for multiplier comparisons. Does not claim pointwise |
| 14 | relative smallness is the *only* or even an applicable route for every |
| 15 | correction (esp. near flags where the denominator is itself tiny). |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.SectorNext.Vacuum |
| 20 | open RG Wilson Lattice Pressure Pressure.Stores Tree MeasureTheory Filter Push.SectorMeasure |
| 21 | open Next.Fluctuations.Sector |
| 22 | open scoped Matrix.Norms.Frobenius BigOperators Classical Topology ENNReal |
| 23 | variable {G : Gauge} {c f : Side} {S : StepData c f} {x W : ℝ} |
| 24 | (D : Allocation G S x W) (F : Forest S.ratio) (β : ℝ) |
| 25 | |
| 26 | /-- Factoring noise relative to a uniform tag reference; keep one |
| 27 | compensation by the cardinal of the reference alphabet (likelihood in |
| 28 | code lives against COUNTING, NOT uniform probability). Only at the |
| 29 | whole tag array, not a new iid assumption. -/ |
| 30 | def broad (d : S.Choices) (U : Config G f) := Fintype.card S.Choices*S.likelihood U d |
| 31 | |
| 32 | def tagRef (_d : S.Choices) : ℝ := (Fintype.card S.Choices:ℝ)⁻¹ |
| 33 | |
| 34 | private lemma card_tag (hm : S.patch.Branches S.kernel G) : (Fintype.card S.Choices:ℝ)≠0 := by |
| 35 | obtain ⟨t,ht⟩ := exists_alive hm (1:Config G f) |
| 36 | haveI := (⟨t⟩ : Nonempty S.Choices) |
| 37 | exact_mod_cast Fintype.card_pos (α:=S.Choices) |>.ne' |
| 38 | |
| 39 | lemma tag_density_paid (hm : S.patch.Branches S.kernel G) (d : S.Choices) (U : Config G f) : |
| 40 | tagRef d * broad d U = S.likelihood U d := by |
| 41 | rw [broad,tagRef,←mul_assoc,inv_mul_cancel₀ (card_tag hm),one_mul] |
| 42 | lemma reference_is_prob (hm : S.patch.Branches S.kernel G) : ∑ d : S.Choices,tagRef d=1 := by |
| 43 | simp only [tagRef, Finset.sum_const,Finset.card_univ,nsmul_eq_mul, mul_inv_cancel₀ (card_tag hm)] |
| 44 | |
| 45 | |
| 46 | def post (d : S.Choices) (V : Config G c) (U : Config G f) := |
| 47 | Real.exp (-(Precision.noiseTaylor S V U d)*β) |
| 48 | lemma kernel_read (d : S.Choices) (U : Config G f) (V : Config G c) : |
| 49 | taggedKernel S β d U V = prefactor S G β * (S.likelihood U d * post β d V U) := by |
| 50 | unfold taggedKernel StepData.noise post StepData.penaltyWeight prefactor Precision.noiseTaylor |
| 51 | rw [Finset.prod_mul_distrib,Finset.prod_const,Finset.card_univ,← Real.exp_sum,←Finset.mul_sum] |
| 52 | rw [show -(_*(_ : ℝ))*β = -β*S.kernel.penalty*∑ i,G.price (V i*(S.prediction U d i)⁻¹) by ring]; ring |
| 53 | |
| 54 | def balance {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 55 | (g : Config G f → X) (A : Stores S) (d : S.Choices) (V : Config G c) := |
| 56 | ∫ a : F.Slice G, |
| 57 | ((D.bill A d (F.drape a) V * broad d (F.drape a) * post β d V (F.drape a)) • g (F.drape a)) ∂F.order G |
| 58 | |
| 59 | /-- This form can feed a conditional Gaussian producer. All constants |
| 60 | explicit, on all (A,V), not just probabilities or a.e.. -/ |
| 61 | theorem balanced_column {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] (hm : S.patch.Branches S.kernel G) |
| 62 | (g : Config G f → X) (A : Stores S) (V : Config G c) : |
| 63 | output D F β g A V = prefactor S G β • ∑ d,tagRef d • balance D F β g A d V := by |
| 64 | unfold output Allocation.column tagTotal balance Allocation.portion through |
| 65 | rw [Finset.smul_sum] |
| 66 | refine Finset.sum_congr rfl (fun i _ => ?_) |
| 67 | rw [smul_smul,← integral_smul] |
| 68 | apply integral_congr_ae; filter_upwards with a |
| 69 | simp only [kernel_read,smul_smul] |
| 70 | rw [show prefactor S G β * tagRef i * (D.bill A i _ _ * broad i _ * _) = prefactor S G β * |
| 71 | (D.bill A i (F.drape a) V*(tagRef i * broad i (F.drape a))*post β i V (F.drape a)) by ring, |
| 72 | tag_density_paid hm]; rw [mul_left_comm]; simp [mul_assoc] |
| 73 | |
| 74 | theorem output_factors (R : Rep G f) (Z : Stores S) (V : Config G c) : |
| 75 | output D F β R.eval Z V = Real.exp R.scalar * output D F β (stripped R) Z V := by |
| 76 | unfold output Allocation.column tagTotal through Allocation.portion |
| 77 | rw [Finset.mul_sum]; refine Finset.sum_congr rfl (fun i _ => ?_) |
| 78 | rw [←integral_const_mul]; refine integral_congr_ae (Eventually.of_forall (fun a => ?_)) |
| 79 | simp only [smul_eq_mul]; rw [← restore R (F.drape a)]; ring |
| 80 | |
| 81 | |
| 82 | |
| 83 | section normmajor |
| 84 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | end normmajor |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | end YM.SectorNext.Vacuum |