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 Mathlib.RingTheory.Smooth.Flat |
| 2 | import Mathlib.RingTheory.Etale.Basic |
| 3 | import Mathlib.RingTheory.Flat.EquationalCriterion |
| 4 | import Mathlib.RingTheory.Unramified.Field |
| 5 | import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation |
| 6 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 7 | import Mathlib.RingTheory.LocalRing.ResidueField.Ideal |
| 8 | |
| 9 | /-! # Etale Algebra Reduced -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleAlgebraReduced |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! A finite etale algebra over an arbitrary reduced ring is reduced. |
| 16 | Projective-module duals detect elements, and every residue fiber is reduced. -/ |
| 17 | |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | theorem finite_etale_algebra_isReduced (R A : Type*) [CommRing R] [CommRing A] |
| 21 | [Algebra R A] [IsReduced R] [Module.Finite R A] [Algebra.Etale R A] : IsReduced A := by |
| 22 | have : Module.FinitePresentation R A := Module.FinitePresentation.of_finite_of_finitePresentation R A |
| 23 | have : Module.Projective R A := Module.Flat.projective_of_finitePresentation |
| 24 | constructor |
| 25 | intro a ha |
| 26 | apply (Module.forall_dual_apply_eq_zero_iff R a).mp |
| 27 | intro φ |
| 28 | apply IsNilpotent.eq_zero |
| 29 | rw [nilpotent_iff_mem_prime] |
| 30 | intro p hp |
| 31 | have : p.IsPrime := hp |
| 32 | let k := p.ResidueField |
| 33 | have : IsReduced (k ⊗[R] A) := Algebra.FormallyUnramified.isReduced_of_field k (k ⊗[R] A) |
| 34 | have hz : (1 : k) ⊗ₜ[R] a = 0 := |
| 35 | (ha.map (Algebra.TensorProduct.includeRight (R := R) (A := k) (B := A)).toRingHom).eq_zero |
| 36 | have hφ := congrArg (fun z : k ⊗[R] A => (TensorProduct.rid R k) ((φ.lTensor k) z)) hz |
| 37 | apply Ideal.algebraMap_residueField_eq_zero.mp |
| 38 | simpa only [LinearMap.lTensor_tmul, TensorProduct.rid_tmul, map_zero, Algebra.smul_def, |
| 39 | mul_one] using hφ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleAlgebraReduced |