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.Poincare.CartesianCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.FlatQuotientCohomology |
| 3 | |
| 4 | /-! # Affine Flat Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual affine Poincare cohomology formula persists under flat affine |
| 11 | parameter maps, and its top module is the quotient by the extended zero ideal. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | universe u |
| 15 | |
| 16 | theorem PolarizationData.PolarizedAbelianWithFullLevel.poincareAffine_flatBaseChange_cohomology |
| 17 | {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) (D : Dual.Data.DualAbelianData A.abelian) |
| 19 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 20 | {T : Scheme.{u}} [IsAffine T] (t : T ⟶ D.abelian.scheme.left) [IsOpenImmersion t] |
| 21 | {P : Scheme.{u}} {a : P ⟶ (D.abelian.scheme ⊗ A.abelian.scheme).left} {b : P ⟶ T} |
| 22 | (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.abelian.scheme.hom) t) |
| 23 | {B : Type u} [CommRing B] (h : Spec (.of B) ⟶ T) |
| 24 | (hflat : let : Algebra Γ(T, ⊤) B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap h).toAlgebra; Module.Flat Γ(T, ⊤) B) |
| 25 | {Q : Scheme.{u}} {a' : Q ⟶ P} {b' : Q ⟶ Spec (.of B)} (H' : IsPullback a' b' b h) : |
| 26 | (∀ q : ℕ, q ≠ g → IsZero |
| 27 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b')) q).obj |
| 28 | (D.poincare.pullback (a' ≫ a)).sheaf)) ∧ |
| 29 | Nonempty (((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b')) g).obj |
| 30 | (D.poincare.pullback (a' ≫ a)).sheaf) ≅ |
| 31 | ModuleCat.of B (B ⧸ (D.poincareAffineParameterIdeal t).map (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap h))) := by |
| 32 | let p := pullback.fst D.abelian.scheme.hom A.abelian.scheme.hom |
| 33 | have hproper : IsProper A.abelian.scheme.hom := A.abelian.proper |
| 34 | have : IsProper p := MorphismProperty.of_isPullback (P := @IsProper) |
| 35 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.abelian.scheme.hom).flip hproper |
| 36 | have : IsProper b := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 37 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from b]; infer_instance⟩ |
| 38 | have : CompactSpace P := QuasiCompact.compactSpace_of_compactSpace b |
| 39 | let L := D.poincare.pullback a |
| 40 | obtain ⟨r, V, ha, he, hcover⟩ := L.exists_finite_affine_frames |
| 41 | let U : ULift.{u} (Fin r) → P.Opens := fun i => V i.down |
| 42 | have hU : iSup U = ⊤ := by |
| 43 | apply top_unique |
| 44 | intro x _ |
| 45 | obtain ⟨i, hi⟩ := hcover x |
| 46 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 47 | obtain ⟨hvan, ⟨etop⟩⟩ := A.poincareAffine_cartesian_cohomology_formula D hg hN hNk t H |
| 48 | obtain ⟨hvan', ⟨etop'⟩⟩ := HilbertConstruction.Spec.FlatQuotientCohomology.specFlatLineBundle_cohomology_quotient H' L U hU |
| 49 | (fun i => ha i.down) (fun i => he i.down) hflat g hg |
| 50 | (D.poincareAffineParameterIdeal t) hvan etop |
| 51 | let eL : (L.pullback a').sheaf ≅ (D.poincare.pullback (a' ≫ a)).sheaf := |
| 52 | (Scheme.Modules.pullbackComp a' a).app D.poincare.sheaf |
| 53 | let E (q : ℕ) := |
| 54 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b')) q).mapIso eL |
| 55 | exact ⟨fun q hq => (hvan' q hq).of_iso (E q).symm, ⟨(E g).symm ≪≫ etop'⟩⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |