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.BoundedEtale.ZeroCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Basis |
| 3 | |
| 4 | /-! # Zero Form Basis -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFormBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: a natural coordinate basis for the actual étale zero-frame complex |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [Fintype k] [CharP k p] |
| 22 | [CommRing C] [Algebra k C] [LinearOrder σ] [Fintype σ] |
| 23 | [Algebra (MvPolynomial σ k) C] [IsScalarTower k (MvPolynomial σ k) C] |
| 24 | [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 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0 |
| 30 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.productDiagram F |
| 31 | local notation "π" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.projection F |
| 32 | local notation "τ" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Symbols.frameProjection F |
| 33 | local notation "xF" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroCoordinates.frameCoordinate p k C σ |
| 34 | |
| 35 | variable (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 36 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 37 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) 0) |
| 38 | |
| 39 | def basis (m : ℕ) : Module.Basis (Set.powersetCard σ m) ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 40 | RelativeCrystalline.Basis.basis H Q π σ U |
| 41 | (ZeroFrameProduct.coordinateIso p k C σ U) |
| 42 | (ZeroFrameProduct.coordinateIso_projection p k C σ U) m |
| 43 | |
| 44 | theorem basis_apply (m : ℕ) (s : Set.powersetCard σ m) : |
| 45 | basis p k C σ U m s = RelativeFrame.Symbols.form H Q π (F).obj τ σ xF U m s := |
| 46 | RelativeCrystalline.Basis.basis_eq_symbol H Q π σ U |
| 47 | (ZeroFrameProduct.coordinateIso p k C σ U) |
| 48 | (ZeroFrameProduct.coordinateIso_projection p k C σ U) |
| 49 | (ZeroCoordinates.coordinate p k C σ U) |
| 50 | (fun i => ((Q).map (ZeroFrameProduct.presentationMorphism p k C σ U)).ringMap (xF i)) |
| 51 | (ZeroCoordinates.coordinate_formula p k C σ U) m s |
| 52 | |
| 53 | include σ in |
| 54 | theorem forms_free (m : ℕ) : Module.Free ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 55 | Module.Free.of_basis (basis p k C σ U m) |
| 56 | |
| 57 | include σ in |
| 58 | theorem forms_finite (m : ℕ) : Module.Finite ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 59 | Module.Finite.of_basis (basis p k C σ U m) |
| 60 | |
| 61 | variable {U} {V : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 62 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 63 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) 0} |
| 64 | |
| 65 | theorem basis_natural (α : U ⟶ V) (m : ℕ) (s : Set.powersetCard σ m) : |
| 66 | RelativeCrystalline.FormData.formsMap H Q π α m (basis p k C σ V m s) = basis p k C σ U m s := |
| 67 | (congrArg (RelativeCrystalline.FormData.formsMap H Q π α m) (basis_apply p k C σ V m s)).trans |
| 68 | ((RelativeFrame.Symbols.form_natural H Q π (F).obj τ σ xF α m s).trans |
| 69 | (basis_apply p k C σ U m s).symm) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFormBasis |