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.FormalGeometry.Completion.Finite.CoefficientDetection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdicFiniteness |
| 3 | import Mathlib.GroupTheory.QuotientGroup.Basic |
| 4 | import Mathlib.NumberTheory.Padics.PadicIntegers |
| 5 | |
| 6 | /-! # Finiteness -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.Finiteness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite first cohomology modulo ℓ implies finite generation of the |
| 13 | actual integral ℓ-adic H¹, by coefficient exactness and adic separation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientDetection.Construction |
| 19 | |
| 20 | universe u |
| 21 | variable (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{u}) |
| 22 | |
| 23 | theorem hausdorff : |
| 24 | IsHausdorff (Ideal.span {(ℓ : ℤ_[ℓ])}) (X.EllAdicCohomology ℓ 1) := by |
| 25 | constructor |
| 26 | intro x hx |
| 27 | apply AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientDetection.Construction.integralEllAdicH1_separated ℓ X x |
| 28 | intro n |
| 29 | exact (Principal.PowerModuleSequence.mem_submodule (ℤ_[ℓ]) |
| 30 | (X.EllAdicCohomology ℓ 1) (ℓ : ℤ_[ℓ]) n x).mp (SModEq.zero.mp (hx n)) |
| 31 | |
| 32 | theorem residue_finite [Finite ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ 1 X).H 1)] : |
| 33 | Finite ((X.EllAdicCohomology ℓ 1) ⧸ |
| 34 | ((Ideal.span {(ℓ : ℤ_[ℓ])}) • (⊤ : Submodule ℤ_[ℓ] (X.EllAdicCohomology ℓ 1)))) := by |
| 35 | let M := X.EllAdicCohomology ℓ 1 |
| 36 | let P : Submodule ℤ_[ℓ] M := (Ideal.span {(ℓ : ℤ_[ℓ])}) • ⊤ |
| 37 | let f := AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientCohomology.Construction.integralEllAdicFiniteReduction ℓ 1 X 1 |
| 38 | have hker : P.toAddSubgroup = f.ker := by |
| 39 | ext x |
| 40 | change x ∈ P ↔ f x = 0 |
| 41 | simpa only [P, f, Principal.PowerModuleSequence.submodule, pow_one] using |
| 42 | (Principal.PowerModuleSequence.mem_submodule (ℤ_[ℓ]) M (ℓ : ℤ_[ℓ]) 1 x).trans |
| 43 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientCohomology.Construction.integralEllAdicFiniteReduction_one_eq_zero_iff ℓ 1 X x).symm |
| 44 | change Finite (M ⧸ P.toAddSubgroup) |
| 45 | rw [hker] |
| 46 | exact Finite.of_injective (QuotientAddGroup.quotientKerEquivRange f) |
| 47 | (QuotientAddGroup.quotientKerEquivRange f).injective |
| 48 | |
| 49 | theorem finite_of_finite_reduction [Finite ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ 1 X).H 1)] : |
| 50 | Module.Finite ℤ_[ℓ] (X.EllAdicCohomology ℓ 1) := by |
| 51 | let : IsAdicComplete (Ideal.span {(ℓ : ℤ_[ℓ])}) ℤ_[ℓ] := by |
| 52 | rw [← PadicInt.maximalIdeal_eq_span_p] |
| 53 | infer_instance |
| 54 | let : IsHausdorff (Ideal.span {(ℓ : ℤ_[ℓ])}) (X.EllAdicCohomology ℓ 1) := hausdorff ℓ X |
| 55 | let : Finite ((X.EllAdicCohomology ℓ 1) ⧸ |
| 56 | ((Ideal.span {(ℓ : ℤ_[ℓ])}) • (⊤ : Submodule ℤ_[ℓ] (X.EllAdicCohomology ℓ 1)))) := |
| 57 | residue_finite ℓ X |
| 58 | exact Principal.AdicFiniteness.finite ℤ_[ℓ] (ℓ : ℤ_[ℓ]) (X.EllAdicCohomology ℓ 1) |
| 59 | |
| 60 | theorem rational_finite_of_finite_reduction [Finite ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ 1 X).H 1)] : |
| 61 | FiniteDimensional ℚ_[ℓ] (ℚ_[ℓ] ⊗[ℤ_[ℓ]] X.EllAdicCohomology ℓ 1) := by |
| 62 | let : Module.Finite ℤ_[ℓ] (X.EllAdicCohomology ℓ 1) := finite_of_finite_reduction ℓ X |
| 63 | infer_instance |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.Finiteness |