Formalism/HermitianCurvature/HermitianCurvatureProofs/CutMainCpt.lean
851refine Finset.sum_congr rfl fun j _ => ?_852rw [map_smul, smul_smul]853rw [e]854have h3 := hCi i x hx D hD855have hsq := Real.sqrt_nonneg (c i)856calc √(c i) * ‖L i (∑ j ∈ Finset.insertNone (G.rootSet s (epsT s * D)),857(coT s x j * (omT p w.length (ptT s h x D j) : ℂ)) • p.V (Fi i) (ptT s h x D j))‖858≤ √(c i) * (‖L i‖ * ‖∑ j ∈ Finset.insertNone (G.rootSet s (epsT s * D)),859(coT s x j * (omT p w.length (ptT s h x D j) : ℂ)) • p.V (Fi i) (ptT s h x D j)‖) :=860mul_le_mul_of_nonneg_left (ContinuousLinearMap.le_opNorm _ _) hsq861_ ≤ √(c i) * (‖L i‖ * (Ci i * ‖x‖⁻¹)) :=862mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left h3 (norm_nonneg _)) hsq863_ = √(c i) * ‖L i‖ * Ci i * ‖x‖⁻¹ := by ring864·865intro σ z866have hbU : U.betaU = 2 * Complex.I := by867unfold U.betaU Formalism.QuantumDeterminants.cStd; ring868unfold P5.fsv G.psi869rw [hbU]870congr 1871apply Complex.ext <;> simp [Complex.mul_re, Complex.mul_im, Complex.conj_re, Complex.conj_im] <;> ring872·873intro t t' ht ht'874have hx : t⁻¹ ≠ 0 := inv_ne_zero ht875have hx' : t'⁻¹ ≠ 0 := inv_ne_zero ht'876have hg : PBK.gramL volume (PBK.Uc s fun _ : Unit => ut) (PBK.Uc s fun _ : Unit => ut) ((), t⁻¹) ((), t'⁻¹) =877∫ cc : ℂ, TBB.NP p nn F (P.r + 1) w ((h ++ [(s - 1, t')]) ++ [(1, cc)]) ((h ++ [(s - 1, t)]) ++ [(1, cc)]) := by878unfold PBK.gramL PBK.Uc879refine integral_congr_ae (Eventually.of_forall fun cc => ?_)880simp only [hut]881rw [cvec_utT p w.length c Fi L s h _ hx, cvec_utT p w.length c Fi L s h _ hx', inv_inv, inv_inv,882inner_vecT_np p nn F w c Fi L hV]883have hn : TBB.NP p nn F (b + s - 2) w (h ++ [(s - 1, t)]) (h ++ [(s - 1, t')]) =884conj (PBK.gramL volume (PBK.Uc s fun _ : Unit => ut) (PBK.Uc s fun _ : Unit => ut) ((), t⁻¹) ((), t'⁻¹)) := by885rw [hg, hr2, hV.fibre _ _ (hloc t ht) (hloc t' ht'), ← integral_conj]886refine integral_congr_ae (Eventually.of_forall fun cc => ?_)887simp only888rw [← inner_vecT_np p nn F w c Fi L hV, ← inner_vecT_np p nn F w c Fi L hV, inner_conj_symm]889rw [hn, RCLike.norm_conj, one_mul]890·891intro z hz892have hQ : TBB.Ew p nn F (b + s - 1) w (h ++ [(s, z)]) = ‖vecT p w.length c Fi L (h ++ [(s, z)])‖ ^ 2 := by893unfold TBB.Ew894rw [hr1, ← inner_vecT_np p nn F w c Fi L hV, inner_self_eq_norm_sq_to_K]895norm_cast896have hbz : PBK.bz s bt z = ((Real.pi ^ (s - 1) : ℝ) : ℂ) • vecT p w.length c Fi L (h ++ [(s, z)]) := by897simp only [PBK.bz, hbt, btT, if_neg hz, smul_smul, ← Complex.ofReal_mul]898congr 2899have hpos : (0 : ℝ) < (s : ℝ) * ‖z‖ ^ (s - 1) := by900have : (0 : ℝ) < ‖z‖ ^ (s - 1) := pow_pos (norm_pos_iff.mpr hz) _