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 Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | |
| 4 | /-! # Integral Scalar Unit -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Products.IntegralScalarUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The tensor unit for extension of integral coefficients |
| 12 | |
| 13 | The scalar structure is induced by the same integer ring homomorphism as |
| 14 | `ModuleCat.extendScalars`, so the native tensor-unit equivalence is linear |
| 15 | for the actual coefficient extension. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | open scoped TensorProduct ChangeOfRings |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | /-- Extension of the rank-one integral module is the coefficient ring. -/ |
| 26 | def integralScalarUnitIso (R : Type) [CommRing R] : |
| 27 | (ModuleCat.extendScalars (Int.castRingHom R)).obj (ModuleCat.of ℤ ℤ) ≅ |
| 28 | ModuleCat.of R R := by |
| 29 | letI : Algebra ℤ R := (Int.castRingHom R).toAlgebra |
| 30 | letI : Module ℤ R := Module.compHom R (Int.castRingHom R) |
| 31 | letI : SMul ℤ R := (Module.compHom R (Int.castRingHom R)).toSMul |
| 32 | letI : IsScalarTower ℤ R R := IsScalarTower.of_compHom ℤ R R |
| 33 | letI : SMulCommClass ℤ R R := SMulCommClass.of_commMonoid ℤ R R |
| 34 | exact (TensorProduct.AlgebraTensorModule.rid ℤ R R).toModuleIso |
| 35 | |
| 36 | /-- The actual tensor-unit map multiplies the scalar and the integer. -/ |
| 37 | @[simp] |
| 38 | theorem integralScalarUnitIso_hom_tmul (R : Type) [CommRing R] (r : R) (z : ℤ) : |
| 39 | (integralScalarUnitIso R).hom (r ⊗ₜ[ℤ, Int.castRingHom R] z) = r * (z : R) := by |
| 40 | change (z : R) * r = r * (z : R) |
| 41 | exact mul_comm _ _ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicTopology.Products.IntegralScalarUnit |