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.DivisorClass.Chern.Holomorphic.SupportedForms |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSmooth.Frames |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.MetricWeight |
| 4 | |
| 5 | /-! # Form Partition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FormPartition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Finite reconstruction of actual bundle forms by supported frame coordinates. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace Set |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 23 | |
| 24 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 25 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 26 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 27 | [CompactSpace M] [T2Space M] (u : Connecting.holomorphicUnitCohomology E M) |
| 28 | |
| 29 | def holomorphicLineComplexPartition (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) (x : M) : ℂ := |
| 30 | HolomorphicLine.MetricWeight.holomorphicLineSmoothPartition u i x |
| 31 | |
| 32 | theorem holomorphicLineComplexPartition_smooth (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) : |
| 33 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (holomorphicLineComplexPartition u i) := |
| 34 | Complex.ofRealCLM.contDiff.contMDiff.comp (HolomorphicLine.MetricWeight.holomorphicLineSmoothPartition u i).contMDiff |
| 35 | |
| 36 | theorem holomorphicLineComplexPartition_support (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) : |
| 37 | tsupport (holomorphicLineComplexPartition u i) ⊆ CohomologyTransitions.holomorphicCohomologyDomain E M u i.val := by |
| 38 | have h : Function.support (holomorphicLineComplexPartition u i) = |
| 39 | Function.support (HolomorphicLine.MetricWeight.holomorphicLineSmoothPartition u i) := by |
| 40 | ext x |
| 41 | simp only [Function.mem_support, holomorphicLineComplexPartition, ne_eq, Complex.ofReal_eq_zero] |
| 42 | change closure (Function.support (holomorphicLineComplexPartition u i)) ⊆ _ |
| 43 | rw [h] |
| 44 | exact HolomorphicLine.MetricWeight.holomorphicLineSmoothPartition_support u i |
| 45 | |
| 46 | theorem holomorphicLineComplexPartition_sum (x : M) : |
| 47 | ∑ i, holomorphicLineComplexPartition u i x = 1 := by |
| 48 | simp only [holomorphicLineComplexPartition, ← Complex.ofReal_sum, HolomorphicLine.MetricWeight.holomorphicLineSmoothPartition_sum, |
| 49 | Complex.ofReal_one] |
| 50 | |
| 51 | variable (n : ℕ) |
| 52 | |
| 53 | def holomorphicLineSmoothFormCoordinate (j : M) |
| 54 | (x : ↥(⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u j)) : |
| 55 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n →ₗ[ℂ] (TangentSpace 𝓘(ℝ, E) x.val [⋀^Fin n]→L[ℝ] ℂ) where |
| 56 | toFun s := s.val j x |
| 57 | map_add' _ _ := rfl |
| 58 | map_smul' _ _ := rfl |
| 59 | |
| 60 | def holomorphicLineFrameLocalization (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) : |
| 61 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n →ₗ[ℂ] HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n := |
| 62 | (SupportedForms.holomorphicLineSupportedExtension u (CohomologyTransitions.holomorphicCohomologyDomain E M u i.val) n |
| 63 | (holomorphicLineComplexPartition u i) (holomorphicLineComplexPartition_smooth u i) |
| 64 | (holomorphicLineComplexPartition_support u i)).comp (HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict le_top) |
| 65 | |
| 66 | theorem holomorphicLineFrameLocalization_eq_mul (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) |
| 67 | (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 68 | holomorphicLineFrameLocalization u n i s = SupportedForms.holomorphicLineSmoothMul u ⊤ n |
| 69 | (holomorphicLineComplexPartition u i) (holomorphicLineComplexPartition_smooth u i) s := |
| 70 | SupportedForms.holomorphicLineSupportedExtension_of_global u _ n _ _ _ s |
| 71 | |
| 72 | theorem holomorphicLineFrameLocalization_sum (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 73 | ∑ i, holomorphicLineFrameLocalization u n i s = s := by |
| 74 | apply HolomorphicLine.AntiForms.holomorphicLineSmoothForm_ext |
| 75 | intro j x |
| 76 | change holomorphicLineSmoothFormCoordinate u n j x (∑ i, holomorphicLineFrameLocalization u n i s) = _ |
| 77 | rw [map_sum] |
| 78 | simp only [holomorphicLineSmoothFormCoordinate, LinearMap.coe_mk, AddHom.coe_mk, |
| 79 | holomorphicLineFrameLocalization_eq_mul, SupportedForms.holomorphicLineSmoothMul_apply] |
| 80 | rw [← Finset.sum_smul, holomorphicLineComplexPartition_sum, one_smul] |
| 81 | |
| 82 | def holomorphicLineFrameCutoffExtension (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) : |
| 83 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (CohomologyTransitions.holomorphicCohomologyDomain E M u i.val) n →ₗ[ℂ] |
| 84 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n := |
| 85 | (SupportedForms.holomorphicLineSupportedExtension u (CohomologyTransitions.holomorphicCohomologyDomain E M u i.val) n |
| 86 | (holomorphicLineComplexPartition u i) (holomorphicLineComplexPartition_smooth u i) |
| 87 | (holomorphicLineComplexPartition_support u i)).comp |
| 88 | (HolomorphicSmooth.Frames.holomorphicLineSmoothFrameEquiv u i.val le_rfl n).symm.toLinearMap |
| 89 | |
| 90 | theorem holomorphicLineFrameCutoffExtension_reconstruct (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 91 | ∑ i, holomorphicLineFrameCutoffExtension u n i |
| 92 | (HolomorphicSmooth.Frames.holomorphicLineSmoothFrameValue u i.val le_rfl n (HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict le_top s)) = s := by |
| 93 | have h (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) : holomorphicLineFrameCutoffExtension u n i |
| 94 | (HolomorphicSmooth.Frames.holomorphicLineSmoothFrameValue u i.val le_rfl n (HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict le_top s)) = |
| 95 | holomorphicLineFrameLocalization u n i s := by |
| 96 | change SupportedForms.holomorphicLineSupportedExtension u _ n _ _ _ |
| 97 | (HolomorphicSmooth.Frames.holomorphicLineSmoothFormOfFrame u i.val le_rfl n |
| 98 | (HolomorphicSmooth.Frames.holomorphicLineSmoothFrameValue u i.val le_rfl n (HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict le_top s))) = _ |
| 99 | rw [HolomorphicSmooth.Frames.holomorphicLineSmoothFormOfFrame_frameValue] |
| 100 | rfl |
| 101 | simp_rw [h] |
| 102 | exact holomorphicLineFrameLocalization_sum u n s |
| 103 | |
| 104 | end |
| 105 | |
| 106 | /-! Actual smooth cutoffs equal to one near each original partition support, |
| 107 | with topological support still inside the corresponding holomorphic frame. -/ |
| 108 | |
| 109 | open _root_.TopologicalSpace Set Filter |
| 110 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 111 | |
| 112 | set_option backward.isDefEq.respectTransparency false |
| 113 | set_option backward.isDefEq.respectTransparency.types false |
| 114 | set_option backward.defeqAttrib.useBackward true |
| 115 | |
| 116 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 117 | |
| 118 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 119 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 120 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 121 | [CompactSpace M] [T2Space M] |
| 122 | |
| 123 | theorem exists_smoothComplexCutoff_near_closed (U : Opens M) (K : Set M) |
| 124 | (hK : IsClosed K) (hKU : K ⊆ (U : Set M)) : |
| 125 | ∃ f : M → ℂ, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f ∧ tsupport f ⊆ (U : Set M) ∧ |
| 126 | (∀ᶠ x in 𝓝ˢ K, f x = 1) := by |
| 127 | have hd : Disjoint (U : Set M)ᶜ K := disjoint_left.mpr fun x hx h => hx (hKU h) |
| 128 | obtain ⟨f, hzero, hone, _⟩ := exists_contMDiffMap_zero_one_nhds_of_isClosed |
| 129 | 𝓘(ℝ, E) U.isOpen.isClosed_compl hK hd (n := ⊤) |
| 130 | refine ⟨fun x => (f x : ℂ), Complex.ofRealCLM.contDiff.contMDiff.comp f.contMDiff, ?_, ?_⟩ |
| 131 | · intro x hx |
| 132 | by_contra hxU |
| 133 | have hz : (fun y => (f y : ℂ)) =ᶠ[𝓝 x] 0 := by |
| 134 | filter_upwards [hzero.filter_mono (nhds_le_nhdsSet hxU)] with y hy |
| 135 | simp only [hy, Complex.ofReal_zero, Pi.zero_apply] |
| 136 | exact (notMem_tsupport_iff_eventuallyEq.mpr hz) hx |
| 137 | · filter_upwards [hone] with x hx |
| 138 | simp only [hx, Complex.ofReal_one] |
| 139 | |
| 140 | variable (u : Connecting.holomorphicUnitCohomology E M) (i : HolomorphicLine.MetricWeight.holomorphicLineFiniteCover u) |
| 141 | |
| 142 | theorem exists_holomorphicLineFrameCutoff : |
| 143 | ∃ f : M → ℂ, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f ∧ |
| 144 | tsupport f ⊆ CohomologyTransitions.holomorphicCohomologyDomain E M u i.val ∧ |
| 145 | (∀ᶠ x in 𝓝ˢ (tsupport (holomorphicLineComplexPartition u i)), f x = 1) := |
| 146 | exists_smoothComplexCutoff_near_closed (CohomologyTransitions.holomorphicCohomologyDomain E M u i.val) |
| 147 | (tsupport (holomorphicLineComplexPartition u i)) (isClosed_tsupport _) |
| 148 | (holomorphicLineComplexPartition_support u i) |
| 149 | |
| 150 | def holomorphicLineFrameCutoff : M → ℂ := (exists_holomorphicLineFrameCutoff u i).choose |
| 151 | |
| 152 | theorem holomorphicLineFrameCutoff_smooth : |
| 153 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (holomorphicLineFrameCutoff u i) := |
| 154 | (exists_holomorphicLineFrameCutoff u i).choose_spec.1 |
| 155 | |
| 156 | theorem holomorphicLineFrameCutoff_support : |
| 157 | tsupport (holomorphicLineFrameCutoff u i) ⊆ CohomologyTransitions.holomorphicCohomologyDomain E M u i.val := |
| 158 | (exists_holomorphicLineFrameCutoff u i).choose_spec.2.1 |
| 159 | |
| 160 | theorem holomorphicLineFrameCutoff_one_near : |
| 161 | ∀ᶠ x in 𝓝ˢ (tsupport (holomorphicLineComplexPartition u i)), holomorphicLineFrameCutoff u i x = 1 := |
| 162 | (exists_holomorphicLineFrameCutoff u i).choose_spec.2.2 |
| 163 | |
| 164 | theorem holomorphicLineFrameCutoff_one (x : M) (hx : x ∈ tsupport (holomorphicLineComplexPartition u i)) : |
| 165 | holomorphicLineFrameCutoff u i x = 1 := |
| 166 | (holomorphicLineFrameCutoff_one_near u i).self_of_nhdsSet x hx |
| 167 | |
| 168 | theorem holomorphicLineFrameCutoff_mul_partition (x : M) : |
| 169 | holomorphicLineFrameCutoff u i x * holomorphicLineComplexPartition u i x = |
| 170 | holomorphicLineComplexPartition u i x := by |
| 171 | by_cases hx : x ∈ tsupport (holomorphicLineComplexPartition u i) |
| 172 | · rw [holomorphicLineFrameCutoff_one u i x hx, one_mul] |
| 173 | · rw [image_eq_zero_of_notMem_tsupport hx, mul_zero] |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FormPartition |