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.EnvelopeForms |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Polynomial.EnvelopeForms |
| 3 | |
| 4 | /-! # Envelope Forms -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.EnvelopeForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: finite free forms on polynomial crystalline envelopes |
| 12 | |
| 13 | For every polynomial presentation ideal containing the base ideal, the |
| 14 | actual crystalline envelope has a basis of forms indexed by coordinate |
| 15 | wedges. These statements allow torsion in the coefficient ring. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R σ : Type u) [CommRing R] |
| 23 | (J : Ideal R) (δ : DividedPowers J) (I : Ideal (MvPolynomial σ R)) |
| 24 | (hbase : J.map (algebraMap R (MvPolynomial σ R)) ≤ I) |
| 25 | |
| 26 | attribute [local instance] Envelope.Comparison.smallBaseAlgebra |
| 27 | Envelope.Comparison.formsBaseAlgebra |
| 28 | |
| 29 | local notation "P" => MvPolynomial σ R |
| 30 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope.Envelope R P J δ (algebraMap R P) I |
| 31 | local notation "IE" => OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope.envelopeIdeal R P J δ (algebraMap R P) I |
| 32 | local notation "ε" => OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope.envelopeDividedPowers R P J δ (algebraMap R P) I |
| 33 | local notation "D" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.Envelope R P J δ I |
| 34 | local notation "ID" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.ideal R P J δ I |
| 35 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.dividedPowers R P J δ I |
| 36 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Envelope.Comparison.algebraEquiv R P J δ I hbase |
| 37 | local notation "he" => OAI.NumberTheory.PadicHodge.IntegralComparison.Envelope.Comparison.algebraEquiv_isDPMorphism R P J δ I hbase |
| 38 | local notation "hi" => OAI.NumberTheory.PadicHodge.IntegralComparison.Envelope.Comparison.algebraEquiv_symm_isDPMorphism R P J δ I hbase |
| 39 | |
| 40 | /-- A coordinate-wedge basis over the actual envelope ring. -/ |
| 41 | def formBasis [LinearOrder σ] (n : ℕ) : |
| 42 | Module.Basis (Set.powersetCard σ n) E (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R E IE ε n) := by |
| 43 | let : Module E (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R D ID γ n) := |
| 44 | Module.compHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R D ID γ n) (e).toRingHom |
| 45 | let g : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R E IE ε n ≃ₗ[E] AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R D ID γ n := |
| 46 | { (EnvelopeForms.formsEquiv R P J δ I hbase n).toEquiv with |
| 47 | map_add' := map_add (EnvelopeForms.formsEquiv R P J δ I hbase n) |
| 48 | map_smul' a ω := AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_smul |
| 49 | (CommAlgCat.ofHom (e).toAlgHom) he n a ω } |
| 50 | let b := AlgebraicGeometry.Crystalline.Cohomology.Polynomial.EnvelopeForms.PolynomialEnvelopeForms.formBasis R σ J δ I hbase n |
| 51 | exact (b.mapCoeffs (e).symm.toRingEquiv (fun c ω => by |
| 52 | change (e) ((e).symm c) • ω = c • ω |
| 53 | rw [AlgEquiv.apply_symm_apply])).map g.symm |
| 54 | |
| 55 | include hbase |
| 56 | |
| 57 | /-- All degrees of forms are free over the original envelope ring. -/ |
| 58 | theorem forms_free (n : ℕ) : Module.Free E (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R E IE ε n) := by |
| 59 | classical |
| 60 | let : LinearOrder σ := linearOrderOfSTO WellOrderingRel |
| 61 | exact Module.Free.of_basis (formBasis R σ J δ I hbase n) |
| 62 | |
| 63 | /-- A finite polynomial presentation gives finitely generated forms in each degree. -/ |
| 64 | theorem forms_finite [Finite σ] (n : ℕ) : Module.Finite E (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R E IE ε n) := by |
| 65 | classical |
| 66 | let : LinearOrder σ := linearOrderOfSTO WellOrderingRel |
| 67 | exact Module.Finite.of_basis (formBasis R σ J δ I hbase n) |
| 68 | |
| 69 | /-- The actual complex vanishes above the number of polynomial variables. -/ |
| 70 | theorem higher_form_eq_zero [Fintype σ] (n : ℕ) (hn : Fintype.card σ < n) |
| 71 | (ω : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R E IE ε n) : ω = 0 := by |
| 72 | apply (EnvelopeForms.formsEquiv R P J δ I hbase n).injective |
| 73 | rw [map_zero] |
| 74 | exact AlgebraicGeometry.Crystalline.Cohomology.Polynomial.EnvelopeForms.PolynomialEnvelopeForms.higher_form_eq_zero R σ J δ I hbase n hn _ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.EnvelopeForms |