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.PrincipalSections |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FixedDiagramTransformation |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalConeUpper |
| 4 | |
| 5 | /-! # Principal Frame Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrameSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On the principal subopens of one model chart, the original |
| 12 | diagonal section complex is identified with sections of its fixed |
| 13 | relative crystalline frame resolution. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (U : X.left.affineOpens) |
| 27 | |
| 28 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X.left U |
| 29 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 30 | local notation "P₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 31 | local notation "S₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.sections p k n X Y f |
| 32 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.restriction p k n X U |
| 33 | local notation "S" => S₀ ⋙ H |
| 34 | local notation "P" => Functor.op F ⋙ P₀ |
| 35 | local notation "K" => Functor.obj P₀ (op U) |
| 36 | local notation "h₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionRowRestriction.meet_isIso p k n X Y f hp |
| 37 | |
| 38 | def cone : (Functor.const Cᵒᵖ).obj K ⟶ P where |
| 39 | app r := (P₀).map (AffinePrincipal.Diagram.projection X.left U.val U.property r.unop).op |
| 40 | naturality r s a := by |
| 41 | change 𝟙 _ ≫ (P₀).map (AffinePrincipal.Diagram.projection X.left U.val U.property s.unop).op = |
| 42 | (P₀).map (AffinePrincipal.Diagram.projection X.left U.val U.property r.unop).op ≫ |
| 43 | (P₀).map ((F).map a.unop).op |
| 44 | rw [Category.id_comp, ← CategoryTheory.Functor.map_comp] |
| 45 | exact congrArg (P₀).map |
| 46 | (congrArg Quiver.Hom.op (AffinePrincipal.Diagram.projection_natural |
| 47 | X.left U.val U.property a.unop)).symm |
| 48 | |
| 49 | def targetIso : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.target S P) ≅ |
| 50 | ((H).mapHomologicalComplex (.up ℕ)).obj (GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S₀ P₀) := |
| 51 | Iso.refl _ |
| 52 | |
| 53 | def map : ((S).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 54 | ((H).mapHomologicalComplex (.up ℕ)).obj (GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S₀ P₀) := |
| 55 | GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P (cone p k n X Y f hp U) ≫ (targetIso p k n X Y f hp U).hom |
| 56 | |
| 57 | def inverse : ((H).mapHomologicalComplex (.up ℕ)).obj (GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S₀ P₀) ⟶ |
| 58 | ((S).mapHomologicalComplex (.up ℕ)).obj K := |
| 59 | ((H).mapHomologicalComplex (.up ℕ)).map ((GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.cone X.left.affineOpens S₀ P₀ h₀).app (op U)) |
| 60 | |
| 61 | omit [IsProper X.hom] in |
| 62 | theorem inverse_map : inverse p k n X Y f hp U ≫ PrincipalFrameSections.map p k n X Y f hp U = 𝟙 _ := by |
| 63 | apply HomologicalComplex.Hom.ext |
| 64 | funext q |
| 65 | apply NatTrans.ext |
| 66 | funext r |
| 67 | change ((((GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.cone X.left.affineOpens S₀ P₀ h₀).app (op U)).f q).app |
| 68 | (op ((F).obj r.unop))) ≫ |
| 69 | (((GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P (cone p k n X Y f hp U)).f q).app r ≫ 𝟙 _) = 𝟙 _ |
| 70 | rw [Category.comp_id, GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.component, GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.cone_app_f] |
| 71 | exact congrArg (fun a => a.f q) (GeometricComparison.Semilattice.LocalConeUpper.SemilatticeLocalConeUpper.app_restriction |
| 72 | X.left.affineOpens ((F).obj r.unop) |
| 73 | ((GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor S₀ P₀).obj (op ((F).obj r.unop))) |
| 74 | (h₀ ((F).obj r.unop)) U |
| 75 | (leOfHom (AffinePrincipal.Diagram.projection X.left U.val U.property r.unop))) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrameSections |