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.Local.FramedGraphSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DetectedByLocalCoefficients |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.DetectionByFamilies |
| 4 | |
| 5 | /-! # Torsion Section Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over a noetherian affine base, sufficiently high full torsion |
| 12 | detects actual graph-power sections without chosen bases or frames. |
| 13 | Local coefficient rings provide the complete framed bases, and module |
| 14 | localization detects the resulting global zero section. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 20 | variable {g N n : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 21 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 22 | |
| 23 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPower_sectionsDetectedBy_fullLevel_noetherian |
| 24 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 25 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 26 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) |
| 27 | (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) : |
| 28 | Section.DetectionByFamilies.SectionsDetectedBy (A.graphBundle.tensorPower (2 * t)) (A.abelian.fullLevelGlobalSection level) := by |
| 29 | have : CompactSpace A.abelian.scheme.left := |
| 30 | QuasiCompact.compactSpace_of_compactSpace A.abelian.scheme.hom |
| 31 | have : A.abelian.scheme.left.IsSeparated := |
| 32 | ⟨by rw [← terminal.comp_from A.abelian.scheme.hom]; infer_instance⟩ |
| 33 | intro a ha |
| 34 | apply DetectedByLocalCoefficients.section_eq_zero_of_localCoefficientPullbacks A.abelian.scheme.hom |
| 35 | (A.graphBundle.tensorPower (2 * t)) a |
| 36 | intro p _ |
| 37 | let C := Localization.AtPrime p |
| 38 | let q := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) C) |
| 39 | let B := A.pullback q |
| 40 | let π := pullback.fst A.abelian.scheme.hom q |
| 41 | let L := A.graphBundle.tensorPower (2 * t) |
| 42 | let H : (L.pullback π).sheaf ≅ (B.graphBundle.tensorPower (2 * t)).sheaf := |
| 43 | A.graphBundle.powerBaseChangeIso π (2 * t) ≪≫ |
| 44 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left (2 * t)).mapIso (A.graphBundle_baseChangeIso q).symm |
| 45 | have : IsNoetherianRing Γ(Spec (.of C), ⊤) := isNoetherianRing_of_ringEquiv C |
| 46 | (Scheme.ΓSpecIso (.of C)).commRingCatIsoToRingEquiv.symm |
| 47 | have hq : IsUnit (N : Γ(Spec (.of C), ⊤)) := by |
| 48 | simpa only [map_natCast] using hunit.map q.appTop.hom |
| 49 | obtain ⟨F⟩ := B.local_exists_completeFramedEvenGraphSections hN hq (level.pullback q) t ht |
| 50 | have hdet := PolarizationData.PolarizedAbelianWithFullLevel.CompleteFramedEvenGraphSections.detects B hg hδ hN hq |
| 51 | (level.pullback q) t ht htlarge hlarge F |
| 52 | have hz : (Ample.LineBundles.pullbackSection π a ≫ H.hom : |
| 53 | Line.Bundles.structureModule B.abelian.scheme.left ⟶ (B.graphBundle.tensorPower (2 * t)).sheaf) = 0 := by |
| 54 | apply hdet |
| 55 | intro c |
| 56 | let x := A.abelian.fullLevelGlobalSection level c |
| 57 | let y := B.abelian.fullLevelGlobalSection (level.pullback q) c |
| 58 | have hy : y ≫ π = q ≫ x := A.abelian.fullLevelGlobalSection_pullback level q c |
| 59 | have hqx : Ample.LineBundles.pullbackSection (q ≫ x) a = 0 := by |
| 60 | apply (Section.DetectionByFamilies.pullbackSection_comp_eq_zero_iff q x a).mpr |
| 61 | rw [ha c] |
| 62 | exact (BasisPullbackSectionSurjectivity.pullbackSectionAddHom q (L.pullback x).sheaf).map_zero |
| 63 | have hyp : Ample.LineBundles.pullbackSection y (Ample.LineBundles.pullbackSection π a) = 0 := by |
| 64 | apply (Section.DetectionByFamilies.pullbackSection_comp_eq_zero_iff y π a).mp |
| 65 | rw [hy] |
| 66 | exact hqx |
| 67 | rw [Power.SectionTransitions.pullbackSection_postcomp, hyp, zero_comp] |
| 68 | apply (cancel_mono H.hom).mp |
| 69 | simpa only [zero_comp] using hz |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |