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.RG05Readout.Address.Angular |
| 2 | /-! |
| 3 | # Real angular test with script weights |
| 4 | -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.RG05Readout.Address |
| 8 | open Function Filter Set MeasureTheory Lattice Wilson Labels RG Source Bid |
| 9 | open Extra.Histories Push Local Planned.GuardedAtom Guard MergeProof Extra.Histories.Relay Native |
| 10 | open PhysicalNext.Repeat Lotus Motion Trace.Physical Offsets |
| 11 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 12 | variable {G:Gauge}{C:Family G}{N m p d:ℕ} {s K α β γ A c t u:ℝ} |
| 13 | {D:GaugeDoor (C.path.rep N p (m+1)) (C.path.rep N p m)} |
| 14 | set_option quotPrecheck false |
| 15 | local notation "Z"=> (C.path.levels.clock.op m p) |
| 16 | local notation "R"=> C.path.rep N p m |
| 17 | local notation "M"=> C.path.rep N p (m+1) |
| 18 | local notation "Kc"=> kappa C.path |
| 19 | local notation "O"=> Bud C p m |
| 20 | local notation "ψ"=> child C p m |
| 21 | local notation "δ"=> displacement C p m |
| 22 | local notation "L"=> C.path.S.block m |
| 23 | local notation "ℓ"=> (((L).val:ℝ)⁻¹) |
| 24 | local notation "η'"=> decay d L K c α* shiftFee (M).p |
| 25 | local notation "∂"=> tollV d L K c α β*shiftFee (M).p |
| 26 | local notation "Ω"=> margin d c K |
| 27 | local notation "U"=> Palette C d |
| 28 | local notation "J"=> Mark C d |
| 29 | local notation "N₀"=> (Fintype.card (Mark C d):ℝ) |
| 30 | variable {T:∀ i:Letter d,Heading (C.labels.level (kept i))} |
| 31 | |
| 32 | /-- Pre-side angular costs. A negative-first block is zero. -/ |
| 33 | def clipPrice (n d:ℕ)(t u:ℝ):= n*(u*(1+n*t))^(d+1) |
| 34 | lemma BeamLine.expanded {q:Mark C d→Palette C d}(h:BeamLine C d q t u)(hp:1 ≤ u)(hr:0 ≤ t)(x:Palette C d): |
| 35 | size x ≤ clipPrice (Fintype.card (Mark C d)) d t u * size (Slide x q) :=by |
| 36 | let V:=Slide x q; let P:=u*(1+N₀*t); have hU:=size_ge V; have hf:1 ≤ P:= one_le_mul_of_one_le_of_one_le hp (le_add_of_nonneg_right (by positivity)) |
| 37 | have hu := zero_le_one.trans hp |
| 38 | have H(n:ℕ) :∀ i:Mark C d,weights i < n → ‖val x i‖ ≤ P^n*size V:=by |
| 39 | induction n with |
| 40 | | zero=>simp |
| 41 | | succ n ih => |
| 42 | intro i hi; let f(j:J):=val x j*val (q j) i |
| 43 | have hK j (hj:j∈Finset.univ.erase i): ‖f j‖ ≤ P^n*size V*t:=by |
| 44 | have hh:i≠j:= Ne.symm (Finset.ne_of_mem_erase hj) |
| 45 | by_cases h' : weights j < weights i |
| 46 | · unfold f; rw [norm_mul]; exact mul_le_mul (ih j (by omega)) ((each_price ..).trans (h.pays j)) (norm_nonneg _) (by positivity) |
| 47 | unfold f; rw [h.strict j i (Nat.le_of_not_lt h') hh,mul_zero,norm_zero]; positivity |
| 48 | let g:=∑ j∈ Finset.univ.erase i,f j; let s:=size V |
| 49 | have ht: ‖g‖ ≤ N₀*(P^n*s*t):= by apply (norm_sum_le ..).trans; apply le_trans (Finset.sum_le_sum hK); rw [Finset.sum_const,nsmul_eq_mul]; exact mul_le_mul_of_nonneg_right (by exact_mod_cast Finset.card_le_univ _) (by positivity) |
| 50 | have he : f i=val V i -g:=by |
| 51 | rw [eq_sub_iff_add_eq,show f i+g=∑ j,f j from Finset.add_sum_erase _ f (by simp)] |
| 52 | change _ = (∑ j, (val x j) • q j) i.1 i.2 |
| 53 | rw [Finset.sum_apply, Finset.sum_apply];rfl |
| 54 | have hj :=h.down i; calc ‖val x i‖ ≤ u*‖f i‖ :=by rw [show f i=val (q i) i*val x i from mul_comm .., norm_mul, ← mul_assoc]; exact le_mul_of_one_le_left (norm_nonneg _) hj |
| 55 | _ ≤ u*(P^n*s+N₀*(P^n*s*t)):= by rw [he]; exact mul_le_mul_of_nonneg_left ((norm_sub_le ..).trans (add_le_add ((each_price ..).trans (le_mul_of_one_le_left hU (one_le_pow₀ hf))) ht)) hu |
| 56 | _ = _:= by unfold P s; ring |
| 57 | apply (Finset.sum_le_sum (fun i (_:i∈@Finset.univ J _)=> H (d+1) i (Nat.lt_add_one_of_le (capped i)))).trans_eq; rw [Finset.sum_const,Finset.card_univ,nsmul_eq_mul];exact (mul_assoc ..).symm |
| 58 | |
| 59 | structure Contour (C:Family G)(m d:ℕ)(t u r:ℝ)(A:Palette C d→ₗ[ℂ]Palette C d): Prop where |
| 60 | sails : ∃ Z':Mark C d → Palette C d,BeamLine C d Z' t u ∧ ∀ x, size (A x-Slide (amplify d C (C.path.S.block m) x) Z') ≤ r*size x |
| 61 | |
| 62 | lemma size_compare (x y:Palette C d): size x ≤ size y+size (x-y) := by |
| 63 | calc _ = size (y+(x-y)):= congr_arg size (add_sub_cancel ..).symm |
| 64 | _ ≤ _:= size_add .. |
| 65 | lemma size_turn (x y:Palette C d): size (x-y)=size (y-x):=by rw [←size_neg (y-x),neg_sub] |
| 66 | lemma Contour.earns {A:Palette C d→ₗ[ℂ]Palette C d}{Q:ℝ}(h: Contour C m d t u γ A)(ht:0≤t)(hu:1≤u)(he : 0 ≤ γ) (hx:clipPrice (Fintype.card (Mark C d)) d t u ≤ Q)(hz :0 ≤ Q)(hv:Q*γ ≤ 1/2) (x: Palette C d): |
| 67 | size (amplify d C L x) ≤ 2*Q*size (A x) ∧ size (A x) ≤ (t+γ)*size (amplify d C L x):=by |
| 68 | let T: Palette C d→ₗ[ℂ]Palette C d:=amplify d C L; obtain ⟨B,hB,H⟩:=h.sails; specialize H x |
| 69 | let z:= Slide (T x) B; let p:=size (A x); let w:=size (T x) |
| 70 | have hQ:= (hB.expanded hu ht (T x)).trans (mul_le_mul_of_nonneg_right hx (size_ge _)) |
| 71 | have hj: size z ≤ p + γ*w:= by apply (size_compare z _).trans; apply add_le_add_right; rw [size_turn]; exact H.trans (mul_le_mul_of_nonneg_left (size_refund ..) he) |
| 72 | constructor |
| 73 | · have hF : w ≤ Q*p+(1/2)*w:=by |
| 74 | apply hQ.trans ((mul_le_mul_of_nonneg_left hj hz).trans _); rw [mul_add, ← mul_assoc Q]; exact add_le_add_right (mul_le_mul_of_nonneg_right hv (size_ge _)) _ |
| 75 | change w ≤ 2*Q*p; linarith |
| 76 | · rw [add_mul]; exact (size_compare (A x) z).trans (add_le_add (bounded_p hB _) (H.trans (mul_le_mul_of_nonneg_left (size_refund ..) he))) |
| 77 | end YM.RG05Readout.Address |