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