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.IntegralComparison.TruncatedModel.MorphismNewFrameHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.RefinedCechMapCoordinates |
| 3 | |
| 4 | /-! # Morphism Raw Eq -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismRawEq.OldFrameCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The original small-cover map with its coefficient complexes fixed |
| 13 | before forming the Čech total. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 18 | {X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | {Y : Over (Spec (CommRingCat.of k))} [IsSeparated Y.hom] |
| 21 | (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 25 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 26 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 27 | |
| 28 | abbrev sourceCoefficients : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 29 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 31 | (FrameDiagonalMap.source p k n X Y f hp) |
| 32 | |
| 33 | abbrev targetCoefficients : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 34 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 35 | ((SectionBifunctor.sections p k n X Y f).mapHomologicalComplex |
| 36 | (.up ℕ)).obj I.cocomplex |
| 37 | |
| 38 | def coefficientMap : sourceCoefficients p k n f hp ⟶ targetCoefficients p k n f I := |
| 39 | FrameInjective.Comparison.map p k n X Y f hp I |
| 40 | |
| 41 | def namedMap : FrameCech.Complexes.source p k n X Y f hp ⟶ |
| 42 | FrameCech.Complexes.target p k n X Y f I := |
| 43 | Witt.RefinedCechMapCoordinates.map p k |
| 44 | (CechSliceResolution.opens p k n X) |
| 45 | (K := sourceCoefficients p k n f hp) (L := targetCoefficients p k n f I) |
| 46 | (coefficientMap p k n f hp I) |
| 47 | |
| 48 | theorem map_eq : FrameCech.Comparison.map p k n X Y f hp I = |
| 49 | namedMap p k n f hp I := rfl |
| 50 | |
| 51 | end |
| 52 | |
| 53 | section |
| 54 | |
| 55 | /-! Homology of the named original small-cover Čech map. -/ |
| 56 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 57 | set_option backward.isDefEq.respectTransparency false |
| 58 | set_option backward.isDefEq.respectTransparency.types false |
| 59 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 60 | {X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 61 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 62 | {Y : Over (Spec (CommRingCat.of k))} [IsSeparated Y.hom] |
| 63 | (f : Y.left ⟶ X.left) |
| 64 | (hp : IsPullback f Y.hom X.hom |
| 65 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 66 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 67 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 68 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 69 | |
| 70 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 71 | |
| 72 | abbrev named_homology (q : ℕ) := congrArg |
| 73 | (fun (a : FrameCech.Complexes.source p k n X Y f hp ⟶ |
| 74 | FrameCech.Complexes.target p k n X Y f I) => homologyMap a q) |
| 75 | (map_eq p k n f hp I) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | section |
| 80 | |
| 81 | /-! Homology of the named original small-cover Čech map. -/ |
| 82 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 83 | set_option backward.isDefEq.respectTransparency false |
| 84 | set_option backward.isDefEq.respectTransparency.types false |
| 85 | |
| 86 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 87 | {X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 88 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 89 | {Y : Over (Spec (CommRingCat.of k))} [IsSeparated Y.hom] |
| 90 | (f : Y.left ⟶ X.left) |
| 91 | (hp : IsPullback f Y.hom X.hom |
| 92 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 93 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 94 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 95 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 96 | |
| 97 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 98 | |
| 99 | theorem named_first (q : ℕ) : |
| 100 | (GlobalFrame.Comparison.homologyIso p k n X Y f hp I q).hom = |
| 101 | homologyMap (namedMap p k n f hp I) q ≫ |
| 102 | (GlobalEdge.InjectiveCech.homologyIso p k n X Y f I q).hom := by |
| 103 | rfl |
| 104 | |
| 105 | end |
| 106 | |
| 107 | /-! The original small-cover frame comparison through its checked typed map. |
| 108 | The map unfolds to the literal refined Čech map. -/ |
| 109 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 110 | set_option backward.isDefEq.respectTransparency false |
| 111 | set_option backward.isDefEq.respectTransparency.types false |
| 112 | |
| 113 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 114 | {X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 115 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 116 | {Y : Over (Spec (CommRingCat.of k))} [IsSeparated Y.hom] |
| 117 | (f : Y.left ⟶ X.left) |
| 118 | (hp : IsPullback f Y.hom X.hom |
| 119 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 120 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 121 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 122 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 123 | |
| 124 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 125 | |
| 126 | omit [IsSeparated Y.hom] in |
| 127 | omit [Fintype k] in |
| 128 | theorem old_comparison (q : ℕ) : |
| 129 | (GlobalEdge.InjectiveCech.homologyIso p k n X Y f I q).hom = |
| 130 | MorphismGlobalTypedHomology.targetOldComparison p k n f I q := rfl |
| 131 | |
| 132 | abbrev old_first (q : ℕ) := named_first p k n f hp I q |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismRawEq.OldFrameCoordinates |