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.PrincipalFixedConeCoordinates |
| 2 | |
| 3 | /-! # Principal Fixed Components -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFixedComponents |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Degreewise principal coordinates for composing the checked |
| 10 | fixed-frame inverse with the original native diagonal. -/ |
| 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 compose {C : Type*} [Category C] {K L M N : C} |
| 18 | {a : K ⟶ L} {b : L ⟶ M} {c : M ⟶ N} {d : L ⟶ N} {e : K ⟶ M} |
| 19 | (hi : b ≫ c = d) (hd : a ≫ b = e) : a ≫ d = e ≫ c := by |
| 20 | rw [← hi, ← Category.assoc, hd] |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 24 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 25 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (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 | (U : X.left.affineOpens) |
| 29 | |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 32 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 33 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.frames p k n X Y f hp U |
| 34 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.opens p k n X Y f U |
| 35 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.sections w n O |
| 36 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.diagram w n G |
| 37 | local notation "K" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp) (op U) |
| 38 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.restriction p k n X U |
| 39 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.cone w n |
| 40 | (PrincipalIn.Family.center p k n X Y f hp U) |
| 41 | (PrincipalIn.Family.cone p k n X Y f hp U) |
| 42 | |
| 43 | attribute [local instance] PrincipalIn.FixedCoordinates.globalSeparated |
| 44 | |
| 45 | abbrev originalDiagonal := |
| 46 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport.iso (Functor.op F) (𝟭 (ModuleCat.{2} R)) (.up ℕ) |
| 47 | (FrameDiagonalMap.source p k n X Y f hp)).inv ≫ |
| 48 | ((H).mapHomologicalComplex (.up ℕ)).map (FrameDiagonalMap.map p k n X Y f hp) |
| 49 | |
| 50 | variable (q : ℕ) (r : (PrincipalFrame.Index X.left U)ᵒᵖ) |
| 51 | |
| 52 | omit [IsProper X.hom] in |
| 53 | theorem inverse_component : |
| 54 | (((PrincipalFrameSections.targetIso p k n X Y f hp U).hom).f q).app r ≫ |
| 55 | ((PrincipalFrameSections.inverse p k n X Y f hp U).f q).app r = |
| 56 | ((inv (PrincipalIn.FixedCoordinates.restrictionMap p k n X Y f hp U)).f q).app r := by |
| 57 | have h := congrArg (fun a => (a.f q).app r) |
| 58 | (PrincipalFixedConeCoordinates.cone_coordinates p k n X Y f hp U) |
| 59 | simp only [HomologicalComplex.comp_f, NatTrans.comp_app] at h |
| 60 | exact h |
| 61 | |
| 62 | omit [IsProper X.hom] in |
| 63 | theorem diagonal_component : |
| 64 | ((PrincipalIn.DiagonalCoordinates.diagonal p k n X Y f hp U).f q).app r ≫ |
| 65 | (((PrincipalFrameSections.targetIso p k n X Y f hp U).hom).f q).app r = |
| 66 | ((originalDiagonal p k n X Y f hp U).f q).app r := by |
| 67 | have h := congrArg (fun a => (a.f q).app r) |
| 68 | (PrincipalIn.DiagonalCoordinates.coordinates p k n X Y f hp U) |
| 69 | simpa only [PrincipalIn.DiagonalCoordinates.diagonalInTarget, |
| 70 | PrincipalIn.DiagonalCoordinates.transportedDiagonal, originalDiagonal, |
| 71 | HomologicalComplex.comp_f, NatTrans.comp_app] using h |
| 72 | |
| 73 | omit [IsProper X.hom] in |
| 74 | theorem coordinates : |
| 75 | ((PrincipalFixedConeCoordinates.localMap p k n X Y f hp U).f q).app r = |
| 76 | (((originalDiagonal p k n X Y f hp U) ≫ |
| 77 | PrincipalFrameSections.inverse p k n X Y f hp U).f q).app r := |
| 78 | compose (inverse_component p k n X Y f hp U q r) |
| 79 | (diagonal_component p k n X Y f hp U q r) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFixedComponents |