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.PrincipalIn |
| 2 | |
| 3 | /-! # Principal Fixed Cone Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFixedConeCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! On principal opens the original diagonal cone is the inverse |
| 10 | of restriction from the fixed native crystalline frame. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem inverse_coordinates {C : Type*} [Category C] {K L M : C} |
| 18 | (a : K ⟶ L) [IsIso a] (e : L ≅ M) (c : K ⟶ M) [IsIso c] (b : M ⟶ K) |
| 19 | (hc : a ≫ e.hom = c) (hb : b = inv c) : e.hom ≫ b = inv a := by |
| 20 | apply (cancel_mono c).1 |
| 21 | simp only [Category.assoc, hb, IsIso.inv_hom_id, Category.comp_id] |
| 22 | rw [← hc, IsIso.inv_hom_id_assoc] |
| 23 | |
| 24 | private structure InverseCoordinateData (C : Type*) [Category C] where |
| 25 | K : C |
| 26 | L : C |
| 27 | M : C |
| 28 | a : K ⟶ L |
| 29 | e : L ≅ M |
| 30 | c : K ⟶ M |
| 31 | b : M ⟶ K |
| 32 | a_iso : IsIso a |
| 33 | c_iso : IsIso c |
| 34 | hc : a ≫ e.hom = c |
| 35 | hb : b = @CategoryTheory.inv C _ K M c c_iso |
| 36 | |
| 37 | private theorem InverseCoordinateData.coordinates {C : Type*} [Category C] |
| 38 | (d : InverseCoordinateData C) : |
| 39 | d.e.hom ≫ d.b = @CategoryTheory.inv C _ d.K d.L d.a d.a_iso := by |
| 40 | let := d.a_iso |
| 41 | let := d.c_iso |
| 42 | exact inverse_coordinates d.a d.e d.c d.b d.hc d.hb |
| 43 | |
| 44 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 45 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 46 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 47 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 48 | (hp : IsPullback f Y.hom X.hom |
| 49 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 50 | (U : X.left.affineOpens) |
| 51 | |
| 52 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 53 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 54 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 55 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.frames p k n X Y f hp U |
| 56 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.opens p k n X Y f U |
| 57 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.sections w n O |
| 58 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.diagram w n G |
| 59 | local notation "K" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp) (op U) |
| 60 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.restriction p k n X U |
| 61 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.cone w n |
| 62 | (PrincipalIn.Family.center p k n X Y f hp U) |
| 63 | (PrincipalIn.Family.cone p k n X Y f hp U) |
| 64 | |
| 65 | attribute [local instance] PrincipalIn.FixedCoordinates.globalSeparated |
| 66 | |
| 67 | /-- The original inverse frame map, expressed in the target coordinates. -/ |
| 68 | def coneInTarget := |
| 69 | (PrincipalFrameSections.targetIso p k n X Y f hp U).hom ≫ |
| 70 | PrincipalFrameSections.inverse p k n X Y f hp U |
| 71 | |
| 72 | /-- The inverse of the fixed-frame restriction. -/ |
| 73 | def inverseRestriction := inv (PrincipalIn.FixedCoordinates.restrictionMap p k n X Y f hp U) |
| 74 | |
| 75 | private def coordinatesData := |
| 76 | InverseCoordinateData.mk _ _ _ |
| 77 | (PrincipalIn.FixedCoordinates.restrictionMap p k n X Y f hp U) |
| 78 | (PrincipalFrameSections.targetIso p k n X Y f hp U) |
| 79 | (PrincipalFrameSections.map p k n X Y f hp U) |
| 80 | (PrincipalFrameSections.inverse p k n X Y f hp U) |
| 81 | inferInstance inferInstance |
| 82 | (PrincipalIn.FixedCoordinates.restriction_coordinates p k n X Y f hp U) |
| 83 | (PrincipalFrameIso.inverse_eq_inv p k n X Y f hp U) |
| 84 | |
| 85 | abbrev cone_coordinates := |
| 86 | (InverseCoordinateData.coordinates (coordinatesData p k n X Y f hp U)) |
| 87 | |
| 88 | abbrev localMap := PrincipalIn.DiagonalCoordinates.diagonal p k n X Y f hp U ≫ |
| 89 | inv (PrincipalIn.FixedCoordinates.restrictionMap p k n X Y f hp U) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFixedConeCoordinates |