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.PrincipalFractionGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedSection |
| 4 | |
| 5 | /-! # Principal Section Residue -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSectionResidue |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A principal fraction supported outside an actual section gives |
| 12 | its original section residue, independently of the cover witnesses. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (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] (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom |
| 22 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 23 | (U : X.left.affineOpens) |
| 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 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 28 | |
| 29 | abbrev Below (a : Fin g → Γ(X.left,U.val)) (O : X.left.Opens) : Prop := |
| 30 | ∀ j : ULift.{0} (Fin g), (PrincipalFractionGlobal.opens p k n X U).obj |
| 31 | (PrincipalFractionGlobal.family p k n X U g a j) ≤ O |
| 32 | |
| 33 | abbrev Cover (a : Fin g → Γ(X.left,U.val)) (O : X.left.Opens) : Prop := |
| 34 | (PrincipalFractionGlobal.opens p k n X U).obj |
| 35 | (⊤_ (PrincipalFrame.Index X.left U)) ⊓ O ≤ |
| 36 | ⨆ j : ULift.{0} (Fin g), (PrincipalFractionGlobal.opens p k n X U).obj |
| 37 | (PrincipalFractionGlobal.family p k n X U g a j) |
| 38 | |
| 39 | abbrev Global (O : X.left.Opens) : Prop := |
| 40 | (PrincipalFractionGlobal.opens p k n X U).obj |
| 41 | (⊤_ (PrincipalFrame.Index X.left U)) ⊔ O = ⊤ |
| 42 | |
| 43 | variable (s : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X.left) |
| 44 | [IsClosedImmersion s] (b : Fin g → Γ(X.left,U.val)) |
| 45 | (hb : Ideal.span (Set.range b) = s.ker.ideal U) (hs : ⊤ ≤ s ⁻¹ᵁ U.val) |
| 46 | |
| 47 | abbrev sectionResidue := SupportedResidue.residue p k n X Y f hp U I g b |
| 48 | (SupportedSection.punctured p k n X Y f s) |
| 49 | (SupportedSection.below p k n X Y f U s g b hb) |
| 50 | (SupportedSection.cover p k n X Y f U s g b hb) |
| 51 | (SupportedRows.exactAt_succ p k n X Y f U I g b) |
| 52 | (SupportedSection.global p k n X Y f U s hs) |
| 53 | |
| 54 | variable (a : Fin g → Γ(X.left,U.val)) (hab : a = b) |
| 55 | (hO : Below p k n X U g a (SectionIdealPuncturedCover.outside s.ker)) |
| 56 | (hcover : Cover p k n X U g a (SectionIdealPuncturedCover.outside s.ker)) |
| 57 | (hglobal : Global p k n X U (SectionIdealPuncturedCover.outside s.ker)) |
| 58 | |
| 59 | include hab in |
| 60 | omit [SmoothOfRelativeDimension g X.hom] in |
| 61 | theorem comparison : |
| 62 | PrincipalFractionGlobal.boundedResidue p k n X Y f hp U I g a |
| 63 | (SectionIdealPuncturedCover.outside s.ker) hO hcover hglobal = |
| 64 | sectionResidue p k n X Y f hp U I g s b hb hs := by |
| 65 | apply SupportedResidue.Congruence.congr p k n X Y f hp U I g |
| 66 | · exact hab |
| 67 | · rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSectionResidue |