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.Relative.TensorKernel |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IdempotentKernel |
| 3 | import Mathlib.RingTheory.Unramified.Basic |
| 4 | |
| 5 | /-! # Unramified Diagonal Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UnramifiedDiagonalIdeal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over an unramified intermediate algebra, the relative diagonal |
| 12 | ideal is idempotent. Nakayama's lemma therefore removes it at a local |
| 13 | point of the absolute diagonal. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (K P A : Type u) [CommRing K] [CommRing P] [CommRing A] |
| 23 | [Algebra K P] [Algebra K A] [Algebra P A] [IsScalarTower K P A] |
| 24 | |
| 25 | theorem preimage : |
| 26 | (KaehlerDifferential.ideal P A).comap (Relative.TensorKernel.map K P A).toRingHom = |
| 27 | KaehlerDifferential.ideal K A := by |
| 28 | change (RingHom.ker (Algebra.TensorProduct.lmul' P (S := A)).toRingHom).comap |
| 29 | (Relative.TensorKernel.map K P A).toRingHom = |
| 30 | RingHom.ker (Algebra.TensorProduct.lmul' K (S := A)).toRingHom |
| 31 | rw [RingHom.comap_ker] |
| 32 | apply congrArg RingHom.ker |
| 33 | ext a <;> rfl |
| 34 | |
| 35 | theorem localized [Algebra.FormallyUnramified P A] |
| 36 | (L : Type u) [CommRing L] [IsNoetherianRing L] [IsLocalRing L] |
| 37 | (g : A ⊗[K] A →+* L) (hp : (KaehlerDifferential.ideal K A).map g ≠ ⊤) : |
| 38 | (KaehlerDifferential.ideal K A).map g = |
| 39 | (RingHom.ker (Relative.TensorKernel.map K P A).toRingHom).map g := by |
| 40 | have hi : KaehlerDifferential.ideal P A * KaehlerDifferential.ideal P A = KaehlerDifferential.ideal P A := |
| 41 | (Ideal.cotangent_subsingleton_iff _).mp (inferInstanceAs (Subsingleton Ω[A⁄P])) |
| 42 | have h := Local.IdempotentKernel.localized (A ⊗[K] A) (A ⊗[P] A) L |
| 43 | (Relative.TensorKernel.map K P A).toRingHom (Relative.TensorKernel.surjective K P A) |
| 44 | (KaehlerDifferential.ideal P A) hi g (by rwa [preimage]) |
| 45 | rwa [preimage] at h |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UnramifiedDiagonalIdeal |