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.EvenGraphSectionFactorization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.GraphPowerBasis |
| 3 | |
| 4 | /-! # Even Graph Power Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Complete section bases and finite projective maps for arbitrary |
| 11 | positive even powers of the canonical graph bundle. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped BigOperators |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | def EvenGraphPowerBasis.evenGraphSectionRank (g : ℕ) (δ : Fin g → ℕ) (t : ℕ) : ℕ := |
| 19 | (2 : ℕ) ^ g * (∏ i, δ i) * (2 * t) ^ g |
| 20 | |
| 21 | theorem EvenGraphPowerBasis.evenGraphSectionRank_pos (g : ℕ) (δ : Fin g → ℕ) (hδ : ∀ i, 0 < δ i) |
| 22 | (t : ℕ) (ht : 0 < t) : 0 < EvenGraphPowerBasis.evenGraphSectionRank g δ t := by |
| 23 | exact Nat.mul_pos (Nat.mul_pos (pow_pos (by decide) g) (Finset.prod_pos (fun i _ => hδ i))) |
| 24 | (pow_pos (Nat.mul_pos (by decide) ht) g) |
| 25 | |
| 26 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 27 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 28 | variable (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 29 | variable (t : ℕ) (ht : 0 < t) |
| 30 | |
| 31 | def PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPowerSectionBasis : |
| 32 | Module.Basis (Fin (EvenGraphPowerBasis.evenGraphSectionRank g δ t - 1 + 1)) K |
| 33 | ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj (A.graphBundle.tensorPower (2 * t)).sheaf) := by |
| 34 | have := A.graphBundle_positivePower_sections_finite_overField (2 * t) |
| 35 | apply Module.finBasisOfFinrankEq K _ |
| 36 | have he := A.graphBundle_positivePower_sections_finrank_normalized hg hN hNk (2 * t) |
| 37 | (Nat.mul_pos (by decide) ht) |
| 38 | change Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 39 | (A.graphBundle.tensorPower (2 * t)).sheaf) = EvenGraphPowerBasis.evenGraphSectionRank g δ t at he |
| 40 | exact he.trans (Nat.sub_add_cancel (Nat.succ_le_of_lt (EvenGraphPowerBasis.evenGraphSectionRank_pos g δ hδ t ht))).symm |
| 41 | |
| 42 | include hN hNk ht in |
| 43 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPower_pointwise_sections : |
| 44 | ∀ x : A.abelian.scheme.left, ∃ s : Line.Bundles.structureModule A.abelian.scheme.left ⟶ |
| 45 | (A.graphBundle.tensorPower (2 * t)).sheaf, x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 46 | intro x |
| 47 | obtain ⟨s, hs⟩ := A.graphBundle_square_pointwise_sections_overField hN hNk x |
| 48 | let e : ((A.graphBundle.tensorPower 2).tensorPower t).sheaf ≅ |
| 49 | (A.graphBundle.tensorPower (2 * t)).sheaf := |
| 50 | (A.graphBundle.tensorPowerComposeIso t 2).symm ≪≫ |
| 51 | eqToIso (congrArg (fun d => (A.graphBundle.tensorPower d).sheaf) (Nat.mul_comm t 2)) |
| 52 | refine ⟨TensorPower.Maps.tensorPowerSection s t ≫ e.hom, ?_⟩ |
| 53 | erw [Ample.Powers.sectionNonvanishing_comp_iso, Section.PowerLocus.sectionNonvanishing_tensorPowerSection s t ht] |
| 54 | exact hs |
| 55 | |
| 56 | def PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPowerSections : Fin (EvenGraphPowerBasis.evenGraphSectionRank g δ t - 1 + 1) → |
| 57 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower (2 * t)).sheaf) := |
| 58 | BasisSectionGeneration.sectionBasisFamily A.abelian.scheme.hom (A.graphBundle.tensorPower (2 * t)).sheaf |
| 59 | (A.evenGraphPowerSectionBasis hg hδ hN hNk t ht) |
| 60 | |
| 61 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPowerSections_cover : ∀ x : A.abelian.scheme.left, |
| 62 | ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (A.evenGraphPowerSections hg hδ hN hNk t ht i) := |
| 63 | BasisSectionGeneration.sectionBasisFamily_covers A.abelian.scheme.hom (A.graphBundle.tensorPower (2 * t)) |
| 64 | (A.evenGraphPowerSectionBasis hg hδ hN hNk t ht) (A.evenGraphPower_pointwise_sections hN hNk t ht) |
| 65 | |
| 66 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPower_sectionMap_isFinite : |
| 67 | IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom |
| 68 | (A.evenGraphPowerSections hg hδ hN hNk t ht) (A.evenGraphPowerSections_cover hg hδ hN hNk t ht)).left := by |
| 69 | apply GeometricallyAmpleSectionMorphism.sectionProjectiveMorphism_isFinite_of_geometric_ample A.abelian.scheme.hom |
| 70 | (A.graphBundle.tensorPower (2 * t)) _ _ |
| 71 | intro F _ _ f |
| 72 | exact ((A.graphBundle_ample_geometricFiber F f).tensorPower (2 * t) (Nat.mul_pos (by decide) ht)).of_iso |
| 73 | (A.graphBundle.powerBaseChangeIso (CategoryTheory.Limits.pullback.fst A.abelian.scheme.hom f) (2 * t)).symm |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |