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 Mathlib.Algebra.DualNumber |
| 2 | import Mathlib.Analysis.Complex.ExponentialBounds |
| 3 | import Mathlib.Analysis.Complex.Schwarz |
| 4 | import Mathlib.Analysis.Fourier.Convolution |
| 5 | import Mathlib.Analysis.PSeries |
| 6 | import Mathlib.LinearAlgebra.Lagrange |
| 7 | import YM.AnalyticNext.CONNECTED_LOG_IDENTITY.Marginal |
| 8 | import YM.AnalyticNext.CONNECTED_LOG_IDENTITY.SectorTags |
| 9 | import YM.MultiNext.VACUUM_STABILITY.Holding.Offers |
| 10 | import YM.Next.SCHEDULE.Blocks |
| 11 | import YM.Next.UV_STRESS.Across |
| 12 | import YM.Push.BETA_TRANSPORT.Comparisons |
| 13 | import YM.Push.COMMON_WITNESSES.Link |
| 14 | import YM.Push.CUTOFF_PROJECTORS.Equations |
| 15 | import YM.Push.PRICE_COMPILER.Suppression |
| 16 | import YM.Push.RELAY_DIFFERENCE.TwoSided |
| 17 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Change |
| 18 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Chosen |
| 19 | |
| 20 | |
| 21 | /-! |
| 22 | # Intact tagged sector integrals with arbitrary complex multipliers |
| 23 | |
| 24 | Positive Haar links (auxiliary ones outside Frozen ignored in the |
| 25 | untouched integrand), ONE forest and choice and Allocation, |
| 26 | coarse V, C=fog and meanLog even with repeated source kicks, all full |
| 27 | masks/plaquette rows/predictor tests at actual coordinates in each |
| 28 | section. Wrong output table allowed (zero by the bill). At use take |
| 29 | `g = F.peelRow Q` including the powers and flags on the actual paths. |
| 30 | -/ |
| 31 | set_option autoImplicit false |
| 32 | noncomputable section |
| 33 | namespace YM.ProofPorts.CommonComplexProduction |
| 34 | open Function Filter Finset Matrix Lattice RG Wilson Precision Multi.Vacuum Next.SectorChange |
| 35 | open MeasureTheory Gaussian Gauss Pressure Bid Tree YM.Push.SectorMeasure YM.Push.LogIdentity |
| 36 | open scoped Topology BigOperators Classical MatrixOrder Tags |
| 37 | variable {G : Gauge} {n f : Side} {S : StepData n f} |
| 38 | |
| 39 | /-- Everything shared across all the input literals. Auxiliary post-change |
| 40 | expansion (to relinquish defaults and integrate components) must be of THIS |
| 41 | integrand at every literal, not extrapolated from the integral of the |
| 42 | unmarked density. In particular if using separate branch prescriptions |
| 43 | must implement them via address alternatives in a census. |
| 44 | -/ |
| 45 | structure Setting (G : Gauge) (S : StepData n f) where |
| 46 | tube : Tube G S |
| 47 | tree : Forest S.ratio |
| 48 | x : ℝ |
| 49 | W : ℝ |
| 50 | cuts : Allocation G S x W |
| 51 | J : ChartRatio G |
| 52 | chi : Chi |
| 53 | d : ℝ |
| 54 | |
| 55 | namespace Setting |
| 56 | variable (t : Setting G S) |
| 57 | |
| 58 | abbrev Stage := Tags.World G S t.tree |
| 59 | abbrev line (A : Stores S) := Rows.In t.x A t.tree (G:=G) |
| 60 | |
| 61 | def plan := Measure.pi (Tags.draw G S t.tree) |
| 62 | instance : IsProbabilityMeasure t.plan := by unfold plan; infer_instance |
| 63 | |
| 64 | def outcome (θ : t.Stage) : S.Choices := (Tags.sample G S t.tree θ).2 |
| 65 | |
| 66 | |
| 67 | def mat (A : Stores S) (V : Config G n) (θ : t.Stage) : Gaussian.Table (t.line A) := fog A t.tree t.tube t.x V (t.outcome θ) |
| 68 | |
| 69 | |
| 70 | |
| 71 | def mean (A : Stores S) (V : Config G n) (θ : t.Stage) := meanLog A t.tree t.tube t.x V (t.outcome θ) t.chi t.d ((Tags.sample G S t.tree θ).1 ∘ Subtype.val) |
| 72 | |
| 73 | def weight (A : Stores S) (k : S.Choices) (V : Config G n) (β : ℝ) (g : Config G f → ℂ) := |
| 74 | regularized t.cuts A t.tree V k t.chi t.J t.d (fun u => S.noise β (S.prediction u k) V • g u) |
| 75 | |
| 76 | -- relative to probability (not counting!) on the choice arrays θ. |
| 77 | def untouched (A : Stores S) (V : Config G n) (β : ℝ) (g : Config G f → ℂ) (θ : t.Stage) (z : Vec (t.line A)) := |
| 78 | let C := t.mat A V θ |
| 79 | let r := t.J.scale ^ Fintype.card (Active A t.x t.tree) * chartCost C (coupling β) |
| 80 | let a := displaced (t.mean A V θ) (coupling β) z |
| 81 | let Y := (Tags.sample G S t.tree θ).1 ∘ Subtype.val |
| 82 | ((Fintype.card S.Choices:ℝ)*r*Real.exp (force C z/2)) • t.weight A (t.outcome θ) V β g Y a |
| 83 | |
| 84 | def portion (A : Stores S) (V : Config G n) (β : ℝ) (g : Config G f → ℂ) (θ : t.Stage) (z : Vec (t.line A)) := |
| 85 | t.untouched A V β g θ (CFC.sqrt (t.mat A V θ) *ᵥ z) |
| 86 | |
| 87 | def Matched (A : Stores S) (V : Config G n) := A.flags=RG.flags (temp t.x) V |
| 88 | |
| 89 | structure Ready (β : ℝ) : Prop where |
| 90 | scene : S.patch.Branches S.kernel G |
| 91 | chart (A V k) : t.Matched A V → Permitted t.x V k A t.tree t.cuts t.J t.d β (fog A t.tree t.tube t.x V k) |
| 92 | (meanLog A t.tree t.tube t.x V k t.chi t.d) |
| 93 | |
| 94 | |
| 95 | |
| 96 | omit t in |
| 97 | private lemma regularity (k : S.Choices) (V : Config G n) (β : ℝ) {g : Config G f → ℂ} (hg : Envelope g) (hS : S.patch.Branches S.kernel G) : |
| 98 | Envelope (fun u => S.noise β (S.prediction u k) V • g u) := Env.scale (env_noise S β (S.prediction_meas hS k) measurable_const) hg |
| 99 | |
| 100 | omit t in |
| 101 | private lemma push_root {ι : Type} [Fintype ι] [DecidableEq ι] (C : Gaussian.Table (ι × G.ColorIndex)) |
| 102 | (hc : C.PosDef) (m : Prices G ι) (f : LogArray G ι → ℂ) (hm : Measurable f) (b s p : ℝ) (hb : 0<b) : |
| 103 | (∫ z : Prices G ι, (s * (p * chartCost C b) * Real.exp (force C (CFC.sqrt C *ᵥ z) / 2)) • f (displaced m b (CFC.sqrt C *ᵥ z)) ∂standard _)= |
| 104 | s • (p • ∫ a,f a) := by |
| 105 | have hh := (at_price C hc hb m f).2 |
| 106 | let v z := Real.exp (force C z / 2) • f (displaced m b z) |
| 107 | have hw : Measurable v := by |
| 108 | have hz : Measurable (fun z => m+b • z) := by fun_prop |
| 109 | have he : Measurable (fun z => Real.exp (force C z / 2)) := by unfold force mulVec dotProduct; fun_prop |
| 110 | exact he.smul (hm.comp (tape.measurable.comp hz)) |
| 111 | have ht : (∫ z,v (CFC.sqrt C *ᵥ z) ∂standard _) = ∫ z,v z ∂cloud C := by |
| 112 | change (∫ z,v (CFC.sqrt C *ᵥ z) ∂coins _) = _; rw [← paid C, integral_map (acts_meas _).aemeasurable hw.aestronglyMeasurable] |
| 113 | simp_rw [mul_smul]; change _ = _; rw [integral_smul, integral_smul, integral_smul, ht, hh] |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | end Setting |
| 124 | end YM.ProofPorts.CommonComplexProduction |