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.FormalGeometry.Completion.Endomorphism.FiniteReduction |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.QuadraticHeightDescent |
| 3 | import Mathlib.RingTheory.TensorProduct.Finite |
| 4 | |
| 5 | /-! # Height Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.HeightDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The remaining geometric height, once constructed, supplies the actual endomorphism rank bound. |
| 12 | No height or finite-dimensionality assertion is included in the native Completion hypotheses. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] |
| 19 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 20 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 21 | |
| 22 | /-- One of 2 and 3 is invertible in every field. -/ |
| 23 | theorem exists_nonzero_natCast_ge_two (K : Type u) [Field K] : |
| 24 | ∃ n : ℕ, 2 ≤ n ∧ (n : K) ≠ 0 := by |
| 25 | by_cases h2 : (2 : K) ≠ 0 |
| 26 | · exact ⟨2, le_rfl, h2⟩ |
| 27 | · refine ⟨3, by omega, ?_⟩ |
| 28 | have h2' : (2 : K) = 0 := not_ne_iff.mp h2 |
| 29 | have h3 : (3 : K) = 1 := by calc |
| 30 | (3 : K) = 2 + 1 := by norm_num |
| 31 | _ = 1 := by rw [h2', zero_add] |
| 32 | norm_num only [Nat.cast_ofNat] |
| 33 | rw [h3] |
| 34 | exact one_ne_zero |
| 35 | |
| 36 | /-- Arithmetic descent uses the proved finite reductions of the actual endomorphism group. -/ |
| 37 | theorem algebraicEnd_finiteGenerated_of_discrete_quadratic_height |
| 38 | (h : QuadraticHeightDescent.Construction.DiscreteQuadraticHeight (Endomorphisms.Construction.AlgebraicEnd A)) : AddGroup.FG (Endomorphisms.Construction.AlgebraicEnd A) := by |
| 39 | obtain ⟨n, hn, hnK⟩ := exists_nonzero_natCast_ge_two K |
| 40 | apply h.finiteGenerated_of_finite_reductions n hn |
| 41 | intro r |
| 42 | exact FiniteReduction.Construction.algebraicEnd_quotient_nsmul_finite A (n ^ r) (by |
| 43 | rw [Nat.cast_pow] |
| 44 | exact pow_ne_zero _ hnK) |
| 45 | |
| 46 | /-- A discrete positive geometric quadratic height would make the genuine rational |
| 47 | endomorphism algebra finite-dimensional. The height itself remains to be constructed. -/ |
| 48 | theorem rationalAlgebraicEnd_finiteDimensional_of_discrete_quadratic_height |
| 49 | (h : QuadraticHeightDescent.Construction.DiscreteQuadraticHeight (Endomorphisms.Construction.AlgebraicEnd A)) : |
| 50 | FiniteDimensional ℚ (Endomorphisms.Construction.RationalAlgebraicEnd A) := by |
| 51 | have : Module.Finite ℤ (Endomorphisms.Construction.AlgebraicEnd A) := |
| 52 | Module.Finite.iff_addGroup_fg.mpr (algebraicEnd_finiteGenerated_of_discrete_quadratic_height A h) |
| 53 | infer_instance |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.HeightDescent.Construction |