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.Divisors.LineBundles.Deformation.LocalizationSmooth |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.SpecialPrime |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizedSectionDeformationSmooth |
| 4 | |
| 5 | /-! # Deformation Special Smooth -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Section.DeformationSpecialSmooth.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Formal smoothness at every point of the special fiber of a genuine |
| 12 | smooth section, using its localized center and actual deformation algebra. -/ |
| 13 | |
| 14 | variable (A B : Type) [CommRing A] [CommRing B] [Algebra A B] [Algebra B A] |
| 15 | [IsScalarTower A B A] [Algebra.FormallySmooth A B] [Algebra.EssFiniteType A B] |
| 16 | [IsNoetherianRing A] [IsNoetherianRing B] |
| 17 | |
| 18 | theorem sectionDeformation_isSmoothAt_special |
| 19 | (q : PrimeSpectrum (Deformation.Iff.BundleCycles.deformationAlgebra (RingHom.ker (algebraMap B A)))) |
| 20 | (hq : Deformation.Iff.BundleCycles.deformationParameter (RingHom.ker (algebraMap B A)) ∈ q.asIdeal) : |
| 21 | Algebra.IsSmoothAt A q.asIdeal := by |
| 22 | let I := RingHom.ker (algebraMap B A) |
| 23 | let b := q.asIdeal.comap (algebraMap B (Deformation.Iff.BundleCycles.deformationAlgebra I)) |
| 24 | have hI : I ≤ b := Deformation.SpecialPrime.BundleCycles.deformationSpecialPrime_liesOver_center I q hq |
| 25 | let a : Ideal A := b.map (algebraMap B A) |
| 26 | let : a.IsPrime := Ideal.map_isPrime_of_surjective (Smooth.SectionCotangent.BundleCycles.algebraSection_surjective A B) hI |
| 27 | have ha : a.comap (algebraMap B A) = b := by |
| 28 | change (b.map (algebraMap B A)).comap (algebraMap B A) = b |
| 29 | rw [Ideal.comap_map_of_surjective _ (Smooth.SectionCotangent.BundleCycles.algebraSection_surjective A B)] |
| 30 | exact sup_of_le_left hI |
| 31 | apply Deformation.LocalizationSmooth.BundleCycles.deformation_isSmoothAt_of_coefficientLocalization A B I q |
| 32 | have h := LocalizedSectionDeformationSmooth.BundleCycles.localizedSection_deformation_formallySmooth A B a |
| 33 | change Algebra.FormallySmooth A (Deformation.Iff.BundleCycles.deformationAlgebra (I.map (algebraMap B (Localization.AtPrime b)))) |
| 34 | exact Deformation.LocalizationSmooth.BundleCycles.deformationLocalization_formallySmooth_congr A B I ha h |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Section.DeformationSpecialSmooth.BundleCycles |