Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.SmoothScalarExtension |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.Image |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Smooth.LocalPartition |
| 4 | |
| 5 | /-! # Restricted Smooth Sheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.RestrictedSmoothSheaf.Godement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Smooth scalar functions on an open submanifold act on the literal restriction of the ambient smooth form sheaf. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 20 | |
| 21 | def smoothRestrictionInclusion (O : Opens M) : TopCat.of O ⟶ TopCat.of M := |
| 22 | TopCat.ofHom ⟨Subtype.val, continuous_subtype_val⟩ |
| 23 | |
| 24 | def smoothRestrictionOpen (O : Opens M) (V : Opens O) : Opens M := |
| 25 | (show Topology.IsOpenEmbedding (smoothRestrictionInclusion O) from O.isOpenEmbedding').functor.obj V |
| 26 | |
| 27 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 28 | theorem smoothRestrictionOpen_le (O : Opens M) (V : Opens O) : smoothRestrictionOpen O V ≤ O := by |
| 29 | rintro x ⟨y, _, rfl⟩ |
| 30 | exact y.property |
| 31 | |
| 32 | def restrictedSmoothFormSheaf (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 33 | (M : Type) [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 34 | (O : Opens M) (n : ℕ) : ConstantSheafSections.ComplexSheaves (TopCat.of O) := |
| 35 | (Open.Image.openRestriction (smoothRestrictionInclusion O) O.isOpenEmbedding').obj (Analysis.DifferentialForms.Manifold.ManifoldSheaf.manifoldFormSheaf E M n) |
| 36 | |
| 37 | def restrictedSmoothFormSheafMultiply (O : Opens M) (n : ℕ) (f : O → ℂ) |
| 38 | (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) : |
| 39 | restrictedSmoothFormSheaf E M O n ⟶ restrictedSmoothFormSheaf E M O n := |
| 40 | ObjectProperty.homMk { |
| 41 | app V := ModuleCat.ofHom (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f) |
| 42 | ((Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_smoothOn O f hf).mono (smoothRestrictionOpen_le O V.unop))) |
| 43 | naturality := by |
| 44 | intro V W i |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply LinearMap.ext |
| 47 | intro a |
| 48 | exact (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_smulByFunction |
| 49 | (leOfHom ((show Topology.IsOpenEmbedding (smoothRestrictionInclusion O) from O.isOpenEmbedding').functor.map i.unop)) |
| 50 | (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f) |
| 51 | ((Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_smoothOn O f hf).mono (smoothRestrictionOpen_le O V.unop)) a).symm } |
| 52 | |
| 53 | theorem restrictedSmoothFormSheafMultiply_apply (O : Opens M) (n : ℕ) (f : O → ℂ) |
| 54 | (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) (V : Opens O) |
| 55 | (a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (smoothRestrictionOpen O V) n) |
| 56 | (x : smoothRestrictionOpen O V) : |
| 57 | (show Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (smoothRestrictionOpen O V) n from |
| 58 | (restrictedSmoothFormSheafMultiply O n f hf).hom.app (op V) a) x = |
| 59 | Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f x.val • a x := by |
| 60 | exact Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction_apply (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f) |
| 61 | ((Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_smoothOn O f hf).mono (smoothRestrictionOpen_le O V)) a x |
| 62 | |
| 63 | end |
| 64 | |
| 65 | section |
| 66 | |
| 67 | /-! Supported smooth scalar actions on the actual restricted form sheaf have the required local finite-sum identities. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 70 | open scoped _root_.Manifold ContDiff BigOperators |
| 71 | |
| 72 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 73 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 74 | |
| 75 | theorem restrictedSmoothFormSheafMultiply_vanishesOn (O : Opens M) (n : ℕ) (f : O → ℂ) |
| 76 | (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) (W : Opens O) (hzero : ∀ x ∈ W, f x = 0) : |
| 77 | Godement.Locality.VanishesOn (restrictedSmoothFormSheafMultiply O n f hf) W := by |
| 78 | intro V hVW |
| 79 | apply ModuleCat.hom_ext |
| 80 | apply LinearMap.ext |
| 81 | intro a |
| 82 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (smoothRestrictionOpen O V) n at a |
| 83 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext (U := smoothRestrictionOpen O V) |
| 84 | intro x |
| 85 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f) |
| 86 | ((Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_smoothOn O f hf).mono (smoothRestrictionOpen_le O V)) a x = 0 |
| 87 | rw [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction_apply] |
| 88 | obtain ⟨y, hy, hxy⟩ := x.property |
| 89 | have hz : Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f x.val = 0 := |
| 90 | (congrArg (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O f) hxy.symm).trans |
| 91 | ((Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_apply O f y).trans (hzero y (hVW hy))) |
| 92 | rw [hz] |
| 93 | exact zero_smul ℂ (a x) |
| 94 | |
| 95 | theorem restrictedSmoothFormSheafMultiply_local_sum {κ : Type*} (O : Opens M) (n : ℕ) |
| 96 | (f : κ → O → ℂ) (hf : ∀ i, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (f i)) |
| 97 | (s : Finset κ) (W : Opens O) (hsum : ∀ x ∈ W, ∑ i ∈ s, f i x = 1) : |
| 98 | Godement.Locality.VanishesOn ((∑ i ∈ s, restrictedSmoothFormSheafMultiply O n (f i) (hf i)) - 𝟙 _) W := by |
| 99 | intro V hVW |
| 100 | apply ModuleCat.hom_ext |
| 101 | apply LinearMap.ext |
| 102 | intro a |
| 103 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (smoothRestrictionOpen O V) n at a |
| 104 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext (U := smoothRestrictionOpen O V) |
| 105 | intro x |
| 106 | let ev : (restrictedSmoothFormSheaf E M O n ⟶ restrictedSmoothFormSheaf E M O n) →+ |
| 107 | (TangentSpace 𝓘(ℝ, E) x.val [⋀^Fin n]→L[ℝ] ℂ) := |
| 108 | { toFun := fun g => (show Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (smoothRestrictionOpen O V) n from |
| 109 | g.hom.app (op V) a) x |
| 110 | map_zero' := rfl |
| 111 | map_add' := fun _ _ => rfl } |
| 112 | change ev ((∑ i ∈ s, restrictedSmoothFormSheafMultiply O n (f i) (hf i)) - 𝟙 _) = 0 |
| 113 | rw [map_sub, map_sum] |
| 114 | change (∑ i ∈ s, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O (f i)) |
| 115 | ((Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_smoothOn O (f i) (hf i)).mono (smoothRestrictionOpen_le O V)) a x) - a x = 0 |
| 116 | simp only [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction_apply] |
| 117 | obtain ⟨y, hy, hxy⟩ := x.property |
| 118 | have hs : (∑ i ∈ s, Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O (f i) x.val) = 1 := |
| 119 | (Finset.sum_congr rfl (fun i _ => |
| 120 | (congrArg (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension O (f i)) hxy.symm).trans |
| 121 | (Open.SmoothScalarExtension.Godement.openSmoothScalarExtension_apply O (f i) y))).trans (hsum y (hVW hy)) |
| 122 | rw [← Finset.sum_smul, hs, one_smul, sub_self] |
| 123 | |
| 124 | end |
| 125 | |
| 126 | /-! Smooth partitions on an open submanifold act directly on the literal restriction of its ambient form sheaf. -/ |
| 127 | |
| 128 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite Set |
| 129 | open scoped _root_.Manifold ContDiff BigOperators _root_.Topology |
| 130 | |
| 131 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 132 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] |
| 133 | |
| 134 | theorem exists_restrictedSmoothFormSheaf_locally_finite_partition (O : Opens M) [SigmaCompactSpace O] |
| 135 | {κ : Type*} (U : κ → Opens O) (hU : ∀ x, ∃ i, x ∈ U i) (n : ℕ) : |
| 136 | ∃ (V : κ → Opens O) |
| 137 | (f : κ → (restrictedSmoothFormSheaf E M O n ⟶ restrictedSmoothFormSheaf E M O n)), |
| 138 | (∀ i, U i ⊔ V i = ⊤) ∧ (∀ i, Godement.Locality.VanishesOn (f i) (V i)) ∧ |
| 139 | ∀ x : O, ∃ W : Opens O, x ∈ W ∧ ∃ s : Finset κ, |
| 140 | (∀ i, i ∉ s → W ≤ V i) ∧ Godement.Locality.VanishesOn ((∑ i ∈ s, f i) - 𝟙 _) W := by |
| 141 | classical |
| 142 | obtain ⟨ρ, hρ⟩ := SmoothPartitionOfUnity.exists_isSubordinate |
| 143 | (I := 𝓘(ℝ, E)) isClosed_univ (fun i => (U i : Set O)) (fun i => (U i).isOpen) |
| 144 | (by intro x _; exact mem_iUnion.mpr (hU x)) |
| 145 | let g := Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction ρ |
| 146 | have hg := Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction_smooth ρ |
| 147 | let V : κ → Opens O := fun i => ⟨(tsupport (g i))ᶜ, (isClosed_tsupport (g i)).isOpen_compl⟩ |
| 148 | refine ⟨V, fun i => restrictedSmoothFormSheafMultiply O n (g i) (hg i), ?_, ?_, ?_⟩ |
| 149 | · intro i |
| 150 | apply top_le_iff.mp |
| 151 | intro x _ |
| 152 | by_cases hx : x ∈ tsupport (g i) |
| 153 | · exact Or.inl (hρ i ((Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction_tsupport ρ i) ▸ hx)) |
| 154 | · exact Or.inr hx |
| 155 | · intro i |
| 156 | apply restrictedSmoothFormSheafMultiply_vanishesOn |
| 157 | intro x hx |
| 158 | exact image_eq_zero_of_notMem_tsupport hx |
| 159 | · intro x |
| 160 | obtain ⟨W, hW, hWo, hxW⟩ := mem_nhds_iff.mp (ρ.eventually_fintsupport_subset x) |
| 161 | refine ⟨⟨W, hWo⟩, hxW, ρ.fintsupport x, ?_, ?_⟩ |
| 162 | · intro i hi y hy hys |
| 163 | have hs : y ∈ tsupport (ρ i) := (Analysis.DifferentialForms.Manifold.FinitePartition.complexPartitionFunction_tsupport ρ i) ▸ hys |
| 164 | exact hi (hW hy ((ρ.mem_fintsupport_iff y i).mpr hs)) |
| 165 | · apply restrictedSmoothFormSheafMultiply_local_sum |
| 166 | intro y hy |
| 167 | have hs : ∑ i ∈ ρ.fintsupport x, ρ i y = 1 := |
| 168 | ρ.sum_finsupport' y (mem_univ y) ((ρ.finsupport_subset_fintsupport y).trans (hW hy)) |
| 169 | change ∑ i ∈ ρ.fintsupport x, (ρ i y : ℂ) = 1 |
| 170 | exact_mod_cast hs |
| 171 | |
| 172 | end |
| 173 | |
| 174 | end OAI.AlgebraicGeometry.Comparison.Betti.RestrictedSmoothSheaf.Godement |