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.Quotients.FiniteDescent.AffineSectionIs |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AdjunctionSectionsLeft |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackSectionTensor |
| 4 | |
| 5 | /-! # Affine Geometric -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineGeometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical affine pullback formula for actual schemes and their global sections. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | open scoped ChangeOfRings |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.AffineGeometricSections |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction |
| 23 | |
| 24 | variable {X Y : Scheme.{u}} [IsAffine X] [IsAffine Y] (f : Y ⟶ X) |
| 25 | variable (M : X.Modules) [M.IsQuasicoherent] |
| 26 | |
| 27 | def leftComparison : AffineSectionIs.Construction.AffineSectionAdjunction.left X ⋙ Scheme.Modules.pullback f ≅ |
| 28 | ModuleCat.extendScalars f.appTop.hom ⋙ AffineSectionIs.Construction.AffineSectionAdjunction.left Y := |
| 29 | AdjunctionSectionsLeft.Construction.AdjunctionSections.leftComparison (AffineSectionIs.Construction.AffineSectionAdjunction.adjunction X) (AffineSectionIs.Construction.AffineSectionAdjunction.adjunction Y) |
| 30 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 31 | (ModuleCat.extendRestrictScalarsAdj f.appTop.hom) (AffineSectionIs.Construction.AffineSectionAdjunction.pushforwardIso f) |
| 32 | |
| 33 | def iso : (ModuleCat.extendScalars f.appTop.hom).obj ((AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M) ≅ |
| 34 | (AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).obj ((Scheme.Modules.pullback f).obj M) := |
| 35 | asIso ((AffineSectionIs.Construction.AffineSectionAdjunction.adjunction Y).unit.app _) ≪≫ (AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).mapIso |
| 36 | (((leftComparison f).app _).symm ≪≫ (Scheme.Modules.pullback f).mapIso (AffineSectionIs.Construction.AffineSectionAdjunction.counitIso X M)) |
| 37 | |
| 38 | theorem iso_eq_sectionsMap : (iso f M).hom = |
| 39 | AdjunctionSectionsLeft.Construction.AdjunctionSections.sectionsMap (AffineSectionIs.Construction.AffineSectionAdjunction.adjunction X) (AffineSectionIs.Construction.AffineSectionAdjunction.adjunction Y) |
| 40 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 41 | (ModuleCat.extendRestrictScalarsAdj f.appTop.hom) (AffineSectionIs.Construction.AffineSectionAdjunction.pushforwardIso f) M := by |
| 42 | rw [AdjunctionSectionsLeft.Construction.AdjunctionSections.sectionsMap, Adjunction.homEquiv_unit] |
| 43 | rfl |
| 44 | |
| 45 | theorem normalization : (ModuleCat.extendRestrictScalarsAdj f.appTop.hom).homEquiv _ _ (iso f M).hom = |
| 46 | (AffineSectionIs.Construction.AffineSectionAdjunction.sections X).map ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) ≫ |
| 47 | (AffineSectionIs.Construction.AffineSectionAdjunction.pushforwardIso f).hom.app ((Scheme.Modules.pullback f).obj M) := by |
| 48 | rw [iso_eq_sectionsMap] |
| 49 | exact AdjunctionSectionsLeft.Construction.AdjunctionSections.normalization _ _ _ _ _ M |
| 50 | |
| 51 | theorem one_tmul (s : (AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M) : |
| 52 | (iso f M).hom ((1 : Γ(Y, ⊤)) ⊗ₜ[Γ(X, ⊤),f.appTop.hom] s) = |
| 53 | PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map f M ⊤ s := |
| 54 | ConcreteCategory.congr_hom (normalization f M) s |
| 55 | |
| 56 | theorem tensorMap_eq_iso : PullbackSectionTensor.Construction.PullbackSectionCoefficients.tensorMap f M ⊤ = (iso f M).hom := by |
| 57 | apply ModuleCat.ExtendScalars.hom_ext |
| 58 | intro s |
| 59 | exact (PullbackSectionTensor.Construction.PullbackSectionCoefficients.tensorMap_one_tmul f M ⊤ s).trans (one_tmul f M s).symm |
| 60 | |
| 61 | theorem tensorMap_isIso : IsIso (PullbackSectionTensor.Construction.PullbackSectionCoefficients.tensorMap f M ⊤) := by |
| 62 | rw [tensorMap_eq_iso] |
| 63 | infer_instance |
| 64 | |
| 65 | end Construction.AffineGeometricSections |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineGeometric |