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.ProetalePullback |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.AdjunctionCoherence |
| 3 | |
| 4 | /-! # Pullback Coherence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackCoherence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: identity and composition comparisons for pro-étale inverse image |
| 12 | |
| 13 | The comparisons are induced by scheme base change and adjunction. Their |
| 14 | direction records the contravariance of the eventual cohomology action. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | variable {X Y Z : Scheme.{u}} |
| 25 | |
| 26 | attribute [local instance] ProetalePullback.Construction.weaklyEtale_composition ProetalePullback.Construction.weaklyEtale_hasPullbacksAlong |
| 27 | ProetalePullback.Construction.weaklyEtale_baseChangeAlong |
| 28 | |
| 29 | /-- Base change by a composite, with the order reversed. -/ |
| 30 | def proEtBaseChangeCompIso (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 31 | ProetalePullback.Construction.proEtBaseChange (f ≫ g) ≅ ProetalePullback.Construction.proEtBaseChange g ⋙ ProetalePullback.Construction.proEtBaseChange f := |
| 32 | MorphismProperty.Over.pullbackComp f g |
| 33 | |
| 34 | /-- Base change by the identity is canonically the identity on the site. -/ |
| 35 | def proEtBaseChangeIdIso (X : Scheme.{u}) : ProetalePullback.Construction.proEtBaseChange (𝟙 X) ≅ 𝟭 X.ProEt := |
| 36 | NatIso.ofComponents (fun U => |
| 37 | MorphismProperty.Over.isoMk |
| 38 | { hom := pullback.fst U.hom (𝟙 X) |
| 39 | inv := pullback.lift (𝟙 U.left) U.hom (by simp) |
| 40 | hom_inv_id := by apply pullback.hom_ext <;> simp [pullback.condition] |
| 41 | inv_hom_id := by simp } |
| 42 | (by |
| 43 | change pullback.fst U.hom (𝟙 X) ≫ U.hom = pullback.snd U.hom (𝟙 X) |
| 44 | simpa using (pullback.condition (f := U.hom) (g := 𝟙 X)))) |
| 45 | (fun _ => by apply MorphismProperty.Over.Hom.ext; exact pullback.lift_fst _ _ _) |
| 46 | |
| 47 | /-- Direct-image composition comparison arising from base change. -/ |
| 48 | def proEtSheafPushforwardCompIso (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 49 | (ProetalePullback.Construction.proEtBaseChange f).sheafPushforwardContinuous Ab.{u + 1} |
| 50 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) ⋙ |
| 51 | (ProetalePullback.Construction.proEtBaseChange g).sheafPushforwardContinuous Ab.{u + 1} |
| 52 | (Scheme.ProEt.topology Z) (Scheme.ProEt.topology Y) ≅ |
| 53 | (ProetalePullback.Construction.proEtBaseChange (f ≫ g)).sheafPushforwardContinuous Ab.{u + 1} |
| 54 | (Scheme.ProEt.topology Z) (Scheme.ProEt.topology X) := |
| 55 | Functor.sheafPushforwardContinuousComp' (proEtBaseChangeCompIso f g).symm _ _ _ _ |
| 56 | |
| 57 | /-- Inverse image of a composite is the composite of inverse images. -/ |
| 58 | def proEtSheafPullbackCompIso (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 59 | ProetalePullback.Construction.proEtSheafPullback g ⋙ ProetalePullback.Construction.proEtSheafPullback f ≅ ProetalePullback.Construction.proEtSheafPullback (f ≫ g) := |
| 60 | Adjunction.leftAdjointCompIso |
| 61 | ((ProetalePullback.Construction.proEtBaseChange g).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 62 | ((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 63 | ((ProetalePullback.Construction.proEtBaseChange (f ≫ g)).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 64 | (proEtSheafPushforwardCompIso f g) |
| 65 | |
| 66 | /-- Identity direct image is the identity on sheaves. -/ |
| 67 | def proEtSheafPushforwardIdIso (X : Scheme.{u}) : |
| 68 | (ProetalePullback.Construction.proEtBaseChange (𝟙 X)).sheafPushforwardContinuous Ab.{u + 1} |
| 69 | (Scheme.ProEt.topology X) (Scheme.ProEt.topology X) ≅ 𝟭 _ := |
| 70 | Functor.sheafPushforwardContinuousId' (proEtBaseChangeIdIso X) _ _ |
| 71 | |
| 72 | /-- Identity inverse image is the identity on sheaves. -/ |
| 73 | def proEtSheafPullbackIdIso (X : Scheme.{u}) : ProetalePullback.Construction.proEtSheafPullback (𝟙 X) ≅ 𝟭 _ := |
| 74 | Adjunction.leftAdjointIdIso |
| 75 | ((ProetalePullback.Construction.proEtBaseChange (𝟙 X)).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 76 | (proEtSheafPushforwardIdIso X) |
| 77 | |
| 78 | /-- The coefficient maps respect composition of scheme morphisms. -/ |
| 79 | theorem proEtCoefficientToPushforward_comp (ℓ : ℕ) [Fact ℓ.Prime] |
| 80 | (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 81 | ProetalePullback.Construction.proEtCoefficientToPushforward ℓ (f ≫ g) = |
| 82 | ProetalePullback.Construction.proEtCoefficientToPushforward ℓ g ≫ |
| 83 | ((ProetalePullback.Construction.proEtBaseChange g).sheafPushforwardContinuous Ab.{u + 1} |
| 84 | (Scheme.ProEt.topology Z) (Scheme.ProEt.topology Y)).map |
| 85 | (ProetalePullback.Construction.proEtCoefficientToPushforward ℓ f) ≫ |
| 86 | (proEtSheafPushforwardCompIso f g).hom.app (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X) := by |
| 87 | ext U s |
| 88 | change ULift.{u + 1} (ContinuousMap U.unop.left (ℤ_[ℓ])) at s |
| 89 | apply ULift.ext |
| 90 | apply ContinuousMap.ext |
| 91 | intro x |
| 92 | change s.down ((pullback.fst U.unop.hom (f ≫ g)) x) = |
| 93 | s.down ((pullback.fst U.unop.hom g) |
| 94 | ((pullback.fst (pullback.snd U.unop.hom g) f) |
| 95 | (((proEtBaseChangeCompIso f g).hom.app U.unop).left x))) |
| 96 | exact congrArg (fun h : pullback U.unop.hom (f ≫ g) ⟶ U.unop.left => s.down (h x)) |
| 97 | (MorphismProperty.Over.pullbackComp_left_fst_fst f g U.unop).symm |
| 98 | |
| 99 | /-- The coefficient map for the identity agrees with the canonical comparison. -/ |
| 100 | theorem proEtCoefficientToPushforward_id (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{u}) : |
| 101 | ProetalePullback.Construction.proEtCoefficientToPushforward ℓ (𝟙 X) ≫ |
| 102 | (proEtSheafPushforwardIdIso X).hom.app (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X) = 𝟙 _ := by |
| 103 | ext U s |
| 104 | change ULift.{u + 1} (ContinuousMap U.unop.left (ℤ_[ℓ])) at s |
| 105 | apply ULift.ext |
| 106 | apply ContinuousMap.ext |
| 107 | intro x |
| 108 | change s.down ((pullback.fst U.unop.hom (𝟙 X)) |
| 109 | (((proEtBaseChangeIdIso X).inv.app U.unop).left x)) = s.down x |
| 110 | have h : ((proEtBaseChangeIdIso X).inv.app U.unop).left ≫ |
| 111 | pullback.fst U.unop.hom (𝟙 X) = 𝟙 U.unop.left := by |
| 112 | exact congrArg (fun f => f.left) ((proEtBaseChangeIdIso X).inv_hom_id_app U.unop) |
| 113 | exact congrArg (fun f : U.unop.left ⟶ U.unop.left => s.down (f x)) h |
| 114 | |
| 115 | /-- Composition of the adjoint coefficient maps, with the necessary comparison. -/ |
| 116 | theorem proEtCoefficientPullback_comp (ℓ : ℕ) [Fact ℓ.Prime] |
| 117 | (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 118 | (proEtSheafPullbackCompIso f g).hom.app (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ Z) ≫ |
| 119 | ProetalePullback.Construction.proEtCoefficientPullback ℓ (f ≫ g) = |
| 120 | (ProetalePullback.Construction.proEtSheafPullback f).map (ProetalePullback.Construction.proEtCoefficientPullback ℓ g) ≫ |
| 121 | ProetalePullback.Construction.proEtCoefficientPullback ℓ f := by |
| 122 | unfold ProetalePullback.Construction.proEtCoefficientPullback |
| 123 | rw [proEtCoefficientToPushforward_comp] |
| 124 | exact AdjunctionCoherence.Construction.adjunction_comp_adjoint |
| 125 | ((ProetalePullback.Construction.proEtBaseChange g).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 126 | ((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 127 | ((ProetalePullback.Construction.proEtBaseChange (f ≫ g)).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 128 | (proEtSheafPushforwardCompIso f g) |
| 129 | (ProetalePullback.Construction.proEtCoefficientToPushforward ℓ g) (ProetalePullback.Construction.proEtCoefficientToPushforward ℓ f) |
| 130 | |
| 131 | /-- The adjoint coefficient map for the identity is the identity comparison. -/ |
| 132 | theorem proEtCoefficientPullback_id (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{u}) : |
| 133 | ProetalePullback.Construction.proEtCoefficientPullback ℓ (𝟙 X) = |
| 134 | (proEtSheafPullbackIdIso X).hom.app (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X) := by |
| 135 | have h : ProetalePullback.Construction.proEtCoefficientToPushforward ℓ (𝟙 X) = |
| 136 | (proEtSheafPushforwardIdIso X).inv.app (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X) := by |
| 137 | rw [← cancel_mono ((proEtSheafPushforwardIdIso X).hom.app |
| 138 | (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X)), proEtCoefficientToPushforward_id, |
| 139 | Iso.inv_hom_id_app] |
| 140 | rfl |
| 141 | unfold ProetalePullback.Construction.proEtCoefficientPullback |
| 142 | rw [h] |
| 143 | exact AdjunctionCoherence.Construction.adjunction_id_adjoint |
| 144 | ((ProetalePullback.Construction.proEtBaseChange (𝟙 X)).sheafAdjunctionContinuous Ab.{u + 1} _ _) |
| 145 | (proEtSheafPushforwardIdIso X) (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackCoherence.Construction |