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.PrincipalFamilyIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrameOpens |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSections |
| 4 | |
| 5 | /-! # Principal Opens Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalOpensIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transported native principal frames use literally equal original |
| 12 | special-fiber opens in the section comparison. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 17 | (n : ℕ) |
| 18 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 19 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 20 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 22 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 23 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 28 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 29 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 30 | |
| 31 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X₁.left U₁ |
| 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 "P₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X₁.left U₁.val U₁.property |
| 34 | local notation "P₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X₂.left U₂.val U₂.property |
| 35 | |
| 36 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 37 | theorem opens_apply (r : C) : |
| 38 | PrincipalSections.opens p k n X₂ Y f₂ U₂ ((R).obj r) = |
| 39 | PrincipalSections.opens p k n X₁ Y f₁ U₁ r := by |
| 40 | have hs := PrincipalFamilyIso.Family.special_opens_eq p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e r |
| 41 | change ((SmallFrame.functor p k n X₂ Y f₂ hp₂).obj ((P₂).obj ((R).obj r))).immersion.opensRange = |
| 42 | ((SmallFrame.functor p k n X₁ Y f₁ hp₁).obj ((P₁).obj r)).immersion.opensRange at hs |
| 43 | rw [SmallFrameOpens.opensRange, SmallFrameOpens.opensRange] at hs |
| 44 | exact hs |
| 45 | |
| 46 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 47 | theorem opens_function : |
| 48 | (fun r : C => PrincipalSections.opens p k n X₂ Y f₂ U₂ ((R).obj r)) = |
| 49 | (fun r : C => PrincipalSections.opens p k n X₁ Y f₁ U₁ r) := |
| 50 | funext (opens_apply p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalOpensIso |