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.Divisors.LineBundles.Finite.GlobalSectionNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionAffineChart |
| 3 | |
| 4 | /-! # Global Support Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSupportNeighborhood.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every point of the retained actual section intersection has a neighborhood where the original global supported cup and full principal-cycle class agree. The affine chart is constructed from the point. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 15 | [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] |
| 16 | [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] |
| 17 | (k : S ⟶ N) [IsFinite k.left] (s : Γ(N.left, ⊤)) (p : ℕ) |
| 18 | (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 19 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 20 | (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 21 | |
| 22 | local instance finiteGlobalSupportNeighborhoodTop : Nonempty (⊤ : S.left.Opens) := |
| 23 | ⟨⟨genericPoint S.left, Opens.mem_top _⟩⟩ |
| 24 | |
| 25 | variable (hs : S.left.germToFunctionField ⊤ (k.left.appTop s) ≠ 0) |
| 26 | |
| 27 | include hs in |
| 28 | theorem finiteGlobalSection_exists_support_neighborhood (y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N) |
| 29 | (hyF : y ∈ RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s) |
| 30 | (hy : y ∈ PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (S.left.germToFunctionField ⊤ (k.left.appTop s)) k) : |
| 31 | ∃ U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N), y ∈ U ∧ |
| 32 | (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (S.left.germToFunctionField ⊤ (k.left.appTop s)) k ∧ |
| 33 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 34 | (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ U (2 * (p + 1)) (GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup k s p hp) = |
| 35 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 36 | (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ U (2 * (p + 1)) (RegularSupportedClassRestriction.BundleCycles.finiteRegularPrincipalSupportedClass k s p hp n hn) := by |
| 37 | obtain ⟨B, hB, hneB, hneS, x, hx⟩ := SectionAffineChart.BundleCycles.finiteParentPoint_exists_affine_chart k y hyF.1 |
| 38 | let : IsAffine (FiniteAffine.OpenChart.BundleCycles.finiteAffineBase B).left := hB |
| 39 | let : Nonempty B := hneB |
| 40 | let : Nonempty (k.left ⁻¹ᵁ B) := hneS |
| 41 | have hx' : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (FiniteAffine.OpenChart.BundleCycles.finiteAffineBaseInclusion B) x ∈ |
| 42 | PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (S.left.germToFunctionField ⊤ (k.left.appTop s)) k := hx.symm ▸ hy |
| 43 | obtain ⟨U, hyU, hgood, he⟩ := GlobalSectionNeighborhood.BundleCycles.finiteGlobalSection_exists_affine_neighborhood k B s p hp n hn hs x hx' |
| 44 | exact ⟨U, hx ▸ hyU, hgood, he⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSupportNeighborhood.BundleCycles |