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.AdelicContainment |
| 2 | |
| 3 | /-! # Neighborhood Depth -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PEL.NeighborhoodDepth.Approximation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Original PEL principal levels form an identity-neighborhood basis. |
| 10 | This is the same matrix-column argument as the open-subgroup containment |
| 11 | lemma, stated for an arbitrary identity neighborhood. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Topology |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AdelicContainment |
| 16 | |
| 17 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 19 | |
| 20 | theorem pel_principal_neighborhood_depth |
| 21 | (hfg : P.lattice.FG) |
| 22 | (hspan : Submodule.span ℚ (P.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) = ⊤) |
| 23 | (H : Set P.FiniteSpecialUnitary) (hH : H ∈ 𝓝 (1 : P.FiniteSpecialUnitary)) : |
| 24 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → |
| 25 | (P.adelicPrincipalLevel N : Set P.FiniteSpecialUnitary) ⊆ H := by |
| 26 | rw [(AbelianModuli.ReferenceFamily.AdelicContainment.finiteGroupMatrixCoordinates_inducing P).nhds_eq_comap] at hH |
| 27 | obtain ⟨U, hU, hUH⟩ := Filter.mem_comap.mp hH |
| 28 | let ψ : (Fin 3 → NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E)) → |
| 29 | (Fin 3 → Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) := |
| 30 | fun c i j => (Pi.single j (1 : AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) : Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) i + c j i |
| 31 | have hψ : Continuous ψ := by |
| 32 | apply continuous_pi |
| 33 | intro i |
| 34 | apply continuous_pi |
| 35 | intro j |
| 36 | exact continuous_const.add ((continuous_apply i).comp (continuous_apply j)) |
| 37 | have hψ0 : ψ 0 = AbelianModuli.ReferenceFamily.AdelicContainment.finiteGroupMatrixCoordinates P 1 := by |
| 38 | funext i j |
| 39 | exact add_zero _ |
| 40 | have hpre : ψ ⁻¹' U ∈ 𝓝 (0 : Fin 3 → NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E)) := |
| 41 | hψ.continuousAt.preimage_mem_nhds (hψ0.symm ▸ hU) |
| 42 | rw [nhds_pi] at hpre |
| 43 | obtain ⟨J, W, hW, hsub⟩ := Filter.mem_pi'.mp hpre |
| 44 | choose n hn hsmall using fun j => |
| 45 | AbelianModuli.ReferenceFamily.AdelicLatticeNeighborhoods.completed_lattice_integer_multiple_small P.completedLattice (AbelianModuli.ReferenceFamily.Lattice.completedLattice_fg P hfg) (W j) (hW j) |
| 46 | let m := ∏ j : Fin 3, n j |
| 47 | have hm : m ≠ 0 := Finset.prod_ne_zero_iff.mpr (fun j _ => hn j) |
| 48 | obtain ⟨d, hd, hb⟩ := AbelianModuli.ReferenceFamily.Lattice.integer_multiple_standard_basis_in_completedLattice P hspan |
| 49 | refine ⟨(d * m).natAbs, Int.natAbs_pos.mpr (mul_ne_zero hd hm), ?_⟩ |
| 50 | intro N hN g hg |
| 51 | have hdiv : d * m ∣ (N : ℤ) := Int.natAbs_dvd_natAbs.mp (by |
| 52 | simpa only [Int.natAbs_natCast] using hN) |
| 53 | obtain ⟨k, hk⟩ := hdiv |
| 54 | have hcol : (fun j => g.val (Pi.single j 1) - Pi.single j 1) ∈ |
| 55 | Set.pi (J : Set (Fin 3)) W := by |
| 56 | intro j _ |
| 57 | obtain ⟨y, hy, he⟩ := AbelianModuli.ReferenceFamily.AdelicContainment.adelic_basis_difference P d m k hd hb N hk g hg j |
| 58 | change g.val (Pi.single j 1) - Pi.single j 1 ∈ W j |
| 59 | rw [he] |
| 60 | obtain ⟨c, hc⟩ := Finset.dvd_prod_of_mem n (Finset.mem_univ j) |
| 61 | rw [show m = n j * c from hc, mul_smul] |
| 62 | exact hsmall j (c • y) (P.completedLattice.toAddSubgroup.zsmul_mem hy c) |
| 63 | apply hUH |
| 64 | have he : ψ (fun j => g.val (Pi.single j 1) - Pi.single j 1) = AbelianModuli.ReferenceFamily.AdelicContainment.finiteGroupMatrixCoordinates P g := by |
| 65 | funext i j |
| 66 | change (Pi.single j 1 : Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) i + |
| 67 | (g.val (Pi.single j 1) i - (Pi.single j 1 : Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) i) = _ |
| 68 | abel |
| 69 | have hmem : ψ (fun j => g.val (Pi.single j 1) - Pi.single j 1) ∈ U := hsub hcol |
| 70 | change AbelianModuli.ReferenceFamily.AdelicContainment.finiteGroupMatrixCoordinates P g ∈ U |
| 71 | exact he ▸ hmem |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PEL.NeighborhoodDepth.Approximation |