import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealModelForms import OAI.AlgebraicTopology.FundamentalClass.ChartLocalEvaluation /-! # Integral Evaluation -/ namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralEvaluation.CM noncomputable section /-! ThetaCycle: actual integration against any integral top cycle whose local restriction is the geometric chart simplex class. The input concerns only the local homology restriction of that cycle. -/ open _root_.CategoryTheory Opposite Set _root_.MeasureTheory _root_.TopologicalSpace open OAI.AlgebraicTopology.FundamentalClass.ChartLocalEvaluation.IntegrationConstruction open scoped Simplicial _root_.Manifold ContDiff variable {d : β„•} {M : Type} [TopologicalSpace M] [ChartedSpace (Fin d β†’ ℝ) M] [IsManifold π“˜(ℝ, Fin d β†’ ℝ) ∞ M] def integralCycleEvaluation (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d β†’ ℝ) M d β†’β‚—[β„‚] β„‚ := ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of β„‚ β„‚) (TopCat.of M) d).flip (AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := β„‚) (TopCat.of M) d z)).comp (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.topIntegrationClass d M) variable [T2Space M] theorem integral_cycle_evaluation_small_chart (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) (e : OpenPartialHomeomorph M (Fin d β†’ ℝ)) (he : e ∈ atlas (Fin d β†’ ℝ) M) (K : Set M) (hK : IsCompact K) (hKs : K βŠ† e.source) (hchart : HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) Kᢜ) d z = AlgebraicTopology.FundamentalClass.IntegrationOrientation.Geometry.chartCompactClass e K hK hKs) (a : Fin d β†’ ℝ) (r : ℝ) (hr : 0 < r) (hKi : e '' K βŠ† AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d a r) (g : (Fin d β†’ ℝ) β†’ M) (hg : ContMDiff π“˜(ℝ, Fin d β†’ ℝ) π“˜(ℝ, Fin d β†’ ℝ) ∞ g) (hsource : βˆ€ x, x + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d ∈ AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube d β†’ g x ∈ e.source) (hcoords : βˆ€ x, x + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d ∈ AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube d β†’ e (g x) = AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.positiveAffine (Fin d β†’ ℝ) a r x) (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d β†’ ℝ) M d) (hform : βˆ€ x, x βˆ‰ K β†’ form.val x = 0) : integralCycleEvaluation z form = ∫ y in AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d a r, form.val.inChart e y (Pi.basisFun ℝ (Fin d)) := by let Οƒ : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex (Fin d β†’ ℝ) M).toSSet _⦋d⦌ := (AlgebraicTopology.Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothSingularMap (Fin d β†’ ℝ) (Fin d β†’ ℝ) g hg).app _ (AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.positiveSmoothSimplex d) have hΟƒsource : βˆ€ t, (TopCat.of M).toSSetObjEquiv (op ⦋d⦌) Οƒ.val t ∈ e.source := by intro t exact hsource (AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry.positiveSimplex d t) (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveSimplex_shift_mem_cube d t) have hΟƒcoords : βˆ€ t, e ((TopCat.of M).toSSetObjEquiv (op ⦋d⦌) Οƒ.val t) = AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.positiveAffine (Fin d β†’ ℝ) a r (AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry.positiveSimplex d t) := by intro t exact hcoords (AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry.positiveSimplex d t) (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveSimplex_shift_mem_cube d t) have hfaces := AlgebraicTopology.FundamentalClass.AffineCycle.IntegrationConstruction.chartSimplex_faces_avoid (X := TopCat.of M) e K a r hr hKi Οƒ.val hΟƒcoords let U : Opens M := ⟨Kᢜ, hK.isClosed.isOpen_compl⟩ have hclass : (1 : β„€) β€’ AlgebraicTopology.FundamentalClass.ProjectedClasses.IntegrationConstruction.projectedClass (TopCat.of M) U d (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := β„€) (TopCat.toSSet.obj (TopCat.of M)) Οƒ.val) (AlgebraicTopology.FundamentalClass.SimplexCycles.IntegrationConstruction.integralSimplex_relative_cycle _ _ d Οƒ.val hfaces) = HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) U) d z := by rw [one_smul] exact (AlgebraicTopology.FundamentalClass.AffineCycle.IntegrationConstruction.chartProjectedSimplex_eq_chartCompactClass (X := TopCat.of M) e K hK hKs a r hr hKi Οƒ.val hΟƒsource hΟƒcoords).trans hchart.symm have heval := AlgebraicTopology.FundamentalClass.RelativeSimplexEvaluation.IntegrationConstruction.evaluation_on_integral_relative_simplex (Fin d β†’ ℝ) M U d (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.closedTopForm d M form) (fun x => hform x x.property) (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.topIntegrationClass d M form) (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.topIntegrationClass_restriction d M form) z Οƒ hfaces 1 hclass have heval' : integralCycleEvaluation z form = AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration Οƒ form := by simpa only [integralCycleEvaluation, AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.closedTopForm, LinearMap.comp_apply, LinearMap.flip_apply, LinearMap.codRestrict_apply, LinearMap.id_apply, one_smul] using! heval exact heval'.trans (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.smoothSimplexIntegration_affine_chart g hg e he a r hr (fun x hx => hsource x (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveInterior_shift_mem_cube d x hx)) (fun x hx => hcoords x (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveInterior_shift_mem_cube d x hx)) form) end end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralEvaluation.CM