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.FiniteTorsor.TorsorSheaf |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Defs |
| 3 | |
| 4 | /-! # Fiber Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: the actual torsor sheaf as a categorical fiber |
| 12 | |
| 13 | The sheaf of lifts of the integer generator is the pullback of the middle |
| 14 | term along the generator section. This gives the finite-limit description |
| 15 | needed to commute torsors with exact inverse image. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | /-- The integer generator viewed as a morphism from the terminal sheaf of sets. -/ |
| 26 | def FiberPullback.Construction.proEtIntegerGeneratorMap (X : Scheme.{u}) : |
| 27 | ⊤_ (Sheaf (Scheme.ProEt.topology X) (Type (u + 1))) ⟶ |
| 28 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj (ProetalePullback.Construction.proEtIntegerConstant X) where |
| 29 | hom := { |
| 30 | app U := ↾fun _ => App.Construction.proEtIntegerLocalGenerator X U.unop |
| 31 | naturality U V g := by |
| 32 | ext s |
| 33 | exact (App.Construction.proEtIntegerLocalGenerator_naturality X g.unop).symm } |
| 34 | |
| 35 | variable {X : Scheme.{u}} {ℓ n : ℕ} (E : App.Construction.FiniteCoefficientExtension ℓ n X) |
| 36 | |
| 37 | /-- Forgetting the fiber condition gives a morphism of actual sheaves of sets. -/ |
| 38 | def App.Construction.FiniteCoefficientExtension.fiberInclusion : E.fiberSheaf ⟶ |
| 39 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj E.middle where |
| 40 | hom := { app U := ↾Subtype.val } |
| 41 | |
| 42 | /-- The pullback square defining the actual torsor sheaf commutes. -/ |
| 43 | theorem App.Construction.FiniteCoefficientExtension.fiberInclusion_projection : |
| 44 | E.fiberInclusion ≫ (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map E.projection = |
| 45 | terminal.from E.fiberSheaf ≫ FiberPullback.Construction.proEtIntegerGeneratorMap X := by |
| 46 | ext U s |
| 47 | exact s.property |
| 48 | |
| 49 | /-- The universal lift into the fiber is given by the actual pointwise fiber condition. -/ |
| 50 | def App.Construction.FiniteCoefficientExtension.fiberPullbackLift |
| 51 | (c : PullbackCone ((sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map E.projection) |
| 52 | (FiberPullback.Construction.proEtIntegerGeneratorMap X)) : c.pt ⟶ E.fiberSheaf where |
| 53 | hom := { |
| 54 | app U := ↾fun s => ⟨c.fst.hom.app U s, by |
| 55 | exact congrArg (fun k : c.pt ⟶ |
| 56 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj (ProetalePullback.Construction.proEtIntegerConstant X) => |
| 57 | k.hom.app U s) c.condition⟩ |
| 58 | naturality U V g := by |
| 59 | ext s |
| 60 | apply Subtype.ext |
| 61 | exact NatTrans.naturality_apply c.fst.hom g s } |
| 62 | |
| 63 | /-- The original torsor is the categorical pullback over the integer generator. -/ |
| 64 | theorem App.Construction.FiniteCoefficientExtension.fiberSheaf_isPullback : |
| 65 | IsPullback E.fiberInclusion (terminal.from E.fiberSheaf) |
| 66 | ((sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map E.projection) |
| 67 | (FiberPullback.Construction.proEtIntegerGeneratorMap X) := by |
| 68 | apply IsPullback.of_isLimit' ⟨E.fiberInclusion_projection⟩ |
| 69 | refine PullbackCone.IsLimit.mk _ E.fiberPullbackLift ?_ ?_ ?_ |
| 70 | · intro c |
| 71 | ext U s |
| 72 | rfl |
| 73 | · intro c |
| 74 | exact terminalIsTerminal.hom_ext _ _ |
| 75 | · intro c m hm _ |
| 76 | ext U s |
| 77 | apply Subtype.ext |
| 78 | exact congrArg (fun k : c.pt ⟶ |
| 79 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj E.middle => |
| 80 | k.hom.app U s) hm |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |