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.CycleClass.Thom.RetractModuleLength |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SurjectiveLocalLength |
| 3 | |
| 4 | /-! # Retract Local Length -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.RetractLocalLength.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local length on an algebra retraction is preserved at the prime |
| 11 | and its inverse image for modules killed by the retraction kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedModuleLength.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.RetractModuleLength.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 21 | (μ : A →ₐ[R] R) (M : ModuleCat.{u} A) |
| 22 | |
| 23 | attribute [local instance] RetractModuleLength.Constructions.restrictedAlgebraModule |
| 24 | |
| 25 | theorem localLength_eq (h : RingHom.ker μ.toRingHom ≤ Module.annihilator A M) |
| 26 | (q : PrimeSpectrum R) : |
| 27 | LocalizedModuleLength.Constructions.localLength A M (PrimeSpectrum.comap μ.toRingHom q) = |
| 28 | LocalizedModuleLength.Constructions.localLength R ((ModuleCat.restrictScalars (algebraMap R A)).obj M) q := by |
| 29 | let : Algebra A R := μ.toRingHom.toAlgebra |
| 30 | let : IsScalarTower A R ((ModuleCat.restrictScalars (algebraMap R A)).obj M) := |
| 31 | IsScalarTower.of_algebraMap_smul (fun a x => (RetractModuleLength.Constructions.factor_smul R A μ M h a x).symm) |
| 32 | apply SurjectiveLocalLength.Constructions.localLength_eq A R |
| 33 | ((ModuleCat.restrictScalars (algebraMap R A)).obj M) q |
| 34 | intro r |
| 35 | exact ⟨algebraMap R A r, μ.commutes r⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.CycleClass.Thom.RetractLocalLength.Constructions |