Formalism/HermitianCurvature/HermitianCurvatureProofs/CutMainCpt.lean
601rwa [show b - 1 + (s - 1) = b + s - 2 by omega] at this602603have hgram : ∀ x x' : ℂ, x ≠ 0 → x' ≠ 0 →604∫ c, ⟪PBK.cvec s ut x c, PBK.cvec s ut x' c⟫_ℂ =605((κ * κ : ℝ) : ℂ) * TBB.NP p nn F (b + s - 2) w (h ++ [(s - 1, x⁻¹)]) (h ++ [(s - 1, x'⁻¹)]) := by606intro x x' hx hx'607obtain ⟨-, hfib⟩ := hFi hA Wp Wq P p nn F Y N Cb hCb hF hnn (b + s - 2) (by omega) w hw hN'608(h ++ [(s - 1, x⁻¹)]) (h ++ [(s - 1, x'⁻¹)]) (hloc _ (inv_ne_zero hx)) (hloc _ (inv_ne_zero hx'))609rw [hj] at hfib610rw [← hfib, ← integral_const_mul]611congr 1612funext c613rw [hcv x hx c, hcv x' hx' c, GermFibreKernels.inner_real_smul_smul, hVec]614615have hbz : ∀ z : ℂ, z ≠ 0 → PBK.bz s bt z = Vec (h ++ [(s, z)]) := by616intro z hz617simp only [PBK.bz, bt, if_neg hz, smul_smul, ← Complex.ofReal_mul]618rw [mul_inv_cancel₀, Complex.ofReal_one, one_smul]619have : (0 : ℝ) < ‖z‖ ^ (s - 1) := pow_pos (norm_pos_iff.mpr hz) _620have hs' : (0 : ℝ) < s := by exact_mod_cast Nat.pos_of_ne_zero hs0621positivity622623have hVecR : ∀ i (hi' : i = b + s - 1) a a', TBB.NP p nn F i w a a' = ⟪Vec a, Vec a'⟫_ℂ := by624intro i hi' a a'; subst hi'; exact hVec a a'625have hcont1 : ∀ t : ℂ, t ≠ 0 → ContinuousOn (fun c : ℂ => Vec ((h ++ [(s - 1, t)]) ++ [(1, c)])) {0}ᶜ := by626intro t ht627have hk := hCo hA Wp Wq P p nn F Y N Cb hCb hF hnn (b + s - 2) 1 le_rfl (by omega) w hw hN' _ (hloc t ht)628exact GermFibreKernels.vec_continuousOn _ Vec (hVecR _ hj) (fun c => (h ++ [(s - 1, t)]) ++ [(1, c)]) {0}ᶜ hk629have hcontS : ContinuousOn (fun z : ℂ => Vec (h ++ [(s, z)])) {0}ᶜ := by630have hk := hCo hA Wp Wq P p nn F Y N Cb hCb hF hnn (b - 1) s (by omega) (by omega) w hw hN' h hh631exact GermFibreKernels.vec_continuousOn _ Vec (hVecR _ (by omega)) (fun z => h ++ [(s, z)]) {0}ᶜ hk632633obtain ⟨B0, hB0⟩ := hBdd w (TBBx1.isExt_self hw hN')634refine ⟨H, i1, i2, i3, ut, bt, -U.betaU, (-1) ^ (s + 1), 1, κ * κ * B0, Real.pi ^ (2 * (s - 1)), 1,635zero_le_one, ?_, Or.inl rfl, ?_, gl_fsv, ?_, ?_⟩636· have h1 : (1 : ℝ) ≤ Real.pi := by linarith [Real.pi_gt_three]637exact one_le_mul_of_one_le_of_one_le h1 (one_le_pow₀ h1)638· have hae : ∀ᵐ z : ℂ ∂volume, z ∈ ({0}ᶜ : Set ℂ) :=639measure_eq_zero_iff_ae_notMem.mp (measure_singleton (0 : ℂ))640have hmeas0 : MeasurableSet ({0}ᶜ : Set ℂ) := (measurableSet_singleton 0).compl641refine ⟨hs0, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩642· unfold U.betaU Formalism.QuantumDeterminants.cStd643simp [Complex.I_ne_zero]644· simp [norm_pow]645·646intro _ _ x hx647refine (PBK.memLp_cvec s ut x hx).2 ?_648have hfun : PBK.cvec s ut x = fun c => (κ : ℂ) • Vec ((h ++ [(s - 1, x⁻¹)]) ++ [(1, c)]) := funext (hcv x hx)649rw [hfun]650refine MemLp.const_smul ?_ _