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.IntegerGeneratorPullback |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullbackIso |
| 3 | |
| 4 | /-! # Pro Etale Pullback Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtalePullbackSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual sections pull back through the inverse-image adjunction. |
| 11 | These formulas retain the native coefficient and constant-sheaf maps. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 20 | |
| 21 | abbrev adjunction := (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} |
| 22 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) |
| 23 | |
| 24 | def sectionMap (H : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) |
| 25 | {U : X.ProEt} {V : Y.ProEt} (h : U ⟶ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).obj V) : |
| 26 | H.obj.obj (op V) →+ ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.obj (op U) := |
| 27 | (((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map h.op).hom.comp |
| 28 | (((adjunction f).unit.app H).hom.app (op V)).hom |
| 29 | |
| 30 | theorem transpose_section (H : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) |
| 31 | (Q : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}) |
| 32 | (g : (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H ⟶ Q) |
| 33 | {U : X.ProEt} {V : Y.ProEt} (h : U ⟶ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).obj V) |
| 34 | (x : H.obj.obj (op V)) : |
| 35 | g.hom.app (op U) (sectionMap f H h x) = |
| 36 | Q.obj.map h.op (((adjunction f).homEquiv _ _ g).hom.app (op V) x) := by |
| 37 | change g.hom.app (op U) |
| 38 | (((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map h.op |
| 39 | (((adjunction f).unit.app H).hom.app (op V) x)) = _ |
| 40 | rw [NatTrans.naturality_apply, Adjunction.homEquiv_unit] |
| 41 | rfl |
| 42 | |
| 43 | theorem naturality {H Q : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}} (α : H ⟶ Q) |
| 44 | {U : X.ProEt} {V : Y.ProEt} (h : U ⟶ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).obj V) |
| 45 | (x : H.obj.obj (op V)) : |
| 46 | ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).map α).hom.app (op U) (sectionMap f H h x) = |
| 47 | sectionMap f Q h (α.hom.app (op V) x) := by |
| 48 | have he := (adjunction f).unit.naturality α |
| 49 | have hx := congrArg (fun g : H ⟶ |
| 50 | ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).sheafPushforwardContinuous Ab.{u + 1} |
| 51 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).obj ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj Q) => |
| 52 | g.hom.app (op V) x) he |
| 53 | change ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).map α).hom.app (op U) |
| 54 | (((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map h.op |
| 55 | (((adjunction f).unit.app H).hom.app (op V) x)) = _ |
| 56 | rw [NatTrans.naturality_apply] |
| 57 | exact congrArg (((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj Q).obj.map h.op) hx.symm |
| 58 | |
| 59 | theorem restrict_source (H : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) |
| 60 | {U U' : X.ProEt} {V : Y.ProEt} (h : U ⟶ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).obj V) (p : U' ⟶ U) |
| 61 | (x : H.obj.obj (op V)) : |
| 62 | ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map p.op (sectionMap f H h x) = |
| 63 | sectionMap f H (p ≫ h) x := by |
| 64 | dsimp only [sectionMap, AddMonoidHom.comp_apply] |
| 65 | rw [op_comp, CategoryTheory.Functor.map_comp] |
| 66 | rfl |
| 67 | |
| 68 | theorem restrict_target (H : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) |
| 69 | {U : X.ProEt} {V V' : Y.ProEt} (h : U ⟶ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).obj V') (p : V' ⟶ V) |
| 70 | (x : H.obj.obj (op V)) : |
| 71 | sectionMap f H h (H.obj.map p.op x) = |
| 72 | sectionMap f H (h ≫ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).map p) x := by |
| 73 | have he := NatTrans.naturality_apply ((adjunction f).unit.app H).hom p.op x |
| 74 | change ((adjunction f).unit.app H).hom.app (op V') (H.obj.map p.op x) = |
| 75 | ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).map p).op |
| 76 | (((adjunction f).unit.app H).hom.app (op V) x) at he |
| 77 | change ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map h.op |
| 78 | (((adjunction f).unit.app H).hom.app (op V') (H.obj.map p.op x)) = _ |
| 79 | rw [he] |
| 80 | change _ = ((AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtSheafPullback f).obj H).obj.map (h ≫ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).map p).op |
| 81 | (((adjunction f).unit.app H).hom.app (op V) x) |
| 82 | rw [op_comp, CategoryTheory.Functor.map_comp] |
| 83 | rfl |
| 84 | |
| 85 | theorem finite_coefficient (ℓ n : ℕ) [Fact ℓ.Prime] |
| 86 | {U : X.ProEt} {V : Y.ProEt} (h : U ⟶ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtBaseChange f).obj V) |
| 87 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n Y).obj.obj (op V)) (z : U.left) : |
| 88 | ULift.down (α := C(U.left, ZMod (ℓ ^ n))) |
| 89 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.proEtFiniteCoefficientPullback ℓ n f).hom.app (op U) |
| 90 | (sectionMap f (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n Y) h x)) z = |
| 91 | ULift.down (α := C(V.left, ZMod (ℓ ^ n))) x ((pullback.fst V.hom f) (h.left z)) := by |
| 92 | rw [transpose_section] |
| 93 | have he : (adjunction f).homEquiv _ _ (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.proEtFiniteCoefficientPullback ℓ n f) = |
| 94 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.proEtFiniteCoefficientToPushforward ℓ n f := |
| 95 | (adjunction f).homEquiv _ _ |>.apply_symm_apply _ |
| 96 | rw [he] |
| 97 | rfl |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtalePullbackSections |