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.PCalc.Band |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Transfer supplies: scalar and flags |
| 6 | |
| 7 | Density strictly positive after pushing *genuine* positive input, even before |
| 8 | shooting. Not assuming coupling survives the next band. Derive scalar from |
| 9 | exact transfer at trivial field. The unnormalized density, probability Haars, |
| 10 | and prediction likelihood remain those in RG.History. Also transport gauge |
| 11 | and signed symmetry through the actual kernel; not testing them on numerical |
| 12 | truncations or independently averaged channels. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Progress.DirectedRecipe |
| 17 | open Function Set RG Wilson Lattice MeasureTheory RG.Shoot |
| 18 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius ENNReal |
| 19 | |
| 20 | variable {G : Gauge} {n : Side} |
| 21 | section Identity |
| 22 | private lemma travel1 {R} [AddCommGroup R] [One R] (x : Four R) (w : Walk) : |
| 23 | travel (1 : Links R G.El) x w = 1 := by |
| 24 | induction w generalizing x with |
| 25 | | nil => rfl |
| 26 | | cons l m ih => simp [travel,ih,Step.read] |
| 27 | lemma face1 (x : Face (Per n)) : faceValue (1 : Config G n) x = 1 := travel1 .. |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | lemma no_flags {t : ℝ} (h : 0 ≤ t) : flags t (1 : Config G n) = ∅ := by |
| 34 | apply Finset.eq_empty_of_forall_notMem |
| 35 | intro x hx |
| 36 | obtain ⟨a,_,ha⟩ := (flags_spec ..).mp hx |
| 37 | rw [face1,G.chord_one] at ha |
| 38 | exact not_lt.mpr h ha |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | end Identity |
| 50 | |
| 51 | section Transfer |
| 52 | variable {c f : Side} (S : StepData c f) {a : Levels G} (β : ℝ) |
| 53 | |
| 54 | /-- Even unused bond tags enter; no noise independent of *frames* chosen |
| 55 | in the physical site likelihood. Strict even at β=0; finite tori, don't |
| 56 | assert any uniform strength by this proof. -/ |
| 57 | lemma noise_strict (V X : Config G c) : 0 < S.noise β V X := |
| 58 | Finset.prod_pos fun _ _ => mul_pos (inv_pos.mpr (S.penaltyZ_pos _)) (Real.exp_pos _) |
| 59 | |
| 60 | /-- Version for arbitrary Levels (unlike `Next.Foundations.uses_kernel`, cannot assume |
| 61 | the particular `Axial.viable` witness was used). Same elementary argument. -/ |
| 62 | lemma density_strict (h : S.patch.Branches S.kernel G) (U : Config G f) (V : Config G c) : |
| 63 | 0 < S.density β U V := by |
| 64 | have hp : ∃ t, 0 < S.likelihood U t := by |
| 65 | by_contra! hh |
| 66 | have he : (∑ t, S.likelihood U t) ≤ 0 := Finset.sum_nonpos fun i _ => hh i |
| 67 | rw [S.chosen h] at he |
| 68 | norm_num at he |
| 69 | obtain ⟨i,hi⟩ := hp |
| 70 | exact Finset.sum_pos' (fun t _ => mul_nonneg (S.likelihood_pos U t) (noise_strict ..).le) |
| 71 | ⟨i, Finset.mem_univ _, mul_pos hi (noise_strict ..)⟩ |
| 72 | |
| 73 | lemma push_strict (h : S.patch.Branches S.kernel G) {F : Config G f → ℝ} |
| 74 | (hp : ∀ U, 0 < F U) (hi : Integrable F (prior G f)) (V : Config G c) : |
| 75 | 0 < S.push β F V := by |
| 76 | let w := fun U => S.density β U V • F U |
| 77 | have hx (U) : 0 < w U := mul_pos (density_strict S β h U V) (hp U) |
| 78 | apply (integral_pos_iff_support_of_nonneg (fun U => (hx U).le) |
| 79 | (StepData.push_slice (S.isKernel h _) _ _ hi)).mpr |
| 80 | simp only [show Function.support w = univ from Set.eq_univ_of_forall fun x => (hx x).ne', |
| 81 | measure_univ, zero_lt_one] |
| 82 | |
| 83 | /-- Keep pullback on *both* sides of the push. -/ |
| 84 | lemma push_pull {a : Levels G} {m p : ℕ} {F : Config G (a.S.side (m+1) p) → ℝ} |
| 85 | (H : Integrable F (prior G (a.S.side (m+1) p))) (s : Signed) (b : Site (a.S.side m p)) |
| 86 | (h : ∀ U, F (pull s ((a.clock.op m p).ratio.embed b) U) = F U) : |
| 87 | ∀ V : Config G (a.S.side m p), (a.clock.op m p).push β F (pull s b V) = (a.clock.op m p).push β F V := by |
| 88 | intro V |
| 89 | let k := a.clock.op m p |
| 90 | let M := prior G (a.S.side (m+1) p) |
| 91 | let T := pull s (k.ratio.embed b) (K:=G.El) |
| 92 | let f := fun U => k.density β U (pull s b V) • F U |
| 93 | have hf : Integrable f M := StepData.push_slice (a.transition_mass ..) _ _ H |
| 94 | have hg : MeasurePreserving T M M := prior_pull .. |
| 95 | have he (U) : f (T U) = k.density β U V • F U := by |
| 96 | dsimp only [f]; rw [show F (T U) = _ from h U, show k.density β _ (pull s b V) = _ from |
| 97 | (a.blocks m p).symmetric β U V s b] |
| 98 | have HI := integral_map (μ:=M) (φ:=T) (f:=f) hg.aemeasurable (by rw [hg.map_eq]; exact hf.aestronglyMeasurable) |
| 99 | simp_rw [hg.map_eq, he] at HI |
| 100 | exact HI |
| 101 | |
| 102 | /-- Coarse gauge from fine gauge, *including at boundary points*. -/ |
| 103 | lemma push_orbit {a : Levels G} {m p : ℕ} {F : Config G (a.S.side (m+1) p) → ℝ} |
| 104 | (H : Integrable F (prior G (a.S.side (m+1) p))) (h : GaugeInvariant F) : |
| 105 | GaugeInvariant ((a.clock.op m p).push β F) := by |
| 106 | intro t V |
| 107 | let k := a.clock.op m p |
| 108 | let M := prior G (a.S.side (m+1) p) |
| 109 | let r := t ∘ k.ratio.parent |
| 110 | have hr : r ∘ k.ratio.embed = t := by funext; simp [r,Ratio.embed_parent] |
| 111 | let T := gauge r |
| 112 | let f := fun U => k.density β U (gauge t V) • F U |
| 113 | have hf : Integrable f M := StepData.push_slice (a.transition_mass ..) _ _ H |
| 114 | have hg : MeasurePreserving T M M := prior_gauge _ |
| 115 | have he (U) : f (T U) = k.density β U V • F U := by |
| 116 | dsimp only [f]; rw [show F (T U) = _ from h r U] |
| 117 | nth_rw 1 [← hr] |
| 118 | rw [show k.density β (T U) _ = _ from (a.blocks m p).gauge β U V r] |
| 119 | have HI := integral_map (μ:=M) (φ:=T) (f:=f) hg.aemeasurable (by rw [hg.map_eq]; exact hf.aestronglyMeasurable) |
| 120 | simp_rw [hg.map_eq, he] at HI |
| 121 | exact HI |
| 122 | end Transfer |
| 123 | end YM.Progress.DirectedRecipe |