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.Pullback.SectionGlobalValue |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.SectionValues |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorSectionValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.ModuleTensorComparison |
| 5 | |
| 6 | /-! # Scalar Section Values -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ScalarSectionValues |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Pure tensors in the canonical comparison are global values of actual sections multiplied by functions from the changed base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem tensorComparison_scalarSectionValue |
| 19 | {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 20 | (H : IsPullback a b f g) (M : X.Modules) (c : Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 21 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (.op ⊤)) : |
| 22 | (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 23 | (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤) (c ⊗ₜ[Γ(S, ⊤)] x)) = |
| 24 | Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M) |
| 25 | (Scalar.SectionValues.scalarSection (b.appTop c) (Ample.LineBundles.pullbackSection a ((Global.Sections.moduleSectionHomEquiv M).symm x))) := by |
| 26 | have hv := (Pullback.SectionGlobalValue.pullbackSection_globalValue a ((Global.Sections.moduleSectionHomEquiv M).symm x)).trans |
| 27 | (congrArg (((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app ⊤) |
| 28 | ((Global.Sections.moduleSectionHomEquiv M).apply_symm_apply x)) |
| 29 | have hs := (Scalar.SectionValues.scalarSection_globalValue (b.appTop c) |
| 30 | (Ample.LineBundles.pullbackSection a ((Global.Sections.moduleSectionHomEquiv M).symm x))).trans |
| 31 | (congrArg (fun v : Γ((Scheme.Modules.pullback a).obj M, ⊤) => b.appTop c • v) hv) |
| 32 | have h := Module.TensorSectionValues.moduleSectionTensorComparisonApp_value (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 33 | a f.appTop.hom M b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) ⊤ c x |
| 34 | change (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 35 | (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤) (c ⊗ₜ[Γ(S, ⊤)] x)) = |
| 36 | (P.presheaf.map (𝟙 (.op (⊤ : P.Opens))) (b.appTop c)) • |
| 37 | (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 38 | ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app ⊤ x) at h |
| 39 | have h' : (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 40 | (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op ⊤) (c ⊗ₜ[Γ(S, ⊤)] x)) = |
| 41 | b.appTop c • (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 42 | ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app ⊤ x) := by |
| 43 | simpa only [P.presheaf.map_id, CommRingCat.id_apply] using h |
| 44 | exact h'.trans hs.symm |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ScalarSectionValues |