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.EveryPhase.DerivativeHelpers |
| 2 | |
| 3 | /-! |
| 4 | # Don't lose the differential system at Wick rotation |
| 5 | |
| 6 | Compatibility consumer, using the common input and the *actual* |
| 7 | realizations. Establish analytic continuation of the Euclidean derivative |
| 8 | identities to the full tube, distribution derivative identity on the |
| 9 | Schwartz boundary, and operator identity on the field-word domain. In |
| 10 | particular the stated adjoint and spacelike commutation laws for the fields on |
| 11 | the word domain can be used coherently even when using a known `DiffPlan` |
| 12 | (raising the degree), and there is a conservation identity on that domain. No |
| 13 | claim of commutation on extended domains (adjoints etc.). This is not an assumption of Ward identities |
| 14 | on the Lorentz side. Do not infer Euclidean contact identities *on* |
| 15 | coincidence sets. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Next.BOUNDARY |
| 21 | open Set Filter Function MeasureTheory Complex Analysis |
| 22 | open Boundary OS Spec Org |
| 23 | open Work.C20 |
| 24 | open scoped Topology InnerProductSpace BigOperators ContDiff LineDeriv |
| 25 | |
| 26 | variable {G : Gauge} {L : Register G} {n : ℕ} |
| 27 | |
| 28 | /-- Euclidean time derivative analytically rotates with **plus** i on |
| 29 | field correlations. Will put **minus i** on test functions. -/ |
| 30 | def wick (a : Axis) : ℂ := if a=timeAxis then I else 1 |
| 31 | lemma wick_ne_zero (a : Axis) : wick a≠0 := by unfold wick; split <;> simp |
| 32 | |
| 33 | def realPartL (n : ℕ) : Points n →L[ℝ] Full n := LinearMap.toContinuousLinearMap |
| 34 | { toFun := fun x => glow x 0 |
| 35 | map_add' := fun x y => by ext1 i; simp [glow] |
| 36 | map_smul' := fun c x => by ext1 i; simp [glow, real_smul] } |
| 37 | |
| 38 | theorem wick_dir (i : Fin n) (a : Axis) : |
| 39 | wickSlice n (Points.direction i a) = wick a • realPartL n (Points.direction i a) := by |
| 40 | ext1 j |
| 41 | rcases j with ⟨j,b⟩ |
| 42 | change (wickSlice n _ : Full n) (j,b) = wick a * glow _ 0 (j,b) |
| 43 | rw [wick_apply] |
| 44 | by_cases h : j=i |
| 45 | · subst j |
| 46 | by_cases hb : b=a <;> simp [Points.direction, glow, wick, hb] |
| 47 | simp [Points.direction, glow, h] |
| 48 | |
| 49 | private theorem real_movement (x y : Points n) : |
| 50 | HasFDerivAt (fun x => glow x y) (realPartL n) x := by |
| 51 | have hp : (fun x : Points n => glow x y) = fun x => realPartL n x + glow 0 y := by |
| 52 | funext z |
| 53 | ext1 i |
| 54 | change glow z y i=glow z 0 i + glow 0 y i |
| 55 | simp [glow] |
| 56 | rw [hp] |
| 57 | exact (realPartL n).hasFDerivAt.add_const _ |
| 58 | |
| 59 | private lemma inside_convex : Convex ℝ Mink.inside := by |
| 60 | intro x hx y hy c d hc hd h |
| 61 | change ‖spatial _‖<time _ |
| 62 | simp only [Mink.clock_add, Mink.rest_add, Mink.clock_mul, Mink.rest_mul] |
| 63 | refine lt_of_le_of_lt (norm_add_le _ _) ?_ |
| 64 | rw [norm_smul, norm_smul, Real.norm_eq_abs, Real.norm_eq_abs, abs_of_nonneg hc, abs_of_nonneg hd] |
| 65 | rcases hc.eq_or_lt with e|e |
| 66 | · have hh : 0<d := by linarith |
| 67 | rw [← e, zero_mul, zero_mul, zero_add, zero_add]; exact mul_lt_mul_of_pos_left hy hh |
| 68 | exact add_lt_add_of_lt_of_le (mul_lt_mul_of_pos_left hx e) (mul_le_mul_of_nonneg_left hy.le hd) |
| 69 | |
| 70 | private def shadeL (n : ℕ) : Full n →ₗ[ℝ] Points n where |
| 71 | toFun := shade |
| 72 | map_add' := by intro x y; ext i j; change ((x+y) (i,j)).im=(x (i,j)).im+(y (i,j)).im; simp |
| 73 | map_smul' := by |
| 74 | intro c x |
| 75 | ext i j |
| 76 | change ((c • x) (i,j)).im=c*(x (i,j)).im |
| 77 | simp [real_smul] |
| 78 | |
| 79 | private theorem tube_connected (n : ℕ) : IsPreconnected (tube n) := by |
| 80 | have h : Convex ℝ (fields n) := by |
| 81 | apply convex_iInter |
| 82 | intro i |
| 83 | refine convex_iInter fun j => convex_iInter fun _ => ?_ |
| 84 | exact inside_convex.linear_preimage |
| 85 | ((PiLp.projₗ (𝕜:=ℝ) 2 (fun _ : Fin n => E4) j)-(PiLp.projₗ (𝕜:=ℝ) 2 (fun _ : Fin n => E4) i)) |
| 86 | exact (h.linear_preimage (shadeL n)).isPreconnected |
| 87 | |
| 88 | theorem emit_root {S T : Table L} {F : Waves S} {Y : Surface S} |
| 89 | {D : ∀ n, Blanket n} {Z : Y.Aurora D} (hT : F.Region T) (hF : Z.FullBody F) |
| 90 | (w : Fin n → S.Tag) {q : Points n} (h : q∈Work.C20.ordered n) : |
| 91 | Z.emit (Bid.ink w) (wickSlice n q)=S.useAt T q w := by |
| 92 | let t := Boundary.trace q |
| 93 | have hy : readings q ∈ east n := h |
| 94 | have hspace : Boundary.trace (place t 0) = t := by funext i; simp [Boundary.trace, place, t] |
| 95 | have htime : shift (place t 0) (readings q) = (fun i => (readings q i : ℂ)*I) := by |
| 96 | funext i |
| 97 | simp [shift, place] |
| 98 | rw [wick_glow, hF.pure n _ _ _ hy, Waves.restricted, htime, hspace, show F.F n _ _ (Bid.ink w) = _ from |
| 99 | hT.roots n w _ _ hy] |
| 100 | congr 1 |
| 101 | exact place_same _ |
| 102 | |
| 103 | variable {S T : Table L} |
| 104 | variable {D : ∀ n, Blanket n} {W : Surface S} {F : Waves S} {Z : W.Aurora D} |
| 105 | |
| 106 | /-- Full-tube identity for a derivative in one slot, with common labels. -/ |
| 107 | theorem field_jet (P : DiffPlan S) (ht : T.Hierarchy) (hs : S.Symmetric) |
| 108 | (hv : P.Inclusions S) (hu : P.Derivatives T) (hF : F.Region T) (hZ : Z.FullBody F) |
| 109 | (v : Fin n → S.Union) (i : Fin n) (a : Axis) (d : ℕ) (t : S.Field d) : |
| 110 | EqOn (Z.emit (update v i (S.pin (d+1) (P.deriv d a t)))) |
| 111 | (fun p => fderiv ℂ (Z.emit (update v i (S.pin d t))) p (wickSlice n (Points.direction i a))) |
| 112 | (tube n) := by |
| 113 | obtain ⟨e, E, he⟩ := P.joint hs hv v |
| 114 | let w : Fin n → S.Tag := fun j => ⟨e,E j⟩ |
| 115 | let u := update v i (S.pin d t) |
| 116 | let r := update v i (S.pin (d+1) (P.deriv d a t)) |
| 117 | let x : Fin n → S.Tag := update w i ⟨d,t⟩ |
| 118 | let y : Fin n → S.Tag := update w i ⟨d+1,P.deriv d a t⟩ |
| 119 | have h (t : S.Tag) : Bid.ink (update w i t) = update v i (S.pin t.1 t.2) := by |
| 120 | funext j |
| 121 | by_cases e : j=i |
| 122 | · subst j |
| 123 | unfold Bid.ink |
| 124 | rw [update_self, update_self] |
| 125 | unfold Bid.ink |
| 126 | rw [update_of_ne e, update_of_ne e, he] |
| 127 | rfl |
| 128 | let A := wickSlice n |
| 129 | let g (p : Full n) := fderiv ℂ (Z.emit u) p (A (Points.direction i a)) |
| 130 | have hp (q) (hq : q∈ordered n) : Z.emit r (A q)=g (A q) := by |
| 131 | have hf : Z.emit u ∘ A =ᶠ[𝓝 q] (fun b => S.useAt T b x) := by |
| 132 | filter_upwards [(ordered_open n).mem_nhds hq] with j hj |
| 133 | change Z.emit u _=_ |
| 134 | rw [show u=Bid.ink x from (h (⟨d,t⟩ : S.Tag)).symm] |
| 135 | exact emit_root hF hZ _ hj |
| 136 | rw [show r=Bid.ink y from (h (⟨d+1,P.deriv d a t⟩ : S.Tag)).symm, emit_root hF hZ y hq] |
| 137 | have heq : q∈conf n := place_same q ▸ clear (show readings q∈east n from hq) (Boundary.trace q) |
| 138 | rw [show S.useAt T q y=_ from P.derivative_slot hu ht.laws.toSymmetric ht.smooth heq i w t a] |
| 139 | change Analysis.D (Points.direction i a) (fun b => S.useAt T b x) q=g _ |
| 140 | rw [GermD _ hf.symm] |
| 141 | have hh := hZ.hol n u (A q) (wick_tube hq) |
| 142 | rw [Analysis.D, ((hh.differentiableAt.hasFDerivAt.restrictScalars ℝ).comp _ A.hasFDerivAt).fderiv] |
| 143 | rfl |
| 144 | have ha : AnalyticOnNhd ℂ g (tube n) := fun p hq => |
| 145 | ((ContinuousLinearMap.apply ℂ ℂ (A (Points.direction i a))).analyticAt _).comp ((hZ.hol n u p hq).fderiv) |
| 146 | have hb := hZ.hol n r |
| 147 | let q := place 0 (rate n) |
| 148 | have hQ : q∈ordered n := by |
| 149 | change readings q∈east n |
| 150 | unfold q; rw [readings_place] |
| 151 | intro i j hij |
| 152 | unfold rate |
| 153 | exact_mod_cast hij |
| 154 | have hm : A q∈tube n := wick_tube hQ |
| 155 | apply hb.eqOn_of_preconnected_of_eventuallyEq ha (tube_connected n) hm |
| 156 | apply Work.C20.complex_germ (M:=A) (hb _ hm) (ha _ hm) (Work.C20.wick_span n) |
| 157 | intro j |
| 158 | have heq : Z.emit r ∘ A =ᶠ[𝓝 q] g ∘ A := by |
| 159 | filter_upwards [(ordered_open n).mem_nhds hQ] with p h using hp p h |
| 160 | exact (heq.iteratedFDeriv ℝ j).eq_of_nhds |
| 161 | |
| 162 | def testAxis (i : Fin n) (a : Axis) (f : Joint n) : Joint n := |
| 163 | (-wick a) • (∂_{Points.direction i a} f) |
| 164 | |
| 165 | /-- Distribution identity even at all fixed strictly interior shifts. -/ |
| 166 | theorem inserted_jet (P : DiffPlan S) (ht : T.Hierarchy) (hs : S.Symmetric) |
| 167 | (hv : P.Inclusions S) (hu : P.Derivatives T) (hF : F.Region T) (hZ : Z.FullBody F) |
| 168 | (v : Fin n → S.Union) (i : Fin n) (a : Axis) (d : ℕ) (t : S.Field d) |
| 169 | (f : Joint n) (y : Points n) (hy : y∈fields n) : |
| 170 | (∫ x, Z.emit (update v i (S.pin (d+1) (P.deriv d a t))) (glow x y)*f x) = |
| 171 | ∫ x, Z.emit (update v i (S.pin d t)) (glow x y)*testAxis i a f x := by |
| 172 | let A := Z.emit (update v i (S.pin d t)) |
| 173 | let B (x : Points n) := A (glow x y) |
| 174 | let e := Points.direction i a |
| 175 | let c := wick a |
| 176 | have hw (x : Points n) : glow x y ∈ tube n := by change shade _ ∈ fields n; rwa [im_glow] |
| 177 | have h (x : Points n) : HasFDerivAt B (((fderiv ℂ A (glow x y)).restrictScalars ℝ).comp (realPartL n)) x := by |
| 178 | have hp : HasFDerivAt A ((fderiv ℂ A (glow x y)).restrictScalars ℝ) ((fun x => glow x y) x) := |
| 179 | (hZ.hol n (update v i (S.pin d t)) (glow x y) (hw x)).differentiableAt.hasFDerivAt.restrictScalars ℝ |
| 180 | exact hp.comp x (real_movement x y) |
| 181 | have hc (x : Points n) : Z.emit (update v i (S.pin (d+1) (P.deriv d a t))) (glow x y)= |
| 182 | c*fderiv ℝ B x e := by |
| 183 | rw [field_jet P ht hs hv hu hF hZ v i a d t (hw x), wick_dir] |
| 184 | dsimp only |
| 185 | rw [map_smul, (h x).fderiv] |
| 186 | rfl |
| 187 | have hd (x : Points n) : testAxis i a f x=-c*fderiv ℝ f x e := by |
| 188 | unfold testAxis |
| 189 | rw [_root_.smul_apply, SchwartzMap.lineDerivOp_apply_eq_fderiv] |
| 190 | rfl |
| 191 | have hI : Integrable (fun x => c*(fderiv ℝ B x e*f x)) := by |
| 192 | have he := hZ.leaned _ (update v i (S.pin (d+1) (P.deriv d a t))) y hy f |
| 193 | simpa only [hc, mul_assoc] using he |
| 194 | have hk : Integrable (fun x => fderiv ℝ B x e*f x) := by |
| 195 | have he := hI.const_mul (c⁻¹) |
| 196 | simpa only [← mul_assoc c⁻¹, inv_mul_cancel₀ (wick_ne_zero a), one_mul, c] using he |
| 197 | have hl : Integrable (fun x => B x*fderiv ℝ f x e) := by |
| 198 | have he : Integrable (fun x => B x * (∂_{e} f : Joint n) x) := hZ.leaned n (update v i (S.pin d t)) y hy _ |
| 199 | simpa only [SchwartzMap.lineDerivOp_apply_eq_fderiv] using he |
| 200 | have hr := integral_mul_fderiv_eq_neg_fderiv_mul_of_integrable hk hl |
| 201 | (show Integrable (fun x => B x * f x) from hZ.leaned n (update v i (S.pin d t)) y hy f) |
| 202 | (fun x _ => (h x).differentiableAt) (fun _ _ => f.differentiableAt) |
| 203 | simp_rw [hc, hd] |
| 204 | change (∫ x, (c*_*_ : ℂ))=(∫ x, B x*(-c*fderiv ℝ f x e)) |
| 205 | simp_rw [mul_assoc, show ∀ x : Points n, B x*(-c*fderiv ℝ f x e)=-c*(B x*fderiv ℝ f x e) from fun x => mul_left_comm ..] |
| 206 | rw [integral_const_mul, integral_const_mul, hr, neg_mul_neg] |
| 207 | |
| 208 | open Distribution in |
| 209 | theorem distribution_jet (P : DiffPlan S) (ht : T.Hierarchy) (hs : S.Symmetric) |
| 210 | (hv : P.Inclusions S) (hu : P.Derivatives T) (hF : F.Region T) (hZ : Z.FullBody F) |
| 211 | (v : Fin n → S.Union) (i : Fin n) (a : Axis) (d : ℕ) (t : S.Field d) |
| 212 | (f : Joint n) (y : Points n) (hy : y∈shores n) : |
| 213 | (D n).partialD (W.W n (update v i (S.pin (d+1) (P.deriv d a t)))) y f = |
| 214 | (D n).partialD (W.W n (update v i (S.pin d t))) y (testAxis i a f) := by |
| 215 | haveI := towards_shore hy |
| 216 | exact tendsto_nhds_unique_of_eventuallyEq (Z.sees hZ _ y hy (blankets D n) _) |
| 217 | (Z.sees hZ _ y hy (blankets D n) _) (Eventually.mono self_mem_nhdsWithin |
| 218 | (fun x hx => inserted_jet P ht hs hv hu hF hZ v i a d t f x hx)) |
| 219 | |
| 220 | theorem boundary_derivative (P : DiffPlan S) (ht : T.Hierarchy) (hs : S.Symmetric) |
| 221 | (hv : P.Inclusions S) (hu : P.Derivatives T) (hF : F.Region T) (hZ : Z.FullBody F) |
| 222 | (hc : Bid.cones W) (v : Fin n → S.Union) (i : Fin n) (a : Axis) (d : ℕ) (t : S.Field d) |
| 223 | (f : Joint n) : |
| 224 | W.W n (update v i (S.pin (d+1) (P.deriv d a t))) f = |
| 225 | W.W n (update v i (S.pin d t)) (testAxis i a f) := by |
| 226 | have he := distribution_jet P ht hs hv hu hF hZ v i a d t f 0 (flat n) |
| 227 | rwa [Blanket.flatD _ (blankets D n) (hc n _), Blanket.flatD _ (blankets D n) (hc n _)] at he |
| 228 | |
| 229 | def probeAxis (a : Axis) (f : Test4) : Test4 := (-wick a) • (∂_{basis a} f) |
| 230 | |
| 231 | theorem testAxis_product (i : Fin n) (a : Axis) (g : Fin n → Test4) (f : Test4) : |
| 232 | testAxis i a (Joint.materialize n (update g i f)) = |
| 233 | Joint.materialize n (update g i (probeAxis a f)) := by |
| 234 | let p := Points.direction i a |
| 235 | let F (x : Points n) := ∏ j ∈ Finset.univ.erase i, g j (x j) |
| 236 | have hp (f : Test4) (x : Points n) : Joint.materialize n (update g i f) x=f (x i)*F x := by |
| 237 | rw [Joint.material_at, ← Finset.mul_prod_erase _ _ (Finset.mem_univ i), update_self] |
| 238 | congr 1 |
| 239 | exact Finset.prod_congr rfl fun j hj => by rw [update_of_ne (Finset.mem_erase.mp hj).1] |
| 240 | have h (x : Points n) : lineDeriv ℝ (Joint.materialize n (update g i f)) x p = |
| 241 | lineDeriv ℝ f (x i) (basis a) * F x := by |
| 242 | have H (t : ℝ) : F (x+t • p) = F x := by |
| 243 | exact Finset.prod_congr rfl fun j hj => by |
| 244 | have hji : j ≠ i := (Finset.mem_erase.mp hj).1 |
| 245 | simp [p, Points.direction, hji] |
| 246 | rw [lineDeriv] |
| 247 | simp_rw [hp, H] |
| 248 | have he : (fun t : ℝ => f ((x+t • p) i)) = fun t => f (x i+t • basis a) := by |
| 249 | funext t |
| 250 | simp [p, Points.direction] |
| 251 | change deriv (fun t => (fun t : ℝ => f ((x+t • p) i)) t * F x) 0 = _ |
| 252 | rw [he] |
| 253 | exact ((f.differentiableAt.lineDifferentiableAt.hasLineDerivAt).mul_const (F x)).deriv |
| 254 | ext1 x |
| 255 | unfold testAxis |
| 256 | rw [_root_.smul_apply, hp, probeAxis, _root_.smul_apply, SchwartzMap.lineDerivOp_apply, |
| 257 | SchwartzMap.lineDerivOp_apply, h] |
| 258 | simp [mul_assoc] |
| 259 | |
| 260 | -- Shift `testAxis_product` to the slot *between* A and B. Fin.append |
| 261 | -- construction as in Work.C29. |
| 262 | private lemma expect_jet (P : DiffPlan S) (ht : T.Hierarchy) (hs : S.Symmetric) |
| 263 | (hv : P.Inclusions S) (hu : P.Derivatives T) (hF : F.Region T) (hZ : Z.FullBody F) (hc : Bid.cones W) |
| 264 | (A B : Sentence S) (a : Axis) (d : ℕ) (t : S.Field d) (f : Test4) : |
| 265 | W.expect (A++(S.pin (d+1) (P.deriv d a t),f)::B)=W.expect (A++(S.pin d t,probeAxis a f)::B) := by |
| 266 | let n := A.length+(B.length+1) |
| 267 | let s (x : Letter S) : Fin n → Letter S := Fin.append A.get (Fin.cons x B.get) |
| 268 | let i : Fin n := Fin.natAdd A.length (0:Fin (B.length+1)) |
| 269 | have h (x y : Letter S) : s x = update (s y) i x := by |
| 270 | funext j |
| 271 | refine Fin.addCases (fun j => ?_) (fun j => ?_) j |
| 272 | · have he : Fin.castAdd (B.length+1) j ≠ i := fun h => by |
| 273 | have hj : j.val=A.length+0 := congr_arg (fun u : Fin n => u.val) h |
| 274 | omega |
| 275 | simp [he, s] |
| 276 | induction j using Fin.cases with |
| 277 | | zero => simp [s, i] |
| 278 | | succ j => |
| 279 | rw [update_of_ne (show Fin.natAdd A.length j.succ ≠ i from |
| 280 | fun e => by |
| 281 | have hj : A.length+(j.val+1)=A.length+0 := congr_arg Fin.val e |
| 282 | omega)]; simp [s] |
| 283 | have e (x : S.Union) (f : Test4) : |
| 284 | W.expect (A++(x,f)::B)=W.W n (update (Prod.fst ∘ s (0,0)) i x) |
| 285 | (Joint.materialize n (update (Prod.snd ∘ s (0,0)) i f)) := by |
| 286 | rw [show A++(x,f)::B=List.ofFn (s (x,f)) by |
| 287 | dsimp only [s, n]; rw [List.ofFn_fin_append, List.ofFn_cons, List.ofFn_get, List.ofFn_get], Work.C29.expectOfFn, h (x,f) (0,0), |
| 288 | Function.comp_update, Function.comp_update] |
| 289 | rw [e, e, boundary_derivative P ht hs hv hu hF hZ hc _ i a d t, testAxis_product] |
| 290 | |
| 291 | -- A general usage rule on the common unbounded field domain |
| 292 | lemma on_domain {T : Wightman S} {R : S.Rotation} {h : S.RealSpin} (H : FieldCore W R h T) |
| 293 | (A B : T.operators.domain →ₗ[ℂ] T.operators.domain) |
| 294 | (p : ∀ i j, inner ℂ (T.operators.vector i) (A (T.operators.evaluates j)).val= |
| 295 | inner ℂ (T.operators.vector i) (B (T.operators.evaluates j)).val) : A=B := by |
| 296 | let Q := T.operators |
| 297 | have he j : A (Q.evaluates j)=B (Q.evaluates j) := by |
| 298 | apply Subtype.ext |
| 299 | refine (Kernel.Gram.whole H.soil).eq_of_inner_right ℂ fun f => ?_ |
| 300 | induction f using Finsupp.induction_linear with |
| 301 | | zero => simp |
| 302 | | add a b ha hb => simp only [map_add, inner_add_left, ha, hb] |
| 303 | | single k w => |
| 304 | simp only [Kernel.Gram.stems, Finsupp.linearCombination_single, inner_smul_left] |
| 305 | rw [p k j] |
| 306 | have hv : Q.domain=Submodule.span ℂ (Set.range Q.vector) := H.total.cyclic |
| 307 | have hs (x : Q.H) (hx : x∈Submodule.span ℂ (Set.range Q.vector)) : |
| 308 | A ⟨x, hv.symm ▸ hx⟩=B ⟨x, hv.symm ▸ hx⟩ := by |
| 309 | induction hx using Submodule.span_induction with |
| 310 | | mem x hx => |
| 311 | obtain ⟨j, rfl⟩ := hx |
| 312 | exact he j |
| 313 | | zero => exact (map_zero A).trans (map_zero B).symm |
| 314 | | add x y hx hy hp hq => |
| 315 | change A ((⟨x, hv.symm ▸ hx⟩:Q.domain)+⟨y,hv.symm ▸ hy⟩) = B (⟨x,hv.symm ▸ hx⟩+⟨y,hv.symm ▸ hy⟩) |
| 316 | rw [map_add, map_add, hp, hq] |
| 317 | | smul c x hx h => |
| 318 | change A (c • (⟨x,hv.symm ▸ hx⟩:Q.domain))=B (c • (⟨x,hv.symm ▸ hx⟩:Q.domain)) |
| 319 | rw [map_smul, map_smul, h] |
| 320 | exact LinearMap.ext fun v => hs v.val (hv ▸ v.property) |
| 321 | |
| 322 | theorem derivative_domain (P : DiffPlan S) (ht : T.Hierarchy) (hs : S.Symmetric) |
| 323 | (hv : P.Inclusions S) (hu : P.Derivatives T) (hF : F.Region T) (hZ : Z.FullBody F) |
| 324 | (hc : Bid.cones W) {Q : Wightman S} {R : S.Rotation} {h : S.RealSpin} (H : FieldCore W R h Q) |
| 325 | (a : Axis) (d : ℕ) (t : S.Field d) (f : Test4) : |
| 326 | Q.operators.field (S.pin (d+1) (P.deriv d a t)) f = Q.operators.field (S.pin d t) (probeAxis a f) := by |
| 327 | refine on_domain H _ _ fun i j => ?_ |
| 328 | change |
| 329 | inner ℂ (Q.operators.vector i) (Q.operators.vector ((S.pin (d+1) (P.deriv d a t),f)::j)) = |
| 330 | inner ℂ (Q.operators.vector i) (Q.operators.vector ((S.pin d t,probeAxis a f)::j)) |
| 331 | rw [Q.operators.general W H.meets Q.J H.adj, Q.operators.general W H.meets Q.J H.adj] |
| 332 | exact expect_jet P ht hs hv hu hF hZ hc (Sentence.rev Q.J i) j a d t f |
| 333 | |
| 334 | section consumer |
| 335 | variable {C : Family G} {S T : Table C.book} {V : Chamber T timeAxis} |
| 336 | {A : Spread V} {B : Contour S} {X : Algebra S} {Q : Wightman S} {f : Extraction.Order} |
| 337 | |
| 338 | lemma reads_derivative (H : Bid.Pantry S T V X.derivatives A) |
| 339 | (c : Compatible S A X Q.spin H.head.spin B) (hc : FieldCore B.world X.turns H.head.spin Q) |
| 340 | (a : Axis) (d : ℕ) (v : S.Field d) (z : Test4) : Q.operators.field |
| 341 | (S.pin (d+1) (X.derivatives.deriv d a v)) z = Q.operators.field (S.pin d v) (probeAxis a z) := by |
| 342 | obtain ⟨Y, -, hY⟩ := c.reveals |
| 343 | have u := (hY Q.J hc.induced).1 |
| 344 | obtain ⟨D, F, hm⟩ := u.visible |
| 345 | exact derivative_domain X.derivatives H.adopted H.head.laws.toSymmetric H.rises |
| 346 | H.Der Y.birth hm.2 (spectra u.I) hc a d v z |
| 347 | |
| 348 | theorem final_derivative (F : Final C f S) (a : Axis) (d : ℕ) (x : C.book.Ref d) (t : Test4) : |
| 349 | F.action.operators.field |
| 350 | (S.pin (d+1) (F.sector.derivatives.deriv d a (S.project d x))) t = |
| 351 | F.action.operators.field (S.pin d (S.project d x)) (probeAxis a t) := |
| 352 | reads_derivative (selected_pantry (s:=F.room) F.phase) (onFinal F).2 |
| 353 | (FieldCore.of_realizes F.realization.qt) a d _ t |
| 354 | |
| 355 | /-- A conservation test in this convention (in SMEARING signs). |
| 356 | The labels are *Euclidean-normalized components*; we haven't absorbed |
| 357 | Wick factors into the labels or made any self-adjointness claim. -/ |
| 358 | theorem conserves (F : Final C f S) (a : Axis) (t : Test4) : |
| 359 | (∑ b : Axis, F.action.operators.field (S.pin 4 (F.sector.energy b a)) (probeAxis b t)) = 0 := by |
| 360 | let P := F.action.operators |
| 361 | let V := F.sector.derivatives |
| 362 | have he (b : Axis) : P.field (S.pin 4 (F.sector.energy b a)) (probeAxis b t) = |
| 363 | P.field (S.pin 5 (V.deriv 4 b (F.sector.energy b a))) t := |
| 364 | (reads_derivative (selected_pantry (s:=F.room) F.phase) (onFinal F).2 |
| 365 | (FieldCore.of_realizes F.realization.qt) b 4 _ t).symm |
| 366 | change (∑ b : Axis, P.field _ _)=0 |
| 367 | simp_rw [he] |
| 368 | have H := F.phase.transport.conserved.divergence a |
| 369 | rw [← LinearMap.sum_apply, ← map_sum, ← map_sum, H]; simp |
| 370 | end consumer |
| 371 | end YM.Next.BOUNDARY |