import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralEvaluation import OAI.AlgebraicTopology.FundamentalClass.FormPartition /-! # Unsigned Chart Integral -/ namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.UnsignedChartIntegral.CM noncomputable section /-! ThetaCycle: the ordinary coefficient integral in a fixed real chart, including genuine smooth cutoffs and finite linear decompositions. -/ open Set _root_.MeasureTheory open OAI.AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction open scoped _root_.Manifold ContDiff variable {d : โ„•} {M : Type} [TopologicalSpace M] [ChartedSpace (Fin d โ†’ โ„) M] [IsManifold ๐“˜(โ„, Fin d โ†’ โ„) โˆž M] def unsignedChartIntegrand (e : OpenPartialHomeomorph M (Fin d โ†’ โ„)) : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d โ†’ โ„) M d โ†’โ‚—[โ„‚] ((Fin d โ†’ โ„) โ†’ โ„‚) where toFun form := e.target.indicator (fun y => form.val.inChart e y (Pi.basisFun โ„ (Fin d))) map_add' form other := by ext y by_cases hy : y โˆˆ e.target <;> simp [hy, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart] map_smul' c form := by ext y by_cases hy : y โˆˆ e.target <;> simp [hy, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart] theorem unsigned_chart_integrand_weight (e : OpenPartialHomeomorph M (Fin d โ†’ โ„)) (ฯ : M โ†’ โ„) (hฯ : ContMDiff ๐“˜(โ„, Fin d โ†’ โ„) ๐“˜(โ„, โ„) โˆž ฯ) (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d โ†’ โ„) M d) : unsignedChartIntegrand e (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm ฯ hฯ form) = Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff e ฯ (fun y => form.val.inChart e y (Pi.basisFun โ„ (Fin d))) := by ext y by_cases hy : y โˆˆ e.target ยท simp only [unsignedChartIntegrand, LinearMap.coe_mk, AddHom.coe_mk, Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff, indicator_of_mem hy, AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm_inChart, Complex.real_smul] ยท simp only [unsignedChartIntegrand, LinearMap.coe_mk, AddHom.coe_mk, Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff, indicator_of_notMem hy] omit [IsManifold ๐“˜(โ„, Fin d โ†’ โ„) โˆž M] in theorem unsigned_chart_integrand_support (e : OpenPartialHomeomorph M (Fin d โ†’ โ„)) (K : Set M) (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d โ†’ โ„) M d) (hform : โˆ€ x, x โˆ‰ K โ†’ form.val x = 0) : Function.support (unsignedChartIntegrand e form) โІ e '' K := by intro y hy have hyt : y โˆˆ e.target := by by_contra ht exact hy (by simp [unsignedChartIntegrand, ht]) have hx : e.symm y โˆˆ K := by by_contra hx have hz := hform (e.symm y) hx exact hy (by simp [unsignedChartIntegrand, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart, hz]) exact โŸจe.symm y, hx, e.right_inv hytโŸฉ omit [IsManifold ๐“˜(โ„, Fin d โ†’ โ„) โˆž M] in theorem unsigned_chart_integral_supported (e : OpenPartialHomeomorph M (Fin d โ†’ โ„)) (K : Set M) (V : Set (Fin d โ†’ โ„)) (hV : MeasurableSet V) (hVt : V โІ e.target) (hKV : e '' K โІ V) (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d โ†’ โ„) M d) (hform : โˆ€ x, x โˆ‰ K โ†’ form.val x = 0) : (โˆซ y in V, form.val.inChart e y (Pi.basisFun โ„ (Fin d))) = โˆซ y, unsignedChartIntegrand e form y := by have hz : โˆ€ y, y โˆ‰ V โ†’ unsignedChartIntegrand e form y = 0 := by intro y hy apply Function.notMem_support.mp intro hs exact hy (hKV (unsigned_chart_integrand_support e K form hform hs)) rw [โ† setIntegral_eq_integral_of_forall_compl_eq_zero hz] apply setIntegral_congr_fun hV intro y hy simp only [unsignedChartIntegrand, LinearMap.coe_mk, AddHom.coe_mk, indicator_of_mem (hVt hy)] variable [T2Space M] [CompactSpace M] omit [T2Space M] in theorem unsigned_chart_integrand_weight_integrable (e : OpenPartialHomeomorph M (Fin d โ†’ โ„)) (he : e โˆˆ atlas (Fin d โ†’ โ„) M) (ฯ : M โ†’ โ„) (hฯ : ContMDiff ๐“˜(โ„, Fin d โ†’ โ„) ๐“˜(โ„, โ„) โˆž ฯ) (hฯs : tsupport ฯ โІ e.source) (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d โ†’ โ„) M d) : Integrable (unsignedChartIntegrand e (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm ฯ hฯ form)) := by have hc : ContinuousOn (form.val.inChart e) e.target := by simpa only [Analysis.DifferentialForms.Manifold.Algebra.manifoldFormChartDomain, preimage_univ, inter_univ] using (form.smooth e he).continuousOn have hv := (continuous_eval_const (Pi.basisFun โ„ (Fin d) : Fin d โ†’ (Fin d โ†’ โ„))).comp_continuousOn hc rw [unsigned_chart_integrand_weight] exact (Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff_continuous e ฯ hฯ.continuous hฯs _ hv).integrable_of_hasCompactSupport (Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff_hasCompactSupport e ฯ hฯs _) end end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.UnsignedChartIntegral.CM