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.GeometricComparisonAdapter |
| 2 | import Mathlib.RingTheory.Flat.Basic |
| 3 | |
| 4 | /-! # Comparison Relations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonRelations.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integer linear relations between actual extending-endomorphism |
| 11 | pullbacks pass from Betti H1 to crystalline H1 through the full GeometricComparison |
| 12 | comparison. Faithful scalar extension descends the complex relation to |
| 13 | the number field before extending it at the specified q-adic place. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | section Linear |
| 19 | |
| 20 | variable {F V W J : Type*} [Field F] |
| 21 | [AddCommGroup V] [Module F V] [AddCommGroup W] [Module F W] |
| 22 | |
| 23 | theorem relation_iff (e : V ≃ₗ[F] W) (T : J → Module.End F V) |
| 24 | (U : J → Module.End F W) (h : ∀ i x, e (T i x) = U i (e x)) |
| 25 | (I : Finset J) (c : J → ℤ) : |
| 26 | (∑ i ∈ I, c i • T i) = 0 ↔ (∑ i ∈ I, c i • U i) = 0 := by |
| 27 | have he (x : V) : |
| 28 | e ((∑ i ∈ I, c i • T i) x) = (∑ i ∈ I, c i • U i) (e x) := by |
| 29 | simp only [LinearMap.sum_apply, LinearMap.smul_apply, map_sum, map_zsmul, h] |
| 30 | constructor |
| 31 | · intro ht |
| 32 | apply LinearMap.ext |
| 33 | intro y |
| 34 | obtain ⟨x, rfl⟩ := e.surjective y |
| 35 | rw [← he, ht] |
| 36 | simp only [LinearMap.zero_apply, map_zero] |
| 37 | · intro hu |
| 38 | apply LinearMap.ext |
| 39 | intro x |
| 40 | apply e.injective |
| 41 | rw [he, hu] |
| 42 | simp only [LinearMap.zero_apply, map_zero] |
| 43 | |
| 44 | variable {L : Type*} [Field L] [Algebra F L] |
| 45 | |
| 46 | theorem scalar_relation_iff (T : J → Module.End F V) (I : Finset J) (c : J → ℤ) : |
| 47 | (∑ i ∈ I, c i • T i) = 0 ↔ (∑ i ∈ I, c i • (T i).baseChange L) = 0 := by |
| 48 | let bc := LinearMap.baseChangeHom F L V V |
| 49 | have he : bc (∑ i ∈ I, c i • T i) = ∑ i ∈ I, c i • (T i).baseChange L := by |
| 50 | simp only [map_sum, map_zsmul] |
| 51 | rfl |
| 52 | constructor |
| 53 | · intro ht |
| 54 | rw [← he, ht, map_zero] |
| 55 | · intro ht |
| 56 | apply LinearMap.baseChangeHom_injective F V L |
| 57 | rw [he, ht, map_zero] |
| 58 | |
| 59 | end Linear |
| 60 | |
| 61 | variable {K : Type} [Field K] [NumberField K] |
| 62 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 63 | |
| 64 | theorem betti_relation_implies_crystalline |
| 65 | (j : K →+* ℂ) |
| 66 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 67 | (localCmp : A.LocalAlgebraicDeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 68 | (bettiCmp : A.ComplexAlgebraicDeRham j ≃ₗ[ℂ] A.ComplexBetti j) |
| 69 | (hcris : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) |
| 70 | (hloc : ∀ f x, localCmp (A.localAlgebraicPullback f x) = A.deRhamPullback f (localCmp x)) |
| 71 | (hbetti : ∀ f x, bettiCmp (A.complexAlgebraicPullback j f x) = |
| 72 | A.complexBettiPullback j f (bettiCmp x)) |
| 73 | {J : Type*} (I : Finset J) (f : J → A.ExtendingEndomorphism) (c : J → ℤ) |
| 74 | (h : (∑ i ∈ I, c i • A.complexBettiPullback j (f i)) = 0) : |
| 75 | (∑ i ∈ I, c i • A.crystallinePullback (f i)) = 0 := by |
| 76 | let : Algebra K ℂ := j.toAlgebra |
| 77 | let : Algebra K ℚ_[q] := jq.toAlgebra |
| 78 | have hcomplex := (relation_iff bettiCmp |
| 79 | (fun i => A.complexAlgebraicPullback j (f i)) |
| 80 | (fun i => A.complexBettiPullback j (f i)) (fun i => hbetti (f i)) I c).mpr h |
| 81 | have halg := (scalar_relation_iff (L := ℂ) |
| 82 | (fun i => A.algebraicDeRhamPullback (f i)) I c).mpr hcomplex |
| 83 | have hlocal := (scalar_relation_iff (L := ℚ_[q]) |
| 84 | (fun i => A.algebraicDeRhamPullback (f i)) I c).mp halg |
| 85 | have hdr := (relation_iff localCmp |
| 86 | (fun i => A.localAlgebraicPullback (f i)) (fun i => A.deRhamPullback (f i)) |
| 87 | (fun i => hloc (f i)) I c).mp hlocal |
| 88 | exact (relation_iff cmp |
| 89 | (fun i => A.crystallinePullback (f i)) (fun i => A.deRhamPullback (f i)) |
| 90 | (fun i => hcris (f i)) I c).mpr hdr |
| 91 | |
| 92 | /-- All comparison maps and naturality equations here are extracted from |
| 93 | the complete prerequisite conclusion, with no additive-action premise. -/ |
| 94 | theorem crystalline_relations_of_full_comparison |
| 95 | (κ : K →+* AlgebraicClosure ℚ) (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 96 | (iota : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 97 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 98 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 99 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 100 | (ℓ : ℕ) [Fact ℓ.Prime] |
| 101 | (hcomparison : NumberTheory.PadicHodge.GeometricComparison.HeckeScalar.ComparisonTarget q κ jComplex iota jq A H ρ P ℓ) |
| 102 | {J : Type*} (I : Finset J) (f : J → A.ExtendingEndomorphism) (c : J → ℤ) |
| 103 | (h : (∑ i ∈ I, c i • A.complexBettiPullback (jComplex.comp κ) (f i)) = 0) : |
| 104 | (∑ i ∈ I, c i • A.crystallinePullback (f i)) = 0 := by |
| 105 | obtain ⟨hD, hC, cmp, phi, Fil, _hphi, _hFil, _hWA, hcr, _hWeil, |
| 106 | ⟨localCmp, bettiCmp, hnatural, _hlocFil, _hbettiFil⟩, _hsummands⟩ := hcomparison |
| 107 | exact betti_relation_implies_crystalline A (jComplex.comp κ) cmp localCmp bettiCmp |
| 108 | (fun f => (hcr f).1) (fun f => (hnatural f).1) (fun f => (hnatural f).2) I f c h |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonRelations.CM |