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.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 2 | import Mathlib.RingTheory.Jacobson.Ring |
| 3 | import Mathlib.RingTheory.Localization.BaseChange |
| 4 | import Mathlib.RingTheory.FiniteType |
| 5 | import Mathlib.RingTheory.FiniteStability |
| 6 | import Mathlib.RingTheory.Localization.Away.AdjoinRoot |
| 7 | |
| 8 | /-! # Algebraic Specialization -/ |
| 9 | |
| 10 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.AlgebraicSpecialization.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Algebraic specialization and a finite-denominator obstruction to points. |
| 15 | The specialization construction adapts the independent algebraic argument in |
| 16 | AlgebraicSpecialization. The final lemma is used for bounded polynomial |
| 17 | factorization parameter spaces in the geometric-component argument. -/ |
| 18 | |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem finiteType_exists_algHom_to_algClosure |
| 24 | (k B : Type u) [Field k] [CommRing B] [Nontrivial B] [Algebra k B] |
| 25 | [Algebra.FiniteType k B] : Nonempty (B →ₐ[k] AlgebraicClosure k) := by |
| 26 | obtain ⟨I, hI⟩ := Ideal.exists_maximal B |
| 27 | let : I.IsMaximal := hI |
| 28 | let : Field (B ⧸ I) := Ideal.Quotient.field I |
| 29 | let : Module.Finite k (B ⧸ I) := finite_of_finite_type_of_isJacobsonRing k (B ⧸ I) |
| 30 | let φ : (B ⧸ I) →ₐ[k] AlgebraicClosure k := IsAlgClosed.lift |
| 31 | exact ⟨φ.comp (Ideal.Quotient.mkₐ k I)⟩ |
| 32 | |
| 33 | theorem finiteType_specialization_nonzero |
| 34 | (k B : Type u) [Field k] [CommRing B] [IsDomain B] [Algebra k B] |
| 35 | [Algebra.FiniteType k B] {b : B} (hb : b ≠ 0) : |
| 36 | ∃ φ : B →ₐ[k] AlgebraicClosure k, φ b ≠ 0 := by |
| 37 | let C := Localization.Away b |
| 38 | have hinj : Function.Injective (algebraMap B C) := |
| 39 | IsLocalization.injective C (powers_le_nonZeroDivisors_of_noZeroDivisors hb) |
| 40 | let : Nontrivial C := nontrivial_of_ne (algebraMap B C 0) (algebraMap B C 1) |
| 41 | (fun h ↦ zero_ne_one (hinj h)) |
| 42 | obtain ⟨ψ⟩ := finiteType_exists_algHom_to_algClosure k C |
| 43 | let φ : B →ₐ[k] AlgebraicClosure k := ψ.comp (IsScalarTower.toAlgHom k B C) |
| 44 | refine ⟨φ, ?_⟩ |
| 45 | have hbunit : IsUnit (algebraMap B C b) := IsLocalization.Away.algebraMap_isUnit b |
| 46 | exact (hbunit.map ψ.toRingHom).ne_zero |
| 47 | |
| 48 | theorem finiteType_no_geometric_generic_point_killed_by_nonzero |
| 49 | (R K B : Type u) [CommRing R] [IsDomain R] [Field K] [Algebra R K] |
| 50 | [IsFractionRing R K] [CommRing B] [Algebra R B] [Algebra.FiniteType R B] |
| 51 | (h : IsEmpty (B →ₐ[R] AlgebraicClosure K)) : |
| 52 | ∃ r : R, r ≠ 0 ∧ algebraMap R B r = 0 := by |
| 53 | let T := K ⊗[R] B |
| 54 | have hT : Subsingleton T := by |
| 55 | by_contra hT |
| 56 | have : Nontrivial T := not_subsingleton_iff_nontrivial.mp hT |
| 57 | obtain ⟨φ⟩ := finiteType_exists_algHom_to_algClosure K T |
| 58 | exact h.false ((φ.restrictScalars R).comp Algebra.TensorProduct.includeRight) |
| 59 | let : Algebra B T := Algebra.TensorProduct.rightAlgebra |
| 60 | have : IsLocalization (Algebra.algebraMapSubmonoid B (nonZeroDivisors R)) T := |
| 61 | IsLocalization.tensorRight (R := R) (S := B) K (nonZeroDivisors R) |
| 62 | have hz : (0 : B) ∈ Algebra.algebraMapSubmonoid B (nonZeroDivisors R) := |
| 63 | (IsLocalization.subsingleton_iff |
| 64 | (M := Algebra.algebraMapSubmonoid B (nonZeroDivisors R)) (S := T)).mp hT |
| 65 | obtain ⟨r, hr, he⟩ := hz |
| 66 | exact ⟨r, mem_nonZeroDivisors_iff_ne_zero.mp hr, he⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.ArithmeticGeometry.Models.SpreadingOut.AlgebraicSpecialization.Construction |