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.CharZeroCech |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.SchemeTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 5 | |
| 6 | /-! # Char Zero Fibers -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharZeroFibers |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The characteristic-zero structure-sheaf bound holds over every field, |
| 13 | and on any actual cartesian fiber of a projective abelian scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | theorem charZeroAbelian_structureCechH1_finrank_le |
| 19 | {k : Type} [Field k] [CharZero k] {g : ℕ} |
| 20 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of k))) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 21 | {I : Type} [LinearOrder I] [Finite I] (U : I → A.scheme.left.Opens) |
| 22 | (hU : IsOpenCover U) (haU : ∀ i, IsAffineOpen (U i)) : |
| 23 | Module.finrank Γ(Spec (.of k), ⊤) |
| 24 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex A.scheme.hom (Line.Bundles.structureModule A.scheme.left) U).sc' 0 1 2).homology ≤ g := by |
| 25 | let b := Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))) |
| 26 | let B := A.pullback b |
| 27 | let PB := P.baseChange b |
| 28 | let V := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover B.scheme PB |
| 29 | have hV : IsOpenCover V := IsOpenCover.mk (Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.covers B.scheme PB) |
| 30 | have haV := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.affine B.scheme PB |
| 31 | have h := CharZeroCech.abelian_structureCechH1_finrank_fieldBaseChange A B b |
| 32 | (pullback.fst A.scheme.hom b) (IsPullback.of_hasPullback A.scheme.hom b) |
| 33 | U V hU hV haU haV |
| 34 | exact h.symm.le.trans (CharZeroCech.algClosedCharZeroAbelian_structureCechH1_finrank_le B PB V hV haV) |
| 35 | |
| 36 | theorem charZeroAbelian_cartesian_structureCechH1_finrank_le |
| 37 | {S Y : Scheme} {k : Type} [Field k] [CharZero k] {g : ℕ} |
| 38 | (A : Abelian.Schemes.AbelianScheme g S) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 39 | (b : Spec (.of k) ⟶ S) (f : Y ⟶ A.scheme.left) (ρ : Y ⟶ Spec (.of k)) |
| 40 | (hp : IsPullback f ρ A.scheme.hom b) |
| 41 | {I : Type} [LinearOrder I] [Finite I] (U : I → Y.Opens) |
| 42 | (hU : IsOpenCover U) (haU : ∀ i, IsAffineOpen (U i)) : |
| 43 | Module.finrank Γ(Spec (.of k), ⊤) |
| 44 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex ρ (Line.Bundles.structureModule Y) U).sc' 0 1 2).homology ≤ g := by |
| 45 | let e : Over.mk ρ ≅ (A.pullback b).scheme := |
| 46 | Over.isoMk hp.isoPullback hp.isoPullback_hom_snd |
| 47 | let B := (A.pullback b).transport e.symm |
| 48 | exact charZeroAbelian_structureCechH1_finrank_le B ((P.baseChange b).ofSourceIso e) U hU haU |
| 49 | |
| 50 | theorem charZero_of_rational_scheme_map |
| 51 | {k : Type} [Field k] (b : Spec (.of k) ⟶ Spec (.of ℚ)) : CharZero k := by |
| 52 | let c : ℚ →+* k := (Scheme.ΓSpecIso (.of k)).hom.hom.comp |
| 53 | (b.appTop.hom.comp (Scheme.ΓSpecIso (.of ℚ)).inv.hom) |
| 54 | let : Algebra ℚ k := c.toAlgebra |
| 55 | exact Algebra.charZero_of_charZero ℚ k |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharZeroFibers |