lemmaweak_test_identity {N : ℕ} (ψ : FormVectorN) (hψ : FormAdmissible ψ)
(i : FinN) (a : Fin3) (φ : Test (ConfigurationN)) (s : SpinsN) :
inner ℂ (manyTest (φ.deriv (direction i a)) s) (toMany ψ hψ.1) +
inner ℂ (manyTest φ s) (gradientMany ψ hψ i a) = 0:=by
proof · 13
lines
haveh2 : inner ℂ (manyTest φ s) (gradientMany ψ hψ i a) =
∫ x, ψ.gradient s i a x * (φ.fn x : ℂ) :=
manyTest_inner (gradientVector ψ i a) (fun s => hψ.2.1 s i a) φ s
rw [manyTest_inner, h2]
have hw := hψ.2.2.1 s i a φ.fn φ.smooth φ.compact
havehe : (∫ x, ψ.value s x * ((φ.deriv (direction i a)).fn x : ℂ)) =
∫ x, ψ.value s x * Complex.ofReal (lineDeriv ℝ φ.fn x (direction i a)) :=by
apply integral_congr_ae
filter_upwards [] with x
rw [(φ.smooth.differentiable (by simp) x).lineDeriv_eq_fderiv]
rfl
rw [he,hw]
simp