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.Algebra.Modules.ElementaryDivisors |
| 2 | |
| 3 | /-! # Lattice Bounds -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LatticeBounds.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Read lattice inclusions as inequalities on actual Smith exponents. This |
| 11 | fixes the superlattice convention: kernel exponents are the negatives of |
| 12 | the exponents of M in a basis for L. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.Module |
| 16 | open scoped Pointwise |
| 17 | |
| 18 | open OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction |
| 19 | |
| 20 | variable {R K : Type*} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 21 | [Field K] [Algebra R K] [IsFractionRing R K] {d : ℕ} |
| 22 | |
| 23 | def diagonalLattice (π : R) (e : Basis (Fin d) K (Fin d → K)) (a : Fin d → ℤ) : |
| 24 | Submodule R (Fin d → K) := |
| 25 | Submodule.span R (Set.range fun i => (algebraMap R K π) ^ a i • e i) |
| 26 | |
| 27 | omit [IsDomain R] [IsDiscreteValuationRing R] in |
| 28 | theorem diagonalLattice_eq_powerBasis_span |
| 29 | (π : R) (hπ : Irreducible π) (e : Basis (Fin d) K (Fin d → K)) (a : Fin d → ℤ) : |
| 30 | diagonalLattice π e a = Submodule.span R (Set.range (OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis π hπ e a)) := by |
| 31 | unfold diagonalLattice |
| 32 | congr 1 |
| 33 | apply congrArg Set.range |
| 34 | funext i |
| 35 | exact (OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis_apply π hπ e a i).symm |
| 36 | |
| 37 | omit [IsDomain R] [IsDiscreteValuationRing R] in |
| 38 | theorem powerBasis_diagonal_coordinate |
| 39 | (π : R) (hπ : Irreducible π) (e : Basis (Fin d) K (Fin d → K)) |
| 40 | (a b : Fin d → ℤ) (i : Fin d) : |
| 41 | (OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis π hπ e b).repr ((algebraMap R K π) ^ a i • e i) i = |
| 42 | (algebraMap R K π) ^ (a i - b i) := by |
| 43 | simp only [OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis_repr, map_smul, Finsupp.smul_apply, Basis.repr_self, |
| 44 | Finsupp.single_eq_same, smul_eq_mul, mul_one] |
| 45 | rw [zpow_sub₀ (OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.uniformizer_map_ne_zero hπ), div_eq_mul_inv, mul_comm] |
| 46 | |
| 47 | /-- Inclusion of two diagonal DVR lattices is exactly the reverse |
| 48 | coordinatewise ordering of their integer exponents. -/ |
| 49 | theorem diagonalLattice_le_iff |
| 50 | (π : R) (hπ : Irreducible π) (e : Basis (Fin d) K (Fin d → K)) (a b : Fin d → ℤ) : |
| 51 | diagonalLattice π e a ≤ diagonalLattice π e b ↔ ∀ i, b i ≤ a i := by |
| 52 | classical |
| 53 | constructor |
| 54 | · intro h i |
| 55 | have hi : (algebraMap R K π) ^ a i • e i ∈ diagonalLattice π e b := |
| 56 | h (Submodule.subset_span (Set.mem_range_self i)) |
| 57 | rw [diagonalLattice_eq_powerBasis_span π hπ] at hi |
| 58 | obtain ⟨r, hr⟩ := ((OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis π hπ e b).mem_span_iff_repr_mem R _).mp hi i |
| 59 | have hint : ∃ r : R, algebraMap R K r = (algebraMap R K π) ^ (a i - b i) := |
| 60 | ⟨r, hr.trans (powerBasis_diagonal_coordinate π hπ e a b i)⟩ |
| 61 | exact sub_nonneg.mp ((OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.integral_zpow_iff hπ _).mp hint) |
| 62 | · intro h |
| 63 | apply Submodule.span_le.mpr |
| 64 | rintro _ ⟨i, rfl⟩ |
| 65 | rw [diagonalLattice_eq_powerBasis_span π hπ] |
| 66 | apply ((OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis π hπ e b).mem_span_iff_repr_mem R _).mpr |
| 67 | intro j |
| 68 | by_cases hji : j = i |
| 69 | · subst j |
| 70 | obtain ⟨r, hr⟩ := (OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.integral_zpow_iff (K := K) hπ (a i - b i)).mpr (sub_nonneg.mpr (h i)) |
| 71 | exact ⟨r, hr.trans (powerBasis_diagonal_coordinate π hπ e a b i).symm⟩ |
| 72 | · refine ⟨0, ?_⟩ |
| 73 | simp [OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.powerBasis_repr, Basis.repr_self, hji] |
| 74 | |
| 75 | omit [IsDomain R] [IsDiscreteValuationRing R] [IsFractionRing R K] in |
| 76 | theorem diagonalLattice_zero (π : R) (e : Basis (Fin d) K (Fin d → K)) : |
| 77 | diagonalLattice π e (fun _ => 0) = Submodule.span R (Set.range e) := by |
| 78 | simp [diagonalLattice] |
| 79 | |
| 80 | /-- The integral kernel bounds 0 <= -a_i <= h follow exactly from |
| 81 | L <= M <= pi^(-h)L in a simultaneous diagonal basis. -/ |
| 82 | theorem superlattice_exponent_bounds |
| 83 | (π : R) (hπ : Irreducible π) (e : Basis (Fin d) K (Fin d → K)) |
| 84 | (a : Fin d → ℤ) (h : ℕ) |
| 85 | (hlower : Submodule.span R (Set.range e) ≤ diagonalLattice π e a) |
| 86 | (hupper : diagonalLattice π e a ≤ diagonalLattice π e (fun _ => -(h : ℤ))) : |
| 87 | ∀ i, 0 ≤ -a i ∧ -a i ≤ h := by |
| 88 | have hlow := (diagonalLattice_le_iff π hπ e (fun _ => 0) a).mp |
| 89 | ((diagonalLattice_zero π e).symm ▸ hlower) |
| 90 | have hupp := (diagonalLattice_le_iff π hπ e a (fun _ => -(h : ℤ))).mp hupper |
| 91 | intro i |
| 92 | have := hlow i |
| 93 | have := hupp i |
| 94 | omega |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LatticeBounds.Construction |