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.OrderedCech.TensorDifferential |
| 2 | |
| 3 | /-! # Tensor Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.TensorComplex.CechTensorComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical cochain map induced by a natural tensor comparison on actual sections. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 11 | open scoped TensorProduct |
| 12 | universe u |
| 13 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 14 | variable (A : Type u) [AddCommGroup A] [Module R A] |
| 15 | variable (c : R →+* Γ(X, ⊤)) (M N : X.Modules) |
| 16 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 17 | variable (β : ∀ V : X.Opens, A ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) →ₗ[R] |
| 18 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) |
| 19 | variable (hβ : ∀ (V W : X.Opens) (i : V ⟶ W) (a : A) |
| 20 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op W)), |
| 21 | β V (a ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map i.op x) = |
| 22 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map i.op (β W (a ⊗ₜ[R] x))) |
| 23 | |
| 24 | include hβ |
| 25 | |
| 26 | def map : HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex A (Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) ⟶ |
| 27 | Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c N U := |
| 28 | CochainComplex.ofHom (TensorTerms.CechTensorComparison.mapF A c M N U β) (fun q => by |
| 29 | change TensorTerms.CechTensorComparison.mapF A c M N U β q ≫ (Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c N U).d q (q + 1) = |
| 30 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A).map ((Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U).d q (q + 1)) ≫ |
| 31 | TensorTerms.CechTensorComparison.mapF A c M N U β (q + 1) |
| 32 | rw [Ordered.CoefficientCechComplex.orderedCoefficientCechComplex_d, Ordered.CoefficientCechComplex.orderedCoefficientCechComplex_d] |
| 33 | exact (TensorDifferential.CechTensorComparison.differential_comm A c M N U β hβ q).symm) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.TensorComplex.CechTensorComparison |