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.SupportedReindexData |
| 2 | |
| 3 | /-! # Supported Reindex Geometry -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual principal support cover and bounded resolution rows |
| 10 | transport along the isomorphism of smooth crystalline frames. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 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 : ℕ) |
| 19 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 20 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 21 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 23 | (f₁ : Y.left ⟶ X₁.left) (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 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 29 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 30 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 31 | |
| 32 | local notation "r" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFamilyIso.Family.reindex p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 33 | local notation "F₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.opens p k n X₁ Y f₁ U₁ |
| 34 | local notation "F₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.opens p k n X₂ Y f₂ U₂ |
| 35 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 36 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 37 | |
| 38 | variable (g : ℕ) (b : Fin g → Γ(X₁.left, U₁.val)) (O : Y.left.Opens) |
| 39 | |
| 40 | local notation "b₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexData.coefficients p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b |
| 41 | |
| 42 | abbrev sourceFamily := Supported.Comparison.family.{0} p k n X₁ U₁ g b |
| 43 | abbrev targetFamily := Supported.Comparison.family.{0} p k n X₂ U₂ g b₂ |
| 44 | |
| 45 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry.sourceFamily p k n X₁ U₁ g b |
| 46 | local notation "V₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry.targetFamily p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b |
| 47 | |
| 48 | variable (hO : ∀ i, (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 49 | (Supported.Comparison.family.{0} p k n X₁ U₁ g b i) ≤ O) |
| 50 | (hcover : (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 51 | (⊤_ (PrincipalFrame.Index X₁.left U₁)) ⊓ O ≤ |
| 52 | ⨆ i, (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 53 | (Supported.Comparison.family.{0} p k n X₁ U₁ g b i)) |
| 54 | (hglobal : (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 55 | (⊤_ (PrincipalFrame.Index X₁.left U₁)) ⊔ O = ⊤) |
| 56 | |
| 57 | include hO in |
| 58 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 59 | theorem below : ∀ i, (F₂).obj (V₂ i) ≤ O := by |
| 60 | intro i |
| 61 | change (F₂).obj ((r).obj (V i)) ≤ O |
| 62 | exact (congrArg (fun F => F.obj (V i)) |
| 63 | (SupportedReindexData.opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e)).symm.le.trans (hO i) |
| 64 | |
| 65 | include hcover in |
| 66 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 67 | theorem cover : (F₂).obj (⊤_ (PrincipalFrame.Index X₂.left U₂)) ⊓ O ≤ |
| 68 | ⨆ i, (F₂).obj (V₂ i) := by |
| 69 | apply (inf_le_inf |
| 70 | (SupportedReindexData.terminal_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).symm.le |
| 71 | (le_refl O)).trans |
| 72 | apply hcover.trans |
| 73 | apply iSup_mono |
| 74 | intro i |
| 75 | exact (congrArg (fun F => F.obj (V i)) |
| 76 | (SupportedReindexData.opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e)).le |
| 77 | |
| 78 | include e hglobal in |
| 79 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 80 | theorem global : (F₂).obj (⊤_ (PrincipalFrame.Index X₂.left U₂)) ⊔ O = ⊤ := by |
| 81 | rw [← SupportedReindexData.terminal_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e] |
| 82 | exact hglobal |
| 83 | |
| 84 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 85 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 86 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 87 | |
| 88 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 89 | theorem rows (q m : ℕ) : |
| 90 | ((BoundedSupported.Cech.bicomplex w n I F₂ ((r).obj ∘ V)).X q).ExactAt (m+1) := |
| 91 | SupportedRows.exactAt_succ p k n X₂ Y f₂ U₂ I g b₂ q m |
| 92 | |
| 93 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 94 | theorem section_inv : |
| 95 | ((NatIso.mapHomologicalComplex |
| 96 | (IncomingSectionReindex.sectionIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 97 | (.up ℕ)).app I.cocomplex).inv = |
| 98 | eqToHom (congrArg |
| 99 | (fun F => Supported.OrderedCechEdge.presheafComplex.{1,0,0,2} R Y.left.carrier F |
| 100 | (BoundedOpen.FlasqueComplex.complex w n I)) |
| 101 | (SupportedReindexData.opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).symm) := |
| 102 | BoundedSupported.SectionFamilyCoordinates.Family.inv w n I |
| 103 | (PrincipalSections.opens p k n X₁ Y f₁ U₁) |
| 104 | (BoundedOpen.IncomingMap.reindexedOpens |
| 105 | (PrincipalSections.opens p k n X₂ Y f₂ U₂) r) |
| 106 | (IncomingSectionReindex.family_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry |