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.Truncated.FrameProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameAlgebras |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram |
| 4 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts |
| 5 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 6 | |
| 7 | /-! # Frame Product -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FrameProduct |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Free divided coordinates for the native bounded smooth finite-level frame product. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) (A C σ : Type) [CommRing A] [CommRing C] |
| 21 | [Algebra (Truncated.Witt.Ring p k n) A] |
| 22 | [Algebra.Smooth (Truncated.Witt.Ring p k n) A] [Algebra k C] |
| 23 | [Fintype σ] |
| 24 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 25 | [IsScalarTower (Truncated.Witt.Ring p k n) |
| 26 | (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 27 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 28 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 29 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 30 | (hbase : ∀ w : WittVector p k, |
| 31 | ρ (algebraMap (Truncated.Witt.Ring p k n) A (Truncated.Witt.quotient p k n w)) = |
| 32 | algebraMap k C (WittVector.constantCoeff w)) |
| 33 | |
| 34 | local notation "W" => WittVector p k |
| 35 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 36 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.boundedFrame p A C ρ hρ hker k n hbase |
| 37 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : W)}) |
| 38 | (δ := OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n |
| 39 | |
| 40 | local instance structureMap_separated : IsSeparated f := by |
| 41 | rw [Crystalline.Presentation.affine_wittStructureMap] |
| 42 | exact inferInstanceAs (IsSeparated (Spec.map |
| 43 | (CommRingCat.ofHom (Polynomial.Frobenius.coefficientReduction p k C)))) |
| 44 | |
| 45 | variable (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 46 | (δ := OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n) |
| 47 | |
| 48 | def presentationMorphism : U ⟶ F := by |
| 49 | exact (Truncated.FrameAlgebras.SmoothLifting.exists_morphism p k n A C ρ hbase U hρ hker).some |
| 50 | |
| 51 | def productIsLimit : IsLimit (BinaryFan.mk |
| 52 | ((Q).map (prod.fst : F ⨯ U ⟶ F)) ((Q).map (prod.snd : F ⨯ U ⟶ U))) := |
| 53 | mapIsLimitOfPreservesOfIsLimit Q _ _ (prodIsProd F U) |
| 54 | |
| 55 | def coordinateIso : Crystalline.DividedCoordinates.object U.obj σ ≅ |
| 56 | (BoundedFrame.Diagram.productDiagram F).obj U := |
| 57 | (BinaryFan.isLimitFlip (Truncated.FrameProduct.isProduct p k n A C ρ hρ hker hbase U.obj |
| 58 | ((Q).map (presentationMorphism p k n A C ρ hρ hker hbase U)) σ)).conePointUniqueUpToIso |
| 59 | (productIsLimit p k n A C ρ hρ hker hbase U) |
| 60 | |
| 61 | omit [Fintype k] [Fintype σ] in |
| 62 | theorem coordinateIso_projection : (coordinateIso p k n A C σ ρ hρ hker hbase U).hom ≫ |
| 63 | (BoundedFrame.Diagram.projection F).app U = Crystalline.DividedCoordinates.projection U.obj σ := by |
| 64 | rw [BoundedFrame.Diagram.projection_app] |
| 65 | exact (BinaryFan.isLimitFlip (Truncated.FrameProduct.isProduct p k n A C ρ hρ hker hbase U.obj |
| 66 | ((Q).map (presentationMorphism p k n A C ρ hρ hker hbase U)) σ)).conePointUniqueUpToIso_hom_comp |
| 67 | (productIsLimit p k n A C ρ hρ hker hbase U) ⟨WalkingPair.right⟩ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FrameProduct |