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.PadicHodge.GeometricComparison.LatticeBound |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FiltrationBounds |
| 3 | |
| 4 | /-! # Stable Lattice -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.StableLattice.StableLatticeAdmissibility |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Frobenius divisibility on a full integral Hodge lattice gives every stable-subspace inequality. -/ |
| 11 | |
| 12 | open scoped nonZeroDivisors |
| 13 | |
| 14 | variable (p : ℕ) [Fact p.Prime] |
| 15 | {M V : Type*} [AddCommGroup M] [Module ℤ_[p] M] |
| 16 | [Module.Free ℤ_[p] M] [Module.Finite ℤ_[p] M] |
| 17 | [AddCommGroup V] [Module ℤ_[p] V] [Module ℚ_[p] V] [IsScalarTower ℤ_[p] ℚ_[p] V] |
| 18 | [FiniteDimensional ℚ_[p] V] |
| 19 | (f : M →ₗ[ℤ_[p]] V) [IsLocalizedModule ℤ_[p]⁰ f] |
| 20 | (F : Module.End ℤ_[p] M) (φ : V ≃ₗ[ℚ_[p]] V) |
| 21 | (hcomm : ∀ x, f (F x) = φ (f x)) |
| 22 | |
| 23 | include hcomm |
| 24 | |
| 25 | theorem subspace_inequality (H : Submodule ℚ_[p] V) |
| 26 | (hdiv : ∀ x, f x ∈ H → ∃ y, F x = (p : ℤ_[p]) • y) |
| 27 | (S : Submodule ℚ_[p] V) (hS : S ≤ S.comap φ.toLinearMap) : |
| 28 | (Module.finrank ℚ_[p] (H.comap S.subtype) : ℤ) ≤ |
| 29 | Padic.valuation (φ.toLinearMap.restrict hS).det := by |
| 30 | let P := LatticeSubspaceEq.LatticeSubspace.integralPart f S |
| 31 | let g := LatticeSubspaceEq.LatticeSubspace.inclusion f S |
| 32 | have hP : P ≤ P.comap F := by |
| 33 | intro x hx |
| 34 | change f (F x) ∈ S |
| 35 | rw [hcomm] |
| 36 | exact hS hx |
| 37 | let G := (F.domRestrict P).codRestrict P (fun x => hP x.property) |
| 38 | let ψ := φ.toLinearMap.restrict hS |
| 39 | have hψ : ψ.det ≠ 0 := by |
| 40 | intro hz |
| 41 | have hk : ψ.ker = ⊥ := LinearMap.ker_eq_bot.mpr (by |
| 42 | intro x y hxy |
| 43 | exact Subtype.ext (φ.injective (congrArg Subtype.val hxy))) |
| 44 | exact (LinearMap.det_eq_zero_iff_ker_ne_bot.mp hz) hk |
| 45 | apply LatticeBound.LatticeHodgeBound.inequality p g G ψ hψ |
| 46 | · intro x |
| 47 | exact Subtype.ext (hcomm x) |
| 48 | · intro x hx |
| 49 | obtain ⟨y, hy⟩ := hdiv x hx |
| 50 | have hpy : (p : ℚ_[p]) • f y ∈ S := by |
| 51 | have h := hP x.property |
| 52 | change f (F x) ∈ S at h |
| 53 | rw [hy, map_smul] at h |
| 54 | rwa [← IsScalarTower.algebraMap_smul ℚ_[p] (p : ℤ_[p]) (f y), map_natCast] at h |
| 55 | have hyS : y ∈ P := |
| 56 | (S.smul_mem_iff (Nat.cast_ne_zero.mpr (Fact.out : p.Prime).ne_zero)).mp hpy |
| 57 | exact ⟨⟨y, hyS⟩, Subtype.ext hy⟩ |
| 58 | |
| 59 | theorem weaklyAdmissible (Fil : Linear.FiniteFiltration ℚ_[p] V) |
| 60 | (h0 : Fil.step 0 = ⊤) (h2 : Fil.step 2 = ⊥) |
| 61 | (htotal : Fil.tH = (Padic.valuation φ.toLinearMap.det : ℚ)) |
| 62 | (hdiv : ∀ x, f x ∈ Fil.step 1 → ∃ y, F x = (p : ℤ_[p]) • y) : |
| 63 | Linear.WeaklyAdmissible p Fil φ := by |
| 64 | refine ⟨htotal, fun S hS => ?_⟩ |
| 65 | rw [FirstHodgeNumber.FiltrationTransport.tH_h1 (Fil.restrict S) |
| 66 | (FiltrationBounds.FiltrationTransport.restrict_top Fil S 0 h0) |
| 67 | (FiltrationBounds.FiltrationTransport.restrict_bot Fil S 2 h2)] |
| 68 | exact_mod_cast subspace_inequality p f F φ hcomm (Fil.step 1) hdiv S hS |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.GeometricComparison.StableLattice.StableLatticeAdmissibility |