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.Affine.TorsionSectionDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.SectionPullbackComposition |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsomorphismSectionVanishing |
| 4 | |
| 5 | /-! # Detection By Families -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Detection by a family means that actual pullbacks of a section |
| 12 | vanish only when that section is zero. It is preserved by isomorphisms |
| 13 | of schemes and line bundles. High torsion supplies this property. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | universe u v |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {X Y S : Scheme.{u}} {ι : Type v} |
| 20 | |
| 21 | def Section.DetectionByFamilies.SectionsDetectedBy (L : Line.Bundles.LineBundle X) (x : ι → (S ⟶ X)) : Prop := |
| 22 | ∀ a : Line.Bundles.structureModule X ⟶ L.sheaf, (∀ i, Ample.LineBundles.pullbackSection (x i) a = 0) → a = 0 |
| 23 | |
| 24 | theorem Section.DetectionByFamilies.pullbackSection_comp_eq_zero_iff (x : S ⟶ X) (f : X ⟶ Y) |
| 25 | {M : Y.Modules} (a : Line.Bundles.structureModule Y ⟶ M) : |
| 26 | Ample.LineBundles.pullbackSection (x ≫ f) a = 0 ↔ Ample.LineBundles.pullbackSection x (Ample.LineBundles.pullbackSection f a) = 0 := by |
| 27 | constructor |
| 28 | · intro h |
| 29 | apply (cancel_mono ((Scheme.Modules.pullbackComp x f).hom.app M)).mp |
| 30 | rw [Global.SectionPullbackComposition.pullbackSection_composition, h, zero_comp] |
| 31 | · intro h |
| 32 | rw [← Global.SectionPullbackComposition.pullbackSection_composition x f a, h, zero_comp] |
| 33 | |
| 34 | theorem Section.DetectionByFamilies.SectionsDetectedBy.of_schemeIso {L : Line.Bundles.LineBundle Y} {M : Line.Bundles.LineBundle X} |
| 35 | (x : ι → (S ⟶ X)) (h : Section.DetectionByFamilies.SectionsDetectedBy M x) (e : X ≅ Y) |
| 36 | (H : (L.pullback e.hom).sheaf ≅ M.sheaf) : |
| 37 | Section.DetectionByFamilies.SectionsDetectedBy L (fun i => x i ≫ e.hom) := by |
| 38 | intro a ha |
| 39 | have hz : Ample.LineBundles.pullbackSection e.hom a ≫ H.hom = 0 := by |
| 40 | apply h |
| 41 | intro i |
| 42 | rw [Power.SectionTransitions.pullbackSection_postcomp, |
| 43 | (Section.DetectionByFamilies.pullbackSection_comp_eq_zero_iff (x i) e.hom a).mp (ha i), zero_comp] |
| 44 | have hp : Ample.LineBundles.pullbackSection e.hom a = 0 := by |
| 45 | apply (cancel_mono H.hom).mp |
| 46 | simpa only [zero_comp] using hz |
| 47 | exact (IsomorphismSectionVanishing.pullbackSection_iso_eq_zero_iff e.hom a).mp hp |
| 48 | |
| 49 | variable {R : Type u} [CommRing R] {g N n r : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 50 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 51 | |
| 52 | theorem PolarizationData.PolarizedAbelianWithFullLevel.evenGraphPower_sectionsDetectedBy_fullLevel |
| 53 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 54 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 55 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 56 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) |
| 57 | (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) |
| 58 | (b : Module.Basis (Fin r) R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 59 | (A.graphBundle.tensorPower (2 * t)).sheaf)) |
| 60 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.abelian.scheme.hom |
| 61 | (A.graphBundle.tensorPower (2 * t)).sheaf |
| 62 | (Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 63 | (A.graphBundle.tensorPower (2 * t)).sheaf b) (𝟙 (Spec (.of R)))) |
| 64 | (e : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 65 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 66 | Line.Bundles.structureModule (Spec (.of R))) : |
| 67 | Section.DetectionByFamilies.SectionsDetectedBy (A.graphBundle.tensorPower (2 * t)) (A.abelian.fullLevelGlobalSection level) := by |
| 68 | intro a ha |
| 69 | apply A.affineEvenGraphPower_section_eq_zero_of_framed_values hg hδ hN hunit |
| 70 | level t ht htlarge hlarge b hs e a |
| 71 | intro c |
| 72 | simp only [Affine.FramedSectionEvaluation.affineFramedSectionValue, Family.FramedSectionEvaluation.familyFramedSectionValue, ha c, zero_comp, map_zero] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |