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.NumberTheory.ArithmeticGroups.Lattices.BasisLift |
| 2 | |
| 3 | /-! # Fin Successor Basis Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.FinSuccessorBasisLift.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Indexing a lifted basis by Fin (n+1), with the new vector first. -/ |
| 12 | |
| 13 | open _root_.Module |
| 14 | |
| 15 | def unitSumFinSuccEquiv (n : ℕ) : (Unit ⊕ Fin n) ≃ Fin (n + 1) where |
| 16 | toFun := Sum.elim (fun _ => 0) Fin.succ |
| 17 | invFun := Fin.cases (Sum.inl ()) Sum.inr |
| 18 | left_inv := by intro x; cases x with |
| 19 | | inl x => cases x; rfl |
| 20 | | inr i => simp |
| 21 | right_inv := by intro i; refine Fin.cases ?_ (fun j => ?_) i <;> simp |
| 22 | |
| 23 | theorem basis_reindex_unitSumFinSucc_zero |
| 24 | {R M : Type*} [Semiring R] [AddCommMonoid M] [Module R M] |
| 25 | {n : ℕ} (b : Basis (Unit ⊕ Fin n) R M) : |
| 26 | b.reindex (unitSumFinSuccEquiv n) 0 = b (Sum.inl ()) := by |
| 27 | simp [Basis.reindex_apply, unitSumFinSuccEquiv] |
| 28 | |
| 29 | theorem basis_reindex_unitSumFinSucc_succ |
| 30 | {R M : Type*} [Semiring R] [AddCommMonoid M] [Module R M] |
| 31 | {n : ℕ} (b : Basis (Unit ⊕ Fin n) R M) (i : Fin n) : |
| 32 | b.reindex (unitSumFinSuccEquiv n) i.succ = b (Sum.inr i) := by |
| 33 | simp [Basis.reindex_apply, unitSumFinSuccEquiv] |
| 34 | |
| 35 | end |
| 36 | |
| 37 | /-! Data for an integral lattice basis in a bounded upper triangular |
| 38 | position relative to an orthogonal real basis. -/ |
| 39 | |
| 40 | open _root_.Module |
| 41 | |
| 42 | structure ReducedLatticeBasis |
| 43 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 44 | (Λ : Submodule ℤ E) (n : ℕ) where |
| 45 | latticeBasis : Basis (Fin n) ℤ Λ |
| 46 | orthogonalBasis : Basis (Fin n) ℝ E |
| 47 | orthogonal : Pairwise (fun i j => inner ℝ (orthogonalBasis i) (orthogonalBasis j) = 0) |
| 48 | upper : ∀ i j, i < j → orthogonalBasis.repr (latticeBasis i).val j = 0 |
| 49 | diagonal : ∀ i, orthogonalBasis.repr (latticeBasis i).val i = 1 |
| 50 | reduced : ∀ i j, j < i → |orthogonalBasis.repr (latticeBasis i).val j| ≤ 1 / 2 |
| 51 | gap : ∀ i j, i.val + 1 = j.val → ‖orthogonalBasis i‖ ≤ 2 * ‖orthogonalBasis j‖ |
| 52 | |
| 53 | theorem ReducedLatticeBasis.first_eq |
| 54 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 55 | {Λ : Submodule ℤ E} {n : ℕ} (d : ReducedLatticeBasis Λ n) (i : Fin n) (hi : i.val = 0) : |
| 56 | (d.latticeBasis i).val = d.orthogonalBasis i := by |
| 57 | apply d.orthogonalBasis.repr.injective |
| 58 | ext j |
| 59 | by_cases hij : i = j |
| 60 | · subst j |
| 61 | simpa using d.diagonal i |
| 62 | · have hij' : i < j := by |
| 63 | have hne : i.val ≠ j.val := fun h => hij (Fin.ext h) |
| 64 | omega |
| 65 | rw [d.upper i j hij', Basis.repr_self_apply] |
| 66 | simp [hij] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.ArithmeticGroups.Lattices.FinSuccessorBasisLift.Construction |