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.BaseScalarTower |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.LocalizationLocus |
| 3 | |
| 4 | /-! # Localization Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.LocalizationSmooth.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smoothness of the deformation at a prime can be detected after |
| 11 | localizing the ambient coefficient ring at its actual contraction. -/ |
| 12 | |
| 13 | theorem deformationLocalization_formallySmooth_congr |
| 14 | (A R : Type) [CommRing A] [CommRing R] [Algebra A R] (I : Ideal R) |
| 15 | {p q : Ideal R} [p.IsPrime] [q.IsPrime] (hpq : p = q) |
| 16 | (h : Algebra.FormallySmooth A |
| 17 | (Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R (Localization.AtPrime p))))) : |
| 18 | Algebra.FormallySmooth A |
| 19 | (Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R (Localization.AtPrime q)))) := by |
| 20 | subst q |
| 21 | exact h |
| 22 | |
| 23 | theorem deformation_isSmoothAt_of_coefficientLocalization |
| 24 | (A R : Type) [CommRing A] [CommRing R] [Algebra A R] |
| 25 | (I : Ideal R) (q : PrimeSpectrum (Iff.BundleCycles.deformationAlgebra I)) |
| 26 | (h : Algebra.FormallySmooth A |
| 27 | (Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R |
| 28 | (Localization.AtPrime (q.asIdeal.comap (algebraMap R (Iff.BundleCycles.deformationAlgebra I)))))))) : |
| 29 | Algebra.IsSmoothAt A q.asIdeal := by |
| 30 | let p := q.asIdeal.comap (algebraMap R (Iff.BundleCycles.deformationAlgebra I)) |
| 31 | let S := Localization.AtPrime p |
| 32 | let D := Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S)) |
| 33 | let : Algebra (Iff.BundleCycles.deformationAlgebra I) D := (Deformation.Localization.BundleCycles.deformationBaseMap I S).toAlgebra |
| 34 | let : IsScalarTower A (Iff.BundleCycles.deformationAlgebra I) D := BaseScalarTower.BundleCycles.deformationBaseMap_scalarTower A R S I |
| 35 | let : IsLocalization (Deformation.Localization.BundleCycles.deformationDenominators I p.primeCompl) D := |
| 36 | Deformation.Localization.BundleCycles.deformationBaseMap_isLocalization I p.primeCompl S |
| 37 | let : Algebra.FormallySmooth A D := h |
| 38 | have hdisj : Disjoint (Deformation.Localization.BundleCycles.deformationDenominators I p.primeCompl : Set (Iff.BundleCycles.deformationAlgebra I)) |
| 39 | (q.asIdeal : Set (Iff.BundleCycles.deformationAlgebra I)) := by |
| 40 | apply Set.disjoint_left.mpr |
| 41 | rintro z ⟨r, hr, rfl⟩ hz |
| 42 | exact hr hz |
| 43 | have hq : q ∈ Set.range (PrimeSpectrum.comap (algebraMap (Iff.BundleCycles.deformationAlgebra I) D)) := by |
| 44 | rw [PrimeSpectrum.localization_comap_range D (Deformation.Localization.BundleCycles.deformationDenominators I p.primeCompl)] |
| 45 | exact hdisj |
| 46 | obtain ⟨q', hq'⟩ := hq |
| 47 | have h' := Smooth.LocalizationLocus.BundleCycles.isSmoothAt_of_localization A (Iff.BundleCycles.deformationAlgebra I) D |
| 48 | (Deformation.Localization.BundleCycles.deformationDenominators I p.primeCompl) q' |
| 49 | exact hq' ▸ h' |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.LocalizationSmooth.BundleCycles |