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.SurjectiveRingPushoutQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RationalPointIdeal |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModulePresheaf |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 5 | |
| 6 | /-! # Rational Fiber Quotient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RationalFiberQuotient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual affine fiber at a rational section has coordinate algebra the |
| 13 | quotient by the extended point ideal, with its ground-field scalar action. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | def affineRationalFiberQuotientCoefficientIso |
| 18 | {K : Type u} [Field K] {T Y Z : Scheme.{u}} [IsAffine T] [IsAffine Y] |
| 19 | (p : T ⟶ Spec (.of K)) (z : Spec (.of K) ⟶ T) (hz : z ≫ p = 𝟙 _) |
| 20 | {s : Y ⟶ T} {a : Z ⟶ Y} {b : Z ⟶ Spec (.of K)} (H : IsPullback a b s z) : |
| 21 | let : Algebra K Γ(Z, ⊤) := (Coefficient.ModulePresheaf.schemeCoefficientMap b).toAlgebra; |
| 22 | (ModuleCat.restrictScalars (Coefficient.ModulePresheaf.schemeCoefficientMap (s ≫ p))).obj |
| 23 | (ModuleCat.of Γ(Y, ⊤) (Γ(Y, ⊤) ⧸ (RationalPointIdeal.affineRationalPointIdeal z).map s.appTop.hom)) ≅ |
| 24 | ModuleCat.of K Γ(Z, ⊤) := by |
| 25 | let : Algebra K Γ(Y, ⊤) := (Coefficient.ModulePresheaf.schemeCoefficientMap (s ≫ p)).toAlgebra |
| 26 | let : Algebra K Γ(Z, ⊤) := (Coefficient.ModulePresheaf.schemeCoefficientMap b).toAlgebra |
| 27 | have hI : RationalPointIdeal.affineRationalPointIdeal z = RingHom.ker z.appTop.hom := by |
| 28 | rw [RationalPointIdeal.affineRationalPointIdeal_eq_kernel] |
| 29 | exact RingHom.ker_comp_of_injective z.appTop.hom |
| 30 | (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.injective |
| 31 | have : IsClosedImmersion z := isClosedImmersion_of_comp_eq_id p z hz |
| 32 | have hsurj : Function.Surjective z.appTop.hom := |
| 33 | (IsClosedImmersion.isAffine_surjective_of_isAffine z).2 |
| 34 | have hpush : IsPushout s.appTop z.appTop a.appTop b.appTop := isPushout_appTop_of_isPullback H |
| 35 | have hbase : a ≫ (s ≫ p) = b := by |
| 36 | rw [← Category.assoc, H.w, Category.assoc, hz, Category.comp_id] |
| 37 | have hcoef (k : K) : a.appTop.hom (algebraMap K Γ(Y, ⊤) k) = algebraMap K Γ(Z, ⊤) k := by |
| 38 | change (a ≫ (s ≫ p)).appTop ((Scheme.ΓSpecIso (.of K)).inv k) = |
| 39 | b.appTop ((Scheme.ΓSpecIso (.of K)).inv k) |
| 40 | exact congrArg (fun f => f.appTop ((Scheme.ΓSpecIso (.of K)).inv k)) hbase |
| 41 | let e := SurjectiveRingPushoutQuotient.pushoutQuotientAlgEquivOfSurjective (K := K) |
| 42 | s.appTop.hom z.appTop.hom a.appTop.hom b.appTop.hom hpush hsurj hcoef |
| 43 | let eI := Ideal.quotientEquivAlgOfEq K (congrArg (fun I : Ideal Γ(T, ⊤) => I.map s.appTop.hom) hI) |
| 44 | exact (eI.trans e).toLinearEquiv.toModuleIso |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RationalFiberQuotient |