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.Localized.BasisTransport |
| 2 | import Mathlib.Algebra.Category.Ring.Constructions |
| 3 | import Mathlib.RingTheory.Localization.BaseChange |
| 4 | |
| 5 | /-! # Localization Pushout Basis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocalizationPushoutBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite basis of a canonical localization transports across a ring pushout whose base map is that localization. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | universe u |
| 14 | |
| 15 | def localizationPushoutBasis {R A S B : Type u} |
| 16 | [CommRing R] [CommRing A] [CommRing S] [CommRing B] |
| 17 | (f : R →+* A) (g : R →+* S) (k : A →+* B) (l : S →+* B) |
| 18 | (h : IsPushout (CommRingCat.ofHom g) (CommRingCat.ofHom f) |
| 19 | (CommRingCat.ofHom l) (CommRingCat.ofHom k)) (T : Submonoid R) |
| 20 | (hS : @IsLocalization R _ T S _ g.toAlgebra) {ι : Type*} |
| 21 | (b : @Module.Basis ι (Localization T) (@LocalizedModule R _ T A _ f.toModule) |
| 22 | _ _ inferInstance) : @Module.Basis ι S B _ _ l.toModule := by |
| 23 | letI : Algebra R A := f.toAlgebra |
| 24 | letI : Algebra R S := g.toAlgebra |
| 25 | letI : Algebra A B := k.toAlgebra |
| 26 | letI : Algebra S B := l.toAlgebra |
| 27 | letI : Algebra R B := (k.comp f).toAlgebra |
| 28 | haveI : IsScalarTower R A B := IsScalarTower.of_algebraMap_eq' rfl |
| 29 | haveI : IsScalarTower R S B := IsScalarTower.of_algebraMap_eq' |
| 30 | (congrArg CommRingCat.Hom.hom h.w.symm) |
| 31 | haveI : IsLocalization T S := hS |
| 32 | have hp : Algebra.IsPushout R S A B := CommRingCat.isPushout_iff_isPushout.mp h |
| 33 | haveI : IsLocalization (Algebra.algebraMapSubmonoid A T) B := |
| 34 | (Algebra.isLocalization_iff_isPushout T S).mpr hp.symm |
| 35 | exact Localized.BasisTransport.localizedBasisTransport T (IsScalarTower.toAlgHom R A B).toLinearMap b |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocalizationPushoutBasis |