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.Module.TensorSheafNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.ModuleTensorComparison |
| 3 | |
| 4 | /-! # Tensor Surjectivity Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.TensorSurjectivityIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Surjectivity of the actual section tensor comparison is preserved by a module-sheaf isomorphism. This allows a composed Poincare pullback to be identified with its iterated pullback without replacing either comparison map. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | |
| 15 | theorem moduleSectionTensorComparisonApp_surjective_of_iso |
| 16 | {X Y : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 17 | (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (q : B →+* Γ(Y, ⊤)) |
| 18 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp c) |
| 19 | {M N : X.Modules} (e : M ≅ N) (U : X.Opens) |
| 20 | (h : Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq U)) : |
| 21 | Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c N q hq U) := by |
| 22 | let eS := ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).mapIso e).app (op U) |
| 23 | let eT := ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).mapIso |
| 24 | ((Scheme.Modules.pushforward a).mapIso ((Scheme.Modules.pullback a).mapIso e))).app (op U) |
| 25 | let F := Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq U |
| 26 | let G := Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c N q hq U |
| 27 | let σ := TensorProduct.congr (LinearEquiv.refl R B) eS.toLinearEquiv |
| 28 | have hc : G.comp σ.toLinearMap = eT.toLinearEquiv.toLinearMap.comp F := by |
| 29 | apply TensorProduct.ext' |
| 30 | intro b x |
| 31 | exact Module.TensorSheafNaturality.moduleSectionTensorComparisonApp_sheaf_natural a c q hq e.hom U b x |
| 32 | intro y |
| 33 | obtain ⟨x, hx⟩ := h (eT.inv y) |
| 34 | refine ⟨σ x, ?_⟩ |
| 35 | exact (LinearMap.congr_fun hc x).trans |
| 36 | ((congrArg eT.hom hx).trans (eT.toLinearEquiv.apply_symm_apply y)) |
| 37 | |
| 38 | theorem baseChangeModuleTensorComparison_surjective_of_iso |
| 39 | {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 40 | (H : IsPullback a b f g) {M N : X.Modules} (e : M ≅ N) (U : X.Opens) |
| 41 | (h : Function.Surjective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (op U))) : |
| 42 | Function.Surjective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H N).app (op U)) := |
| 43 | moduleSectionTensorComparisonApp_surjective_of_iso (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 44 | a f.appTop.hom b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) e U h |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.TensorSurjectivityIso |