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.AbelianModuli.HilbertConstruction.Graph.EmbeddingNumerics |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.SquareFiniteMorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisSectionGeneration |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GraphPolynomial |
| 5 | |
| 6 | /-! # Graph Square Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The complete section system of the graph-bundle square gives a finite |
| 13 | map into projective space of dimension fixed by `g` and `δ`. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped BigOperators |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 20 | |
| 21 | def PolarizationData.PolarizedAbelianWithFullLevel.graphSquareSectionBasis (hg : 0 < g) (hδ : ∀ i, 0 < δ i) |
| 22 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) : |
| 23 | Module.Basis (Fin (Graph.EmbeddingNumerics.graphSquareSectionRank g δ - 1 + 1)) K |
| 24 | ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj (A.graphBundle.tensorPower 2).sheaf) := by |
| 25 | have := A.graphBundle_positivePower_sections_finite_overField 2 |
| 26 | apply Module.finBasisOfFinrankEq K _ |
| 27 | have he := A.graphBundle_positivePower_sections_finrank_normalized hg hN hNk 2 (by decide) |
| 28 | change Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 29 | (A.graphBundle.tensorPower 2).sheaf) = Graph.EmbeddingNumerics.graphSquareSectionRank g δ at he |
| 30 | exact he.trans (Nat.sub_add_cancel (Nat.succ_le_of_lt (Graph.EmbeddingNumerics.graphSquareSectionRank_pos g δ hδ))).symm |
| 31 | |
| 32 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_fixed_dimension_finite_square_map |
| 33 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) : |
| 34 | ∃ (s : Fin (Graph.EmbeddingNumerics.graphSquareSectionRank g δ - 1 + 1) → |
| 35 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf)) |
| 36 | (hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)), |
| 37 | IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left ∧ |
| 38 | Nonempty (((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) (Graph.EmbeddingNumerics.graphSquareSectionRank g δ - 1)).pullback (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left).sheaf ≅ |
| 39 | (A.graphBundle.tensorPower 2).sheaf) := by |
| 40 | let b := A.graphSquareSectionBasis hg hδ hN hNk |
| 41 | let s := BasisSectionGeneration.sectionBasisFamily A.abelian.scheme.hom (A.graphBundle.tensorPower 2).sheaf b |
| 42 | have hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := |
| 43 | BasisSectionGeneration.sectionBasisFamily_covers A.abelian.scheme.hom (A.graphBundle.tensorPower 2) b |
| 44 | (A.graphBundle_square_pointwise_sections_overField hN hNk) |
| 45 | exact ⟨s, hs, A.graphBundle_square_sectionMap_isFinite s hs, |
| 46 | ⟨RelativeProjective.TwistingBundle.sectionProjectiveTwistingBundleIso A.abelian.scheme.hom s hs⟩⟩ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |