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.GeometricComparison.IntrinsicPadic.FrameLevelSquare |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RingSquare |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LevelRingCoordinates |
| 4 | |
| 5 | /-! # Open Frame Level Square -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenFrameLevelSquare.IntrinsicPadicOpenFrameLevelSquare |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original global native frame morphisms commute with level reduction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 17 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 18 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 19 | (U V : X.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hUV : U ≤ V) |
| 20 | (n m : ℕ) (hnm : n ≤ m) |
| 21 | |
| 22 | local notation "W" => WittVector p (ZMod p) |
| 23 | local notation "incl" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) |
| 24 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 25 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n m hnm |
| 26 | |
| 27 | def first := (incl).map (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n) ≫ |
| 28 | FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp V hV n m hnm |
| 29 | |
| 30 | def second := FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp U hU n m hnm ≫ |
| 31 | PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV m |
| 32 | |
| 33 | theorem first_coordinates : (first p X Y f hp U V hU hV hUV n m hnm).hom.ringMap.toRingHom = |
| 34 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n).hom.ringMap.toRingHom.comp |
| 35 | (FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp V hV n m hnm).hom.ringMap.toRingHom := |
| 36 | (BoundedFrame.RingSquare.BoundedFrameRingSquare.comp_ringHom |
| 37 | ((incl).map (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n)) |
| 38 | (FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp V hV n m hnm)).trans |
| 39 | (congrArg |
| 40 | (fun a : (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp V hV n).obj.ring →+* |
| 41 | (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n).obj.ring => |
| 42 | a.comp (FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp V hV n m hnm).hom.ringMap.toRingHom) |
| 43 | (Bounded.LevelRingCoordinates.BoundedLevelRingCoordinates.ringHom (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n m hnm |
| 44 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n))) |
| 45 | |
| 46 | theorem second_coordinates : (second p X Y f hp U V hU hV hUV n m hnm).hom.ringMap.toRingHom = |
| 47 | (FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp U hU n m hnm).hom.ringMap.toRingHom.comp |
| 48 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV m).hom.ringMap.toRingHom := |
| 49 | BoundedFrame.RingSquare.BoundedFrameRingSquare.comp_ringHom (FrameLevelMap.IntrinsicPadicFrameLevelMap.map p X Y f hp U hU n m hnm) |
| 50 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV m) |
| 51 | |
| 52 | theorem ringHom : (first p X Y f hp U V hU hV hUV n m hnm).hom.ringMap.toRingHom = |
| 53 | (second p X Y f hp U V hU hV hUV n m hnm).hom.ringMap.toRingHom := |
| 54 | (first_coordinates p X Y f hp U V hU hV hUV n m hnm).trans |
| 55 | ((FrameLevelSquare.IntrinsicPadicFrameLevelRawSquare.ringHom p X Y f hp U V hU hV hUV n m hnm).trans |
| 56 | (second_coordinates p X Y f hp U V hU hV hUV n m hnm).symm) |
| 57 | |
| 58 | theorem square : first p X Y f hp U V hU hV hUV n m hnm = second p X Y f hp U V hU hV hUV n m hnm := |
| 59 | BoundedFrame.RingSquare.BoundedFrameRingSquare.ringHom (ringHom p X Y f hp U V hU hV hUV n m hnm) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenFrameLevelSquare.IntrinsicPadicOpenFrameLevelSquare |