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.Cohomology |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 5 | import Mathlib.LinearAlgebra.Eigenspace.Basic |
| 6 | |
| 7 | /-! # Cohomology Pullback -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CohomologyPullback |
| 10 | |
| 11 | /-! |
| 12 | # Completion: the linear Frobenius action on geometric H¹ |
| 13 | |
| 14 | The action is induced by the actual scheme morphism using exact inverse |
| 15 | image on the pro-étale sites. Scalar compatibility is proved before |
| 16 | extending coefficients; no cohomological weights are assumed. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u v |
| 22 | |
| 23 | namespace Construction |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | variable (ℓ : ℕ) [Fact ℓ.Prime] {X Y : Scheme.{u}} |
| 28 | |
| 29 | theorem proEtCoefficientToPushforward_scalar (f : X ⟶ Y) (a : ℤ_[ℓ]) : |
| 30 | Cohomology.Construction.liftedEllAdicScalar ℓ Y a ≫ ProetalePullback.Construction.proEtCoefficientToPushforward ℓ f = |
| 31 | ProetalePullback.Construction.proEtCoefficientToPushforward ℓ f ≫ |
| 32 | ((ProetalePullback.Construction.proEtBaseChange f).sheafPushforwardContinuous Ab.{u + 1} |
| 33 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).map |
| 34 | (Cohomology.Construction.liftedEllAdicScalar ℓ X a) := by |
| 35 | ext U s |
| 36 | rfl |
| 37 | |
| 38 | theorem proEtCoefficientPullback_scalar (f : X ⟶ Y) (a : ℤ_[ℓ]) : |
| 39 | (ProetalePullback.Construction.proEtSheafPullback f).map (Cohomology.Construction.liftedEllAdicScalar ℓ Y a) ≫ |
| 40 | ProetalePullback.Construction.proEtCoefficientPullback ℓ f = |
| 41 | ProetalePullback.Construction.proEtCoefficientPullback ℓ f ≫ Cohomology.Construction.liftedEllAdicScalar ℓ X a := by |
| 42 | exact ((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} |
| 43 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).homEquiv_naturality_right_square |
| 44 | (Cohomology.Construction.liftedEllAdicScalar ℓ Y a) (ProetalePullback.Construction.proEtCoefficientToPushforward ℓ f) |
| 45 | (ProetalePullback.Construction.proEtCoefficientToPushforward ℓ f) (Cohomology.Construction.liftedEllAdicScalar ℓ X a) |
| 46 | (proEtCoefficientToPushforward_scalar ℓ f a) |
| 47 | |
| 48 | theorem integralEllAdicPullback_apply (f : X ⟶ Y) (n : ℕ) |
| 49 | (x : Y.EllAdicCohomology ℓ n) : |
| 50 | ProetalePullback.Construction.integralEllAdicPullback ℓ f n x = |
| 51 | ((Abelian.Ext.mk₀ ((ProetalePullback.Construction.proEtConstantPullbackIso f).inv.app |
| 52 | (AddCommGrpCat.of (ULift.{u + 1} ℤ)))).comp |
| 53 | (x.mapExactFunctor (ProetalePullback.Construction.proEtSheafPullback f)) (zero_add n)).comp |
| 54 | (Abelian.Ext.mk₀ (ProetalePullback.Construction.proEtCoefficientPullback ℓ f)) (add_zero n) := rfl |
| 55 | |
| 56 | theorem integralEllAdicPullback_smul (f : X ⟶ Y) (n : ℕ) |
| 57 | (a : ℤ_[ℓ]) (x : Y.EllAdicCohomology ℓ n) : |
| 58 | ProetalePullback.Construction.integralEllAdicPullback ℓ f n (a • x) = a • ProetalePullback.Construction.integralEllAdicPullback ℓ f n x := by |
| 59 | change (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ Y).H n at x |
| 60 | change ProetalePullback.Construction.integralEllAdicPullback ℓ f n |
| 61 | (x.comp (Abelian.Ext.mk₀ (Cohomology.Construction.liftedEllAdicScalar ℓ Y a)) (add_zero n)) = |
| 62 | (ProetalePullback.Construction.integralEllAdicPullback ℓ f n x).comp |
| 63 | (Abelian.Ext.mk₀ (Cohomology.Construction.liftedEllAdicScalar ℓ X a)) (add_zero n) |
| 64 | erw [integralEllAdicPullback_apply, integralEllAdicPullback_apply] |
| 65 | simp only [Abelian.Ext.mapExactFunctor_comp, Abelian.Ext.mapExactFunctor_mk₀, |
| 66 | Abelian.Ext.comp_assoc_of_third_deg_zero, Abelian.Ext.mk₀_comp_mk₀, |
| 67 | proEtCoefficientPullback_scalar] |
| 68 | rfl |
| 69 | |
| 70 | /-- Pullback is linear for the constructed ℤ_ℓ-module structures. -/ |
| 71 | def integralEllAdicPullbackLinear (f : X ⟶ Y) (n : ℕ) : |
| 72 | Y.EllAdicCohomology ℓ n →ₗ[ℤ_[ℓ]] X.EllAdicCohomology ℓ n where |
| 73 | __ := ProetalePullback.Construction.integralEllAdicPullback ℓ f n |
| 74 | map_smul' := integralEllAdicPullback_smul ℓ f n |
| 75 | |
| 76 | /-- Pullback after extending coefficients to the algebraic closure of ℚ_ℓ. -/ |
| 77 | def algebraicEllAdicH1Pullback (f : X ⟶ Y) : |
| 78 | Cohomology.Construction.EllAdicH1AlgebraicCoefficients ℓ Y →ₗ[AlgebraicClosure ℚ_[ℓ]] |
| 79 | Cohomology.Construction.EllAdicH1AlgebraicCoefficients ℓ X := |
| 80 | (integralEllAdicPullbackLinear ℓ f 1).baseChange (AlgebraicClosure ℚ_[ℓ]) |
| 81 | |
| 82 | /-- The actual geometric degree-one Frobenius operator. -/ |
| 83 | def geometricH1Frobenius |
| 84 | (k : Type u) [Field k] [Fintype k] (A : Over (Spec (CommRingCat.of k))) : |
| 85 | Module.End (AlgebraicClosure ℚ_[ℓ]) (Cohomology.Construction.GeometricH1 ℓ A) := |
| 86 | algebraicEllAdicH1Pullback ℓ (Geometric.Frobenius.Construction.geometricSchemeFrobenius k A) |
| 87 | |
| 88 | /-- A realization of H¹ identifies F with pullback by the q-power scheme |
| 89 | Frobenius. This replaces the proposed interface without including weights. -/ |
| 90 | def IsEtaleH1GeometricFrobenius |
| 91 | {k : Type u} [Field k] [Fintype k] (A : Over (Spec (CommRingCat.of k))) |
| 92 | {H : Type v} [AddCommGroup H] [Module (AlgebraicClosure ℚ_[ℓ]) H] |
| 93 | (F : Module.End (AlgebraicClosure ℚ_[ℓ]) H) : Prop := |
| 94 | ∃ e : Cohomology.Construction.GeometricH1 ℓ A ≃ₗ[AlgebraicClosure ℚ_[ℓ]] H, |
| 95 | ∀ x, F (e x) = e (geometricH1Frobenius ℓ k A x) |
| 96 | |
| 97 | /-- Eigenvalues in a realization are eigenvalues of the actual geometric operator. -/ |
| 98 | theorem realized_eigenvalue |
| 99 | {k : Type u} [Field k] [Fintype k] (A : Over (Spec (CommRingCat.of k))) |
| 100 | {H : Type v} [AddCommGroup H] [Module (AlgebraicClosure ℚ_[ℓ]) H] |
| 101 | (F : Module.End (AlgebraicClosure ℚ_[ℓ]) H) |
| 102 | (hF : IsEtaleH1GeometricFrobenius ℓ A F) |
| 103 | (α : AlgebraicClosure ℚ_[ℓ]) (hα : F.HasEigenvalue α) : |
| 104 | (geometricH1Frobenius ℓ k A).HasEigenvalue α := by |
| 105 | obtain ⟨e, he⟩ := hF |
| 106 | obtain ⟨v, hv⟩ := hα.exists_hasEigenvector |
| 107 | apply Module.End.hasEigenvalue_of_hasEigenvector (x := e.symm v) |
| 108 | refine ⟨Module.End.mem_eigenspace_iff.mpr ?_, ?_⟩ |
| 109 | · apply e.injective |
| 110 | rw [← he, e.map_smul, e.apply_symm_apply] |
| 111 | exact hv.apply_eq_smul |
| 112 | · intro hzero |
| 113 | apply hv.2 |
| 114 | have h := congrArg e hzero |
| 115 | simpa using h |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end Construction |
| 120 | |
| 121 | /-- The formerly proposed predicate, with the argument order used by the |
| 122 | immutable specification. Its content is identification with actual H¹ |
| 123 | and its constructed Frobenius action, without weight assumptions. -/ |
| 124 | abbrev IsEtaleH1GeometricFrobenius |
| 125 | {k : Type u} [Field k] [Fintype k] (A : Over (Spec (CommRingCat.of k))) |
| 126 | (ℓ : ℕ) [Fact ℓ.Prime] |
| 127 | {H : Type v} [AddCommGroup H] [Module (AlgebraicClosure ℚ_[ℓ]) H] |
| 128 | (F : Module.End (AlgebraicClosure ℚ_[ℓ]) H) : Prop := |
| 129 | Construction.IsEtaleH1GeometricFrobenius ℓ A F |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CohomologyPullback |