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.IntersectionTheory.ProjectionFormula.Smooth.LocalFiber |
| 2 | import Mathlib.RingTheory.Localization.LocalizationLocalization |
| 3 | |
| 4 | /-! # Localized Base -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.LocalizedBase |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Localizing both sides of a smooth algebra gives a local domain |
| 11 | closed fiber. The intermediate smooth presentation is the actual tensor |
| 12 | product with the localized base. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem quotient_domain (R A T S : Type u) [CommRing R] [CommRing A] |
| 21 | [Algebra R A] [Algebra.Smooth R A] |
| 22 | [CommRing T] [IsLocalRing T] [Algebra R T] |
| 23 | [CommRing S] [IsLocalRing S] [Algebra R S] [Algebra T S] [Algebra A S] |
| 24 | [IsScalarTower R T S] [IsScalarTower R A S] [IsLocalHom (algebraMap T S)] |
| 25 | (N : Submonoid R) (M : Submonoid A) [IsLocalization N T] [IsLocalization M S] |
| 26 | (hNM : Algebra.algebraMapSubmonoid A N ≤ M) : |
| 27 | IsDomain (S ⧸ (IsLocalRing.maximalIdeal T).map (algebraMap T S)) := by |
| 28 | let B := T ⊗[R] A |
| 29 | let φ : B →ₐ[T] S := Algebra.TensorProduct.lift (Algebra.ofId T S) |
| 30 | (IsScalarTower.toAlgHom R A S) (fun _ _ => Commute.all _ _) |
| 31 | let : Algebra B S := φ.toRingHom.toAlgebra |
| 32 | let : IsScalarTower T B S := IsScalarTower.of_algebraMap_eq' (by |
| 33 | ext t |
| 34 | exact (φ.commutes t).symm) |
| 35 | let : Algebra A B := Algebra.TensorProduct.rightAlgebra |
| 36 | let : IsScalarTower A B S := IsScalarTower.of_algebraMap_eq' (by |
| 37 | ext a |
| 38 | change algebraMap A S a = φ (1 ⊗ₜ[R] a) |
| 39 | rw [Algebra.TensorProduct.lift_tmul] |
| 40 | simp only [map_one, one_mul] |
| 41 | rfl) |
| 42 | let : IsLocalization (Algebra.algebraMapSubmonoid A N) B := IsLocalization.tensorRight T N |
| 43 | let : IsLocalization (M.map (algebraMap A B)) S := |
| 44 | IsLocalization.isLocalization_of_submonoid_le B S (Algebra.algebraMapSubmonoid A N) M hNM |
| 45 | exact LocalFiber.quotient_domain T B S (M.map (algebraMap A B)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.LocalizedBase |