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.SupportedNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueTransport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedSection |
| 5 | |
| 6 | /-! # Supported Residue Naturality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidueNaturality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The literal supported logarithmic residue gives the same class |
| 13 | in the original bounded crystalline cohomology after changing its |
| 14 | smooth model by the prescribed crystalline frame isomorphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | private theorem apply_composite {R : Type*} [CommRing R] {M N P : ModuleCat R} |
| 22 | {f : M ⟶ P} {s : M ⟶ N} {g : N ⟶ P} |
| 23 | (h : f = s ≫ g) {x : M} {y : N} (hx : s x = y) : f x = g y := by |
| 24 | subst f |
| 25 | change g (s x) = g y |
| 26 | exact congrArg (fun z => g z) hx |
| 27 | |
| 28 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 29 | (n : ℕ) |
| 30 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 31 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 32 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 33 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 34 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 35 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 36 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 37 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 38 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 39 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 40 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 41 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 42 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 43 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 44 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 45 | (j : AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index (Truncated.Witt.Ring p k n) X₁) |
| 46 | (hj : U₁.val ≤ AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (Truncated.Witt.Ring p k n) X₁ j) |
| 47 | |
| 48 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 49 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.opens p k n X₁ Y f₁ U₁ |
| 50 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.source p k n X₁ Y f₁ hp₁ U₁ |
| 51 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality.sourceIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 52 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality.restriction p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 53 | |
| 54 | variable (g : ℕ) (b : Fin g → Γ(X₁.left, U₁.val)) (O : Y.left.Opens) |
| 55 | (hO : ∀ i, (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 56 | (Supported.Comparison.family p k n X₁ U₁ g b i) ≤ O) |
| 57 | (hcover : (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 58 | (⊤_ (PrincipalFrame.Index X₁.left U₁)) ⊓ O ≤ |
| 59 | ⨆ i, (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 60 | (Supported.Comparison.family p k n X₁ U₁ g b i)) |
| 61 | (hglobal : (Supported.Comparison.opens p k n X₁ Y f₁ U₁).obj |
| 62 | (⊤_ (PrincipalFrame.Index X₁.left U₁)) ⊔ O = ⊤) |
| 63 | |
| 64 | local notation "rows" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedRows.exactAt_succ p k n X₁ Y f₁ U₁ I g b |
| 65 | |
| 66 | 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 |
| 67 | local notation "hO₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry.below p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b O hO |
| 68 | local notation "hcover₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry.cover p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b O hcover |
| 69 | local notation "hglobal₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexGeometry.global p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e O hglobal |
| 70 | local notation "rows₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedRows.exactAt_succ p k n X₂ Y f₂ U₂ I g b₂ |
| 71 | |
| 72 | include hj in |
| 73 | theorem comparison : |
| 74 | SupportedResidue.residue p k n X₁ Y f₁ hp₁ U₁ I g b O hO hcover rows hglobal = |
| 75 | SupportedResidue.residue p k n X₂ Y f₂ hp₂ U₂ I g b₂ O hO₂ hcover₂ rows₂ hglobal₂ := |
| 76 | apply_composite |
| 77 | (SupportedNaturality.comparison p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I |
| 78 | j hj g b O hO hcover hglobal (g+g)) |
| 79 | (ResidueTransport.residue_class p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b) |
| 80 | |
| 81 | /-- At an actual section the support cover and all positive rows come |
| 82 | from the original geometry and the given generators of its ideal. -/ |
| 83 | abbrev section_comparison |
| 84 | (s₁ : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X₁.left) |
| 85 | [IsClosedImmersion s₁] |
| 86 | (hb : Ideal.span (Set.range b) = s₁.ker.ideal U₁) |
| 87 | (hs : ⊤ ≤ s₁ ⁻¹ᵁ U₁.val) := |
| 88 | comparison p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e I j hj g b |
| 89 | (SupportedSection.punctured p k n X₁ Y f₁ s₁) |
| 90 | (SupportedSection.below p k n X₁ Y f₁ U₁ s₁ g b hb) |
| 91 | (SupportedSection.cover p k n X₁ Y f₁ U₁ s₁ g b hb) |
| 92 | (SupportedSection.global p k n X₁ Y f₁ U₁ s₁ hs) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidueNaturality |