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.Coefficient.RingSectionBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SectionAdjunction |
| 3 | |
| 4 | /-! # Iso Coefficient Section Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsoCoefficientSectionBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback through an isomorphism over the base gives a coefficient- |
| 11 | linear equivalence of actual global sections and transports section bases. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u v |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | theorem pullbackSection_bijective_of_isIso {X Y : Scheme.{u}} (f : X ⟶ Y) [IsIso f] (M : Y.Modules) : |
| 18 | Function.Bijective (fun s : Line.Bundles.structureModule Y ⟶ M => Ample.LineBundles.pullbackSection f s) := by |
| 19 | let F := Scheme.Modules.pullback f |
| 20 | let : F.IsEquivalence := Affine.SectionAdjunction.AffineSectionAdjunction.pullback_equivalence (asIso f) |
| 21 | constructor |
| 22 | · intro s t h |
| 23 | apply F.map_injective |
| 24 | exact (cancel_epi (Line.Bundles.structureModulePullbackIso f).inv).mp h |
| 25 | · intro t |
| 26 | obtain ⟨s, hs⟩ := F.map_surjective ((Line.Bundles.structureModulePullbackIso f).hom ≫ t) |
| 27 | refine ⟨s, ?_⟩ |
| 28 | change (Line.Bundles.structureModulePullbackIso f).inv ≫ F.map s = t |
| 29 | rw [hs, Iso.inv_hom_id_assoc] |
| 30 | |
| 31 | variable {S : Scheme.{u}} {X Y : Over S} (e : X ≅ Y) (M : Y.left.Modules) |
| 32 | |
| 33 | local instance sourceHom_isIso : IsIso e.hom.left := |
| 34 | inferInstanceAs (IsIso ((Over.forget S).map e.hom)) |
| 35 | |
| 36 | def sourceIsoCoefficientSectionMap : |
| 37 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor Y.hom.appTop.hom).obj M →ₗ[Γ(S, ⊤)] |
| 38 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor X.hom.appTop.hom).obj ((Scheme.Modules.pullback e.hom.left).obj M) where |
| 39 | toFun v := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv X.hom.appTop.hom _ |
| 40 | (Ample.LineBundles.pullbackSection e.hom.left ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv Y.hom.appTop.hom M).symm v)) |
| 41 | map_add' v w := by |
| 42 | rw [map_add, Section.NonvanishingAddition.pullbackSection_add, map_add] |
| 43 | map_smul' r v := by |
| 44 | have hs : (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv Y.hom.appTop.hom M).symm (r • v) = |
| 45 | Scalar.SectionValues.scalarSection (Y.hom.appTop r) ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv Y.hom.appTop.hom M).symm v) := by |
| 46 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv Y.hom.appTop.hom M).injective |
| 47 | rw [AddEquiv.apply_symm_apply, Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar, AddEquiv.apply_symm_apply] |
| 48 | have hw : e.hom.left.appTop (Y.hom.appTop r) = X.hom.appTop r := |
| 49 | congrArg (fun a : X.left ⟶ S => a.appTop r) e.hom.w |
| 50 | change Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv X.hom.appTop.hom _ |
| 51 | (Ample.LineBundles.pullbackSection e.hom.left ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv Y.hom.appTop.hom M).symm (r • v))) = _ |
| 52 | rw [hs, Coefficient.RingSectionBasis.pullbackSection_scalarSection, hw] |
| 53 | exact Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar X.hom.appTop.hom _ r _ |
| 54 | |
| 55 | def sourceIsoCoefficientSectionEquiv : |
| 56 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor Y.hom.appTop.hom).obj M ≃ₗ[Γ(S, ⊤)] |
| 57 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor X.hom.appTop.hom).obj ((Scheme.Modules.pullback e.hom.left).obj M) := |
| 58 | LinearEquiv.ofBijective (sourceIsoCoefficientSectionMap e M) |
| 59 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv X.hom.appTop.hom _).bijective.comp |
| 60 | ((pullbackSection_bijective_of_isIso e.hom.left M).comp |
| 61 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv Y.hom.appTop.hom M).symm.bijective)) |
| 62 | |
| 63 | theorem coefficientRingBasisFamily_sourceIso {ι : Type v} |
| 64 | (B : Module.Basis ι Γ(S, ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor Y.hom.appTop.hom).obj M)) (i : ι) : |
| 65 | Coefficient.RingSectionBasis.coefficientRingBasisFamily X.hom.appTop.hom _ (B.map (sourceIsoCoefficientSectionEquiv e M)) i = |
| 66 | Ample.LineBundles.pullbackSection e.hom.left (Coefficient.RingSectionBasis.coefficientRingBasisFamily Y.hom.appTop.hom M B i) := by |
| 67 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv X.hom.appTop.hom _).injective |
| 68 | simp only [Coefficient.RingSectionBasis.coefficientRingBasisFamily, Module.Basis.map_apply, AddEquiv.apply_symm_apply] |
| 69 | rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsoCoefficientSectionBasis |