rw [formRawLaw_integral_eq_spin_sum hψ hg hB]
unfold spatialCutExpectation
rw [Finset.sum_comm]
apply Finset.sum_congr rfl
intro s _
have hi (c : FinN→Fin2) : Integrable (fun x =>
g x*‖(multiplyForm (spatialProduct p hp c) ψ).value s x‖^2) :=
(((hψ.multiply _).1 s).norm.integrable_sq).bdd_mul hg.aestronglyMeasurable (ae_of_all _ hB)
rw [←integral_finsetSum _ (fun c _ => hi c)]
apply integral_congr_ae (ae_of_all _ _)
intro x
rw [←Finset.mul_sum,finite_partition_value (spatialProduct p hp) (spatial_square_partition p hp)]
lemmaradialCut_outNumber_le_rawBall {N : ℕ} (y : Space) {t b R : ℝ}
(ht : 0≤ t) (hb : 0 < b) (hR : t+b ≤R)
(c : FinN→Fin2) (x : ConfigurationN)
(hx : (spatialProduct (coreFirstRadialCut y ht hb)
(coreFirstRadialCut_partition y ht hb) c).value x ≠0) :
(cutOutNumber c:ℝ) ≤ rawBallCount y R x :=by
proof · 9
lines
classical
rw [cutOutNumber_eq_sum]
apply Finset.sum_le_sum
intro i _
by_cases hi : c i ≠0
· have hd := lt_of_lt_of_le (radialCut_out_distance y ht hb c x hx i hi) hR
simp [hi,hd]
· simp only [hi,ite_false]
split_ifs <;> norm_num
lemmacutDeletedCount_measurable {N : ℕ} (y : Space) (t b : ℝ) (c : FinN→Fin2) :
Measurable (cutDeletedCount y t b c) :=by
proof · 6
lines
apply Finset.measurable_sum; intro i _
apply Measurable.ite _ measurable_const measurable_const
by_cases hc : c i ≠0
· simpa [hc] using (measurableSet_le (measurable_const (a := t-7*b))
(configuration_distance_measurable y i))
· simp [hc]
lemmaradialCut_deleted_le_rawStrip {N : ℕ} (y : Space) {t b : ℝ}
(ht : 0≤ t) (hb : 0 < b) (c : FinN→Fin2) (x : ConfigurationN)
(hx : (spatialProduct (coreFirstRadialCut y ht hb)
(coreFirstRadialCut_partition y ht hb) c).value x ≠0) :
cutDeletedCount y t b c x ≤ rawStripCount y t b x :=by
proof · 8
lines
apply Finset.sum_le_sum
intro i _
by_cases hh : c i ≠0∧ t-7*b ≤ ‖x i-y‖
· have hd := radialCut_out_distance y ht hb c x hx i hh.1havehs : ‖x i-y‖-b ≤ t ∧ t ≤ ‖x i-y‖+7*b := ⟨by linarith,by linarith [hh.2]⟩
simp [hh,slidingBit,hs]
· simp only [hh,ite_false]
exact slidingBit_nonneg _ _ _ _