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.IsoCoefficientSectionBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionBundleTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalSectionsPushforward |
| 4 | |
| 5 | /-! # Iso Scheme Section Equiv -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsoSchemeSectionEquiv |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scheme isomorphisms over Spec R induce R-linear equivalences of |
| 12 | actual sections, with the map explicitly given by section pullback. |
| 13 | Composing with a sheaf isomorphism retains that concrete formula. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {R : Type u} [CommRing R] {X Y : Over (Spec (.of R))} |
| 19 | variable (e : X ≅ Y) (M : Y.left.Modules) |
| 20 | |
| 21 | local instance sourceSchemeHom_isIso : IsIso e.hom.left := |
| 22 | inferInstanceAs (IsIso ((Over.forget (Spec (.of R))).map e.hom)) |
| 23 | |
| 24 | def sourceIsoSchemeSectionMap : |
| 25 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor Y.hom).obj M →ₗ[R] |
| 26 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj ((Scheme.Modules.pullback e.hom.left).obj M) where |
| 27 | toFun v := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) _ |
| 28 | (Ample.LineBundles.pullbackSection e.hom.left ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).symm v)) |
| 29 | map_add' v w := by |
| 30 | rw [map_add, Section.NonvanishingAddition.pullbackSection_add, map_add] |
| 31 | map_smul' r v := by |
| 32 | have hs : (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).symm (r • v) = |
| 33 | Scalar.SectionValues.scalarSection (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom r) |
| 34 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).symm v) := by |
| 35 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).injective |
| 36 | rw [AddEquiv.apply_symm_apply, Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar, AddEquiv.apply_symm_apply] |
| 37 | have hw : e.hom.left.appTop (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom r) = Coefficient.ModulePresheaf.schemeCoefficientMap X.hom r := |
| 38 | (RingHom.congr_fun (Coefficient.GlobalSectionsPushforward.schemeCoefficientMap_comp e.hom.left Y.hom) r).symm.trans |
| 39 | (congrArg (fun f : X.left ⟶ Spec (.of R) => Coefficient.ModulePresheaf.schemeCoefficientMap f r) e.hom.w) |
| 40 | change Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) _ |
| 41 | (Ample.LineBundles.pullbackSection e.hom.left |
| 42 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).symm (r • v))) = _ |
| 43 | rw [hs, Coefficient.RingSectionBasis.pullbackSection_scalarSection, hw] |
| 44 | exact Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) _ r _ |
| 45 | |
| 46 | def sourceIsoSchemeSectionEquiv : |
| 47 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor Y.hom).obj M ≃ₗ[R] |
| 48 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj ((Scheme.Modules.pullback e.hom.left).obj M) := |
| 49 | LinearEquiv.ofBijective (sourceIsoSchemeSectionMap e M) |
| 50 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) _).bijective.comp |
| 51 | ((IsoCoefficientSectionBasis.pullbackSection_bijective_of_isIso e.hom.left M).comp |
| 52 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).symm.bijective)) |
| 53 | |
| 54 | def sourceBundleIsoSchemeSectionEquiv {L : X.left.Modules} |
| 55 | (H : (Scheme.Modules.pullback e.hom.left).obj M ≅ L) : |
| 56 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor Y.hom).obj M ≃ₗ[R] (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor X.hom).obj L := |
| 57 | (sourceIsoSchemeSectionEquiv e M).trans (Coefficient.SectionBundleTransport.coefficientBundleSectionEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) H) |
| 58 | |
| 59 | theorem sourceBundleIsoSchemeSectionEquiv_section {L : X.left.Modules} |
| 60 | (H : (Scheme.Modules.pullback e.hom.left).obj M ≅ L) (s : Line.Bundles.structureModule Y.left ⟶ M) : |
| 61 | sourceBundleIsoSchemeSectionEquiv e M H |
| 62 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M s) = |
| 63 | Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) L (Ample.LineBundles.pullbackSection e.hom.left s ≫ H.hom) := by |
| 64 | change Coefficient.SectionBundleTransport.coefficientBundleSectionEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) H |
| 65 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) _ |
| 66 | (Ample.LineBundles.pullbackSection e.hom.left |
| 67 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M).symm |
| 68 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap Y.hom) M s)))) = _ |
| 69 | rw [AddEquiv.symm_apply_apply] |
| 70 | exact (Coefficient.SectionBundleTransport.coefficientRingSectionAddEquiv_postcomp (Coefficient.ModulePresheaf.schemeCoefficientMap X.hom) H.hom _).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsoSchemeSectionEquiv |