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.Local.ParameterMap |
| 2 | import Mathlib.RingTheory.DiscreteValuationRing.Basic |
| 3 | |
| 4 | /-! # DVR Formal Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.DVRFormalSmooth.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A discrete valuation ring essentially of finite type over a |
| 11 | characteristic-zero field is formally smooth over that field. -/ |
| 12 | |
| 13 | open _root_.Algebra _root_.Polynomial IsLocalRing |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.ParameterMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SmoothLocalFiber.Constructions |
| 16 | |
| 17 | theorem formallySmooth (k R : Type*) [Field k] [CharZero k] |
| 18 | [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 19 | [Algebra k R] [Algebra.EssFiniteType k R] : Algebra.FormallySmooth k R := by |
| 20 | obtain ⟨t, ht⟩ := IsDiscreteValuationRing.exists_irreducible R |
| 21 | let A := Local.ParameterMap.Constructions.parameterStalk k R t |
| 22 | let : Algebra A R := (Local.ParameterMap.Constructions.parameterMap k R t).toRingHom.toAlgebra |
| 23 | let : IsScalarTower k A R := IsScalarTower.of_algebraMap_eq' |
| 24 | (Local.ParameterMap.Constructions.parameterMap k R t).comp_algebraMap.symm |
| 25 | let : IsLocalHom (algebraMap A R) := Local.ParameterMap.Constructions.parameterMap_isLocalHom k R t |
| 26 | let : Module.IsTorsionFree A R := Module.isTorsionFree_iff_algebraMap_injective.mpr |
| 27 | (Local.ParameterMap.Constructions.parameterMap_injective k R t ht.ne_zero ht.not_isUnit) |
| 28 | let : Module.Flat A R := inferInstance |
| 29 | let : Algebra.EssFiniteType A R := Algebra.EssFiniteType.of_comp k A R |
| 30 | let : CharZero (ResidueField A) := |
| 31 | charZero_of_injective_algebraMap (algebraMap k (ResidueField A)).injective |
| 32 | have hm : (maximalIdeal A).map (algebraMap A R) = maximalIdeal R := |
| 33 | (Local.ParameterMap.Constructions.parameterMap_maximalIdeal k R t ht.not_isUnit).trans |
| 34 | ((IsDiscreteValuationRing.irreducible_iff_uniformizer t).mp ht).symm |
| 35 | let : Algebra.FormallySmooth A R := SmoothLocalFiber.Constructions.formallySmooth_of_maximalIdeal_map A R hm |
| 36 | let : Algebra.FormallySmooth k A := Algebra.FormallySmooth.comp k k[X] A |
| 37 | exact Algebra.FormallySmooth.comp k A R |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.CycleClass.Thom.DVRFormalSmooth.Constructions |