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.Line.Bundles |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 3 | |
| 4 | /-! # Section Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.SectionCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual affine coordinate opens and their regular coordinate ratios, in the form needed to extend sections of quasicoherent modules. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | structure CoordinateSectionCover (X : Scheme.{u}) (ι : Type v) where |
| 17 | opens : ι → X.Opens |
| 18 | affine : ∀ i, IsAffineOpen (opens i) |
| 19 | affine_overlap : ∀ i k, IsAffineOpen (opens i ⊓ opens k) |
| 20 | covers : ∀ x : X, ∃ i, x ∈ opens i |
| 21 | ratio : ∀ i, ι → Γ(X, opens i) |
| 22 | ratio_self : ∀ i, ratio i i = 1 |
| 23 | basicOpen_ratio : ∀ i j, X.basicOpen (ratio i j) = opens i ⊓ opens j |
| 24 | ratio_transition : ∀ i k j, |
| 25 | X.presheaf.map (homOfLE (show opens i ⊓ opens k ≤ opens i from inf_le_left)).op (ratio i j) = |
| 26 | X.presheaf.map (homOfLE (show opens i ⊓ opens k ≤ opens i from inf_le_left)).op (ratio i k) * |
| 27 | X.presheaf.map (homOfLE (show opens i ⊓ opens k ≤ opens k from inf_le_right)).op (ratio k j) |
| 28 | |
| 29 | namespace CoordinateSectionCover |
| 30 | |
| 31 | variable {X : Scheme.{u}} {ι : Type v} (D : CoordinateSectionCover X ι) |
| 32 | |
| 33 | abbrev overlap (i k : ι) : X.Opens := D.opens i ⊓ D.opens k |
| 34 | |
| 35 | theorem overlap_eq (i k : ι) : D.overlap i k = D.opens i ⊓ D.opens k := rfl |
| 36 | |
| 37 | theorem overlap_le_left (i k : ι) : D.overlap i k ≤ D.opens i := inf_le_left |
| 38 | |
| 39 | theorem overlap_le_right (i k : ι) : D.overlap i k ≤ D.opens k := inf_le_right |
| 40 | |
| 41 | def transition (i k : ι) : Γ(X, D.opens i ⊓ D.opens k) := |
| 42 | X.presheaf.map (homOfLE (show D.opens i ⊓ D.opens k ≤ D.opens i from inf_le_left)).op (D.ratio i k) |
| 43 | |
| 44 | theorem overlap_basicOpen_ratio (i k j : ι) : |
| 45 | X.basicOpen (X.presheaf.map |
| 46 | (homOfLE (show D.opens i ⊓ D.opens k ≤ D.opens i from inf_le_left)).op (D.ratio i j)) = |
| 47 | (D.opens i ⊓ D.opens k) ⊓ D.opens j := by |
| 48 | rw [Scheme.basicOpen_res, D.basicOpen_ratio] |
| 49 | ac_rfl |
| 50 | |
| 51 | end CoordinateSectionCover |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.SectionCover |