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.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackDiagram |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComplexMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PostcomposeComplex |
| 5 | |
| 6 | /-! # Pullback Complex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackComplex.BoundedFramePullbackComplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual relative crystalline complexes pull back along arbitrary geometric |
| 13 | maps and compatible frame morphisms, preserving the structure augmentation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackDiagram.BoundedFramePullbackDiagram |
| 18 | |
| 19 | universe u |
| 20 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 21 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 22 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 23 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 24 | (FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 25 | (FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) |
| 26 | |
| 27 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 28 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction.restriction (B := B) |
| 30 | (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n) |
| 31 | |
| 32 | variable (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 33 | |
| 34 | def diagramMap : |
| 35 | IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY) (G ⋙ QY) |
| 36 | (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) ⟶ |
| 37 | IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (G ⋙ QY) |
| 38 | (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) := |
| 39 | IntegralComparison.Relative.DiagramComplexMap.map (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY) |
| 40 | (G ⋙ QY) (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) |
| 41 | (PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX FY α) (PullbackDiagram.BoundedFramePullbackDiagram.projection g hg n FX FY α) |
| 42 | |
| 43 | def postcomposeIso : |
| 44 | IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (G ⋙ QY) |
| 45 | (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) ≅ IntegralComparison.BoundedFrame.Diagram.complex FX := |
| 46 | IntegralComparison.Relative.PostcomposeComplex.complexIso g hg (IntegralComparison.BoundedFrame.Diagram.productDiagram FX) |
| 47 | (IntegralComparison.BoundedCrystalline.Site.inclusion f n) (IntegralComparison.BoundedFrame.Diagram.projection FX) |
| 48 | |
| 49 | def map : ((R).mapHomologicalComplex (.up ℕ)).obj (IntegralComparison.BoundedFrame.Diagram.complex FY) ⟶ |
| 50 | IntegralComparison.BoundedFrame.Diagram.complex FX := |
| 51 | (IntegralComparison.Relative.ComplexRestriction.complexIso G (IntegralComparison.BoundedFrame.Diagram.productDiagram FY) |
| 52 | QY (IntegralComparison.BoundedFrame.Diagram.projection FY)).hom ≫ diagramMap g hg n FX FY α ≫ |
| 53 | (postcomposeIso g hg n FX).hom |
| 54 | |
| 55 | theorem augmentation_zero : (R).map ((IntegralComparison.BoundedFrame.Diagram.augmentation FY).f 0) ≫ |
| 56 | (BoundedFramePullbackComplex.map g hg n FX FY α).f 0 = (IntegralComparison.BoundedFrame.Diagram.augmentation FX).f 0 := by |
| 57 | apply NatTrans.ext |
| 58 | funext U |
| 59 | apply ModuleCat.hom_ext |
| 60 | apply LinearMap.ext |
| 61 | intro a |
| 62 | exact IntegralComparison.Relative.DiagramComplexMap.constants (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY) |
| 63 | (G ⋙ QY) (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) |
| 64 | (PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX FY α) (PullbackDiagram.BoundedFramePullbackDiagram.projection g hg n FX FY α) U.unop a |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackComplex.BoundedFramePullbackComplex |