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.AdelicLatticeNeighborhoods |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Lattice |
| 3 | |
| 4 | /-! # Adelic Containment -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AdelicContainment |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Principal levels of the actual completed lattice eventually lie |
| 11 | inside every open subgroup of the specified finite special-unitary |
| 12 | group, in its prescribed matrix-coordinate topology. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Topology |
| 15 | |
| 16 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 17 | [NumberField.IsCMField E] {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 18 | |
| 19 | theorem adelic_basis_difference (d m k : ℤ) (hd : d ≠ 0) |
| 20 | (hb : ∀ j : Fin 3, d • (Pi.single j (1 : AdelicData.FiniteCoefficients E)) ∈ P.completedLattice) |
| 21 | (N : ℕ) (hN : (N : ℤ) = d * m * k) |
| 22 | (g : P.FiniteSpecialUnitary) (hg : g ∈ P.adelicPrincipalLevel N) (j : Fin 3) : |
| 23 | ∃ y ∈ P.completedLattice, g.val (Pi.single j 1) - Pi.single j 1 = m • y := by |
| 24 | obtain ⟨y, hy, he⟩ := hg.2 (d • Pi.single j 1) (hb j) |
| 25 | change g.val (d • Pi.single j 1) - d • Pi.single j 1 = N • y at he |
| 26 | have hmap : g.val (d • Pi.single j 1) = d • g.val (Pi.single j 1) := |
| 27 | (g.val.toLinearMap.restrictScalars ℤ).map_smul d _ |
| 28 | refine ⟨k • y, P.completedLattice.toAddSubgroup.zsmul_mem hy k, ?_⟩ |
| 29 | apply smul_right_injective (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AdelicData.FiniteCoefficients E)) |
| 30 | (show (d : ℚ) ≠ 0 from Int.cast_ne_zero.mpr hd) |
| 31 | simp only [Int.cast_smul_eq_zsmul] |
| 32 | rw [smul_sub, ← hmap, he, ← natCast_zsmul, hN, mul_smul, mul_smul] |
| 33 | |
| 34 | def finiteGroupMatrixCoordinates (g : P.FiniteSpecialUnitary) : |
| 35 | Fin 3 → Fin 3 → AdelicData.FiniteCoefficients E := |
| 36 | fun i j => g.val (Pi.single j 1) i |
| 37 | |
| 38 | theorem finiteGroupMatrixCoordinates_inducing : |
| 39 | Topology.IsInducing (finiteGroupMatrixCoordinates P) := ⟨rfl⟩ |
| 40 | |
| 41 | theorem exists_adelic_principal_containment_depth |
| 42 | (hfg : P.lattice.FG) |
| 43 | (hspan : Submodule.span ℚ (P.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) = ⊤) |
| 44 | (H : OpenSubgroup P.FiniteSpecialUnitary) : |
| 45 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → P.adelicPrincipalLevel N ≤ H.toSubgroup := by |
| 46 | have hH : (H : Set P.FiniteSpecialUnitary) ∈ 𝓝 (1 : P.FiniteSpecialUnitary) := |
| 47 | H.isOpen.mem_nhds H.one_mem |
| 48 | rw [(finiteGroupMatrixCoordinates_inducing P).nhds_eq_comap] at hH |
| 49 | obtain ⟨U, hU, hUH⟩ := Filter.mem_comap.mp hH |
| 50 | let ψ : (Fin 3 → NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AdelicData.FiniteCoefficients E)) → |
| 51 | (Fin 3 → Fin 3 → AdelicData.FiniteCoefficients E) := |
| 52 | fun c i j => (Pi.single j (1 : AdelicData.FiniteCoefficients E) : Fin 3 → AdelicData.FiniteCoefficients E) i + c j i |
| 53 | have hψ : Continuous ψ := by |
| 54 | apply continuous_pi |
| 55 | intro i |
| 56 | apply continuous_pi |
| 57 | intro j |
| 58 | exact continuous_const.add ((continuous_apply i).comp (continuous_apply j)) |
| 59 | have hψ0 : ψ 0 = finiteGroupMatrixCoordinates P 1 := by |
| 60 | funext i j |
| 61 | exact add_zero _ |
| 62 | have hpre : ψ ⁻¹' U ∈ 𝓝 (0 : Fin 3 → NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AdelicData.FiniteCoefficients E)) := |
| 63 | hψ.continuousAt.preimage_mem_nhds (hψ0.symm ▸ hU) |
| 64 | rw [nhds_pi] at hpre |
| 65 | obtain ⟨J, W, hW, hsub⟩ := Filter.mem_pi'.mp hpre |
| 66 | choose n hn hsmall using fun j => |
| 67 | AdelicLatticeNeighborhoods.completed_lattice_integer_multiple_small P.completedLattice (Lattice.completedLattice_fg P hfg) (W j) (hW j) |
| 68 | let m := ∏ j : Fin 3, n j |
| 69 | have hm : m ≠ 0 := Finset.prod_ne_zero_iff.mpr (fun j _ => hn j) |
| 70 | obtain ⟨d, hd, hb⟩ := Lattice.integer_multiple_standard_basis_in_completedLattice P hspan |
| 71 | refine ⟨(d * m).natAbs, Int.natAbs_pos.mpr (mul_ne_zero hd hm), ?_⟩ |
| 72 | intro N hN g hg |
| 73 | have hdiv : d * m ∣ (N : ℤ) := Int.natAbs_dvd_natAbs.mp (by |
| 74 | simpa only [Int.natAbs_natCast] using hN) |
| 75 | obtain ⟨k, hk⟩ := hdiv |
| 76 | have hcol : (fun j => g.val (Pi.single j 1) - Pi.single j 1) ∈ |
| 77 | Set.pi (J : Set (Fin 3)) W := by |
| 78 | intro j _ |
| 79 | obtain ⟨y, hy, he⟩ := adelic_basis_difference P d m k hd hb N hk g hg j |
| 80 | change g.val (Pi.single j 1) - Pi.single j 1 ∈ W j |
| 81 | rw [he] |
| 82 | obtain ⟨c, hc⟩ := Finset.dvd_prod_of_mem n (Finset.mem_univ j) |
| 83 | rw [show m = n j * c from hc, mul_smul] |
| 84 | exact hsmall j (c • y) (P.completedLattice.toAddSubgroup.zsmul_mem hy c) |
| 85 | apply hUH |
| 86 | have he : ψ (fun j => g.val (Pi.single j 1) - Pi.single j 1) = finiteGroupMatrixCoordinates P g := by |
| 87 | funext i j |
| 88 | change (Pi.single j 1 : Fin 3 → AdelicData.FiniteCoefficients E) i + |
| 89 | (g.val (Pi.single j 1) i - (Pi.single j 1 : Fin 3 → AdelicData.FiniteCoefficients E) i) = _ |
| 90 | abel |
| 91 | have hmem : ψ (fun j => g.val (Pi.single j 1) - Pi.single j 1) ∈ U := hsub hcol |
| 92 | change finiteGroupMatrixCoordinates P g ∈ U |
| 93 | exact he ▸ hmem |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AdelicContainment |