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 Mathlib.AlgebraicGeometry.Sites.ElladicCohomology |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basic |
| 3 | |
| 4 | /-! # Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: integral scalar multiplication on actual ℓ-adic cohomology |
| 12 | |
| 13 | The scalar action is induced by multiplication on the coefficient sheaf. |
| 14 | It is constructed on mathlib's cohomology groups, with no weight or |
| 15 | Frobenius assertions built into the definitions. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (ℓ : ℕ) [Fact ℓ.Prime] |
| 23 | |
| 24 | /-- Multiplication by a coefficient on the continuous-function presheaf. -/ |
| 25 | def continuousCoefficientScalar (a : ℤ_[ℓ]) : |
| 26 | continuousMapPresheafAb (ℤ_[ℓ]) ⟶ |
| 27 | continuousMapPresheafAb (ℤ_[ℓ]) where |
| 28 | app U := AddCommGrpCat.ofHom { |
| 29 | toFun := fun f => a • f |
| 30 | map_zero' := smul_zero a |
| 31 | map_add' := fun f g => by |
| 32 | ext x |
| 33 | exact mul_add a (f x) (g x) |
| 34 | } |
| 35 | naturality := by |
| 36 | intro U V f |
| 37 | ext s |
| 38 | rfl |
| 39 | |
| 40 | variable (X : Scheme.{u}) |
| 41 | |
| 42 | /-- Multiplication on the actual coefficient sheaf on the small pro-étale site. -/ |
| 43 | def ellAdicSheafScalar (a : ℤ_[ℓ]) : |
| 44 | X.ellAdicSheaf ℓ ⟶ X.ellAdicSheaf ℓ where |
| 45 | hom := Functor.whiskerLeft (Scheme.ProEt.forget X ⋙ Over.forget _).op |
| 46 | (continuousCoefficientScalar ℓ a) |
| 47 | |
| 48 | theorem ellAdicSheafScalar_one : ellAdicSheafScalar ℓ X 1 = 𝟙 _ := by |
| 49 | ext U s |
| 50 | change C(((Scheme.ProEt.forget X).obj U.unop).left, ℤ_[ℓ]) at s |
| 51 | change (1 : ℤ_[ℓ]) • s = s |
| 52 | exact one_smul (ℤ_[ℓ]) s |
| 53 | |
| 54 | theorem ellAdicSheafScalar_zero : ellAdicSheafScalar ℓ X 0 = 0 := by |
| 55 | ext U s |
| 56 | change C(((Scheme.ProEt.forget X).obj U.unop).left, ℤ_[ℓ]) at s |
| 57 | change (0 : ℤ_[ℓ]) • s = 0 |
| 58 | exact zero_smul (ℤ_[ℓ]) s |
| 59 | |
| 60 | theorem ellAdicSheafScalar_add (a b : ℤ_[ℓ]) : |
| 61 | ellAdicSheafScalar ℓ X (a + b) = |
| 62 | ellAdicSheafScalar ℓ X a + ellAdicSheafScalar ℓ X b := by |
| 63 | ext U s |
| 64 | change C(((Scheme.ProEt.forget X).obj U.unop).left, ℤ_[ℓ]) at s |
| 65 | change (a + b) • s = a • s + b • s |
| 66 | exact add_smul a b s |
| 67 | |
| 68 | theorem ellAdicSheafScalar_mul (a b : ℤ_[ℓ]) : |
| 69 | ellAdicSheafScalar ℓ X (a * b) = |
| 70 | ellAdicSheafScalar ℓ X b ≫ ellAdicSheafScalar ℓ X a := by |
| 71 | ext U s |
| 72 | change C(((Scheme.ProEt.forget X).obj U.unop).left, ℤ_[ℓ]) at s |
| 73 | change (a * b) • s = a • (b • s) |
| 74 | exact mul_smul a b s |
| 75 | |
| 76 | /-- Scalar multiplication lifted to the coefficient sheaf universe used by H. -/ |
| 77 | noncomputable def liftedEllAdicScalar (a : ℤ_[ℓ]) : |
| 78 | (sheafCompose _ AddCommGrpCat.uliftFunctor.{u + 1}).obj (X.ellAdicSheaf ℓ) ⟶ |
| 79 | (sheafCompose _ AddCommGrpCat.uliftFunctor.{u + 1}).obj (X.ellAdicSheaf ℓ) := |
| 80 | (sheafCompose _ AddCommGrpCat.uliftFunctor.{u + 1}).map |
| 81 | (ellAdicSheafScalar ℓ X a) |
| 82 | |
| 83 | theorem liftedEllAdicScalar_add (a b : ℤ_[ℓ]) : |
| 84 | liftedEllAdicScalar ℓ X (a + b) = |
| 85 | liftedEllAdicScalar ℓ X a + liftedEllAdicScalar ℓ X b := by |
| 86 | unfold liftedEllAdicScalar |
| 87 | rw [ellAdicSheafScalar_add] |
| 88 | ext U s |
| 89 | rfl |
| 90 | |
| 91 | /-- Scalar multiplication on the existing integral ℓ-adic cohomology group. -/ |
| 92 | noncomputable def ellAdicCohomologyScalar (n : ℕ) (a : ℤ_[ℓ]) : |
| 93 | X.EllAdicCohomology ℓ n →+ X.EllAdicCohomology ℓ n := |
| 94 | Sheaf.H.map (liftedEllAdicScalar ℓ X a) n |
| 95 | |
| 96 | noncomputable instance ellAdicCohomologyModule (n : ℕ) : |
| 97 | Module (ℤ_[ℓ]) (X.EllAdicCohomology ℓ n) where |
| 98 | smul a x := ellAdicCohomologyScalar ℓ X n a x |
| 99 | one_smul x := by |
| 100 | change ellAdicCohomologyScalar ℓ X n 1 x = x |
| 101 | unfold ellAdicCohomologyScalar liftedEllAdicScalar |
| 102 | rw [ellAdicSheafScalar_one, CategoryTheory.Functor.map_id] |
| 103 | exact Sheaf.H.map_id_apply x |
| 104 | mul_smul a b x := by |
| 105 | change ellAdicCohomologyScalar ℓ X n (a * b) x = |
| 106 | ellAdicCohomologyScalar ℓ X n a (ellAdicCohomologyScalar ℓ X n b x) |
| 107 | unfold ellAdicCohomologyScalar liftedEllAdicScalar |
| 108 | rw [ellAdicSheafScalar_mul, CategoryTheory.Functor.map_comp] |
| 109 | exact Sheaf.H.map_comp_apply _ _ x |
| 110 | smul_zero a := (ellAdicCohomologyScalar ℓ X n a).map_zero |
| 111 | smul_add a x y := (ellAdicCohomologyScalar ℓ X n a).map_add x y |
| 112 | add_smul a b x := by |
| 113 | change ellAdicCohomologyScalar ℓ X n (a + b) x = |
| 114 | ellAdicCohomologyScalar ℓ X n a x + ellAdicCohomologyScalar ℓ X n b x |
| 115 | unfold ellAdicCohomologyScalar |
| 116 | rw [liftedEllAdicScalar_add] |
| 117 | exact Sheaf.H.map_add_apply _ _ x |
| 118 | zero_smul x := by |
| 119 | change ellAdicCohomologyScalar ℓ X n 0 x = 0 |
| 120 | unfold ellAdicCohomologyScalar liftedEllAdicScalar |
| 121 | rw [ellAdicSheafScalar_zero, CategoryTheory.Functor.map_zero] |
| 122 | change x.comp (CategoryTheory.Abelian.Ext.mk₀ 0) (add_zero n) = 0 |
| 123 | rw [CategoryTheory.Abelian.Ext.mk₀_zero] |
| 124 | exact CategoryTheory.Abelian.Ext.comp_zero x _ 0 n (add_zero n) |
| 125 | |
| 126 | /-- Extension of coefficients to an algebraic closure of ℚ_ℓ. -/ |
| 127 | abbrev EllAdicH1AlgebraicCoefficients (Y : Scheme.{u}) := |
| 128 | TensorProduct (ℤ_[ℓ]) (AlgebraicClosure ℚ_[ℓ]) (Y.EllAdicCohomology ℓ 1) |
| 129 | |
| 130 | /-- The actual base change to an algebraic closure of the ground field. -/ |
| 131 | noncomputable def geometricFiber |
| 132 | {k : Type u} [Field k] (A : Over (Spec (CommRingCat.of k))) : Scheme.{u} := |
| 133 | Limits.pullback A.hom |
| 134 | (Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k)))) |
| 135 | |
| 136 | /-- Degree-one geometric cohomology with algebraically closed ℓ-adic coefficients. -/ |
| 137 | abbrev GeometricH1 |
| 138 | {k : Type u} [Field k] (A : Over (Spec (CommRingCat.of k))) := |
| 139 | EllAdicH1AlgebraicCoefficients ℓ (geometricFiber A) |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction |