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.HodgeConjecture.HeckeCycles.ExtendingEndomorphisms |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeScalar |
| 3 | |
| 4 | /-! # Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Presentation.CM.Hecke |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct GeometricComparison's Hecke realization from TateComparison's actual rational |
| 11 | endomorphisms and denominator clearings. Every representative extends |
| 12 | over the integral model by the proved Néron extension theorem. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingEndomorphisms.CM |
| 17 | |
| 18 | theorem clearing_presentation {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 19 | (n : ℕ) (hn : 0 < n) (a : AbelianScheme.TateComparison.End.IntegralEnd A) (f : AbelianScheme.TateComparison.End.RationalEnd A) |
| 20 | (h : n • f = AbelianScheme.TateComparison.End.endToRational A a) : |
| 21 | ((n : ℚ)⁻¹) ⊗ₜ[ℤ] EndomorphismComparison.CM.integralEquiv A a = EndomorphismComparison.CM.rationalEquiv A f := by |
| 22 | have hnQ : (n : ℚ) ≠ 0 := Nat.cast_ne_zero.mpr hn.ne' |
| 23 | calc |
| 24 | _ = (n : ℚ)⁻¹ • ((1 : ℚ) ⊗ₜ[ℤ] EndomorphismComparison.CM.integralEquiv A a) := by |
| 25 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 26 | _ = (n : ℚ)⁻¹ • (n • EndomorphismComparison.CM.rationalEquiv A f) := |
| 27 | congrArg (fun x => (n : ℚ)⁻¹ • x) (EndomorphismComparison.CM.transports_clearing A n a f h).symm |
| 28 | _ = EndomorphismComparison.CM.rationalEquiv A f := by |
| 29 | rw [← Nat.cast_smul_eq_nsmul ℚ, smul_smul, inv_mul_cancel₀ hnQ, one_smul] |
| 30 | |
| 31 | variable {K : Type} [Field K] [NumberField K] |
| 32 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 33 | (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 34 | |
| 35 | def extendingEndomorphism (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme) : A.ExtendingEndomorphism := by |
| 36 | let e : (A.integral.pullback |
| 37 | (Spec.map (CommRingCat.ofHom (algebraMap ℤ_[q] ℚ_[q])))).scheme ≅ |
| 38 | (A.variety.pullback (Spec.map (CommRingCat.ofHom jq))).scheme := A.genericIso |
| 39 | let : IsMonHom e.hom := A.genericIso_group |
| 40 | have h := ExtendingEndomorphisms.CM.exists_compatible_integral_endomorphism A.variety A.integral jq e f |
| 41 | exact { generic := f, integral := h.choose, compatible := h.choose_spec } |
| 42 | |
| 43 | theorem extendingEndomorphism_generic (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme) : |
| 44 | (extendingEndomorphism A f).generic = f := rfl |
| 45 | |
| 46 | /-- GeometricComparison's input is a proved presentation of the same endomorphism-algebra |
| 47 | action. No comparison, weak admissibility, or slope conclusion is assumed. -/ |
| 48 | theorem exists_hecke_realization |
| 49 | {H : Type} [CommRing H] [Algebra ℚ H] |
| 50 | (ρ : H →ₐ[ℚ] AbelianScheme.TateComparison.End.RationalEnd A.variety.scheme) |
| 51 | (hclear : ∀ h : H, ∃ n : ℕ, 0 < n ∧ ∃ a : AbelianScheme.TateComparison.End.IntegralEnd A.variety.scheme, |
| 52 | n • ρ h = AbelianScheme.TateComparison.End.endToRational A.variety.scheme a) : |
| 53 | ∃ R : A.HeckeRealization H, |
| 54 | R.action = (EndomorphismComparison.CM.rationalEquiv A.variety.scheme).toAlgHom.comp ρ := by |
| 55 | classical |
| 56 | choose n hn a ha using hclear |
| 57 | refine ⟨{ |
| 58 | action := (EndomorphismComparison.CM.rationalEquiv A.variety.scheme).toAlgHom.comp ρ |
| 59 | presentation := fun h => Finsupp.single |
| 60 | (extendingEndomorphism A (EndomorphismComparison.CM.integralEquiv A.variety.scheme (a h))) ((n h : ℚ)⁻¹) |
| 61 | represents := ?_ }, rfl⟩ |
| 62 | intro h |
| 63 | simp only [Finsupp.sum_single_index, TensorProduct.zero_tmul, extendingEndomorphism_generic] |
| 64 | exact clearing_presentation A.variety.scheme (n h) (hn h) (a h) (ρ h) (ha h) |
| 65 | |
| 66 | /-- TateComparison's denominator equation identifies the resulting GeometricComparison Betti |
| 67 | operators with the original rational action, for the same chosen clearings. -/ |
| 68 | theorem exists_hecke_realization_with_betti |
| 69 | {H : Type} [CommRing H] [Algebra ℚ H] |
| 70 | (ρ : H →ₐ[ℚ] AbelianScheme.TateComparison.End.RationalEnd A.variety.scheme) |
| 71 | (hclear : ∀ h : H, ∃ n : ℕ, 0 < n ∧ ∃ a : AbelianScheme.TateComparison.End.IntegralEnd A.variety.scheme, |
| 72 | n • ρ h = AbelianScheme.TateComparison.End.endToRational A.variety.scheme a) |
| 73 | (j : K →+* ℂ) (T : H → Module.End ℚ (A.Betti j)) |
| 74 | (hbetti : ∀ h (n : ℕ), 0 < n → ∀ a : AbelianScheme.TateComparison.End.IntegralEnd A.variety.scheme, |
| 75 | n • ρ h = AbelianScheme.TateComparison.End.endToRational A.variety.scheme a → |
| 76 | (n : ℚ) • T h = A.bettiPullback j |
| 77 | (extendingEndomorphism A (EndomorphismComparison.CM.integralEquiv A.variety.scheme a))) : |
| 78 | ∃ R : A.HeckeRealization H, |
| 79 | R.action = (EndomorphismComparison.CM.rationalEquiv A.variety.scheme).toAlgHom.comp ρ ∧ |
| 80 | A.bettiHecke j R = T := by |
| 81 | classical |
| 82 | choose n hn a ha using hclear |
| 83 | let R : A.HeckeRealization H := { |
| 84 | action := (EndomorphismComparison.CM.rationalEquiv A.variety.scheme).toAlgHom.comp ρ |
| 85 | presentation := fun h => Finsupp.single |
| 86 | (extendingEndomorphism A (EndomorphismComparison.CM.integralEquiv A.variety.scheme (a h))) ((n h : ℚ)⁻¹) |
| 87 | represents := fun h => by |
| 88 | simp only [Finsupp.sum_single_index, TensorProduct.zero_tmul, |
| 89 | extendingEndomorphism_generic] |
| 90 | exact clearing_presentation A.variety.scheme (n h) (hn h) (a h) (ρ h) (ha h) } |
| 91 | refine ⟨R, rfl, ?_⟩ |
| 92 | funext h |
| 93 | change (Finsupp.single _ ((n h : ℚ)⁻¹)).sum |
| 94 | (fun f b => b • A.bettiPullback j f) = T h |
| 95 | rw [Finsupp.sum_single_index (by simp), ← hbetti h (n h) (hn h) (a h) (ha h)] |
| 96 | rw [smul_smul, inv_mul_cancel₀ (Nat.cast_ne_zero.mpr (hn h).ne'), one_smul] |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Presentation.CM.Hecke |