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.CohomologyPullback |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ConstantCoherence |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ExtFunctoriality |
| 4 | |
| 5 | /-! # Cohomology Functoriality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CohomologyFunctoriality.Construction |
| 8 | |
| 9 | /-! |
| 10 | # Completion: contravariant functoriality of the actual cohomology pullbacks |
| 11 | |
| 12 | Both the integral groups and their algebraic coefficient extensions respect |
| 13 | identity and composition of scheme morphisms. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | variable (ℓ : ℕ) [Fact ℓ.Prime] {X Y Z : Scheme.{u}} |
| 24 | |
| 25 | /-- Cohomological pullback reverses scheme-morphism composition. -/ |
| 26 | theorem integralEllAdicPullback_comp (f : X ⟶ Y) (g : Y ⟶ Z) (n : ℕ) |
| 27 | (x : Z.EllAdicCohomology ℓ n) : |
| 28 | ProetalePullback.Construction.integralEllAdicPullback ℓ f n (ProetalePullback.Construction.integralEllAdicPullback ℓ g n x) = |
| 29 | ProetalePullback.Construction.integralEllAdicPullback ℓ (f ≫ g) n x := by |
| 30 | change (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ Z).H n at x |
| 31 | have h := ExtFunctoriality.Construction.ext_transport_comp (ProetalePullback.Construction.proEtSheafPullback g) (ProetalePullback.Construction.proEtSheafPullback f) |
| 32 | (PullbackCoherence.Construction.proEtSheafPullbackCompIso f g) |
| 33 | ((ProetalePullback.Construction.proEtConstantPullbackIso g).inv.app (AddCommGrpCat.of (ULift.{u + 1} ℤ))) |
| 34 | (ProetalePullback.Construction.proEtCoefficientPullback ℓ g) |
| 35 | ((ProetalePullback.Construction.proEtConstantPullbackIso f).inv.app (AddCommGrpCat.of (ULift.{u + 1} ℤ))) |
| 36 | (ProetalePullback.Construction.proEtCoefficientPullback ℓ f) |
| 37 | ((ProetalePullback.Construction.proEtConstantPullbackIso (f ≫ g)).inv.app (AddCommGrpCat.of (ULift.{u + 1} ℤ))) |
| 38 | (ProetalePullback.Construction.proEtCoefficientPullback ℓ (f ≫ g)) |
| 39 | (ConstantCoherence.Construction.proEtConstantPullbackIso_inv_comp f g (AddCommGrpCat.of (ULift.{u + 1} ℤ))) |
| 40 | (PullbackCoherence.Construction.proEtCoefficientPullback_comp ℓ f g).symm x |
| 41 | simp only [CohomologyPullback.Construction.integralEllAdicPullback_apply] |
| 42 | exact h |
| 43 | |
| 44 | /-- Pullback by the identity scheme morphism is the identity in every degree. -/ |
| 45 | theorem integralEllAdicPullback_id (X : Scheme.{u}) (n : ℕ) |
| 46 | (x : X.EllAdicCohomology ℓ n) : ProetalePullback.Construction.integralEllAdicPullback ℓ (𝟙 X) n x = x := by |
| 47 | have hc : (ProetalePullback.Construction.proEtConstantPullbackIso (𝟙 X)).app (AddCommGrpCat.of (ULift.{u + 1} ℤ)) = |
| 48 | (PullbackCoherence.Construction.proEtSheafPullbackIdIso X).app (ProetalePullback.Construction.proEtIntegerConstant X) := |
| 49 | Iso.ext (ConstantCoherence.Construction.proEtConstantPullbackIso_id X (AddCommGrpCat.of (ULift.{u + 1} ℤ))) |
| 50 | have hi := congrArg Iso.inv hc |
| 51 | change (ProetalePullback.Construction.proEtConstantPullbackIso (𝟙 X)).inv.app (AddCommGrpCat.of (ULift.{u + 1} ℤ)) = |
| 52 | (PullbackCoherence.Construction.proEtSheafPullbackIdIso X).inv.app (ProetalePullback.Construction.proEtIntegerConstant X) at hi |
| 53 | change (ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X).H n at x |
| 54 | erw [CohomologyPullback.Construction.integralEllAdicPullback_apply, hi, PullbackCoherence.Construction.proEtCoefficientPullback_id, |
| 55 | ExtFunctoriality.Construction.ext_mapExactFunctor_iso (ProetalePullback.Construction.proEtSheafPullback (𝟙 X)) (PullbackCoherence.Construction.proEtSheafPullbackIdIso X), |
| 56 | ExtFunctoriality.Construction.ext_mapExactFunctor_id] |
| 57 | |
| 58 | theorem integralEllAdicPullbackLinear_comp (f : X ⟶ Y) (g : Y ⟶ Z) (n : ℕ) : |
| 59 | (CohomologyPullback.Construction.integralEllAdicPullbackLinear ℓ f n).comp (CohomologyPullback.Construction.integralEllAdicPullbackLinear ℓ g n) = |
| 60 | CohomologyPullback.Construction.integralEllAdicPullbackLinear ℓ (f ≫ g) n := by |
| 61 | ext x |
| 62 | exact integralEllAdicPullback_comp ℓ f g n x |
| 63 | |
| 64 | theorem integralEllAdicPullbackLinear_id (X : Scheme.{u}) (n : ℕ) : |
| 65 | CohomologyPullback.Construction.integralEllAdicPullbackLinear ℓ (𝟙 X) n = LinearMap.id := by |
| 66 | ext x |
| 67 | exact integralEllAdicPullback_id ℓ X n x |
| 68 | |
| 69 | /-- The algebraic-coefficient H¹ pullback has the same contravariant order. -/ |
| 70 | theorem algebraicEllAdicH1Pullback_comp (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 71 | (CohomologyPullback.Construction.algebraicEllAdicH1Pullback ℓ f).comp (CohomologyPullback.Construction.algebraicEllAdicH1Pullback ℓ g) = |
| 72 | CohomologyPullback.Construction.algebraicEllAdicH1Pullback ℓ (f ≫ g) := by |
| 73 | unfold CohomologyPullback.Construction.algebraicEllAdicH1Pullback |
| 74 | rw [← LinearMap.baseChange_comp, integralEllAdicPullbackLinear_comp] |
| 75 | |
| 76 | theorem algebraicEllAdicH1Pullback_id (X : Scheme.{u}) : |
| 77 | CohomologyPullback.Construction.algebraicEllAdicH1Pullback ℓ (𝟙 X) = LinearMap.id := by |
| 78 | unfold CohomologyPullback.Construction.algebraicEllAdicH1Pullback |
| 79 | rw [integralEllAdicPullbackLinear_id, LinearMap.baseChange_id] |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CohomologyFunctoriality.Construction |