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.ResidueTransportForms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedReindexBase |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexCoefficientTop |
| 4 | |
| 5 | /-! # Residue Transport -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original native source map carries the literal supported |
| 12 | residue class to the residue for the ambient images of its parameters. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) |
| 21 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 23 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 25 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 26 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 29 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 30 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 31 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 32 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 33 | |
| 34 | local notation "Q₁" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame.functor p k n X₁ Y f₁ hp₁) U₁ |
| 35 | local notation "r" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFamilyIso.Family.reindex p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 36 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality.sourceIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 37 | local notation "K₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.source p k n X₁ Y f₁ hp₁ U₁ |
| 38 | local notation "K₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.source p k n X₂ Y f₂ hp₂ U₂ |
| 39 | |
| 40 | variable (g : ℕ) (b : Fin g → Γ(X₁.left, U₁.val)) |
| 41 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex.family p k Y Q₁ g b |
| 42 | local notation "b₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueTransportForms.parameters p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b |
| 43 | |
| 44 | abbrev image_coordinates := |
| 45 | (congrArg (fun z => (AugmentedOrdered.CechReindexTop.coefficient r U g (by simp) ((K₂).X g)).hom z) |
| 46 | (ResidueTransportForms.source_coordinates p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b)).trans |
| 47 | (ResidueTransportForms.reindex_coordinates p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b) |
| 48 | |
| 49 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 50 | theorem residue_class : |
| 51 | HomologicalComplex.homologyMap |
| 52 | (SupportedReindexBase.sourceMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b) (g+g) |
| 53 | (ResidueClass.residueClass p k n X₁ Y f₁ hp₁ U₁ g b) = |
| 54 | ResidueClass.residueClass p k n X₂ Y f₂ hp₂ U₂ g b₂ := |
| 55 | AugmentedOrdered.CechReindexCoefficientTop.homology_of_image_eq r U K₁ K₂ (s).hom g (by simp) g |
| 56 | (ResidueClass.form p k n X₁ Y f₁ hp₁ U₁ g b) |
| 57 | (ResidueClass.form_closed p k n X₁ Y f₁ hp₁ U₁ g b) |
| 58 | (ResidueClass.form p k n X₂ Y f₂ hp₂ U₂ g b₂) |
| 59 | (ResidueClass.form_closed p k n X₂ Y f₂ hp₂ U₂ g b₂) |
| 60 | (image_coordinates p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e g b) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueTransport |