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.Principal.BaseDerivation |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham |
| 3 | |
| 4 | /-! # Base Forms -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BaseForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual divided-power forms equal ordinary relative forms for a principal base ideal. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 15 | |
| 16 | def updateDerivation (n : ℕ) (v : Fin n → A) (i : Fin n) : |
| 17 | Derivation R A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) := |
| 18 | Derivation.mk' ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbols R A n).toMultilinearMap.toLinearMap v i) |
| 19 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_mul R A v i) |
| 20 | |
| 21 | variable (r : R) (δR : DividedPowers (Ideal.span {r})) |
| 22 | (δA : DividedPowers (Ideal.span {algebraMap R A r})) |
| 23 | (hδ : DividedPowers.IsDPMorphism δR δA (algebraMap R A)) |
| 24 | |
| 25 | include hδ in |
| 26 | theorem relation_zero (n : ℕ) (t : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.RelationIndex A (Ideal.span {algebraMap R A r}) n) : |
| 27 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relation R A (Ideal.span {algebraMap R A r}) δA n t = 0 := by |
| 28 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relation, sub_eq_zero, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R A (δA.dpow t.m t.x)] |
| 29 | exact BaseDerivation.compatible R A r δR δA hδ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) |
| 30 | (updateDerivation R A n t.v t.i) t.m t.x t.x.property |
| 31 | |
| 32 | include hδ in |
| 33 | theorem relations_eq_bot (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relations R A (Ideal.span {algebraMap R A r}) δA n = ⊥ := by |
| 34 | apply le_antisymm ?_ bot_le |
| 35 | apply Submodule.span_le.mpr |
| 36 | rintro x ⟨t, rfl⟩ |
| 37 | exact (Submodule.mem_bot _).mpr (relation_zero R A r δR δA hδ n t) |
| 38 | |
| 39 | def formsEquiv (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A (Ideal.span {algebraMap R A r}) δA n ≃ₗ[A] |
| 40 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n := |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relations R A (Ideal.span {algebraMap R A r}) δA n).quotEquivOfEqBot |
| 42 | (relations_eq_bot R A r δR δA hδ n) |
| 43 | |
| 44 | theorem formsEquiv_symbol (n : ℕ) (a : A) (v : Fin n → A) : |
| 45 | formsEquiv R A r δR δA hδ n (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R A (Ideal.span {algebraMap R A r}) δA a v) = |
| 46 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v := |
| 47 | Submodule.quotEquivOfEqBot_apply_mk _ _ _ |
| 48 | |
| 49 | theorem differential (n : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A (Ideal.span {algebraMap R A r}) δA n) : |
| 50 | formsEquiv R A r δR δA hδ (n + 1) |
| 51 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A (Ideal.span {algebraMap R A r}) δA n ω) = |
| 52 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n (formsEquiv R A r δR δA hδ n ω) := by |
| 53 | obtain ⟨ω, rfl⟩ := Submodule.mkQ_surjective (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relations R A (Ideal.span {algebraMap R A r}) δA n) ω |
| 54 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential_mk] |
| 55 | exact (Submodule.quotEquivOfEqBot_apply_mk _ _ _).trans |
| 56 | (congrArg (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n) (Submodule.quotEquivOfEqBot_apply_mk _ _ _).symm) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BaseForms |