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.Affine.QuotientCoefficientMap |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 4 | import Mathlib.RingTheory.Localization.Module |
| 5 | |
| 6 | /-! # Basis Coefficient Transport -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.BasisCoefficientTransport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A basis on a principal localization can be transported through any |
| 13 | further coefficient algebra. Affine coordinate points have the exact global |
| 14 | coefficient map used by this tensor transport. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | universe u v w |
| 18 | |
| 19 | def localizedModuleBasis_baseChange |
| 20 | {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 21 | (r : R) (B : Type w) [CommRing B] [Algebra R B] |
| 22 | [Algebra (Localization.Away r) B] [IsScalarTower R (Localization.Away r) B] |
| 23 | {ι : Type*} (b : Module.Basis ι (Localization.Away r) (LocalizedModule.Away r M)) : |
| 24 | Module.Basis ι B (B ⊗[R] M) := |
| 25 | ((b.map (LocalizedModule.equivTensorProduct (Submonoid.powers r) M)).baseChange B).map |
| 26 | (TensorProduct.AlgebraTensorModule.cancelBaseChange R (Localization.Away r) B B M) |
| 27 | |
| 28 | theorem affineCoordinateMap_appTop |
| 29 | {S : Scheme.{u}} [IsAffine S] {B : Type u} [CommRing B] (φ : Γ(S, ⊤) →+* B) : |
| 30 | (Affine.QuotientCoefficientMap.affineCoordinateMap φ).appTop.hom = (Scheme.ΓSpecIso (.of B)).inv.hom.comp φ := by |
| 31 | apply RingHom.ext |
| 32 | intro r |
| 33 | apply (Scheme.ΓSpecIso (.of B)).commRingCatIsoToRingEquiv.injective |
| 34 | have h := RingHom.congr_fun (Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap φ) r |
| 35 | exact h.trans ((Scheme.ΓSpecIso (.of B)).commRingCatIsoToRingEquiv.apply_symm_apply (φ r)).symm |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.BasisCoefficientTransport |