import OAI.AlgebraicGeometry.Comparison.Betti.Smooth.SheafPartition /-! # Local Partition -/ namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.LocalPartition.Godement noncomputable section /-! Locally finite smooth partitions give local finite sums of supported endomorphisms of the original smooth form sheaf. -/ open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite Set open scoped _root_.Manifold ContDiff BigOperators _root_.Topology variable (E M : Type) [NormedAddCommGroup E] [NormedSpace โ„ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold ๐“˜(โ„, E) โˆž M] theorem smoothFormSheafMultiply_local_sum {ฮน : Type*} (n : โ„•) (f : ฮน โ†’ M โ†’ โ„‚) (hf : โˆ€ i, ContMDiff ๐“˜(โ„, E) ๐“˜(โ„, โ„‚) โˆž (f i)) (s : Finset ฮน) (W : Opens M) (hsum : โˆ€ x โˆˆ W, โˆ‘ i โˆˆ s, f i x = 1) : Godement.Locality.VanishesOn ((โˆ‘ i โˆˆ s, SheafPartition.Godement.smoothFormSheafMultiply E M n (f i) (hf i)) - ๐Ÿ™ _) W := by intro V hVW apply ModuleCat.hom_ext apply LinearMap.ext intro a change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E V n at a apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext intro x let ev : (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheaf E M n โŸถ Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheaf E M n) โ†’+ (TangentSpace ๐“˜(โ„, E) x.val [โ‹€^Fin n]โ†’L[โ„] โ„‚) := { toFun := fun g => (show Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E V n from g.hom.app (op V) a) x map_zero' := rfl map_add' := fun _ _ => rfl } change ev ((โˆ‘ i โˆˆ s, SheafPartition.Godement.smoothFormSheafMultiply E M n (f i) (hf i)) - ๐Ÿ™ _) = 0 rw [map_sub, map_sum] change (โˆ‘ i โˆˆ s, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction (f i) (hf i).contMDiffOn a x) - a x = 0 simp only [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction_apply] rw [โ† Finset.sum_smul, hsum x.val (hVW x.property), one_smul, sub_self] theorem exists_smoothFormSheaf_locally_finite_partition [FiniteDimensional โ„ E] [T2Space M] [SigmaCompactSpace M] {ฮน : Type*} (U : ฮน โ†’ Opens M) (hU : โˆ€ x, โˆƒ i, x โˆˆ U i) (n : โ„•) : โˆƒ (V : ฮน โ†’ Opens M) (f : ฮน โ†’ (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheaf E M n โŸถ Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheaf E M n)), (โˆ€ i, U i โŠ” V i = โŠค) โˆง (โˆ€ i, Godement.Locality.VanishesOn (f i) (V i)) โˆง โˆ€ x : M, โˆƒ W : Opens M, x โˆˆ W โˆง โˆƒ s : Finset ฮน, (โˆ€ i, i โˆ‰ s โ†’ W โ‰ค V i) โˆง Godement.Locality.VanishesOn ((โˆ‘ i โˆˆ s, f i) - ๐Ÿ™ _) W := by classical obtain โŸจฯ, hฯโŸฉ := SmoothPartitionOfUnity.exists_isSubordinate (I := ๐“˜(โ„, E)) isClosed_univ (fun i => (U i : Set M)) (fun i => (U i).isOpen) (by intro x _; exact mem_iUnion.mpr (hU x)) let g := Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction ฯ have hg := Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction_smooth ฯ let V : ฮน โ†’ Opens M := fun i => โŸจ(tsupport (g i))แถœ, (isClosed_tsupport (g i)).isOpen_complโŸฉ refine โŸจV, fun i => SheafPartition.Godement.smoothFormSheafMultiply E M n (g i) (hg i), ?_, ?_, ?_โŸฉ ยท intro i apply top_le_iff.mp intro x _ by_cases hx : x โˆˆ tsupport (g i) ยท exact Or.inl (hฯ i ((Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction_tsupport ฯ i) โ–ธ hx)) ยท exact Or.inr hx ยท exact fun i => SheafPartition.Godement.smoothFormSheafMultiply_vanishesOn E M n (g i) (hg i) ยท intro x obtain โŸจW, hW, hWo, hxWโŸฉ := mem_nhds_iff.mp (ฯ.eventually_fintsupport_subset x) refine โŸจโŸจW, hWoโŸฉ, hxW, ฯ.fintsupport x, ?_, ?_โŸฉ ยท intro i hi y hy hys have hs : y โˆˆ tsupport (ฯ i) := (Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction_tsupport ฯ i) โ–ธ hys exact hi (hW hy ((ฯ.mem_fintsupport_iff y i).mpr hs)) ยท apply smoothFormSheafMultiply_local_sum intro y hy have hs : โˆ‘ i โˆˆ ฯ.fintsupport x, ฯ i y = 1 := ฯ.sum_finsupport' y (mem_univ y) ((ฯ.finsupport_subset_fintsupport y).trans (hW hy)) change โˆ‘ i โˆˆ ฯ.fintsupport x, (ฯ i y : โ„‚) = 1 exact_mod_cast hs end end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.LocalPartition.Godement