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.Work.C23 |
| 2 | import YM.Heat.Duration |
| 3 | |
| 4 | /-! |
| 5 | # Single insertion point states and spectral representation |
| 6 | |
| 7 | Work with the Hull on the *specified* contours so the normalization/edge and |
| 8 | field labels cannot slip. We use symmetric imaginary heights. No mass gap |
| 9 | or cone-support result for the chamber is assumed; at first we know only the |
| 10 | time-half-space support. Fourier convention `Probe.plane`. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.TraceExtension |
| 16 | open Function Set Filter MeasureTheory Measure Complex Mink Boundary Spectral OS |
| 17 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace |
| 18 | |
| 19 | variable {G : Gauge} {L : Register G} {S T : Table L} {C : Chamber T timeAxis} |
| 20 | {F : Waves S} {B : Small S C} {J : StarOp S} |
| 21 | |
| 22 | /-- imaginary heights of the two-point continuation -/ |
| 23 | def pairH (s : ℝ) : Heights 2 := Bid.bothH (n := 1) (m := 1) (fun _ => s) (fun _ => s) |
| 24 | def pairV (J : StarOp S) (v : S.Union) : Fin 2 → S.Union := |
| 25 | Bid.bothT (n := 1) (m := 1) (fun _ => v) (fun _ => v) J |
| 26 | |
| 27 | @[simp] lemma pairH_zero (s) : pairH s 0 = -s := rfl |
| 28 | @[simp] lemma pairH_one (s) : pairH s 1 = s := rfl |
| 29 | |
| 30 | @[simp] lemma pairV_zero (J : StarOp S) (v) : pairV J v 0 = J v := rfl |
| 31 | @[simp] lemma pairV_one (J : StarOp S) (v) : pairV J v 1 = v := rfl |
| 32 | |
| 33 | lemma ample_single {p : ℝ≥0} {s : ℝ} : Small.ample p (fun _ : Fin 1 => s) ↔ |
| 34 | 0 < p ∧ p < 1 ∧ 4*(p:ℝ)<s := by |
| 35 | constructor |
| 36 | · intro h; exact ⟨h.1.1,h.1.2.1,h.2 0⟩ |
| 37 | rintro ⟨hp,hq,h⟩; exact ⟨⟨hp,hq, fun i j e => False.elim ((ne_of_lt e) (Subsingleton.elim i j))⟩, fun _ => h⟩ |
| 38 | |
| 39 | lemma ample_logD {s : ℝ} (hs : 0 < s) : Small.ample (Small.logD s) (fun _ : Fin 1 => s) := by |
| 40 | have h := Small.suitable (n := 1) hs |
| 41 | rwa [show Small.profile s 1=(fun _ : Fin 1 => s) by |
| 42 | funext i; rw [Subsingleton.elim i 0]; simp [Small.profile]] at h |
| 43 | |
| 44 | lemma positive_single {s : ℝ} (hs : 0<s) : (fun _ : Fin 1 => s) ∈ positiveHeight 1 := |
| 45 | ⟨fun _ _ h => False.elim (ne_of_lt h (Subsingleton.elim ..)),fun _ => hs⟩ |
| 46 | |
| 47 | lemma east_pairH {s : ℝ} (hs : 0<s) : pairH s ∈ east 2 := by |
| 48 | intro i j h |
| 49 | fin_cases i <;> fin_cases j <;> first | (exfalso; exact absurd h (by decide)) | simpa using (neg_lt_self hs) |
| 50 | |
| 51 | lemma self_ample (h : Bid.Hull B F J) (v : S.Union) (s : ℝ) (hs : 0<s) {p q : ℝ≥0} |
| 52 | (hp : Small.ample p (fun _ : Fin 1 => s)) (hq : Small.ample q (fun _ : Fin 1 => s)) : |
| 53 | B.shot p 1 (fun _ => v) (fun _ => s) 0 = B.shot q 1 (fun _ => v) (fun _ => s) 0 := by |
| 54 | apply sub_eq_zero.mp |
| 55 | apply (inner_self_eq_zero (𝕜 := ℂ)).mp |
| 56 | rw [inner_sub_left, inner_sub_right, inner_sub_right] |
| 57 | simp only [h.join 1 1 _ _ p p _ _ (positive_single hs) (positive_single hs) hp hp, |
| 58 | h.join 1 1 _ _ p q _ _ (positive_single hs) (positive_single hs) hp hq, |
| 59 | h.join 1 1 _ _ q p _ _ (positive_single hs) (positive_single hs) hq hp, |
| 60 | h.join 1 1 _ _ q q _ _ (positive_single hs) (positive_single hs) hq hq, sub_self] |
| 61 | |
| 62 | /-- State at spatial and real-time zero with positive imaginary height `s` (junk at zero). -/ |
| 63 | def pointState (B : Small S C) (v : S.Union) (s : ℝ≥0) : C.H := |
| 64 | B.shot (Small.logD s) 1 (fun _ => v) (fun _ => (s:ℝ)) 0 |
| 65 | |
| 66 | private lemma shot_eq_flow (v : S.Union) (p s : ℝ≥0) (hs : p<s) : |
| 67 | B.shot p 1 (fun _ => v) (fun _ => (s:ℝ)) 0 = C.flow.E (s-p) (B.bar p v C.omega) := by |
| 68 | have hi : Small.interval (shift (0:Points 1) (fun _ => (s:ℝ)) 0) p = OS.Semigroup.duration (s-p) := by |
| 69 | apply Complex.ext <;> simp [Small.interval,shift,OS.Semigroup.duration, NNReal.coe_sub hs.le] |
| 70 | have hy : Small.bufferF (trace (0:Points 1) 0)=0 := by |
| 71 | apply Subtype.ext; apply ext_by |
| 72 | · change spatial (position _ 0) = spatial 0; simp [trace] |
| 73 | change time (position _ 0) = time 0; simp |
| 74 | change C.flow.F _ (C.flow.U _ (B.bar p v C.omega)) = _ |
| 75 | rw [hi, C.flow.roots_heat (tsub_pos_of_lt hs), hy,C.flow.uZero] |
| 76 | rfl |
| 77 | |
| 78 | lemma pointState_add (h : Bid.Hull B F J) (v : S.Union) (s t : ℝ≥0) (hs : 0<s) : |
| 79 | pointState B v (s+t) = C.flow.E t (pointState B v s) := by |
| 80 | let p := Small.logD s |
| 81 | have hc : 0<(s:ℝ) := hs; have hh : 0<((s+t:ℝ≥0):ℝ) := by positivity |
| 82 | have hp : 0<p ∧ p<1 ∧ 4*(p:ℝ)<s := ample_single.mp (ample_logD hc) |
| 83 | have hm : s ≤ s+t := le_self_add |
| 84 | have he : Small.ample p (fun _ : Fin 1 => ((s+t:ℝ≥0):ℝ)) := |
| 85 | ample_single.mpr ⟨hp.1,hp.2.1,hp.2.2.trans_le hm⟩ |
| 86 | have hu : p<s := by change (p:ℝ)<(s:ℝ); linarith [hp.2.2,p.property] |
| 87 | rw [pointState,self_ample h v _ hh (ample_logD hh) he,shot_eq_flow v p (s+t) (hu.trans_le hm)] |
| 88 | change _=C.flow.E t (B.shot p 1 (fun _ => v) (fun _ => (s:ℝ)) 0) |
| 89 | rw [shot_eq_flow v p s hu, ← ContinuousLinearMap.comp_apply (C.flow.E t), ← OS.Semigroup.time] |
| 90 | congr 1 |
| 91 | rw [add_comm s,add_tsub_assoc_of_le hu.le] |
| 92 | |
| 93 | lemma shifted_state (B : Small S C) (v : S.Union) (s : ℝ≥0) (hs : 0<s) (x : E4) : |
| 94 | B.shot (Small.logD s) 1 (fun _ => v) (fun _ => (s:ℝ)) (points (fun _ => x)) = |
| 95 | C.flow.unit.translation x (pointState B v s) := by |
| 96 | rw [← zero_add (points (n := 1) (fun _ => x))] |
| 97 | exact Work.C23.shot_shift B _ 1 _ _ 0 x (ample_logD hs) |
| 98 | |
| 99 | private lemma orbit_inner {H : Hilbert} (U : Orbit H E4) (a b : E4) (v w : H) : |
| 100 | inner ℂ (U.translation a v) (U.translation b w) = inner ℂ v (U.translation (b-a) w) := by |
| 101 | let I : H →ₗᵢ[ℂ] H := ⟨(U.translation a).toLinearMap, U.unitary a⟩ |
| 102 | have hh : U.translation a (U.translation (b-a) w) = U.translation b w := by |
| 103 | rw [← ContinuousLinearMap.comp_apply, U.sends, add_sub_cancel] |
| 104 | rw [← hh]; exact I.inner_map_map .. |
| 105 | |
| 106 | lemma pair_restricted (h : Bid.Hull B F J) (v : S.Union) (s : ℝ≥0) (hs : 0<s) (x : Points 2) : |
| 107 | F.restricted (pairV J v) (pairH s) x = |
| 108 | charFun (C.flow.ℚmeasure.diagonal (pointState B v s)) (x 1 - x 0) := by |
| 109 | let p : Points 1 := points (fun _ => x 0); let q : Points 1 := points (fun _ => x 1) |
| 110 | have he := h.join 1 1 (fun _ => v) (fun _ => v) (Small.logD s) (Small.logD s) _ _ |
| 111 | (positive_single (show 0 < (s:ℝ) from hs)) (positive_single (show 0 < (s:ℝ) from hs)) (ample_logD hs) (ample_logD hs) p q |
| 112 | change _=F.restricted (pairV J v) (pairH s) _ at he |
| 113 | have hx : Bid.bothP p q = x := by |
| 114 | ext1 i; fin_cases i <;> rfl |
| 115 | rw [hx] at he; dsimp only [p,q] at he |
| 116 | rw [← he, C.flow.joint,shifted_state B v s hs,shifted_state B v s hs,orbit_inner] |
| 117 | |
| 118 | /-- Undamped positive Borel measure. Fixed reference height 1. -/ |
| 119 | def spectralMeasure (B : Small S C) (v : S.Union) : Measure E4 := |
| 120 | OS.Semigroup.transform timeAxis (-2:ℝ) (C.flow.ℚmeasure.diagonal (pointState B v 1)) |
| 121 | |
| 122 | lemma undamp (h : Bid.Hull B F J) (v : S.Union) (s : ℝ≥0) (hs : 0<s) : spectralMeasure B v = |
| 123 | OS.Semigroup.transform timeAxis (-2*(s:ℝ)) (C.flow.ℚmeasure.diagonal (pointState B v s)) := by |
| 124 | have he a (ha : 0 < a) (b : ℝ≥0) : |
| 125 | OS.Semigroup.transform timeAxis (-2*((a+b:ℝ≥0):ℝ)) (C.flow.ℚmeasure.diagonal (pointState B v (a+b))) = |
| 126 | OS.Semigroup.transform timeAxis (-2*(a:ℝ)) (C.flow.ℚmeasure.diagonal (pointState B v a)) := by |
| 127 | rw [pointState_add h v _ _ ha, C.flow.damp, OS.Semigroup.growth]; congr 1; push_cast; ring |
| 128 | rw [← he _ hs 1, add_comm s, he _ one_pos s]; simp only [NNReal.coe_one,mul_one]; rfl |
| 129 | |
| 130 | lemma damp (h : Bid.Hull B F J) (v : S.Union) (s : ℝ≥0) (hs : 0<s) : |
| 131 | OS.Semigroup.transform timeAxis (2*(s:ℝ)) (spectralMeasure B v)=C.flow.ℚmeasure.diagonal (pointState B v s) := by |
| 132 | rw [undamp h _ _ hs, OS.Semigroup.growth, show -2*(s:ℝ)+2*(s:ℝ)=0 by ring, OS.Semigroup.stays_put] |
| 133 | |
| 134 | instance (v : S.Union) : SigmaFinite (spectralMeasure B v) := SigmaFinite.withDensity_of_ne_top |
| 135 | (ae_of_all _ fun _ => ENNReal.coe_ne_top) |
| 136 | lemma ae_time (v : S.Union) : ∀ᵐ p ∂spectralMeasure B v, 0 ≤ time p := |
| 137 | (C.flow.bright _).filter_mono (Measure.AbsolutelyContinuous.ae_le (withDensity_absolutelyContinuous ..)) |
| 138 | |
| 139 | lemma pair_at (h : Bid.Hull B F J) (v : S.Union) (s : ℝ≥0) (hs : 0 < s) (x : Points 2) : |
| 140 | F.restricted (pairV J v) (pairH s) x = ∫ p, Real.exp (- (2*(s:ℝ)) * time p) • Probe.plane p (x 1-x 0) ∂ spectralMeasure B v := by |
| 141 | rw [pair_restricted h v s hs,← damp h v s hs,charFun_apply, OS.Semigroup.transform, |
| 142 | integral_withDensity_eq_integral_smul (OS.Semigroup.measurable ..)] |
| 143 | rfl |
| 144 | |
| 145 | end YM.TraceExtension |