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.Supported |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueClass |
| 3 | |
| 4 | /-! # Supported Residue -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue |
| 11 | |
| 12 | /-! The local residue cocycle gives a class in the original bounded |
| 13 | crystalline group, independent of lifts of the residual parameters. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (U : X.left.affineOpens) |
| 27 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 28 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 29 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 30 | (g : ℕ) (a : Fin g → Γ(X.left, U.val)) (O : Y.left.Opens) |
| 31 | |
| 32 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X.left U |
| 33 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.opens p k n X Y f U |
| 34 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.family p k n X U g a |
| 35 | local notation "Q" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame.functor p k n X Y f hp) U |
| 36 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 37 | |
| 38 | def residue (hO : ∀ i, (F).obj (V i) ≤ O) |
| 39 | (hcover : (F).obj (⊤_ C) ⊓ O ≤ ⨆ i, (F).obj (V i)) |
| 40 | (hrows : ∀ q r, ((BoundedSupported.Cech.bicomplex w n I F V).X q).ExactAt (r + 1)) |
| 41 | (hglobal : (F).obj (⊤_ C) ⊔ O = ⊤) := |
| 42 | Supported.Comparison.toBounded p k n X Y f hp U I g a O |
| 43 | hO hcover hrows hglobal (g + g) |
| 44 | (ResidueClass.residueClass p k n X Y f hp U g a) |
| 45 | |
| 46 | def changedResidue (hO : ∀ i, (F).obj (V i) ≤ O) |
| 47 | (hcover : (F).obj (⊤_ C) ⊓ O ≤ ⨆ i, (F).obj (V i)) |
| 48 | (hrows : ∀ q r, ((BoundedSupported.Cech.bicomplex w n I F V).X q).ExactAt (r + 1)) |
| 49 | (hglobal : (F).obj (⊤_ C) ⊔ O = ⊤) |
| 50 | (b : Fin g → Γ(X.left, U.val)) |
| 51 | (hab : ∀ i, (Q).thickening.reduction (b i) = (Q).thickening.reduction (a i)) := |
| 52 | Supported.Comparison.toBounded p k n X Y f hp U I g a O |
| 53 | hO hcover hrows hglobal (g + g) |
| 54 | (ResidueClass.changedResidueClass p k n X Y f hp U g a b hab) |
| 55 | |
| 56 | theorem changedResidue_eq (hO : ∀ i, (F).obj (V i) ≤ O) |
| 57 | (hcover : (F).obj (⊤_ C) ⊓ O ≤ ⨆ i, (F).obj (V i)) |
| 58 | (hrows : ∀ q r, ((BoundedSupported.Cech.bicomplex w n I F V).X q).ExactAt (r + 1)) |
| 59 | (hglobal : (F).obj (⊤_ C) ⊔ O = ⊤) |
| 60 | (b : Fin g → Γ(X.left, U.val)) |
| 61 | (hab : ∀ i, (Q).thickening.reduction (b i) = (Q).thickening.reduction (a i)) : |
| 62 | changedResidue p k n X Y f hp U I g a O hO hcover hrows hglobal b hab = |
| 63 | residue p k n X Y f hp U I g a O hO hcover hrows hglobal := |
| 64 | congrArg (Supported.Comparison.toBounded p k n X Y f hp U I g a O |
| 65 | hO hcover hrows hglobal (g + g)) |
| 66 | (ResidueClass.changedResidueClass_eq p k n X Y f hp U g a b hab) |
| 67 | |
| 68 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue |
| 69 | |
| 70 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue.Congruence |
| 71 | |
| 72 | /-! Literal equality of the parameters and support open identifies |
| 73 | the original residue maps, independently of the proofs of their cover |
| 74 | and row conditions. -/ |
| 75 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 76 | set_option backward.isDefEq.respectTransparency false |
| 77 | set_option backward.isDefEq.respectTransparency.types false |
| 78 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 79 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 80 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 81 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 82 | (hp : IsPullback f Y.hom X.hom |
| 83 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 84 | (U : X.left.affineOpens) |
| 85 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 86 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 87 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 88 | (g : ℕ) |
| 89 | |
| 90 | abbrev Below (a : Fin g → Γ(X.left,U.val)) (O : Y.left.Opens) : Prop := |
| 91 | ∀ i : ULift.{0} (Fin g), (Supported.Comparison.opens p k n X Y f U).obj |
| 92 | (Supported.Comparison.family p k n X U g a i) ≤ O |
| 93 | |
| 94 | abbrev Cover (a : Fin g → Γ(X.left,U.val)) (O : Y.left.Opens) : Prop := |
| 95 | (Supported.Comparison.opens p k n X Y f U).obj |
| 96 | (⊤_ (PrincipalFrame.Index X.left U)) ⊓ O ≤ |
| 97 | ⨆ i : ULift.{0} (Fin g), (Supported.Comparison.opens p k n X Y f U).obj |
| 98 | (Supported.Comparison.family p k n X U g a i) |
| 99 | |
| 100 | abbrev Rows (a : Fin g → Γ(X.left,U.val)) : Prop := |
| 101 | ∀ q r, ((BoundedSupported.Cech.bicomplex (Witt.Crystalline.wittStructureMap p k Y) n I |
| 102 | (Supported.Comparison.opens p k n X Y f U) |
| 103 | (Supported.Comparison.family p k n X U g a)).X q).ExactAt (r+1) |
| 104 | |
| 105 | abbrev Global (O : Y.left.Opens) : Prop := |
| 106 | (Supported.Comparison.opens p k n X Y f U).obj |
| 107 | (⊤_ (PrincipalFrame.Index X.left U)) ⊔ O = ⊤ |
| 108 | |
| 109 | theorem congr (a b : Fin g → Γ(X.left,U.val)) (hab : a=b) |
| 110 | (O P : Y.left.Opens) (hOP : O=P) |
| 111 | (haO : Below p k n X Y f U g a O) (hbP : Below p k n X Y f U g b P) |
| 112 | (haC : Cover p k n X Y f U g a O) (hbC : Cover p k n X Y f U g b P) |
| 113 | (haR : Rows p k n X Y f U I g a) (hbR : Rows p k n X Y f U I g b) |
| 114 | (haG : Global p k n X Y f U O) (hbG : Global p k n X Y f U P) : |
| 115 | residue p k n X Y f hp U I g a O haO haC haR haG = |
| 116 | residue p k n X Y f hp U I g b P hbP hbC hbR hbG := by |
| 117 | subst b |
| 118 | subst P |
| 119 | rfl |
| 120 | |
| 121 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue.Congruence |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI |