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.BaseChangeComplex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.TensorProducts |
| 3 | |
| 4 | /-! # Functor Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.FunctorComparison.ScalarFunctorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The explicit tensor functor used in local algebra agrees with native |
| 11 | extension of scalars, including iterated extension to a residue field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 19 | |
| 20 | omit [Algebra R S] in |
| 21 | def isoOfHom (f : R →+* S) : letI : Algebra R S := f.toAlgebra |
| 22 | Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R S ≅ ModuleCat.extendScalars f := by |
| 23 | letI : Algebra R S := f.toAlgebra |
| 24 | refine NatIso.ofComponents (fun M => (LinearEquiv.refl S (S ⊗[R] M)).toModuleIso) ?_ |
| 25 | intro M N a |
| 26 | apply ModuleCat.ExtendScalars.hom_ext (f := f) |
| 27 | intro m |
| 28 | rfl |
| 29 | |
| 30 | def iso : Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R S ≅ |
| 31 | ModuleCat.extendScalars (algebraMap R S) := by |
| 32 | have h : @Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R S _ _ (algebraMap R S).toAlgebra = |
| 33 | Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R S := |
| 34 | congrArg (fun a : Algebra R S => @Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R S _ _ a) |
| 35 | (toAlgebra_algebraMap (R := R) (S := S)) |
| 36 | exact eqToIso h.symm ≪≫ isoOfHom R S (algebraMap R S) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.FunctorComparison.ScalarFunctorComparison |