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.PrincipalFrameSections |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FixedDiagramInverse |
| 3 | |
| 4 | /-! # Principal Frame Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrameIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original principal section diagonal is canonically isomorphic |
| 11 | to the sections of the fixed relative frame resolution. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 19 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 20 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | (U : X.left.affineOpens) |
| 25 | |
| 26 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 27 | local notation "P₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 28 | local notation "S₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.sections p k n X Y f |
| 29 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.restriction p k n X U |
| 30 | local notation "S" => S₀ ⋙ H |
| 31 | local notation "P" => Functor.op F ⋙ P₀ |
| 32 | local notation "K" => Functor.obj P₀ (op U) |
| 33 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrameSections.cone p k n X Y f hp U |
| 34 | local notation "h₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionRowRestriction.meet_isIso p k n X Y f hp |
| 35 | |
| 36 | omit [IsProper X.hom] in |
| 37 | theorem fixed_isIso : IsIso (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P η) := |
| 38 | GeometricComparison.FixedDiagramInverse.FixedDiagramSectionIso.isIso S K P η (fun r => |
| 39 | GeometricComparison.Semilattice.LocalConeUpper.SemilatticeLocalConeUpper.restriction_isIso X.left.affineOpens ((F).obj r.unop) |
| 40 | ((GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor S₀ P₀).obj (op ((F).obj r.unop))) |
| 41 | (h₀ ((F).obj r.unop)) U |
| 42 | (leOfHom (AffinePrincipal.Diagram.projection X.left U.val U.property r.unop))) |
| 43 | |
| 44 | instance map_isIso : IsIso (PrincipalFrameSections.map p k n X Y f hp U) := by |
| 45 | let := fixed_isIso p k n X Y f hp U |
| 46 | dsimp only [PrincipalFrameSections.map] |
| 47 | infer_instance |
| 48 | |
| 49 | omit [IsProper X.hom] in |
| 50 | theorem inverse_eq_inv : PrincipalFrameSections.inverse p k n X Y f hp U = |
| 51 | inv (PrincipalFrameSections.map p k n X Y f hp U) := by |
| 52 | apply (cancel_mono (PrincipalFrameSections.map p k n X Y f hp U)).1 |
| 53 | rw [PrincipalFrameSections.inverse_map, IsIso.inv_hom_id] |
| 54 | |
| 55 | omit [IsProper X.hom] in |
| 56 | theorem map_inverse : PrincipalFrameSections.map p k n X Y f hp U ≫ |
| 57 | PrincipalFrameSections.inverse p k n X Y f hp U = 𝟙 _ := by |
| 58 | rw [inverse_eq_inv, IsIso.hom_inv_id] |
| 59 | |
| 60 | def iso : ((S).mapHomologicalComplex (.up ℕ)).obj K ≅ |
| 61 | ((H).mapHomologicalComplex (.up ℕ)).obj (GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S₀ P₀) where |
| 62 | hom := PrincipalFrameSections.map p k n X Y f hp U |
| 63 | inv := PrincipalFrameSections.inverse p k n X Y f hp U |
| 64 | hom_inv_id := map_inverse p k n X Y f hp U |
| 65 | inv_hom_id := PrincipalFrameSections.inverse_map p k n X Y f hp U |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrameIso |