lemmaweightedMass_eq_integral {N : ℕ} (F : fermionGraph N)
(w : ConfigurationN→ℝ) (hm : Measurable w) {A : ℝ} (hb : ∀ x, ‖w x‖ ≤A) :
weightedMass F w = ∫ x, w x ∂graphRawLaw F:=by
proof · 2
lines
have hh := rawFormPair_eq_integral (graphFormVector_sobolev F).sobolevVector hm hb
simpa only [rawFormPair,weightedMass,graphFormVector_value_eq,formRawLaw_graph] using hh
lemmarawGradientWeight_le {N : ℕ} (p : SmoothMultiplier spaceDirections) {D : ℝ}
(hD : ∀ a x, |lineDeriv ℝ p.value x (spaceDirections a)| ≤D) (x : ConfigurationN) :
rawGradientWeight p x ≤3*N*D^2:=by
proof · 4
lines
calc
_ ≤∑_i : FinN, ∑_a : Fin3, D^2:=Finset.sum_le_sum fun i _ =>Finset.sum_le_sum fun a _ =>by simpa only [sq_abs] using pow_le_pow_left₀ (abs_nonneg _) (hD a (x i)) 2
_ = _ :=by simp; ring
graph_weight_integrable F _ (rawGradientWeight_measurable p) (fun x =>by
rw [Real.norm_of_nonneg (rawGradientWeight_nonneg p x)]; exact rawGradientWeight_le p hD x)
lemmagradientError_eq_integral {N : ℕ} (p : SmoothMultiplier spaceDirections)
(F : fermionGraph N) {D : ℝ} (hD : ∀ a x, |lineDeriv ℝ p.value x (spaceDirections a)| ≤D) :
oneBodyGradientError p F = ∫ x, rawGradientWeight p x ∂graphRawLaw F:=by
proof · 15
lines
have hm (i : FinN) (a : Fin3) : Measurable (funx : ConfigurationN=>
(lineDeriv ℝ p.value (x i) (spaceDirections a))^2) :=
(((smooth_lineDeriv_continuous p.regular (spaceDirections a)).comp (continuous_apply i)).pow 2).measurable
have hb (i : FinN) (a : Fin3) (x : ConfigurationN) :
‖(lineDeriv ℝ p.value (x i) (spaceDirections a))^2‖ ≤D^2:=by
rw [Real.norm_of_nonneg (sq_nonneg _)]
simpa only [sq_abs] using pow_le_pow_left₀ (abs_nonneg _) (hD a (x i)) 2have hi (i : FinN) (a : Fin3) := graph_weight_integrable F _ (hm i a) (hb i a)
rw [gradientError_eq_weightedMass]
simp_rw [weightedMass_eq_integral F _ (hm _ _) (hb _ _)]
unfold rawGradientWeight
rw [integral_finsetSum _ (fun i _ => integrable_finsetSum _ (fun a _ => hi i a))]
apply Finset.sum_congr rfl
intro i _
exact (integral_finsetSum _ (fun a _ => hi i a)).symm
lemmagraph_sub_value {N : ℕ} (FG : fermionGraph N) (s : SpinsN) :
∀ᵐ x, graphComponent s none (F-G) x = graphComponent s none F x-graphComponent s none G x :=by
proof · 3
lines
have he := map_sub (graphComponent s none) FG
rw [he]
exact Lp.coeFn_sub _ _
lemmafinite_apply_sum_value {α : Type*} {N : ℕ} (T : Finset α)
(p : α →FermionMultiplierN) (F : fermionGraph N) (s : SpinsN) :
∀ᵐ x, graphComponent s none (∑ k ∈T, (p k).apply F) x =
((∑ k ∈T, (p k).value x : ℝ) : ℂ)*graphComponent s none F x :=by
proof · 12
lines
classical
haveha : ∀ᵐ x : ConfigurationN, ∀ k ∈T,
graphComponent s none ((p k).apply F) x = ((p k).value x : ℂ)*graphComponent s none F x :=by
apply (ae_ball_iff T.finite_toSet.countable).mpr
intro k hk
exact (p k).apply_value F s
filter_upwards [ha,graph_sum_value T (fun k => (p k).apply F) s] with x ha hx
calc
_ = ∑ k ∈T, graphComponent s none ((p k).apply F) x := hx
_ = ∑ k ∈T, ((p k).value x : ℂ)*graphComponent s none F x :=Finset.sum_congr rfl ha
_ = (∑ k ∈T, ((p k).value x : ℂ))*graphComponent s none F x := (Finset.sum_mul ..).symm
_ = _ := congrArg (funz : ℂ=> z*graphComponent s none F x) (Complex.ofReal_sum _ _).symm
classical
apply graph_value_components_ext
intro s
apply Lp.ext
filter_upwards [finite_apply_sum_value T p F s,
graph_sub_value (q.apply F) (t.apply F) s,q.apply_value F s,t.apply_value F s] with x hx hs hq ht
calc
_ = ((∑ k ∈T, (p k).value x : ℝ) : ℂ)*graphComponent s none F x := hx
_ = ((q.value x-t.value x : ℝ) : ℂ)*graphComponent s none F x := congrArg (funz : ℝ=> (z:ℂ)*graphComponent s none F x) (he x)
_ = (q.value x : ℂ)*graphComponent s none F x-(t.value x : ℂ)*graphComponent s none F x := ofReal_sub_mul_complex _ _ _
_ = graphComponent s none ((q.apply F)-(t.apply F)) x := (congrArg₂ (funa b : ℂ=> a-b) hq ht).symm.trans hs.symm