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.Scalar.SectionBaseChange |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Section Basis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.SectionBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A bijective actual section comparison transports a basis to precisely |
| 12 | the pulled-back family of sheaf sections, with the full changed-base scalar action. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | universe u v |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 19 | variable (H : IsPullback a b f g) (M : X.Modules) |
| 20 | |
| 21 | theorem baseChangeGlobalSectionsLinearMap_one_section (s : Line.Bundles.structureModule X ⟶ M) : |
| 22 | Scalar.SectionBaseChange.baseChangeGlobalSectionsLinearMap H M |
| 23 | ((1 : Affine.TensorSectionComparison.morphismGlobalAlgebra g) ⊗ₜ[Γ(S, ⊤)] Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv f.appTop.hom M s) = |
| 24 | Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv b.appTop.hom ((Scheme.Modules.pullback a).obj M) |
| 25 | (Ample.LineBundles.pullbackSection a s) := by |
| 26 | change (ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤) |
| 27 | ((1 : Affine.TensorSectionComparison.morphismGlobalAlgebra g) ⊗ₜ[Γ(S, ⊤)] Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv f.appTop.hom M s) = _ |
| 28 | erw [ModuleTensorComparison.baseChangeModuleTensorComparison_one] |
| 29 | exact (Pullback.SectionGlobalValue.pullbackSection_globalValue a s).symm |
| 30 | |
| 31 | def cartesianSectionBasis |
| 32 | (h : Function.Bijective ((ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤))) |
| 33 | {ι : Type v} (B : Module.Basis ι Γ(S, ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f.appTop.hom).obj M)) : |
| 34 | Module.Basis ι Γ(Y, ⊤) |
| 35 | ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor b.appTop.hom).obj ((Scheme.Modules.pullback a).obj M)) := by |
| 36 | let : Algebra Γ(S, ⊤) Γ(Y, ⊤) := g.appTop.hom.toAlgebra |
| 37 | exact (B.baseChange Γ(Y, ⊤)).map |
| 38 | (LinearEquiv.ofBijective (Scalar.SectionBaseChange.baseChangeGlobalSectionsLinearMap H M) h) |
| 39 | |
| 40 | theorem cartesianSectionBasis_family |
| 41 | (h : Function.Bijective ((ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤))) |
| 42 | {ι : Type v} (B : Module.Basis ι Γ(S, ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f.appTop.hom).obj M)) |
| 43 | (i : ι) : |
| 44 | Coefficient.RingSectionBasis.coefficientRingBasisFamily b.appTop.hom ((Scheme.Modules.pullback a).obj M) |
| 45 | (cartesianSectionBasis H M h B) i = |
| 46 | Ample.LineBundles.pullbackSection a (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom M B i) := by |
| 47 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv b.appTop.hom ((Scheme.Modules.pullback a).obj M)).injective |
| 48 | rw [show Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv b.appTop.hom ((Scheme.Modules.pullback a).obj M) |
| 49 | (Coefficient.RingSectionBasis.coefficientRingBasisFamily b.appTop.hom ((Scheme.Modules.pullback a).obj M) |
| 50 | (cartesianSectionBasis H M h B) i) = cartesianSectionBasis H M h B i from |
| 51 | (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv b.appTop.hom _).apply_symm_apply _] |
| 52 | let : Algebra Γ(S, ⊤) Γ(Y, ⊤) := g.appTop.hom.toAlgebra |
| 53 | change Scalar.SectionBaseChange.baseChangeGlobalSectionsLinearMap H M ((B.baseChange Γ(Y, ⊤)) i) = _ |
| 54 | rw [Module.Basis.baseChange_apply] |
| 55 | have he := baseChangeGlobalSectionsLinearMap_one_section H M |
| 56 | (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom M B i) |
| 57 | simpa only [Coefficient.RingSectionBasis.coefficientRingBasisFamily, AddEquiv.apply_symm_apply] using he |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.SectionBasis |