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.GlobalSupportNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionCommonRestriction |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.SupportOpenAnalyticDetection |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.OpenRestrictionComposition |
| 5 | |
| 6 | /-! # Global Section Formula -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSectionFormula.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The genuine global finite-image section cup is the canonical supported class of the full principal divisor pushforward, with all orders and residue degrees, across the singular and exceptional boundaries. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 16 | |
| 17 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] |
| 19 | [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] |
| 20 | (k : S ⟶ N) [IsFinite k.left] (s : Γ(N.left, ⊤)) (p : ℕ) |
| 21 | (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 22 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 23 | (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 24 | |
| 25 | local instance finiteGlobalSectionFormulaTop : Nonempty (⊤ : S.left.Opens) := |
| 26 | ⟨⟨genericPoint S.left, Opens.mem_top _⟩⟩ |
| 27 | |
| 28 | variable (hs : S.left.germToFunctionField ⊤ (k.left.appTop s) ≠ 0) |
| 29 | |
| 30 | include hs in |
| 31 | theorem finiteGlobalSectionCup_eq_principalSupportedClass : |
| 32 | GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup k s p hp = RegularSupportedClassRestriction.BundleCycles.finiteRegularPrincipalSupportedClass k s p hp n hn := by |
| 33 | classical |
| 34 | let F := SectionCommonRestriction.BundleCycles.finiteRegularSectionClosed k s |
| 35 | let A := (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ |
| 36 | let V := PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (S.left.germToFunctionField ⊤ (k.left.appTop s)) k |
| 37 | let Z := {x : V // ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ F} |
| 38 | have existsU (z : Z) : ∃ U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N), z.val.val ∈ U ∧ U ≤ V ∧ |
| 39 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) A U (2 * (p + 1)) |
| 40 | (GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup k s p hp) = |
| 41 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) A U (2 * (p + 1)) |
| 42 | (RegularSupportedClassRestriction.BundleCycles.finiteRegularPrincipalSupportedClass k s p hp n hn) := by |
| 43 | apply GlobalSupportNeighborhood.BundleCycles.finiteGlobalSection_exists_support_neighborhood k s p hp n hn hs z.val.val |
| 44 | · exact (Set.ext_iff.mp (SectionCommonRestriction.BundleCycles.finiteRegularSectionClosed_analytic k s) z.val.val).mp z.property |
| 45 | · exact z.val.property |
| 46 | let U (z : Z) := Classical.choose (existsU z) |
| 47 | have hU (z : Z) := Classical.choose_spec (existsU z) |
| 48 | let := SectionCommonRestriction.BundleCycles.finiteSectionCommonRestriction_isIso k s p hp |
| 49 | apply (asIso (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 50 | A V (2 * (p + 1)))).toLinearEquiv.injective |
| 51 | have hA : A = (CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen N F.compl : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) := |
| 52 | (congrArg Set.compl (SectionCommonRestriction.BundleCycles.finiteRegularSectionClosed_analytic k s)).symm |
| 53 | apply Closed.SupportOpenAnalyticDetection.BundleCycles.closedSupportedSetClass_on_open_eq_of_neighborhoods N F (p + 1) |
| 54 | (SectionCommonRestriction.BundleCycles.finiteRegularSectionClosed_codimension k s hs p hp) A hA V U |
| 55 | (fun z => (hU z).2.1) (fun z => (hU z).1) |
| 56 | intro z |
| 57 | have hleft := Relative.OpenRestrictionComposition.BundleCycles.relativeOpenRestriction_nested (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) A (U z) V |
| 58 | (hU z).2.1 (2 * (p + 1)) (GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup k s p hp) |
| 59 | have hright := Relative.OpenRestrictionComposition.BundleCycles.relativeOpenRestriction_nested (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) A (U z) V |
| 60 | (hU z).2.1 (2 * (p + 1)) (RegularSupportedClassRestriction.BundleCycles.finiteRegularPrincipalSupportedClass k s p hp n hn) |
| 61 | exact hleft.trans ((hU z).2.2.trans hright.symm) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSectionFormula.BundleCycles |