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.HilbertScheme.Presentations.ReducedAlgebraFamilyFree |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.GenericFreenessNilpotentLift |
| 3 | import Mathlib.RingTheory.Noetherian.Nilpotent |
| 4 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 5 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 6 | |
| 7 | /-! # Noetherian Flat Family Free -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NoetherianFlatFamilyFree |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Flat finite-type affine coordinate algebras over a nonzero Noetherian |
| 14 | base become free on a common nonempty principal open, including when the |
| 15 | base has nilpotents. -/ |
| 16 | |
| 17 | open TensorProduct |
| 18 | |
| 19 | universe u v w |
| 20 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] [Nontrivial R] |
| 21 | variable {ι : Type v} [Finite ι] (S : ι → Type w) |
| 22 | variable [∀ i, CommRing (S i)] [∀ i, Algebra R (S i)] |
| 23 | variable [∀ i, Algebra.FiniteType R (S i)] [∀ i, Module.Flat R (S i)] |
| 24 | |
| 25 | theorem exists_generic_free_noetherian_flat_algebra_family : |
| 26 | ∃ s : R, ¬ IsNilpotent s ∧ ∀ i, Module.Free (Localization.Away s) |
| 27 | (Localization.Away s ⊗[R] S i) := by |
| 28 | let N := nilradical R |
| 29 | let Q := R ⧸ N |
| 30 | have hN : IsNilpotent N := IsNoetherianRing.isNilpotent_nilradical R |
| 31 | have hNt : N ≠ ⊤ := by |
| 32 | intro h |
| 33 | have hone : (1 : R) ∈ N := h ▸ Submodule.mem_top |
| 34 | exact not_isNilpotent_one (mem_nilradical.mp hone) |
| 35 | let : Nontrivial Q := Ideal.Quotient.nontrivial_iff.mpr hNt |
| 36 | let : IsReduced Q := (Ideal.isRadical_iff_quotient_reduced N).mp |
| 37 | (Ideal.radical_isRadical _) |
| 38 | let : IsNoetherianRing Q := isNoetherianRing_of_surjective R Q (Ideal.Quotient.mk N) |
| 39 | Ideal.Quotient.mk_surjective |
| 40 | obtain ⟨b, hb, hf⟩ := ReducedAlgebraFamilyFree.exists_generic_free_reduced_algebra_family Q (fun i => Q ⊗[R] S i) |
| 41 | exact GenericFreenessNilpotentLift.generic_freeness_lift_nilpotent_reduction S N hN b hb hf |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NoetherianFlatFamilyFree |