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.Planned.RECIPE_STARTUP_PORT.Layout |
| 2 | |
| 3 | /-! Analytic coupling of the canonical startup pot and kettle. Conditioned here on the TOP |
| 4 | recipe actually using these same payloads, and on the stock loan at both band endpoints. Fields U |
| 5 | stay real. We do not move a flag, and use *complete* fused forced occurrences (even winding ones). |
| 6 | No conclusions about group-coordinate analyticity or approximating a Haar integral by a Gaussian. |
| 7 | This is the fine boundary, not the complex nonlinear step. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Extension.UV.Startup |
| 12 | open Set Filter Function Lattice Wilson RG RG.Supply Precision Input Tree Ovens Ovens.Pipes |
| 13 | open WilsonStartup Progress.DirectedRecipe Progress.DirectedRecipe.Rack Planned |
| 14 | open scoped Topology BigOperators Classical Start |
| 15 | variable {G:Gauge} {n:Side} |
| 16 | |
| 17 | /-- Complex functions evaluated on real link configurations. -/ |
| 18 | def forcedLetter (c:Clip) (b:BudgetPoint) (z:ℂ) (i:ℕ) (U:Config G n) : ℂ := |
| 19 | if Padded.fixed (Start.Foot n) i ∧ Start.admission b (Padded.name (Start.Foot n) i) U then |
| 20 | Complex.exp (- z * charge c b (Padded.name (Start.Foot n) i).val.2 U) else 0 |
| 21 | -- use the linear real payload at scale 1 and multiply; no choices in z |
| 22 | lemma forced_agrees (c:Clip) (b:BudgetPoint) (x:ℝ) (i:ℕ) (U:Config G n) : |
| 23 | forcedLetter c b (x:ℂ) i U=((Start.payload c b G n x).forced i U:ℂ):=by |
| 24 | unfold forcedLetter Start.payload Start.paid |
| 25 | by_cases he : Start.admission b (Padded.name (Start.Foot n) i) U |
| 26 | · simp only [ite_and,he,ite_true] |
| 27 | split_ifs <;> norm_cast |
| 28 | exact (if_pos he).symm |
| 29 | have hd : ¬(Padded.fixed (Start.Foot n) i ∧ Start.admission b (Padded.name (Start.Foot n) i) U):= fun hz=>he hz.2 |
| 30 | rw [if_neg hd] |
| 31 | dsimp only |
| 32 | split_ifs |
| 33 | · exact (congr_arg Complex.ofReal (if_neg he)).symm |
| 34 | rfl |
| 35 | |
| 36 | lemma forced_norm {c:Clip} {b:BudgetPoint} (hc:Decent c b) (i:ℕ) (U:Config G n) (z:ℂ) (x:ℝ) (hx: x≤z.re) : |
| 37 | ‖forcedLetter c b z i U‖ ≤ |(Start.payload c b G n x).forced i U|:=by |
| 38 | rw [← Real.norm_eq_abs, ← Complex.norm_real (r:=(Start.payload c b G n x).forced i U),← forced_agrees] |
| 39 | unfold forcedLetter |
| 40 | split_ifs with he |
| 41 | · have ht := charge_price c b hc U (Padded.name (Start.Foot n) i).val.2 |
| 42 | have hs : 0≤charge c b (Padded.name (Start.Foot n) i).val.2 U:=by |
| 43 | apply le_trans _ (ht _) |
| 44 | · have hh:= gain_pos b; positivity |
| 45 | rw [← he.2.2]; exact Finset.inter_subset_right |
| 46 | simp only [Complex.norm_exp,Complex.mul_re,Complex.neg_re,Complex.ofReal_re,Complex.ofReal_im,mul_zero,sub_zero, Real.exp_le_exp] |
| 47 | nlinarith |
| 48 | rfl |
| 49 | |
| 50 | local notation "pott" a:arg m:arg l:arg => Port.pot a m l |
| 51 | local notation "kett" a:arg m:arg l:arg x:arg => Port.kettle a m l x |
| 52 | |
| 53 | /-- Full startup rep as actually seen at the kickoff by the shelf permutation and final merge, |
| 54 | parametric in the predetermined top Kin (uses only k.path N N). -/ |
| 55 | def canonical {a:Levels G} {H:Horizon a} {O:ChartRatio G} (k:Kin H O) (N p:ℕ) (x:ℝ) := fromTop k N p x (pott a N p) (kett a N p x) |
| 56 | |
| 57 | /-- Matching complex atoms *after* the merge, using the exact same supports from canonical. |
| 58 | This section proves entire component functions before a completion in any norm. -/ |
| 59 | def embodiedK (a:Levels G) (N p:ℕ) (z:ℂ) (i:ℕ) (U:Config G (a.S.side N p)) : ℂ := |
| 60 | let c:=(a.params N).clip; let b:=a.budget N |
| 61 | let X:=pott a N p |
| 62 | let F:=folio G (a.S.side N p) |
| 63 | if (addr F b i).eligible b.threshold U then ∏ j∈(F i).val, j.elim (fun m=> stuff (upK X) (forcedLetter c b z (n:=a.S.side N p)) m U) (fun _=>0) else 0 |
| 64 | |
| 65 | def embodiedE (a:Levels G) (N p:ℕ) (z:ℂ) (i:ℕ) (U:Config G (a.S.side N p)) : ℂ := z * (((widen (pott a N p) (kett a N p 1)).regular i U):ℂ) |
| 66 | |
| 67 | section agreements |
| 68 | variable {a:Levels G}{H:Horizon a} {O:ChartRatio G} (k:Kin H O) (N p:ℕ) (x:ℝ) (t:ℂ) (i:ℕ) (U:Config G (a.S.side N p)) |
| 69 | lemma E_function_real : embodiedE a N p (x:ℂ) i U=(canonical k N p x).activities.E i U:=by |
| 70 | unfold canonical fromTop finish Ovens.Pipes.fused embodiedE widen |
| 71 | dsimp only |
| 72 | by_cases he : i∈range (upE (pott a N p)) |
| 73 | · obtain ⟨j,rfl⟩:=he; rw [stuffed,stuffed]; dsimp [Port.kettle,Start.payload]; split |
| 74 | · obtain v | w:= (Padded.name (Start.Sheet (a.S.side N p)) j) <;> dsimp only [Start.written,Sum.elim_inl, Sum.elim_inr,Pi.smul_apply,smul_eq_mul]; unfold Start.weight; push_cast; ring |
| 75 | simp |
| 76 | simp |
| 77 | simp [blank _ _ he] |
| 78 | |
| 79 | lemma K_entire_piece : Differentiable ℂ (fun z=>embodiedK a N p z i U) := by |
| 80 | unfold embodiedK |
| 81 | dsimp only |
| 82 | split_ifs with he |
| 83 | · apply Differentiable.fun_finsetProd |
| 84 | intro j hj |
| 85 | cases j with |
| 86 | | inl j=> |
| 87 | simp only [Sum.elim_inl] |
| 88 | set f:=upK (pott a N p) |
| 89 | by_cases hv : j∈range f |
| 90 | · obtain ⟨j,rfl⟩:=hv; simp only [stuffed]; unfold forcedLetter; split_ifs |
| 91 | · fun_prop |
| 92 | fun_prop |
| 93 | simp only [blank _ _ hv,Pi.zero_apply]; fun_prop |
| 94 | | inr => simp only [Sum.elim_inr]; fun_prop |
| 95 | fun_prop |
| 96 | |
| 97 | lemma K_function_real : embodiedK a N p (x:ℂ) i U=(canonical k N p x).activities.K i U:=by |
| 98 | have hl : (widen (pott a N p) (kett a N p x)).logarithm = 0 := by |
| 99 | funext j U; dsimp only [widen]; by_cases he:j∈range (upS (pott a N p)) |
| 100 | · obtain ⟨j,rfl⟩:=he; rw [stuffed]; rfl |
| 101 | exact congr_fun (blank _ _ he) _ |
| 102 | have hcast (c b) : (forcedLetter c b x (n:=a.S.side N p) (G:=G)) = (fun i V=>((Start.payload c b G (a.S.side N p) x).forced i V:ℂ)):= funext fun i=> funext fun V=> forced_agrees .. |
| 103 | unfold canonical fromTop finish Ovens.Pipes.fused embodiedK solid |
| 104 | dsimp only |
| 105 | split_ifs |
| 106 | · push_cast |
| 107 | refine Finset.prod_congr rfl fun j hj=> ?_ |
| 108 | cases j with |
| 109 | | inl j => |
| 110 | simp only [Sum.elim_inl] |
| 111 | change _ = ((stuff (upK (pott a N p)) (@Tap.forced G (a.S.side N p) (kett a N p x)) _ U):ℂ) |
| 112 | by_cases he : j∈range (upK (pott a N p)) |
| 113 | · obtain ⟨j,rfl⟩:=he; rw [stuffed,stuffed,hcast]; rfl |
| 114 | simp only [blank _ _ he,Pi.zero_apply,Complex.ofReal_zero] |
| 115 | | inr j => |
| 116 | change 0=((((Real.exp ((widen (pott a N p) (kett a N p x)).logarithm j U)-1):ℝ)):ℂ); rw [hl]; simp |
| 117 | exact Complex.ofReal_zero.symm |
| 118 | lemma K_norm_compare (hc:WilsonStartup.Decent (a.params N).clip (a.budget N)) (hx:x≤t.re) : ‖embodiedK a N p t i U‖ ≤ |(canonical k N p x).activities.K i U| := by |
| 119 | rw [← Real.norm_eq_abs, ← Complex.norm_real (r:=(canonical k N p x).activities.K i U), ← K_function_real k] |
| 120 | unfold embodiedK; dsimp only |
| 121 | split_ifs |
| 122 | swap; rfl |
| 123 | rw [norm_prod,norm_prod] |
| 124 | refine Finset.prod_le_prod (fun _ _=>norm_nonneg _) fun j hj=>?_ |
| 125 | cases j with |
| 126 | | inl j => |
| 127 | simp only [Sum.elim_inl] |
| 128 | by_cases he : j∈range (upK (pott a N p)) |
| 129 | · obtain ⟨j,rfl⟩:=he; rw [stuffed,stuffed,forced_agrees, Complex.norm_real] |
| 130 | exact forced_norm hc j U _ _ hx |
| 131 | simp only [blank _ _ he,Pi.zero_apply,le_refl] |
| 132 | | inr j => exact le_rfl |
| 133 | end agreements |
| 134 | |
| 135 | section estimates |
| 136 | variable {a:Levels G}{H:Horizon a} {O:ChartRatio G} (k:Kin H O) (N p:ℕ) |
| 137 | |
| 138 | lemma k_addresses (x y : ℝ) i: ((canonical k N p x).activities.forced i).support=((canonical k N p y).activities.forced i).support := rfl |
| 139 | |
| 140 | lemma E_diff_real (x y B:ℝ) (hB:B ≠ 0) (i : ℕ): |
| 141 | (canonical k N p x).activities.E i - (canonical k N p y).activities.E i = ((x-y)/B) • ((canonical k N p B).activities.E i) := by |
| 142 | let z:= (canonical k N p 1).activities.E i |
| 143 | have ht x : (canonical k N p x).activities.E i=x • z:= by |
| 144 | funext U; have h:= E_function_real k N p x i U |
| 145 | change (x:ℂ) * (z U)=_ at h; exact Complex.ofReal_injective ((Complex.ofReal_mul ..).trans h).symm |
| 146 | rw [ht x,ht y,ht B,← sub_smul,smul_smul,div_mul_cancel₀ _ hB] |
| 147 | variable (hk: Port.AtTop k) (he:Start.Allows a N) |
| 148 | include hk he |
| 149 | lemma genuine_valid (x:ℝ) (h:x∈RG.Shoot.band a N) : (canonical k N p x).activities.Valid (a.budget N) (a.clock.allowance N) (a.clock.forcedAllowance N) := ((Port.card (p:=p) he (permissions a) hk).law x h).ingredients.gates .. |
| 150 | lemma genuine_eq (x : ℝ) (h:x∈RG.Shoot.band a N) : (canonical k N p x).eval=Wilson.bare x := by |
| 151 | funext U |
| 152 | have hy:= (Port.card (p:=p) he (permissions a) hk).law x h |
| 153 | change (finish (k.path N N) (a.params N).clip (a.budget N) (pott a N p) (kett a N p x) x 0).eval U=_ |
| 154 | exact (hy.ingredients.unshifted ..).trans (hy.matches_raw U) |
| 155 | |
| 156 | end estimates |
| 157 | end YM.Extension.UV.Startup |