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.EvenGraphPowerBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.FactorizationBasisEmbedding |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.PowerTorsionHyperplaneBound |
| 4 | |
| 5 | /-! # Even Graph Torsion Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A uniform torsion bound for sections of every sufficiently large |
| 12 | even graph power. The coefficient is explicit in dimension, type, and power. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | universe u v |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | def EvenGraphTorsionBound.evenGraphTorsionDegree (g : ℕ) (δ : Fin g → ℕ) (t : ℕ) : ℕ := |
| 20 | EvenGraphPowerBasis.evenGraphSectionRank g δ t * g.factorial |
| 21 | |
| 22 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 23 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 24 | variable (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 25 | variable (t : ℕ) (ht : 0 < t) |
| 26 | |
| 27 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPowerSections_ratios_generate (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) : |
| 28 | Section.ProjectivePresentation.SectionRatiosGenerate A.abelian.scheme.hom (A.evenGraphPowerSections hg hδ hN hNk t ht) := by |
| 29 | have : CompactSpace A.abelian.scheme.left := QuasiCompact.compactSpace_of_compactSpace A.abelian.scheme.hom |
| 30 | have : A.abelian.scheme.left.IsSeparated := ⟨by |
| 31 | rw [← terminal.comp_from A.abelian.scheme.hom]; infer_instance⟩ |
| 32 | apply Power.FactorizationBasisEmbedding.sectionBasisFamily_ratios_generate A.abelian.scheme.hom (A.graphBundle.tensorPower (2 * t)) |
| 33 | (A.evenGraphPowerSectionBasis hg hδ hN hNk t ht) |
| 34 | intro m hm |
| 35 | simpa only [Nat.add_comm 1 m] using |
| 36 | A.graphBundle_large_even_consecutive_sections_factor hg hδ hN hNk t htlarge m hm |
| 37 | |
| 38 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPowerSections_affine (i : Fin (EvenGraphPowerBasis.evenGraphSectionRank g δ t - 1 + 1)) : |
| 39 | IsAffineOpen (Ample.LineBundles.sectionNonvanishing (A.evenGraphPowerSections hg hδ hN hNk t ht i)) := by |
| 40 | let p := A.abelian.scheme.hom |
| 41 | let s := A.evenGraphPowerSections hg hδ hN hNk t ht |
| 42 | let hs := A.evenGraphPowerSections_cover hg hδ hN hNk t ht |
| 43 | let a := SectionsProjectiveMorphism.sectionAbsoluteMorphism p s hs |
| 44 | let q := pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(Spec (.of K), ⊤) |
| 45 | (EvenGraphPowerBasis.evenGraphSectionRank g δ t - 1)).hom (Spec (.of K)).toSpecΓ |
| 46 | have : IsIso q := inferInstance |
| 47 | have he : (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left ≫ q = a := pullback.lift_fst _ _ _ |
| 48 | have : IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left := |
| 49 | A.evenGraphPower_sectionMap_isFinite hg hδ hN hNk t ht |
| 50 | have : IsFinite q := inferInstance |
| 51 | have : IsFinite a := he ▸ (MorphismProperty.comp_mem (@IsFinite) |
| 52 | (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left q inferInstance inferInstance) |
| 53 | have h := (StandardProjectiveCharts.standardProjectiveChart_isAffine Γ(Spec (.of K), ⊤) |
| 54 | (EvenGraphPowerBasis.evenGraphSectionRank g δ t - 1) i).preimage a |
| 55 | erw [ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage] at h |
| 56 | exact h |
| 57 | |
| 58 | include hg hN hNk ht in |
| 59 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPower_euler_eq_sectionRank : |
| 60 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom (A.graphBundle.tensorPower (2 * t)).sheaf = |
| 61 | (EvenGraphPowerBasis.evenGraphSectionRank g δ t : ℤ) := by |
| 62 | have hunit : IsUnit (N : Γ(Spec (.of K), ⊤)) := by |
| 63 | simpa only [map_natCast] using |
| 64 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of K)))) |
| 65 | rw [A.graphBundle_positivePower_euler_eq_sections hN hunit (2 * t) (Nat.mul_pos (by decide) ht)] |
| 66 | exact congrArg (fun n : ℕ => (n : ℤ)) |
| 67 | (A.graphBundle_positivePower_sections_finrank_normalized hg hN hNk (2 * t) (Nat.mul_pos (by decide) ht)) |
| 68 | |
| 69 | include hg hδ hN hNk ht in |
| 70 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPower_torsion_section_card_le [IsAlgClosed K] |
| 71 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) (n : ℕ) (hn : 0 < n) (level : A.abelian.FullLevel n) |
| 72 | (a : Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower (2 * t)).sheaf) (ha : a ≠ 0) |
| 73 | {κ : Type v} [Finite κ] (x : κ → A.abelian.scheme.left) (hx : Function.Injective x) |
| 74 | (hxa : ∀ i, x i ∉ Ample.LineBundles.sectionNonvanishing a) |
| 75 | (hxn : ∀ i, (A.abelian.multiplication n).left (x i) = |
| 76 | η[A.abelian.scheme].left (IsLocalRing.closedPoint K)) : |
| 77 | Nat.card κ ≤ EvenGraphTorsionBound.evenGraphTorsionDegree g δ t * n ^ (2 * g - 2) := by |
| 78 | cases g with |
| 79 | | zero => omega |
| 80 | | succ g => |
| 81 | have h := A.graphBundlePower_torsion_hyperplane_card_le hN hNk (2 * t) |
| 82 | (A.evenGraphPowerSections hg hδ hN hNk t ht) |
| 83 | (A.evenGraphPowerSections_cover hg hδ hN hNk t ht) |
| 84 | (A.evenGraphPowerSections_affine hg hδ hN hNk t ht) |
| 85 | (A.evenGraphPowerSections_ratios_generate hg hδ hN hNk t ht htlarge) |
| 86 | n hn level a ha x hx hxa hxn |
| 87 | rw [A.evenGraphPower_euler_eq_sectionRank hg hN hNk t ht] at h |
| 88 | change Nat.card κ ≤ (EvenGraphPowerBasis.evenGraphSectionRank (g + 1) δ t * (g + 1).factorial) * n ^ (2 * (g + 1) - 2) |
| 89 | rw [show 2 * (g + 1) - 2 = 2 * g by omega] |
| 90 | exact_mod_cast h |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |