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.Principal.CoefficientProducts |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingSectionReindex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedRows |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.SectionFamilyCoordinates |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechReindex |
| 6 | |
| 7 | /-! # Supported Reindex Data -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexData |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual change of a smooth model preserves the principal |
| 14 | support cover, its terminal open, and its section transport. -/ |
| 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 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) |
| 23 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 24 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 25 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 26 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 27 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 28 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 29 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 30 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 31 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 32 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 33 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 34 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 35 | |
| 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.Supported.Comparison.opens p k n X₁ Y f₁ U₁ |
| 38 | local notation "F₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Supported.Comparison.opens p k n X₂ Y f₂ U₂ |
| 39 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 40 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 41 | |
| 42 | instance reindex_preserves : PreservesFiniteLimits r := by |
| 43 | change PreservesFiniteLimits (Principal.CoefficientChange.functor e.hom.ambientMap.toRingHom) |
| 44 | infer_instance |
| 45 | |
| 46 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 47 | theorem opens_eq : F₁ = r ⋙ F₂ := |
| 48 | CategoryTheory.Functor.ext (fun t => |
| 49 | (PrincipalOpensIso.opens_apply p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e t).symm) |
| 50 | (fun _ _ _ => Subsingleton.elim _ _) |
| 51 | |
| 52 | include e in |
| 53 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 54 | theorem terminal_eq : |
| 55 | (F₁).obj (⊤_ (PrincipalFrame.Index X₁.left U₁)) = |
| 56 | (F₂).obj (⊤_ (PrincipalFrame.Index X₂.left U₂)) := by |
| 57 | rw [opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e] |
| 58 | exact Supported.OrderedCechReindex.terminal_eq Y.left.carrier r F₂ |
| 59 | |
| 60 | variable (g : ℕ) (b : Fin g → Γ(X₁.left, U₁.val)) |
| 61 | |
| 62 | def coefficients : Fin g → Γ(X₂.left, U₂.val) := fun i => e.hom.ambientMap (b i) |
| 63 | |
| 64 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 65 | theorem family_eq : |
| 66 | (r).obj ∘ Supported.Comparison.family p k n X₁ U₁ g b = |
| 67 | Supported.Comparison.family p k n X₂ U₂ g |
| 68 | (coefficients p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b) := rfl |
| 69 | |
| 70 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 71 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 72 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 73 | |
| 74 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 75 | theorem rows (q m : ℕ) : |
| 76 | ((BoundedSupported.Cech.bicomplex w n I (r ⋙ F₂) |
| 77 | (Supported.Comparison.family p k n X₁ U₁ g b)).X q).ExactAt (m+1) := by |
| 78 | rw [← opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e] |
| 79 | exact SupportedRows.exactAt_succ p k n X₁ Y f₁ U₁ I g b q m |
| 80 | |
| 81 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 82 | theorem section_hom : |
| 83 | ((NatIso.mapHomologicalComplex |
| 84 | (IncomingSectionReindex.sectionIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 85 | (.up ℕ)).app I.cocomplex).hom = |
| 86 | eqToHom (congrArg |
| 87 | (fun F => Supported.OrderedCechEdge.presheafComplex.{1,0,0,2} R Y.left.carrier F |
| 88 | (BoundedOpen.FlasqueComplex.complex w n I)) |
| 89 | (opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e)) := |
| 90 | BoundedSupported.SectionFamilyCoordinates.Family.hom w n I |
| 91 | (PrincipalSections.opens p k n X₁ Y f₁ U₁) |
| 92 | (BoundedOpen.IncomingMap.reindexedOpens |
| 93 | (PrincipalSections.opens p k n X₂ Y f₂ U₂) r) |
| 94 | (IncomingSectionReindex.family_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexData |