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.Finite.CoefficientTopology |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CohomologyPullback |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.Ab |
| 4 | import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono |
| 5 | |
| 6 | /-! # Coefficient Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: the finite-coefficient exact sequence on the actual pro-étale site |
| 14 | |
| 15 | The continuous-function coefficient sheaves fit into the exact sequence |
| 16 | ℤ_ℓ --ℓⁿ--> ℤ_ℓ --> ℤ/ℓⁿ. Exactness is proved on sections, including |
| 17 | continuity of the quotient function in the kernel. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable (ℓ n : ℕ) [Fact ℓ.Prime] |
| 28 | |
| 29 | /-- Reduction of continuous integral coefficient functions. -/ |
| 30 | def continuousCoefficientReduction : |
| 31 | continuousMapPresheafAb (ℤ_[ℓ]) ⟶ continuousMapPresheafAb (ZMod (ℓ ^ n)) where |
| 32 | app U := AddCommGrpCat.ofHom { |
| 33 | toFun f := ⟨fun x => PadicInt.toZModPow n (f x), |
| 34 | (CoefficientTopology.Construction.continuous_padicInt_toZModPow ℓ n).comp f.continuous⟩ |
| 35 | map_zero' := by |
| 36 | apply ContinuousMap.ext |
| 37 | intro x |
| 38 | exact map_zero (PadicInt.toZModPow n) |
| 39 | map_add' f g := by |
| 40 | apply ContinuousMap.ext |
| 41 | intro x |
| 42 | exact map_add (PadicInt.toZModPow n) (f x) (g x) } |
| 43 | naturality := by intros; rfl |
| 44 | |
| 45 | /-- Finite coefficients on the actual pro-étale site, in the cohomology universe. -/ |
| 46 | def finiteEllAdicCoefficient (X : Scheme.{u}) : |
| 47 | Sheaf (Scheme.ProEt.topology X) Ab.{u + 1} := |
| 48 | (sheafCompose _ AddCommGrpCat.uliftFunctor.{u + 1}).obj |
| 49 | (((Scheme.ProEt.forget X ⋙ Over.forget _).sheafPushforwardContinuous _ _ |
| 50 | Scheme.proetaleTopology).obj |
| 51 | ⟨continuousMapPresheafAb (ZMod (ℓ ^ n)), |
| 52 | .of_le Scheme.proetaleTopology_le_fpqcTopology |
| 53 | (isSheaf_fpqcTopology_continuousMapPresheafAb _)⟩) |
| 54 | |
| 55 | /-- Reduction on the actual coefficient sheaves. -/ |
| 56 | def finiteEllAdicReduction (X : Scheme.{u}) : |
| 57 | ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X ⟶ finiteEllAdicCoefficient ℓ n X where |
| 58 | hom := Functor.whiskerRight |
| 59 | (Functor.whiskerLeft (Scheme.ProEt.forget X ⋙ Over.forget _).op |
| 60 | (continuousCoefficientReduction ℓ n)) AddCommGrpCat.uliftFunctor |
| 61 | |
| 62 | variable (X : Scheme.{u}) |
| 63 | |
| 64 | theorem finiteEllAdicReduction_comp_scalar : |
| 65 | Cohomology.Construction.liftedEllAdicScalar ℓ X ((ℓ : ℤ_[ℓ]) ^ n) ≫ finiteEllAdicReduction ℓ n X = 0 := by |
| 66 | ext U f |
| 67 | change ULift.{u + 1} C(U.unop.left, ℤ_[ℓ]) at f |
| 68 | apply ULift.ext |
| 69 | apply ContinuousMap.ext |
| 70 | intro t |
| 71 | change PadicInt.toZModPow n ((ℓ : ℤ_[ℓ]) ^ n * f.down t) = 0 |
| 72 | simp [← Nat.cast_pow] |
| 73 | |
| 74 | /-- The finite-coefficient short complex. -/ |
| 75 | def finiteEllAdicShortComplex : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}) := |
| 76 | ShortComplex.mk (Cohomology.Construction.liftedEllAdicScalar ℓ X ((ℓ : ℤ_[ℓ]) ^ n)) |
| 77 | (finiteEllAdicReduction ℓ n X) (finiteEllAdicReduction_comp_scalar ℓ n X) |
| 78 | |
| 79 | theorem finiteEllAdicReduction_app_surjective (U : X.ProEtᵒᵖ) : |
| 80 | Function.Surjective ((finiteEllAdicReduction ℓ n X).hom.app U) := by |
| 81 | intro f |
| 82 | change ULift.{u + 1} C(U.unop.left, ZMod (ℓ ^ n)) at f |
| 83 | have hc : Continuous (fun a : ZMod (ℓ ^ n) => (a.val : ℤ_[ℓ])) := |
| 84 | continuous_of_discreteTopology |
| 85 | let g : C(U.unop.left, ℤ_[ℓ]) := |
| 86 | ⟨fun t => ((f.down t).val : ℤ_[ℓ]), hc.comp f.down.continuous⟩ |
| 87 | refine ⟨ULift.up g, ?_⟩ |
| 88 | apply ULift.ext |
| 89 | apply ContinuousMap.ext |
| 90 | intro t |
| 91 | exact CoefficientTopology.Construction.padicInt_toZModPow_section ℓ n (f.down t) |
| 92 | |
| 93 | theorem finiteEllAdicScalar_app_injective (U : X.ProEtᵒᵖ) : |
| 94 | Function.Injective ((Cohomology.Construction.liftedEllAdicScalar ℓ X ((ℓ : ℤ_[ℓ]) ^ n)).hom.app U) := by |
| 95 | intro f g h |
| 96 | change ULift.{u + 1} C(U.unop.left, ℤ_[ℓ]) at f g |
| 97 | apply ULift.ext |
| 98 | apply ContinuousMap.ext |
| 99 | intro t |
| 100 | have ht := congrArg (fun a : ULift.{u + 1} C(U.unop.left, ℤ_[ℓ]) => a.down t) h |
| 101 | change (ℓ : ℤ_[ℓ]) ^ n * f.down t = (ℓ : ℤ_[ℓ]) ^ n * g.down t at ht |
| 102 | exact mul_left_cancel₀ (pow_ne_zero _ (by exact_mod_cast (Fact.out : ℓ.Prime).ne_zero)) ht |
| 103 | |
| 104 | theorem finiteEllAdicShortComplex_app_exact (U : X.ProEtᵒᵖ) : |
| 105 | ((finiteEllAdicShortComplex ℓ n X).map |
| 106 | ((sheafToPresheaf _ Ab.{u + 1}) ⋙ (evaluation _ _).obj U)).Exact := by |
| 107 | rw [ShortComplex.ab_exact_iff] |
| 108 | intro f hf |
| 109 | change ULift.{u + 1} C(U.unop.left, ℤ_[ℓ]) at f |
| 110 | have hf' : ∀ t, PadicInt.toZModPow n (f.down t) = 0 := by |
| 111 | intro t |
| 112 | exact congrArg (fun a : ULift.{u + 1} C(U.unop.left, ZMod (ℓ ^ n)) => a.down t) hf |
| 113 | obtain ⟨g, hg⟩ := CoefficientTopology.Construction.continuousMap_padicInt_divisible ℓ n f.down hf' |
| 114 | refine ⟨ULift.up g, ?_⟩ |
| 115 | apply ULift.ext |
| 116 | exact ContinuousMap.ext hg |
| 117 | |
| 118 | instance finiteEllAdicReduction_epi : Epi (finiteEllAdicReduction ℓ n X) := by |
| 119 | have h : Epi (finiteEllAdicReduction ℓ n X).hom := |
| 120 | (NatTrans.epi_iff_epi_app _).mpr fun U => |
| 121 | ConcreteCategory.epi_of_surjective _ (finiteEllAdicReduction_app_surjective ℓ n X U) |
| 122 | exact (sheafToPresheaf _ Ab.{u + 1}).epi_of_epi_map h |
| 123 | |
| 124 | instance finiteEllAdicScalar_mono : Mono (Cohomology.Construction.liftedEllAdicScalar ℓ X ((ℓ : ℤ_[ℓ]) ^ n)) := by |
| 125 | have h : Mono (Cohomology.Construction.liftedEllAdicScalar ℓ X ((ℓ : ℤ_[ℓ]) ^ n)).hom := |
| 126 | (NatTrans.mono_iff_mono_app _).mpr fun U => |
| 127 | ConcreteCategory.mono_of_injective _ (finiteEllAdicScalar_app_injective ℓ n X U) |
| 128 | exact (sheafToPresheaf _ Ab.{u + 1}).mono_of_mono_map h |
| 129 | |
| 130 | /-- The scalar/reduction sequence is short exact in actual pro-étale sheaves. -/ |
| 131 | theorem finiteEllAdicShortComplex_shortExact : (finiteEllAdicShortComplex ℓ n X).ShortExact := by |
| 132 | refine ShortComplex.ShortExact.mk' ?_ (finiteEllAdicScalar_mono ℓ n X) |
| 133 | (finiteEllAdicReduction_epi ℓ n X) |
| 134 | let S := finiteEllAdicShortComplex ℓ n X |
| 135 | apply ShortComplex.exact_of_f_is_kernel |
| 136 | apply isLimitOfReflects (sheafToPresheaf _ Ab.{u + 1}) |
| 137 | apply evaluationJointlyReflectsLimits |
| 138 | intro U |
| 139 | let E := (sheafToPresheaf (Scheme.ProEt.topology X) Ab.{u + 1}) ⋙ (evaluation _ _).obj U |
| 140 | change IsLimit (E.mapCone (KernelFork.ofι S.f S.zero)) |
| 141 | refine (KernelFork.isLimitMapConeEquiv (KernelFork.ofι S.f S.zero) E).symm ?_ |
| 142 | have : Mono (S.map E).f := |
| 143 | ConcreteCategory.mono_of_injective _ (finiteEllAdicScalar_app_injective ℓ n X U) |
| 144 | exact (finiteEllAdicShortComplex_app_exact ℓ n X U).fIsKernel |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction |