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.PullbackSectionValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.OpenPullbackValues |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Map |
| 4 | |
| 5 | /-! # Tensor Source -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.TensorSource |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restriction to an open subscheme gives the actual coefficient-linear equivalence on section values and hence on their scalar extensions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} {R : Type u} [CommRing R] |
| 18 | variable (a : Y ⟶ X) [IsOpenImmersion a] (f : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 19 | |
| 20 | theorem coefficientPullbackSectionValueMap_bijective_of_open (U : X.Opens) (hU : U ≤ a.opensRange) : |
| 21 | Function.Bijective (Coefficient.PullbackSectionValues.coefficientPullbackSectionValueMap a f M U) := |
| 22 | (ConcreteCategory.isIso_iff_bijective (Coefficient.OpenPullbackValues.coefficientOpenPullbackValueIso a f M U hU).hom).mp inferInstance |
| 23 | |
| 24 | def coefficientOpenPullbackSectionEquiv (U : X.Opens) (hU : U ≤ a.opensRange) : |
| 25 | (Coefficient.ModulePresheaf.coefficientModulePresheaf f M).obj (.op U) ≃ₗ[R] |
| 26 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp f) ((Scheme.Modules.pullback a).obj M)).obj (.op (a ⁻¹ᵁ U)) := |
| 27 | LinearEquiv.ofBijective (Coefficient.PullbackSectionValues.coefficientPullbackSectionValueMap a f M U) |
| 28 | (coefficientPullbackSectionValueMap_bijective_of_open a f M U hU) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.TensorSource |