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.Source.Insertion |
| 2 | |
| 3 | /-! Check absolute summability in the marker expansion and |
| 4 | compose exact masses across levels (without limits). -/ |
| 5 | |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Source |
| 9 | open Labels RG Lattice Wilson |
| 10 | open Set MeasureTheory Filter |
| 11 | open scoped BigOperators Topology Matrix.Norms.Frobenius |
| 12 | variable {n : Side} {G : Gauge} {d : ℕ} {F : Frame G d} |
| 13 | |
| 14 | namespace Coefficient |
| 15 | variable {R : Rep G n} {H : Hol G} {o : Site n} {σ C Λ δ w : ℝ} {P : Coefficient F n} |
| 16 | |
| 17 | theorem regular_series {a b : ℝ} (h : P.remBound o R a b) : Dominated (P.maskedTerm R) := by |
| 18 | obtain ⟨A, B, _, _, _, _, ⟨k,h₁,h₂⟩,_⟩ := h |
| 19 | refine ⟨_, h₁.2.1, fun i U ↦ le_trans (b := k i) ?_ (R.p.loMass _ _ (h₂ i).1)⟩ |
| 20 | by_cases hu : Healthy R.p.threshold (P.support i) U |
| 21 | · rw [maskedTerm, masked_eq _ _ _ _ hu] |
| 22 | exact (h₂ i).2 U hu [] (Nat.zero_le _) (by simp) |
| 23 | rw [maskedTerm, masked_ne _ _ _ _ hu, norm_zero]; exact (h₂ i).1 |
| 24 | |
| 25 | theorem marked_series {a b : ℝ} (hr : R.Lawful σ C Λ δ w) (h : P.remBound o R a b) : |
| 26 | Dominated (P.marked R) := by |
| 27 | obtain ⟨z,hz,hZ⟩ := Activities.K_total hr.labels.boundK |
| 28 | obtain ⟨X,Y, _, _, _, _, _, ⟨k,hk,hK⟩⟩ := h |
| 29 | have H : Summable k := hk.2.1.of_nonneg_of_le (fun i => (hK i).1) fun i => R.p.loMass _ _ (hK i).1 |
| 30 | let p := k+z |
| 31 | have hp (i) : 0 ≤ p i := add_nonneg (hK i).1 (hZ i).1 |
| 32 | have he : Summable fun i => 2 * p i := (H.add hz).mul_left _ |
| 33 | refine ⟨_,summable_finsetProd_of_summable_nonneg (fun i ↦ mul_nonneg (by norm_num) (hp i)) he, ?_⟩ |
| 34 | intro i V |
| 35 | unfold marked; split |
| 36 | · calc |
| 37 | _ ≤ _ := norm_sum_le .. |
| 38 | _ ≤ ∑ _j ∈ i, ∏ l ∈ i, p l := by |
| 39 | refine Finset.sum_le_sum fun j hj ↦ ?_ |
| 40 | rw [norm_mul,norm_prod] |
| 41 | conv_rhs => rw [← Finset.mul_prod_erase i p hj] |
| 42 | refine mul_le_mul ?_ ?_ (Finset.prod_nonneg fun _ _ ↦ norm_nonneg _) (hp _) |
| 43 | · exact le_trans ((hK j).2 V) (le_add_of_nonneg_right (hZ _).1) |
| 44 | refine Finset.prod_le_prod (fun l _ ↦ norm_nonneg _) fun l _ ↦ ?_ |
| 45 | rw [Complex.norm_real] |
| 46 | exact le_trans ((hZ l).2 V) (le_add_of_nonneg_left (hK _).1) |
| 47 | _ ≤ ∏ l ∈ i, (2 * p l) := by |
| 48 | rw [Finset.sum_const, nsmul_eq_mul, Finset.prod_mul_distrib, Finset.prod_const] |
| 49 | apply mul_le_mul_of_nonneg_right _ (Finset.prod_nonneg fun l _ ↦ hp l) |
| 50 | exact_mod_cast (Nat.lt_two_pow_self (n := i.card)).le |
| 51 | · rw [norm_zero]; exact Finset.prod_nonneg fun _ _ ↦ mul_nonneg (by norm_num) (hp _) |
| 52 | |
| 53 | private lemma plus {f g : Config G n → ℂ} (H : Envelope f) (K : Envelope g) : Envelope (fun x => f x + g x) := by |
| 54 | obtain ⟨C, hc⟩ := H.cost |
| 55 | obtain ⟨D, hd⟩ := K.cost |
| 56 | exact ⟨H.meas.add K.meas, C+D, fun x ↦ (norm_add_le ..).trans (add_le_add (hc _) (hd _))⟩ |
| 57 | private lemma times {f g : Config G n → ℂ} (H : Envelope f) (K : Envelope g) : Envelope (fun x => f x * g x) := by |
| 58 | obtain ⟨C,hc⟩ := H.cost |
| 59 | obtain ⟨D,hd⟩ := K.cost |
| 60 | exact ⟨H.meas.mul K.meas, C*D, fun x ↦ (norm_mul_le ..).trans |
| 61 | (mul_le_mul (hc x) (hd x) (norm_nonneg _) ((norm_nonneg _).trans (hc x)))⟩ |
| 62 | private lemma ofReal {f : Config G n → ℝ} (H : Envelope f) : Envelope fun x => (f x : ℂ) := by |
| 63 | obtain ⟨C,hc⟩ := H.cost |
| 64 | exact ⟨Complex.continuous_ofReal.measurable.comp H.meas, C, fun x ↦ by simp only [Complex.norm_real]; exact hc _⟩ |
| 65 | |
| 66 | theorem envelope {A B : ℝ} (s : SectionData F) (hr : R.Lawful σ C Λ δ w) (h : P.remBound o R A B) |
| 67 | (he : P.Format o H R) : Envelope (P.density o s R) := by |
| 68 | have ht (v : F.Coeff) : Envelope (masked R.p.threshold (s.footprint o) (s.places v o)) := by |
| 69 | refine ⟨masked_measurable _ _ _ (s.continuous_places ..).measurable,?_⟩ |
| 70 | obtain ⟨p,hp⟩ := isCompact_range (s.continuous_places v o).norm |>.bddAbove |
| 71 | refine ⟨max p 0, fun U ↦ ?_⟩ |
| 72 | by_cases hx : Healthy R.p.threshold (s.footprint o) U |
| 73 | · rw [masked_eq _ _ _ _ hx]; exact le_trans (hp ⟨U,rfl⟩) (le_max_left _ _) |
| 74 | rw [masked_ne _ _ _ _ hx,norm_zero]; exact le_max_right _ _ |
| 75 | have hg : Envelope fun x : Config G n => P.x 0 := ⟨measurable_const, _, fun _ ↦ le_rfl⟩ |
| 76 | refine plus (times (ofReal (R.envelope hr)) |
| 77 | (plus (plus hg (ht _)) ⟨Measurable.tsum ?_, (regular_series h).bound⟩)) |
| 78 | (times (ofReal (R.exponentEnv hr).exp) ⟨Measurable.tsum ?_, (marked_series hr h).bound⟩) |
| 79 | · intro i; exact masked_measurable _ _ (P.regular i) (he.smooth i).borel |
| 80 | intro i; classical |
| 81 | unfold marked |
| 82 | refine Measurable.ite (R.activities.admissible_borel R.p i) ?_ measurable_const |
| 83 | refine Finset.measurable_fun_sum _ fun j _ ↦ (he.borel j).mul ?_ |
| 84 | refine Finset.measurable_fun_prod _ fun l _ ↦ Complex.continuous_ofReal.measurable.comp (hr.labels.forced.meas l) |
| 85 | end Coefficient |
| 86 | |
| 87 | namespace TransferData |
| 88 | variable {H : History G} {A : Hol G} {C : SectionData F} {N p r : ℕ} {T : TransferData F H N p} |
| 89 | |
| 90 | theorem cylinder_cont (T : TransferData F H N p) (C : SectionData F) (x : Site (H.S.side N p)) |
| 91 | (v : F.Coeff) : Continuous (T.cylinder C v x) := |
| 92 | continuous_const.smul (C.continuous_places _ _) |
| 93 | |
| 94 | theorem density_int (hc : H.Selected) (h : T.Based A C r) (v : F.Coeff) (m) (hr : r ≤ m) (hm : m ≤ N) : |
| 95 | Integrable ((T.entries m v).density 0 C (H.rep N p m)) (prior G (H.S.side m p)) := by |
| 96 | have he := Coefficient.envelope C (hc.represents N p m hm).good (h.cap m hr hm v) (h.format m hr hm v) |
| 97 | obtain ⟨K,hk⟩ := he.cost |
| 98 | exact Integrable.of_bound he.meas.aestronglyMeasurable K (Eventually.of_forall hk) |
| 99 | |
| 100 | theorem integral_marked (hc : H.Selected) (h : T.Based A C r) (v : F.Coeff) (m) (hr : r ≤ m) (hm : m ≤ N) : |
| 101 | (∫ U, (T.entries m (T.terminal.symm v)).density 0 C (H.rep N p m) U ∂prior G (H.S.side m p)) = |
| 102 | (H.S.a m : ℂ)^d * (partition G (H.S.side N p) (H.β N p N) : ℂ) * |
| 103 | moment (H.β N p N) (T.cylinder C v 0) := by |
| 104 | induction hm using Nat.decreasingInduction with |
| 105 | | self => |
| 106 | have hi := continuous_integrable (H.β N p N) (cylinder_cont T C 0 v) |
| 107 | rw [moment_formula _ _ hi] |
| 108 | have hz : (partition G (H.S.side N p) (H.β N p N) : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr (partition_pos _).ne' |
| 109 | simp_rw [h.encode, (hc.starts N p).2, mul_assoc] |
| 110 | rw [integral_const_mul]; simp [cylinder, hz] |
| 111 | | of_succ k hk Hk => |
| 112 | simp_rw [h.unnormalized k hr hk] |
| 113 | simp only [Pi.smul_apply, smul_eq_mul] |
| 114 | rw [integral_const_mul, StepData.push_integral (H.levels.transition_mass ..) _ |
| 115 | (density_int hc h _ _ (hr.trans k.le_succ) hk), Hk (hr.trans k.le_succ), H.S.a_step] |
| 116 | have he := (H.S.block k).property.ne' |
| 117 | simp only [Complex.ofReal_div, Complex.ofReal_natCast] |
| 118 | rw [← mul_assoc, ← mul_assoc, ← mul_pow, mul_comm ((H.S.block k).val : ℂ), div_mul_cancel₀ _ (by exact_mod_cast he)] |
| 119 | end TransferData |
| 120 | end YM.Source |