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.Affine.SectionCounit |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AdjunctionSectionNormalization |
| 3 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 4 | |
| 5 | /-! # Geometric Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GeometricSections.AffineGeometricSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual affine scalar-extension formula, normalized against the canonical pullback adjunction unit. -/ |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | universe u |
| 14 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SectionCounit.AffineSectionAdjunction |
| 15 | variable {X Y : Scheme.{u}} [IsAffine X] [IsAffine Y] (f : Y ⟶ X) |
| 16 | variable (M : X.Modules) [M.IsQuasicoherent] |
| 17 | |
| 18 | def leftComparison : SectionAdjunction.AffineSectionAdjunction.left X ⋙ Scheme.Modules.pullback f ≅ |
| 19 | ModuleCat.extendScalars f.appTop.hom ⋙ SectionAdjunction.AffineSectionAdjunction.left Y := |
| 20 | AdjunctionSectionNormalization.AdjunctionSections.leftComparison (SectionAdjunction.AffineSectionAdjunction.adjunction X) (SectionAdjunction.AffineSectionAdjunction.adjunction Y) |
| 21 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 22 | (ModuleCat.extendRestrictScalarsAdj f.appTop.hom) (SectionAdjunction.AffineSectionAdjunction.pushforwardIso f) |
| 23 | |
| 24 | def iso : (ModuleCat.extendScalars f.appTop.hom).obj ((SectionAdjunction.AffineSectionAdjunction.sections X).obj M) ≅ |
| 25 | (SectionAdjunction.AffineSectionAdjunction.sections Y).obj ((Scheme.Modules.pullback f).obj M) := by |
| 26 | have : IsIso (SectionAdjunction.AffineSectionAdjunction.adjunction Y).unit := |
| 27 | @Adjunction.unit_isIso_of_L_fully_faithful _ _ _ _ (SectionAdjunction.AffineSectionAdjunction.left Y) (SectionAdjunction.AffineSectionAdjunction.sections Y) |
| 28 | (SectionAdjunction.AffineSectionAdjunction.adjunction Y) (SectionAdjunction.AffineSectionAdjunction.left_full Y) (SectionAdjunction.AffineSectionAdjunction.left_faithful Y) |
| 29 | exact (asIso (SectionAdjunction.AffineSectionAdjunction.adjunction Y).unit).app _ ≪≫ (SectionAdjunction.AffineSectionAdjunction.sections Y).mapIso |
| 30 | (((leftComparison f).app _).symm ≪≫ (Scheme.Modules.pullback f).mapIso (SectionCounit.AffineSectionAdjunction.counitIso X M)) |
| 31 | |
| 32 | theorem iso_eq_sectionsMap : (iso f M).hom = |
| 33 | AdjunctionSectionNormalization.AdjunctionSections.sectionsMap (SectionAdjunction.AffineSectionAdjunction.adjunction X) (SectionAdjunction.AffineSectionAdjunction.adjunction Y) |
| 34 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 35 | (ModuleCat.extendRestrictScalarsAdj f.appTop.hom) (SectionAdjunction.AffineSectionAdjunction.pushforwardIso f) M := by |
| 36 | rw [AdjunctionSectionNormalization.AdjunctionSections.sectionsMap, Adjunction.homEquiv_unit] |
| 37 | rfl |
| 38 | |
| 39 | theorem normalization : (ModuleCat.extendRestrictScalarsAdj f.appTop.hom).homEquiv _ _ (iso f M).hom = |
| 40 | (SectionAdjunction.AffineSectionAdjunction.sections X).map ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) ≫ |
| 41 | (SectionAdjunction.AffineSectionAdjunction.pushforwardIso f).hom.app ((Scheme.Modules.pullback f).obj M) := by |
| 42 | rw [iso_eq_sectionsMap] |
| 43 | exact AdjunctionSectionNormalization.AdjunctionSections.normalization _ _ _ _ _ M |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GeometricSections.AffineGeometricSections |