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 |
| 2 | |
| 3 | /-! # Algebraic Specialization -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.AlgebraicSpecialization.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Specializing a finitely generated domain to an algebraic closure |
| 10 | while keeping a prescribed nonzero element nonzero. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem finiteType_exists_algHom_to_algClosure |
| 15 | (k B : Type*) [Field k] [CommRing B] [Nontrivial B] [Algebra k B] |
| 16 | [Algebra.FiniteType k B] : Nonempty (B →ₐ[k] AlgebraicClosure k) := by |
| 17 | obtain ⟨I, hI⟩ := Ideal.exists_maximal B |
| 18 | let : I.IsMaximal := hI |
| 19 | let : Field (B ⧸ I) := Ideal.Quotient.field I |
| 20 | let : Module.Finite k (B ⧸ I) := finite_of_finite_type_of_isJacobsonRing k (B ⧸ I) |
| 21 | let φ : (B ⧸ I) →ₐ[k] AlgebraicClosure k := IsAlgClosed.lift |
| 22 | exact ⟨φ.comp (Ideal.Quotient.mkₐ k I)⟩ |
| 23 | |
| 24 | theorem finiteType_specialization_nonzero |
| 25 | (k B : Type*) [Field k] [CommRing B] [IsDomain B] [Algebra k B] |
| 26 | [Algebra.FiniteType k B] {b : B} (hb : b ≠ 0) : |
| 27 | ∃ φ : B →ₐ[k] AlgebraicClosure k, φ b ≠ 0 := by |
| 28 | let C := Localization.Away b |
| 29 | have hinj : Function.Injective (algebraMap B C) := |
| 30 | IsLocalization.injective C (powers_le_nonZeroDivisors_of_noZeroDivisors hb) |
| 31 | let : Nontrivial C := nontrivial_of_ne (algebraMap B C 0) (algebraMap B C 1) |
| 32 | (fun h => zero_ne_one (hinj h)) |
| 33 | obtain ⟨ψ⟩ := finiteType_exists_algHom_to_algClosure k C |
| 34 | let φ : B →ₐ[k] AlgebraicClosure k := ψ.comp (IsScalarTower.toAlgHom k B C) |
| 35 | refine ⟨φ, ?_⟩ |
| 36 | have hbunit : IsUnit (algebraMap B C b) := IsLocalization.Away.algebraMap_isUnit b |
| 37 | exact (hbunit.map ψ.toRingHom).ne_zero |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.ArithmeticGroups.Lattices.AlgebraicSpecialization.Construction |