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.FrameMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameLocalSquare |
| 3 | |
| 4 | /-! # Frame Ring Square -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameRingSquare.IntrinsicPadicFrameGeometricRingSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original global native frame square follows from the checked |
| 11 | local quotient-ring square and its unchanged postcomposition coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 19 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 24 | (U U' : X₂.left.affineOpens) (V V' : X₁.left.affineOpens) |
| 25 | (hU : U ⟶ U') (hV : V ⟶ V') |
| 26 | (hu : V.val ≤ u.left ⁻¹ᵁ U.val) (hu' : V'.val ≤ u.left ⁻¹ᵁ U'.val) (n : ℕ) |
| 27 | |
| 28 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 29 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose v.left (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 30 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₁ Y₁ f₁ hp₁ n |
| 31 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₂ Y₂ f₂ hp₂ n |
| 32 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricMap.map p u v f₁ f₂ hp₁ hp₂ hsquare |
| 33 | U.val V.val U.property V.property hu n |
| 34 | local notation "a'" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricMap.map p u v f₁ f₂ hp₁ hp₂ hsquare |
| 35 | U'.val V'.val U'.property V'.property hu' n |
| 36 | |
| 37 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₁ V.val |
| 38 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₁ V'.val |
| 39 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₂ U.val |
| 40 | local notation "D" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₂ U'.val |
| 41 | local notation "QA" => A ⧸ (Ideal.span {(p : A)}) ^ (n + 1) |
| 42 | local notation "QB" => B ⧸ (Ideal.span {(p : B)}) ^ (n + 1) |
| 43 | local notation "QC" => C ⧸ (Ideal.span {(p : C)}) ^ (n + 1) |
| 44 | local notation "QD" => D ⧸ (Ideal.span {(p : D)}) ^ (n + 1) |
| 45 | local notation "r₁" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicFrameRestriction.IntrinsicPadicFrameRestriction.localMap p X₁ Y₁ f₁ hp₁ |
| 46 | V.val V'.val V.property V'.property (leOfHom hV) n |
| 47 | local notation "r₂" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicFrameRestriction.IntrinsicPadicFrameRestriction.localMap p X₂ Y₂ f₂ hp₂ |
| 48 | U.val U'.val U.property U'.property (leOfHom hU) n |
| 49 | local notation "b" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricMap.localMap p u v f₁ f₂ hp₁ hp₂ hsquare |
| 50 | U.val V.val U.property V.property hu n |
| 51 | local notation "b'" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricMap.localMap p u v f₁ f₂ hp₁ hp₂ hsquare |
| 52 | U'.val V'.val U'.property V'.property hu' n |
| 53 | |
| 54 | theorem left_coordinates : ((P).map hV).hom.ringMap.toRingHom.comp (a').hom.ringMap.toRingHom = |
| 55 | (r₁).hom.ringMap.toRingHom.comp (b').hom.ringMap.toRingHom := |
| 56 | congrArg₂ (fun (r : QB →+* QA) (s : QD →+* QB) => r.comp s) |
| 57 | (congrArg DividedPowers.DPMorphism.toRingHom |
| 58 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map_ringMap p X₁ Y₁ f₁ hp₁ |
| 59 | V.val V'.val V.property V'.property (leOfHom hV) n)) |
| 60 | (FrameMap.IntrinsicPadicFrameGeometricRingCoordinates.ringHom p u v f₁ f₂ hp₁ hp₂ hsquare |
| 61 | U'.val V'.val U'.property V'.property hu' n) |
| 62 | |
| 63 | theorem right_coordinates : (a).hom.ringMap.toRingHom.comp ((Q).map hU).hom.ringMap.toRingHom = |
| 64 | (b).hom.ringMap.toRingHom.comp (r₂).hom.ringMap.toRingHom := |
| 65 | congrArg₂ (fun (r : QC →+* QA) (s : QD →+* QC) => r.comp s) |
| 66 | (FrameMap.IntrinsicPadicFrameGeometricRingCoordinates.ringHom p u v f₁ f₂ hp₁ hp₂ hsquare |
| 67 | U.val V.val U.property V.property hu n) |
| 68 | (congrArg DividedPowers.DPMorphism.toRingHom |
| 69 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map_ringMap p X₂ Y₂ f₂ hp₂ |
| 70 | U.val U'.val U.property U'.property (leOfHom hU) n)) |
| 71 | |
| 72 | theorem ringHom : ((P).map hV).hom.ringMap.toRingHom.comp (a').hom.ringMap.toRingHom = |
| 73 | (a).hom.ringMap.toRingHom.comp ((Q).map hU).hom.ringMap.toRingHom := |
| 74 | (left_coordinates p u v f₁ f₂ hp₁ hp₂ hsquare U' V V' hV hu' n).trans |
| 75 | ((FrameLocalSquare.IntrinsicPadicFrameGeometricLocalSquare.square p u v f₁ f₂ hp₁ hp₂ hsquare U U' V V' hU hV hu hu' n).trans |
| 76 | (right_coordinates p u v f₁ f₂ hp₁ hp₂ hsquare U U' V hU hu n).symm) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameRingSquare.IntrinsicPadicFrameGeometricRingSquare |