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.AbelianModuli.HilbertConstruction.Closed.ReductionLayer |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NilpotentModuleLayer |
| 3 | |
| 4 | /-! # Reduction Kernel Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ReductionKernelSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual global sections of the canonical reduction kernel on an |
| 11 | affine scheme agree with the kernel of scalar extension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | private theorem undo_iso_factor {C : Type*} [Category C] |
| 18 | {A B D : C} (e : B ≅ D) (a : A ⟶ B) (b : A ⟶ D) |
| 19 | (h : a ≫ e.hom = b) : b ≫ e.inv = 𝟙 A ≫ a := by |
| 20 | rw [← h] |
| 21 | simp |
| 22 | |
| 23 | def affineReductionKernelSectionsIso |
| 24 | {X Y : Scheme.{u}} [IsAffine X] [IsAffine Y] |
| 25 | (f : X ⟶ Y) (M : Y.Modules) [M.IsQuasicoherent] : |
| 26 | (SectionAdjunction.AffineSectionAdjunction.sections Y).obj (Closed.ReductionLayer.closedReductionKernel f M) ≅ |
| 27 | ModuleCat.of Γ(Y, ⊤) |
| 28 | ((ModuleCat.extendRestrictScalarsAdj f.appTop.hom).unit.app |
| 29 | ((SectionAdjunction.AffineSectionAdjunction.sections Y).obj M)).hom.ker := by |
| 30 | let F : Y.Modules ⥤ ModuleCat.{u} Γ(Y, ⊤) := |
| 31 | SheafOfModules.evaluation Y.ringCatSheaf (Opposite.op ⊤) |
| 32 | have : F.Additive := by |
| 33 | constructor |
| 34 | intro A B a b |
| 35 | apply ModuleCat.hom_ext |
| 36 | ext x |
| 37 | rfl |
| 38 | have : PreservesFiniteLimits F := |
| 39 | SheafOfModules.Finite.evaluationPreservesFiniteLimits Y.ringCatSheaf (Opposite.op ⊤) |
| 40 | have : F.PreservesZeroMorphisms := Functor.preservesZeroMorphisms_of_additive F |
| 41 | let A := F.obj M |
| 42 | let P := (Scheme.Modules.pullback f).obj M |
| 43 | let G := ModuleCat.restrictScalars f.appTop.hom |
| 44 | let adj := ModuleCat.extendRestrictScalarsAdj f.appTop.hom |
| 45 | let e₁ := (SectionAdjunction.AffineSectionAdjunction.pushforwardIso f).app P |
| 46 | let e₂ := G.mapIso (GeometricSections.AffineGeometricSections.iso f M) |
| 47 | let e := e₁ ≪≫ e₂.symm |
| 48 | have hn : adj.unit.app A ≫ e₂.hom = F.map (Closed.ReductionLayer.closedModuleUnit f M) ≫ e₁.hom := by |
| 49 | exact GeometricSections.AffineGeometricSections.normalization f M |
| 50 | have hw : F.map (Closed.ReductionLayer.closedModuleUnit f M) ≫ e.hom = (Iso.refl A).hom ≫ adj.unit.app A := by |
| 51 | change F.map (Closed.ReductionLayer.closedModuleUnit f M) ≫ (e₁.hom ≫ e₂.inv) = 𝟙 A ≫ adj.unit.app A |
| 52 | exact (Category.assoc (F.map (Closed.ReductionLayer.closedModuleUnit f M)) e₁.hom e₂.inv).symm.trans |
| 53 | (undo_iso_factor e₂ (adj.unit.app A) (F.map (Closed.ReductionLayer.closedModuleUnit f M) ≫ e₁.hom) hn) |
| 54 | exact PreservesKernel.iso F (Closed.ReductionLayer.closedModuleUnit f M) ≪≫ |
| 55 | kernel.mapIso (F.map (Closed.ReductionLayer.closedModuleUnit f M)) (adj.unit.app A) (Iso.refl A) e hw ≪≫ |
| 56 | ModuleCat.kernelIsoKer (adj.unit.app A) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ReductionKernelSections |