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.RG08.Forms.Shuffle |
| 2 | import YM.RG08.Rows.Algebra |
| 3 | |
| 4 | /-! |
| 5 | # Line budget for heat-equation contractions |
| 6 | -/ |
| 7 | noncomputable section |
| 8 | namespace YM.RG08.Forms |
| 9 | open Pert.Bulk Packets Finset Function Lattice |
| 10 | open scoped BigOperators Topology ENNReal Classical |
| 11 | set_option autoImplicit false |
| 12 | variable {I M : Type} |
| 13 | |
| 14 | abbrev Line (I : Type) := I → I→ℝ |
| 15 | |
| 16 | def link (d : Ground I) (σ : ℝ) (Γ : Line I) := fun i j=> bill (Γ i j) (σ*d.span i j) |
| 17 | |
| 18 | structure Wire (d : Ground I) (σ B : ℝ) (Γ : Line I) : Prop where |
| 19 | width : 0≤σ |
| 20 | gain : 0≤B |
| 21 | forth : ∀ i,∑' j, link d σ Γ i j ≤ ENNReal.ofReal B |
| 22 | back : ∀ j,∑' i, link d σ Γ i j ≤ ENNReal.ofReal B |
| 23 | |
| 24 | variable {d : Ground I}{Γ : Line I}{σ τ p q : ℝ} |
| 25 | |
| 26 | lemma Wire.mono (h : Wire d σ p Γ) (hτ : 0 ≤ τ) (hs : τ≤σ) (hp : p≤q) : Wire d τ q Γ := by |
| 27 | have hU (i j:I) : link d τ Γ i j ≤ link d σ Γ i j:=bill_mono le_rfl (mul_le_mul_of_nonneg_right hs (d.nn ..)) |
| 28 | exact ⟨hτ,h.gain.trans hp,fun i=> (ENNReal.tsum_le_tsum fun j=>hU i j).trans ((h.forth i).trans (by gcongr)),fun j=> (ENNReal.tsum_le_tsum fun i=>hU i j).trans ((h.back j).trans (by gcongr))⟩ |
| 29 | lemma Wire.toll (h : Wire d σ p Γ) (i j:I) : link d σ Γ i j ≤ ENNReal.ofReal p := (ENNReal.le_tsum j).trans (h.forth i) |
| 30 | lemma Wire.plain (h : Wire d σ p Γ) (i j:I) : |Γ i j| ≤ p := (le_mul_of_one_le_right (abs_nonneg _) (Real.one_le_exp (mul_nonneg h.width (d.nn ..)))).trans ((ENNReal.ofReal_le_ofReal_iff h.gain).mp (h.toll i j)) |
| 31 | lemma Wire.turn (h : Wire d σ p Γ) : Wire d σ p (Function.swap Γ):= by |
| 32 | have he (j k : I) : link d σ (Function.swap Γ) j k=link d σ Γ k j:= by simp only [link,swap];rw [d.left] |
| 33 | exact ⟨h.width,h.gain,fun i=>by simp_rw [he];exact h.back i,fun j=>by simp_rw [he]; exact h.forth j⟩ |
| 34 | |
| 35 | lemma wire_carpet [Fintype I] {K : Kernel I I} (σ p:ℝ)(hs:0≤σ)(hp:0≤p)(hK:RowCost σ 1 K p)(hK':ColCost σ 1 K p) : Wire (carpet I) σ (Fintype.card I * p) K:=by |
| 36 | have h (i j:Market I):link (carpet I) σ K i j=bill (K i j) (σ*delta 1 i.1 j.1):=by |
| 37 | simp [link,carpet,delta] -- one.val simplification? |
| 38 | refine ⟨hs,by positivity,fun j=>?_,fun j=>?_⟩ <;> |
| 39 | rw [ENNReal.tsum_prod'] <;> simp_rw [h,tsum_fintype] |
| 40 | · exact full_sum _ p hp (hK j) |
| 41 | exact full_sum _ p hp (fun a=> hK' a j) |
| 42 | |
| 43 | end YM.RG08.Forms |