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.BoundedOpen.IncomingReindex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingSectionHomotopy |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalOpensIso |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality |
| 5 | |
| 6 | /-! # Incoming Section Reindex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingSectionReindex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The transported native incoming comparison is exactly the |
| 13 | reindexed comparison on its own principal-open family. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _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 : ℕ) |
| 22 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 24 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 25 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 26 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 27 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 28 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 29 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 30 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 31 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 32 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 33 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 34 | |
| 35 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 36 | local notation "r" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFamilyIso.Family.reindex p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 37 | local notation "F₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSections.opens p k n X₁ Y f₁ U₁ |
| 38 | local notation "F₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSections.opens p k n X₂ Y f₂ U₂ |
| 39 | local notation "V₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy.preimage f₁ U₁ |
| 40 | local notation "V₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalIncomingHomotopy.preimage f₂ U₂ |
| 41 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality.restriction p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 42 | |
| 43 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 44 | theorem family_eq : F₁ = BoundedOpen.IncomingMap.reindexedOpens F₂ r := by |
| 45 | apply OrderHom.ext |
| 46 | funext t |
| 47 | exact (PrincipalOpensIso.opens_apply p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e t).symm |
| 48 | |
| 49 | def sectionIso := BoundedOpen.IncomingMap.familyIso (p := p) |
| 50 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 51 | w n F₁ (BoundedOpen.IncomingMap.reindexedOpens F₂ r) |
| 52 | (family_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 53 | |
| 54 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 55 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 56 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 57 | |
| 58 | local notation "K₂" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X₂ Y f₂ hp₂) (op U₂) |
| 59 | local notation "s" => NatIso.mapHomologicalComplex |
| 60 | (sectionIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) (ComplexShape.up ℕ) |
| 61 | |
| 62 | abbrev comparison := |
| 63 | BoundedOpen.IncomingReindex.comparison w n V₁ V₂ |
| 64 | (LocalIncomingHomotopy.opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 65 | F₂ F₁ r (PrincipalSections.le_chart p k n X₂ Y f₂ U₂) |
| 66 | (PrincipalSections.le_chart p k n X₁ Y f₁ U₁) |
| 67 | (family_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) K₂ I.cocomplex |
| 68 | (IncomingFrame.comparison p k n X₂ Y f₂ hp₂ U₂ I) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingSectionReindex |