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.TorsorPullback |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegerGeneratorInverseImage |
| 3 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic |
| 4 | |
| 5 | /-! # Inverse Image -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: the torsor of the actual pulled-back extension |
| 13 | |
| 14 | Exact inverse image preserves the defining fiber over the integer generator. |
| 15 | The comparison uses the original coefficient and constant-sheaf maps. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Functor Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {ℓ n : ℕ} {X Y : Scheme.{u}} (E : App.Construction.FiniteCoefficientExtension ℓ n Y) (f : X ⟶ Y) |
| 26 | |
| 27 | /-- Compatibility of the pulled-back extension projection on underlying sheaves. -/ |
| 28 | theorem App.Construction.FiniteCoefficientExtension.pullbackProjection_underlying : |
| 29 | (ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f).map |
| 30 | ((sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).map E.projection) ≫ |
| 31 | (IntegerGeneratorInverseImage.Construction.proEtIntegerPullbackUnderlyingIso f).hom = |
| 32 | (ProEtale.PullbackTypes.Construction.proEtPullbackForgetIso f).inv.app E.middle ≫ |
| 33 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map |
| 34 | (E.pullbackExtension f).projection := by |
| 35 | change (ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f).map |
| 36 | ((sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).map E.projection) ≫ |
| 37 | ((ProEtale.PullbackTypes.Construction.proEtPullbackForgetIso f).inv.app (ProetalePullback.Construction.proEtIntegerConstant Y) ≫ |
| 38 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map |
| 39 | ((ProetalePullback.Construction.proEtConstantPullbackIso f).hom.app (AddCommGrpCat.of (ULift.{u + 1} ℤ)))) = |
| 40 | (ProEtale.PullbackTypes.Construction.proEtPullbackForgetIso f).inv.app E.middle ≫ |
| 41 | (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map |
| 42 | ((ProetalePullback.Construction.proEtSheafPullback f).map E.projection ≫ |
| 43 | (ProetalePullback.Construction.proEtConstantPullbackIso f).hom.app (AddCommGrpCat.of (ULift.{u + 1} ℤ))) |
| 44 | rw [Functor.map_comp, ← Category.assoc, ← Category.assoc] |
| 45 | congr 1 |
| 46 | exact (ProEtale.PullbackTypes.Construction.proEtPullbackForgetIso f).inv.naturality E.projection |
| 47 | |
| 48 | /-- Inverse image of the original torsor is the fiber defining the pulled-back extension. -/ |
| 49 | theorem App.Construction.FiniteCoefficientExtension.inverseImageFiber_isPullback : |
| 50 | IsPullback |
| 51 | ((ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f).map E.fiberInclusion ≫ |
| 52 | (ProEtale.PullbackTypes.Construction.proEtPullbackForgetIso f).inv.app E.middle) |
| 53 | (terminal.from ((ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f).obj E.fiberSheaf)) |
| 54 | ((sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).map |
| 55 | (E.pullbackExtension f).projection) |
| 56 | (FiberPullback.Construction.proEtIntegerGeneratorMap X) := by |
| 57 | let t := (terminalIsTerminal.isTerminalObj (ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f) |
| 58 | (⊤_ (Sheaf (Scheme.ProEt.topology Y) (Type (u + 1))))).uniqueUpToIso terminalIsTerminal |
| 59 | apply (E.fiberSheaf_isPullback.map (ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f)).of_iso |
| 60 | (Iso.refl _) ((ProEtale.PullbackTypes.Construction.proEtPullbackForgetIso f).app E.middle).symm t |
| 61 | (IntegerGeneratorInverseImage.Construction.proEtIntegerPullbackUnderlyingIso f) |
| 62 | · simp only [Iso.refl_hom, Category.id_comp, Iso.symm_hom] |
| 63 | rfl |
| 64 | · exact terminalIsTerminal.hom_ext _ _ |
| 65 | · exact E.pullbackProjection_underlying f |
| 66 | · rw [IntegerGeneratorInverseImage.Construction.proEtIntegerGeneratorMap_pullback] |
| 67 | congr 1 |
| 68 | |
| 69 | /-- The actual inverse image of the original torsor sheaf is its pulled-back extension's torsor. -/ |
| 70 | def App.Construction.FiniteCoefficientExtension.inverseImageFiberIso : |
| 71 | (ProEtale.PullbackTypes.Construction.proEtTypeSheafPullback f).obj E.fiberSheaf ≅ (E.pullbackExtension f).fiberSheaf := |
| 72 | (E.inverseImageFiber_isPullback f).isoIsPullback _ _ |
| 73 | (E.pullbackExtension f).fiberSheaf_isPullback |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |