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.Family.ConfigurationDeterminesIdeal |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveTwisting.TensorPowers |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ProjectiveFamilies |
| 4 | |
| 5 | /-! # Embedded Torsion Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A complete graph-power basis with actual torsion fiber frames |
| 12 | gives detection of twisting sections in a homogeneous presentation, |
| 13 | over an arbitrary affine ring. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] {g N n r : ℕ} {δ : Fin g → ℕ} |
| 18 | |
| 19 | section |
| 20 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 21 | |
| 22 | structure PolarizationData.PolarizedAbelianWithFullLevel.CompleteFramedEvenGraphSections (level : A.abelian.FullLevel n) (t : ℕ) where |
| 23 | rank : ℕ |
| 24 | basis : Module.Basis (Fin rank) R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 25 | (A.graphBundle.tensorPower (2 * t)).sheaf) |
| 26 | geometricComplete : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.abelian.scheme.hom |
| 27 | (A.graphBundle.tensorPower (2 * t)).sheaf |
| 28 | (Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 29 | (A.graphBundle.tensorPower (2 * t)).sheaf basis) (𝟙 (Spec (.of R))) |
| 30 | frames : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 31 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 32 | Line.Bundles.structureModule (Spec (.of R)) |
| 33 | |
| 34 | theorem PolarizationData.PolarizedAbelianWithFullLevel.CompleteFramedEvenGraphSections.detects [NeZero n] |
| 35 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 36 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 37 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 38 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) |
| 39 | (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) |
| 40 | (B : A.CompleteFramedEvenGraphSections level t) : |
| 41 | Section.DetectionByFamilies.SectionsDetectedBy (A.graphBundle.tensorPower (2 * t)) (A.abelian.fullLevelGlobalSection level) := |
| 42 | A.evenGraphPower_sectionsDetectedBy_fullLevel hg hδ hN hunit level t ht htlarge hlarge |
| 43 | B.basis B.geometricComplete B.frames |
| 44 | |
| 45 | end |
| 46 | |
| 47 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 48 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R r)) |
| 49 | variable (e : A.abelian.scheme ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I) |
| 50 | variable (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).pullback e.hom.left).sheaf ≅ |
| 51 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) |
| 52 | |
| 53 | def Affine.EmbeddedTorsionDetection.embeddedGraphTwistingPowerIsoOverRing (d : ℕ) : |
| 54 | ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I d).pullback e.hom.left).sheaf ≅ |
| 55 | (A.graphBundle.tensorPower (2 * (Graph.EmbeddingNumerics.graphSquareSectionRank g δ * d))).sheaf := |
| 56 | (Scheme.Modules.pullback e.hom.left).mapIso (ProjectiveTwisting.TensorPowers.projectiveTwistingBundle_tensorPowerIso I d).symm ≪≫ |
| 57 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).powerBaseChangeIso e.hom.left d ≪≫ |
| 58 | (TensorPower.Maps.tensorPowerFunctor A.abelian.scheme.left d).mapIso eL ≪≫ |
| 59 | (A.graphBundle.tensorPowerComposeIso d (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).symm ≪≫ |
| 60 | eqToIso (congrArg (fun k => (A.graphBundle.tensorPower k).sheaf) |
| 61 | (show d * (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ) = 2 * (Graph.EmbeddingNumerics.graphSquareSectionRank g δ * d) by ring)) |
| 62 | |
| 63 | include eL in |
| 64 | theorem Affine.EmbeddedTorsionDetection.affineEmbeddedGraph_sectionsDetectedBy_fullLevel [NeZero n] |
| 65 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 66 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 67 | (level : A.abelian.FullLevel n) (D : ℕ) (d : ℕ) (hd : 0 < d) (hdD : d ≤ D) |
| 68 | (hlarge : Bounded.GraphTorsionSectionDetection.boundedGraphTorsionDegree g δ D < n ^ 2) |
| 69 | (B : A.CompleteFramedEvenGraphSections level (Graph.EmbeddingNumerics.graphSquareSectionRank g δ * d)) : |
| 70 | Section.DetectionByFamilies.SectionsDetectedBy (ProjectiveTwisting.Bundle.projectiveTwistingBundle I d) |
| 71 | (fun c => A.abelian.fullLevelGlobalSection level c ≫ e.hom.left) := by |
| 72 | have ht : 0 < Graph.EmbeddingNumerics.graphSquareSectionRank g δ * d := |
| 73 | Nat.mul_pos (Graph.EmbeddingNumerics.graphSquareSectionRank_pos g δ hδ) hd |
| 74 | have htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ Graph.EmbeddingNumerics.graphSquareSectionRank g δ * d := by |
| 75 | simpa only [Nat.mul_one] using |
| 76 | Nat.mul_le_mul_left (Graph.EmbeddingNumerics.graphSquareSectionRank g δ) (Nat.succ_le_of_lt hd) |
| 77 | have hb : EvenGraphTorsionBound.evenGraphTorsionDegree g δ (Graph.EmbeddingNumerics.graphSquareSectionRank g δ * d) < n ^ 2 := |
| 78 | (Bounded.GraphTorsionSectionDetection.evenGraphTorsionDegree_mono g δ |
| 79 | (Nat.mul_le_mul_left (Graph.EmbeddingNumerics.graphSquareSectionRank g δ) (hdD.trans (Nat.le_max_right 1 D)))).trans_lt hlarge |
| 80 | exact Section.DetectionByFamilies.SectionsDetectedBy.of_schemeIso (A.abelian.fullLevelGlobalSection level) |
| 81 | (PolarizationData.PolarizedAbelianWithFullLevel.CompleteFramedEvenGraphSections.detects |
| 82 | A hg hδ hN hunit level _ ht htlarge hb B) |
| 83 | ((Over.forget _).mapIso e) (Affine.EmbeddedTorsionDetection.embeddedGraphTwistingPowerIsoOverRing A I e eL d) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |