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.MultiNext.SIGNED_SOURCE_CONTINUATION.Path |
| 2 | import YM.Next.MULTISOURCE.Journey |
| 3 | import YM.Next.SCHEDULE.Air |
| 4 | import YM.Push.RELAY_DIFFERENCE.Rolling |
| 5 | import YM.Push.RELAY_DIFFERENCE.SingleMajorant |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | /-! |
| 10 | # Views of germs under hierarchical spin+translation+anti, for mixed budgets |
| 11 | |
| 12 | Reuse already proven chain of actual directional derivative ESTIMATES |
| 13 | through these sends (including two-sided deformation costs). Extend to |
| 14 | BudgetPoint.Regular (smoothness & HasDerivs!) and Legible output Pack |
| 15 | for creating credits without extra order losses. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.MultiNext.SignedSource.View |
| 20 | open Function Filter MeasureTheory RG Wilson Lattice Labels Source Bid |
| 21 | open Multi Multi.Pack Push.RelayDifference |
| 22 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 23 | variable {G : Gauge} {n : Side} |
| 24 | |
| 25 | variable (s : Signed) (b : Site n) |
| 26 | |
| 27 | def flip : Equiv.Perm (Site n) := Push.RelayDifference.Single.rotor s b |
| 28 | |
| 29 | def twist (X : Support n) : Support n := X.image (flip s b) |
| 30 | |
| 31 | lemma intersection (X : Support n) (t : ℝ) (U : Config G n) : twist s b (X ∩ flags t (pull s b U))= |
| 32 | twist s b X ∩ flags t U := by |
| 33 | conv_rhs => rw [← Work.H03.flags_send s b t U] |
| 34 | exact Finset.image_inter X _ (flip s b).injective |
| 35 | |
| 36 | lemma bills (X : Support n) (m : ℕ) : coverNumber m (twist s b X) ≤ coverNumber m X := Push.RelayDifference.Single.cover_price s b X m |
| 37 | |
| 38 | lemma agreement (X : Support n) (U V : Config G n) (h : Agrees (twist s b X) U V) : Agrees X (pull s b U) (pull s b V) := by |
| 39 | intro p hz hz' |
| 40 | let M := twist s b X |
| 41 | have he {x : Site n} (hx : x ∈ X) : affine s b x∈M := Finset.mem_image_of_mem _ hx |
| 42 | let d := (posDir p.2).rotate s |
| 43 | let x := affine s b p.1 |
| 44 | change d.read U x = d.read V x |
| 45 | have hh := he hz |
| 46 | have hw : x + d.vec ∈ M := by |
| 47 | simp only [x,d, Lattice.Step.vec_rotate, Lattice.Step.vec_pos] |
| 48 | rw [show _ + s.act (step p.2) = affine s b (p.1 + step p.2) by rw [affine,affine,Signed.act_add]; abel] |
| 49 | exact he hz' |
| 50 | generalize d = D at * |
| 51 | rcases D with ⟨i,t|t⟩ |
| 52 | · exact h (x,i) hh hw |
| 53 | change (U (x-step i,i))⁻¹ = (V (x-step i,i))⁻¹ |
| 54 | rw [h]; exacts [by simpa [Lattice.Step.vec,sub_eq_add_neg] using hw,by simpa [x] using hh] |
| 55 | |
| 56 | lemma same (F : Config G n → ℂ) (h : GaugeInvariant F) (χ : Bool) : GaugeInvariant (oriented F χ s b) := by |
| 57 | intro t U |
| 58 | apply congr_arg (hand χ) |
| 59 | rw [show pull s b (Lattice.gauge t U)=Lattice.gauge (t ∘ affine s b) (pull s b U) by |
| 60 | funext e |
| 61 | unfold pull Lattice.gauge |
| 62 | have he (x i) : affine s b (x+step i) = affine s b x + ((posDir i).rotate s).vec := by |
| 63 | rw [Lattice.Step.vec_rotate]; simp [affine]; abel |
| 64 | simp only [Function.comp_apply,he]; exact Lattice.Step.gauge_read ((posDir _).rotate s) t U _] |
| 65 | exact h .. |
| 66 | lemma measurable (F : Config G n → ℂ) (h : Measurable F) (χ : Bool) : Measurable (oriented F χ s b) := by |
| 67 | cases χ |
| 68 | · exact h.comp (continuous_pull s b).measurable |
| 69 | exact (continuous_star (R:=ℂ)).measurable.comp (h.comp (continuous_pull s b).measurable) |
| 70 | |
| 71 | lemma masks (F : Config G n → ℂ) (t : ℝ) (X : Support n) (χ : Bool) : oriented (masked t X F) χ s b = |
| 72 | masked t (twist s b X) (oriented F χ s b) := by |
| 73 | funext U |
| 74 | have he : Healthy t (twist s b X) U ↔ Healthy t X (pull s b U) := TwoSided.healthy_at .. |
| 75 | by_cases h : Healthy t X (pull s b U) |
| 76 | · unfold Push.RelayDifference.oriented; rw [masked_eq _ _ _ _ (he.mpr h), masked_eq _ _ _ _ h] |
| 77 | unfold Push.RelayDifference.oriented; rw [masked_ne _ _ _ _ h,masked_ne _ _ _ _ (mt he.mp h)]; cases χ <;> simp [hand] |
| 78 | |
| 79 | lemma projected {P : BudgetPoint} (χ) {F : Config G n → ℂ} {X : Support n} (h : P.Regular X F) |
| 80 | (U : Config G n) (hu : Healthy P.threshold X (pull s b U)) : TwoSided.Based U (oriented F χ s b) P.order := by |
| 81 | have he : TwoSided.Based (pull s b U) F P.order := h.smooth _ hu |
| 82 | let g (v : Directions G n) := pull s b (increment U v) |
| 83 | have ht : ContDiffAt ℝ (P.order:WithTop ℕ∞) (F ∘ g) 0 := by |
| 84 | have hx : Continuous g := (continuous_pull s b).comp (continuous_pi fun i => (G.lieExp_cont.comp (continuous_apply i)).mul continuous_const) |
| 85 | apply he.from (F:=g) (congrArg (pull s b) (show increment U 0=U by funext i; simp [increment])) hx.continuousAt |
| 86 | intro i |
| 87 | unfold g pull Lattice.Step.read increment |
| 88 | split |
| 89 | · simp only [G.mat_inv,G.mat_mul] |
| 90 | refine (show G.Mat ≃L[ℝ] G.Mat from starL ℝ).contDiff.contDiffAt.comp _ ?_ |
| 91 | exact (((G.exp_jet.comp (contDiff_apply ℝ G.Color _)).mul contDiff_const).contDiffAt.of_le le_top) |
| 92 | simp only [G.mat_mul] |
| 93 | exact (((G.exp_jet.comp (contDiff_apply ℝ G.Color _)).mul contDiff_const).contDiffAt.of_le le_top) |
| 94 | cases χ |
| 95 | · exact ht |
| 96 | exact ((show ℂ ≃L[ℝ] ℂ from starL ℝ).contDiff.contDiffAt.comp _ ht) |
| 97 | |
| 98 | lemma reg {P : BudgetPoint} (χ) {F : Config G n → ℂ} {X : Support n} (h : P.Regular X F) : |
| 99 | P.Regular (twist s b X) (oriented F χ s b) := by |
| 100 | refine ⟨fun U V H => congrArg (hand χ) (h.sites _ _ (agreement s b X U V H)), measurable s b F h.borel χ, same s b F h.symmetry χ, |
| 101 | fun U he => projected s b χ h U ((TwoSided.healthy_at ..).1 he), fun U he A l hl => ?_⟩ |
| 102 | let g := oriented F χ s b |
| 103 | have hf : TwoSided.Based U g P.order := projected s b χ h U ((TwoSided.healthy_at ..).1 he) |
| 104 | have hh : TwoSided.Based U (leftDerivs g l) 1 := by |
| 105 | rw [←TwoSided.lefts] |
| 106 | exact (hf.less (by simp; omega : 1+(l.map TwoSided.l).length ≤ _)).series _ |
| 107 | have ht := hh.approach (TwoSided.l A) |
| 108 | simp_rw [TwoSided.vary_l] at ht |
| 109 | change HasDerivAt _ (deriv (fun t : ℝ => leftDerivs g l (increment U (t • A))) 0) 0 |
| 110 | exact ht.differentiableAt.hasDerivAt |
| 111 | |
| 112 | def pack (q : Pack n) : Pack n := ⟨⟨twist s b q.zone, twist s b q.flagsAt⟩,q.property.1.image _, Finset.image_subset_image q.property.2⟩ |
| 113 | |
| 114 | def vehicle : Equiv.Perm (Pack n) := Equiv.ofBijective (pack s b) (Finite.injective_iff_bijective.mp (by |
| 115 | intro i j he |
| 116 | have hx := congrArg Pack.zone he; have hy := congrArg Pack.flagsAt he |
| 117 | apply Subtype.ext; exact Prod.ext (Finset.image_injective (flip s b).injective hx) (Finset.image_injective (flip s b).injective hy))) |
| 118 | |
| 119 | lemma notice {P : BudgetPoint} {F : Config G n → ℂ} {q : Pack n} (h : Legible P q F) (χ) : Legible P (pack s b q) (oriented F χ s b) := by |
| 120 | refine ⟨measurable s b F h.borel χ, same s b F h.symmetry χ, fun U V he hi => congrArg (hand χ) |
| 121 | (h.reads _ _ (agreement s b q.zone U V he) ?_), fun U hu => ?_⟩ |
| 122 | · change twist s b q.zone ∩ _=twist s b q.zone ∩ _ at hi |
| 123 | rw [← intersection,← intersection] at hi; exact Finset.image_injective (flip s b).injective hi |
| 124 | have hp : F (pull s b U) ≠ 0 := by |
| 125 | intro hh; exact hu (by unfold Push.RelayDifference.oriented; rw [hh]; cases χ <;> simp [hand]) |
| 126 | change twist s b _ ∩ _=_ |
| 127 | rw [← intersection, h.inventory _ hp]; rfl |
| 128 | end YM.MultiNext.SignedSource.View |