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.IntegralComparison.ProEtale |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry |
| 4 | |
| 5 | /-! # Frobenius -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.Frobenius |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: geometric Frobenius on rational pro-étale cohomology |
| 13 | |
| 14 | The operator is induced on Ext by the exact equivalence of sheaf categories |
| 15 | coming from the actual automorphism of the geometric fiber. No traces or |
| 16 | characteristic polynomials are specified as part of the construction. |
| 17 | The Frobenius convention follows https://stacks.math.columbia.edu/tag/03SL: |
| 18 | the inverse q-power field automorphism acts by cohomological pullback. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry |
| 22 | |
| 23 | universe u v w |
| 24 | |
| 25 | section ExtTransport |
| 26 | |
| 27 | variable (R : Type*) [CommRing R] |
| 28 | variable {C : Type*} [Category C] [Abelian C] [Linear R C] [HasExt.{w} C] |
| 29 | |
| 30 | /-- Transport both arguments of Ext by actual isomorphisms. -/ |
| 31 | def extIsoCongr {A A' B B' : C} (iA : A ≅ A') (iB : B ≅ B') (n : ℕ) : |
| 32 | Ext A B n ≃ₗ[R] Ext A' B' n where |
| 33 | toFun α := ((Ext.mk₀ iA.inv).comp α (Nat.zero_add n)).comp |
| 34 | (Ext.mk₀ iB.hom) (Nat.add_zero n) |
| 35 | invFun α := ((Ext.mk₀ iA.hom).comp α (Nat.zero_add n)).comp |
| 36 | (Ext.mk₀ iB.inv) (Nat.add_zero n) |
| 37 | left_inv α := by simp |
| 38 | right_inv α := by simp |
| 39 | map_add' α β := by simp |
| 40 | map_smul' r α := by simp |
| 41 | |
| 42 | end ExtTransport |
| 43 | |
| 44 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtale |
| 45 | |
| 46 | variable (ℓ : ℕ) [Fact ℓ.Prime] |
| 47 | variable {X Y : Scheme.{u}} |
| 48 | |
| 49 | /-- The continuous rational coefficient sheaf is preserved by base transport. -/ |
| 50 | def coefficientSheafTransport (e : X ≅ Y) : |
| 51 | (ProEtale.proEtaleSheafCongr (ModuleCat.{u + 1} (Cohomology.Coeff.{u} ℓ)) e).functor.obj |
| 52 | (Cohomology.rationalCoefficientSheaf ℓ X) ≅ Cohomology.rationalCoefficientSheaf ℓ Y := |
| 53 | eqToIso rfl |
| 54 | |
| 55 | /-- Constant rank-one sheaves are preserved by the same transport. -/ |
| 56 | def constantUnitTransport (e : X ≅ Y) : |
| 57 | (ProEtale.proEtaleSheafCongr (ModuleCat.{u + 1} (Cohomology.Coeff.{u} ℓ)) e).functor.obj |
| 58 | (Cohomology.constantUnitSheaf ℓ X) ≅ Cohomology.constantUnitSheaf ℓ Y := |
| 59 | (ProEtale.proEtaleSheafCongr_constant (ModuleCat.{u + 1} (Cohomology.Coeff.{u} ℓ)) e).app |
| 60 | (ModuleCat.of (Cohomology.Coeff.{u} ℓ) (Cohomology.Coeff.{u} ℓ)) |
| 61 | |
| 62 | /-- Covariant transport of cohomology by a scheme isomorphism. It is the |
| 63 | pullback along the inverse isomorphism. -/ |
| 64 | def cohomologyTransport (e : X ≅ Y) (n : ℕ) : |
| 65 | Cohomology.RationalEllAdicCohomology ℓ X n ≃ₗ[Cohomology.Coeff.{u} ℓ] |
| 66 | Cohomology.RationalEllAdicCohomology ℓ Y n := |
| 67 | (LinearEquiv.ofBijective |
| 68 | ((ProEtale.proEtaleSheafCongr (ModuleCat.{u + 1} (Cohomology.Coeff.{u} ℓ)) e).functor.mapExtLinearMap |
| 69 | (Cohomology.Coeff.{u} ℓ) (Cohomology.constantUnitSheaf ℓ X) (Cohomology.rationalCoefficientSheaf ℓ X) n) |
| 70 | ((ProEtale.proEtaleSheafCongr (ModuleCat.{u + 1} (Cohomology.Coeff.{u} ℓ)) e).functor.mapExt_bijective_of_preservesInjectiveObjects |
| 71 | _ _ n)).trans |
| 72 | (extIsoCongr (Cohomology.Coeff.{u} ℓ) (constantUnitTransport ℓ e) |
| 73 | (coefficientSheafTransport ℓ e) n) |
| 74 | |
| 75 | /-- Cohomological pullback for a scheme isomorphism. -/ |
| 76 | def cohomologyPullback (e : X ≅ Y) (n : ℕ) : |
| 77 | Cohomology.RationalEllAdicCohomology ℓ Y n ≃ₗ[Cohomology.Coeff.{u} ℓ] |
| 78 | Cohomology.RationalEllAdicCohomology ℓ X n := |
| 79 | cohomologyTransport ℓ e.symm n |
| 80 | |
| 81 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry |
| 82 | |
| 83 | /-- Geometric Frobenius on the rational pro-étale cohomology of the |
| 84 | geometric fiber. The field automorphism is the inverse of x ↦ x^q. -/ |
| 85 | def geometricFrobeniusOnCohomology |
| 86 | (p a : ℕ) [Fact p.Prime] |
| 87 | (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 88 | (hcard : Fintype.card k = p ^ a) |
| 89 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of k)) (n : ℕ) : |
| 90 | Cohomology.RationalEllAdicCohomology ℓ (Frobenius.Geometry.geometricFiber (L := AlgebraicClosure k) f) n |
| 91 | ≃ₗ[Cohomology.Coeff.{u} ℓ] |
| 92 | Cohomology.RationalEllAdicCohomology ℓ (Frobenius.Geometry.geometricFiber (L := AlgebraicClosure k) f) n := |
| 93 | cohomologyPullback ℓ (Frobenius.Geometry.geometricFiberIso f (Frobenius.Geometry.geometricFrobenius p a k hcard)) n |
| 94 | |
| 95 | /-- The same actual geometric Frobenius, linear over Q_l itself. -/ |
| 96 | def geometricFrobeniusLinear |
| 97 | (p a : ℕ) [Fact p.Prime] |
| 98 | (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 99 | (hcard : Fintype.card k = p ^ a) |
| 100 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of k)) (n : ℕ) : |
| 101 | Cohomology.RationalEllAdicCohomology ℓ (Frobenius.Geometry.geometricFiber (L := AlgebraicClosure k) f) n |
| 102 | ≃ₗ[ℚ_[ℓ]] |
| 103 | Cohomology.RationalEllAdicCohomology ℓ (Frobenius.Geometry.geometricFiber (L := AlgebraicClosure k) f) n := |
| 104 | (geometricFrobeniusOnCohomology ℓ p a k hcard f n).restrictScalars ℚ_[ℓ] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.Frobenius |