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.EtaleZero.FrameProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram |
| 3 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.BinaryProducts |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 5 | |
| 6 | /-! # Zero Frame Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFrameProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: divided coordinates for the native zeroth-level étale frame product |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [Fintype k] [CharP k p] |
| 23 | [CommRing C] [Algebra k C] [Fintype σ] [Algebra (MvPolynomial σ k) C] |
| 24 | [IsScalarTower k (MvPolynomial σ k) C] [Algebra.Etale (MvPolynomial σ k) C] |
| 25 | |
| 26 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 27 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame.boundedFrame p k C |
| 28 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 29 | (δ := OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0 |
| 30 | |
| 31 | instance structureMap_separated : IsSeparated f := by |
| 32 | rw [Crystalline.Presentation.affine_wittStructureMap] |
| 33 | exact inferInstanceAs (IsSeparated (Spec.map |
| 34 | (CommRingCat.ofHom (Polynomial.Frobenius.coefficientReduction p k C)))) |
| 35 | |
| 36 | omit [Fact p.Prime] [Fintype k] [CharP k p] in |
| 37 | include σ in |
| 38 | theorem smooth : Algebra.Smooth k C := by |
| 39 | let : Algebra.Smooth k (MvPolynomial σ k) := {} |
| 40 | exact Algebra.Smooth.comp k (MvPolynomial σ k) C |
| 41 | |
| 42 | variable (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 43 | (δ := OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 44 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) 0) |
| 45 | |
| 46 | def presentationMorphism : U ⟶ F := by |
| 47 | letI := smooth k C σ |
| 48 | have hz : (p : U.obj.ring) = 0 := (pow_one (p : U.obj.ring)).symm.trans U.property |
| 49 | exact ObjectProperty.homMk (ZeroLevel.LevelFrame.exists_map p k C U.obj hz).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 (EtaleZero.FrameProduct.isProduct p k C σ U.obj |
| 58 | ((Q).map (presentationMorphism p k C σ U)))).conePointUniqueUpToIso |
| 59 | (productIsLimit p k C U) |
| 60 | |
| 61 | theorem coordinateIso_projection : (coordinateIso p k C σ U).hom ≫ |
| 62 | (BoundedFrame.Diagram.projection F).app U = Crystalline.DividedCoordinates.projection U.obj σ := by |
| 63 | rw [BoundedFrame.Diagram.projection_app] |
| 64 | exact (BinaryFan.isLimitFlip (EtaleZero.FrameProduct.isProduct p k C σ U.obj |
| 65 | ((Q).map (presentationMorphism p k C σ U)))).conePointUniqueUpToIso_hom_comp |
| 66 | (productIsLimit p k C U) ⟨WalkingPair.right⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFrameProduct |