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.AbelianModuli.ReferenceFamily.Integral.LevelMatrices |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DeterminantCongruence |
| 3 | import OAI.NumberTheory.ArithmeticGroups.TorsionFreeLevel |
| 4 | |
| 5 | /-! # Deep Levels -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DeepLevels |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct sufficiently divisible lattice levels with trivial |
| 12 | unitary determinant and no nonidentity torsion. The depth comes from |
| 13 | actual lattice denominators, independently of any moduli construction. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] |
| 19 | |
| 20 | /-- Deep principal unitary levels lie in the special unitary group. |
| 21 | The depth is constructed by clearing lattice denominators at modulus 3. -/ |
| 22 | theorem exists_determinant_one_depth (b : E) (hb : b ≠ 0) |
| 23 | (Λ : Submodule ℤ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice Λ) : |
| 24 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → |
| 25 | ∀ g : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[E] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E, NumberTheory.ArithmeticGroups.Data.CongruenceLevel.PrincipalLevel b Λ N g → LinearMap.det g.toLinearMap = 1 := by |
| 26 | obtain ⟨D, hD, hdepth⟩ := Integral.LevelMatrices.exists_integral_matrix_congruence_depth Λ hΛ.1 hΛ.2.1 3 (by omega) |
| 27 | refine ⟨D, hD, ?_⟩ |
| 28 | intro N hN g hg |
| 29 | obtain ⟨a, ha, he⟩ := DeterminantCongruence.integral_matrix_determinant_congruence |
| 30 | (LinearMap.toMatrix' g.toLinearMap) 3 (hdepth N hN g hg.2.2) |
| 31 | rw [LinearMap.det_toMatrix'] at he |
| 32 | exact DeterminantCongruence.norm_one_integral_congruence_eq_one (LinearMap.det g.toLinearMap) a ha 3 |
| 33 | (by omega) he (UnitaryDeterminant.unitary_det_norm_one b hb g hg.1) |
| 34 | |
| 35 | /-- Determinant triviality and torsion-freeness hold simultaneously |
| 36 | on all positive multiples of a level refining any prescribed modulus. -/ |
| 37 | theorem exists_special_torsion_free_refinement (b : E) (hb : b ≠ 0) |
| 38 | (Λ : Submodule ℤ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice Λ) |
| 39 | (M : ℕ) (hM : 0 < M) : |
| 40 | ∃ N₀ : ℕ, 3 ≤ N₀ ∧ M ∣ N₀ ∧ ∀ N : ℕ, 0 < N → N₀ ∣ N → |
| 41 | (∀ g : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[E] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E, NumberTheory.ArithmeticGroups.Data.CongruenceLevel.PrincipalLevel b Λ N g → LinearMap.det g.toLinearMap = 1) ∧ |
| 42 | (∀ g ∈ Groups.principalSpecialUnitary b Λ N, ∀ k : ℕ, 0 < k → g ^ k = 1 → g = 1) := by |
| 43 | obtain ⟨D, hD, hdet⟩ := exists_determinant_one_depth b hb Λ hΛ |
| 44 | have hprod : 0 < D * M := Nat.mul_pos hD hM |
| 45 | have h3 : 3 ≤ 3 * (D * M) := by omega |
| 46 | refine ⟨3 * (D * M), h3, dvd_mul_of_dvd_right (dvd_mul_left M D) 3, ?_⟩ |
| 47 | intro N hN hdiv |
| 48 | have hDN : D ∣ N := (dvd_mul_of_dvd_right (dvd_mul_right D M) 3).trans hdiv |
| 49 | refine ⟨hdet N hDN, ?_⟩ |
| 50 | intro g hg k hk hpow |
| 51 | exact NumberTheory.ArithmeticGroups.Levels.CongruenceLevel.principalLevel_torsion_free b Λ hΛ N (h3.trans (Nat.le_of_dvd hN hdiv)) g |
| 52 | ((Groups.mem_principalSpecialUnitary b Λ N g).mp hg).1 k hk hpow |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DeepLevels |