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.Etale.CoordinateDerivations |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor |
| 4 | |
| 5 | /-! # Ordinary Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.OrdinaryCoordinates.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coordinate forms identify the original de Rham complex of an etale chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R A ι : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 18 | [Algebra (MvPolynomial ι R) A] [IsScalarTower R (MvPolynomial ι R) A] |
| 19 | [Algebra.FormallyEtale (MvPolynomial ι R) A] |
| 20 | |
| 21 | def basis : Module.Basis ι A (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A ⊥ (dividedPowersBot A) 1) := |
| 22 | (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.basis R A ι).map |
| 23 | (AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.oneFormsEquiv R A).symm |
| 24 | |
| 25 | theorem basis_apply (i : ι) : basis R A ι i = |
| 26 | AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A ⊥ (dividedPowersBot A) (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι i) := by |
| 27 | rw [basis, Module.Basis.map_apply, AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.basis_apply] |
| 28 | exact AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.fromKaehler_D R A _ |
| 29 | |
| 30 | theorem D_eq_sum [Fintype ι] (a : A) : |
| 31 | AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A ⊥ (dividedPowersBot A) a = |
| 32 | ∑ i, AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.derivation R A ι i a • |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A ⊥ (dividedPowersBot A) |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι i) := by |
| 35 | apply (AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.oneFormsEquiv R A).injective |
| 36 | change AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.toKaehler R A (AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A ⊥ (dividedPowersBot A) a) = |
| 37 | AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.toKaehler R A (∑ i, AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.derivation R A ι i a • |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A ⊥ (dividedPowersBot A) (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι i)) |
| 39 | simp only [map_sum, map_smul, AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.toKaehler_D] |
| 40 | have hsum := (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.basis R A ι).sum_repr (KaehlerDifferential.D R A a) |
| 41 | simpa only [AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.derivation, Derivation.coe_comp, |
| 42 | LinearMap.comp_apply, LinearMap.coe_restrictScalars, Derivation.coeFn_coe, Module.Basis.coord_apply, |
| 43 | AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.basis_apply] using hsum.symm |
| 44 | |
| 45 | def formsEquiv [LinearOrder ι] (n : ℕ) : |
| 46 | AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.Term R ι A n ≃ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n := |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor.formsEquiv R A ι ⊥ (dividedPowersBot A) |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι) (basis R A ι) (basis_apply R A ι) n).trans |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.formsEquiv R A n) |
| 50 | |
| 51 | theorem formsEquiv_word [LinearOrder ι] (n : ℕ) (a : A) (v : Fin n → ι) : |
| 52 | formsEquiv R A ι n (TensorProduct.tmul R a |
| 53 | (exteriorPower.ιMulti R n (fun i => Finsupp.single (v i) 1))) = |
| 54 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι ∘ v) := by |
| 55 | change AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.formsEquiv R A n |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor.formsEquiv R A ι ⊥ (dividedPowersBot A) |
| 57 | (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι) (basis R A ι) (basis_apply R A ι) n _) = _ |
| 58 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor.formsEquiv_word, AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.formsEquiv_symbol] |
| 59 | |
| 60 | def complex [Fintype ι] : CochainComplex (ModuleCat R) ℕ := |
| 61 | AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.complex R ι A (fun i => (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.derivation R A ι i).toLinearMap) |
| 62 | (CoordinateDerivations.commute R A ι) |
| 63 | |
| 64 | def complexIso [Fintype ι] : complex R A ι ≅ AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A := by |
| 65 | letI : LinearOrder ι := LinearOrder.lift' (Fintype.equivFin ι) (Fintype.equivFin ι).injective |
| 66 | exact (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor.PDDeRhamTensor.complexIso R A ι ⊥ (dividedPowersBot A) |
| 67 | (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A ι) |
| 68 | (fun i => (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.derivation R A ι i).toLinearMap) (D_eq_sum R A ι) |
| 69 | (basis R A ι) (basis_apply R A ι) (CoordinateDerivations.commute R A ι)) ≪≫ |
| 70 | (AlgebraicGeometry.Crystalline.Cohomology.ZeroIdeal.ZeroIdealPDForms.complexIso R A).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.OrdinaryCoordinates.Ordinary |