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.NumberTheory.PadicHodge.GeometricComparison.Affine.OverSpec |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 3 | import Mathlib.Algebra.Category.Ring.Constructions |
| 4 | |
| 5 | /-! # Base Change Section Pushout -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.BaseChangeSectionPushout.AffineBaseChangeSectionPushout |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Global sections on an actual affine scalar-base-change square form the native coefficient-ring pushout. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {R S : Type} [CommRing R] [CommRing S] (ρ : R →+* S) |
| 16 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 17 | (f : Y.left ⟶ X.left) [IsAffine X.left] |
| 18 | (h : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom ρ))) |
| 19 | |
| 20 | include h in |
| 21 | theorem affine : IsAffine Y.left := IsAffine.of_isPullback h |
| 22 | |
| 23 | include h in |
| 24 | theorem isPushout : |
| 25 | IsPushout (CommRingCat.ofHom ρ) |
| 26 | (CommRingCat.ofHom (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X ⊤)) |
| 27 | (CommRingCat.ofHom (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap S Y ⊤)) f.appTop := by |
| 28 | let eR := Scheme.ΓSpecIso (CommRingCat.of R) |
| 29 | let eS := Scheme.ΓSpecIso (CommRingCat.of S) |
| 30 | apply (isPushout_appTop_of_isPullback h).flip.of_iso eR eS (Iso.refl _) (Iso.refl _) |
| 31 | · exact Scheme.ΓSpecIso_naturality (CommRingCat.ofHom ρ) |
| 32 | · rw [OverSpec.AffineOverSpec.coefficient_map, Iso.refl_hom, Category.comp_id, |
| 33 | ← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 34 | · rw [OverSpec.AffineOverSpec.coefficient_map, Iso.refl_hom, Category.comp_id, |
| 35 | ← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 36 | · simp only [Iso.refl_hom, Category.id_comp, Category.comp_id] |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.BaseChangeSectionPushout.AffineBaseChangeSectionPushout |