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.CompatibleTensorScalarAction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BundleSectionBaseChange |
| 3 | |
| 4 | /-! # Section Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.SectionBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical section tensor comparison is linear over the changed base, and flat affine base change gives an equivalence with that full scalar action. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | |
| 15 | variable {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 16 | variable (H : IsPullback a b f g) (M : X.Modules) |
| 17 | |
| 18 | local instance changedBaseTensorModule : |
| 19 | Module Γ(Y, ⊤) (TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 20 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (.op ⊤))) := by |
| 21 | change Module (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 22 | (TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 23 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (.op ⊤))) |
| 24 | infer_instance |
| 25 | |
| 26 | def baseChangeGlobalSectionsLinearMap : |
| 27 | TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 28 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (.op ⊤)) →ₗ[Γ(Y, ⊤)] |
| 29 | (Coefficient.ModulePresheaf.coefficientModulePresheaf b.appTop.hom ((Scheme.Modules.pullback a).obj M)).obj (.op ⊤) where |
| 30 | toFun := fun z => (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤) z |
| 31 | map_add' z w := ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤)).hom.map_add z w |
| 32 | map_smul' c z := by |
| 33 | let : Algebra Γ(S, ⊤) Γ(Y, ⊤) := g.appTop.hom.toAlgebra |
| 34 | exact CompatibleTensorScalarAction.compatibleScalarTensorMap_left_action |
| 35 | (Section.PresheafExtendedScalars.pushedCoefficientScalarComponent a f.appTop.hom ((Scheme.Modules.pullback a).obj M) |
| 36 | b.appTop.hom ⊤) |
| 37 | (Section.PresheafExtendedScalars.pushedCoefficientScalarComponent_coefficient a f.appTop.hom |
| 38 | ((Scheme.Modules.pullback a).obj M) b.appTop.hom |
| 39 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) ⊤) |
| 40 | ((Coefficient.PullbackSectionMap.coefficientPullbackSectionPresheafMap a f.appTop.hom M).app (.op ⊤)).hom c z |
| 41 | |
| 42 | def flat_lineBundleGlobalSectionsEquiv |
| 43 | [IsAffine S] [IsAffine Y] [CompactSpace X] |
| 44 | [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 45 | (L : Line.Bundles.LineBundle X) [Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g)] : |
| 46 | TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 47 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (.op ⊤)) ≃ₗ[Γ(Y, ⊤)] |
| 48 | (Coefficient.ModulePresheaf.coefficientModulePresheaf b.appTop.hom (L.pullback a).sheaf).obj (.op ⊤) := |
| 49 | LinearEquiv.ofBijective (baseChangeGlobalSectionsLinearMap H L.sheaf) |
| 50 | (HilbertConstruction.Flat.BundleSectionBaseChange.flat_lineBundleTensorComparison_bijective H L) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.SectionBaseChange |