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.RationalDeRham.Wedge |
| 2 | |
| 3 | /-! # Values -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.Values.Wedge |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical values of the actual differential symbols in the |
| 10 | exterior algebra, retaining both wedge products and differentiation. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] [Algebra ℚ A] |
| 17 | |
| 18 | def word (n : ℕ) (v : Fin n → A) : ExteriorAlgebra A Ω[A⁄R] := |
| 19 | ExteriorAlgebra.ιMulti A n (fun i => KaehlerDifferential.D R A (v i)) |
| 20 | |
| 21 | def value (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n →ₗ[A] ExteriorAlgebra A Ω[A⁄R] := |
| 22 | (Submodule.subtype (⋀[A]^n Ω[A⁄R])).comp (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A n).toLinearMap |
| 23 | |
| 24 | theorem value_injective (n : ℕ) : Function.Injective (value R A n) := |
| 25 | Subtype.val_injective.comp (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A n).injective |
| 26 | |
| 27 | theorem value_symbol (n : ℕ) (a : A) (v : Fin n → A) : |
| 28 | value R A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = a • word R A n v := by |
| 29 | change (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) : ExteriorAlgebra A Ω[A⁄R]) = _ |
| 30 | rw [AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv_symbol] |
| 31 | rfl |
| 32 | |
| 33 | omit [Algebra ℚ A] in |
| 34 | theorem word_append (p q : ℕ) (v : Fin p → A) (w : Fin q → A) : |
| 35 | word R A (p + q) (Fin.append v w) = word R A p v * word R A q w := by |
| 36 | unfold word |
| 37 | rw [ExteriorAlgebra.ιMulti_mul_ιMulti] |
| 38 | congr 1 |
| 39 | ext i |
| 40 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i <;> simp |
| 41 | |
| 42 | omit [Algebra ℚ A] in |
| 43 | theorem word_cons (n : ℕ) (a : A) (v : Fin n → A) : |
| 44 | word R A (n + 1) (Fin.cons a v) = |
| 45 | ExteriorAlgebra.ι A (KaehlerDifferential.D R A a) * word R A n v := by |
| 46 | simp only [word, ExteriorAlgebra.ιMulti_succ_apply, Fin.cons_zero, Matrix.vecTail, |
| 47 | Function.comp_def, Fin.cons_succ] |
| 48 | |
| 49 | theorem value_wedge (p q : ℕ) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A q) : |
| 50 | value R A (p + q) (Wedge.wedge R A p q x y) = value R A p x * value R A q y := |
| 51 | Wedge.toExterior_wedge_coe R A p q x y |
| 52 | |
| 53 | theorem value_degreeCast {m n : ℕ} (h : m = n) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A m) : |
| 54 | value R A n (Wedge.degreeCast R A h x) = value R A m x := by |
| 55 | subst n |
| 56 | rfl |
| 57 | |
| 58 | def differentialValue (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n →ₗ[R] ExteriorAlgebra A Ω[A⁄R] := |
| 59 | ((value R A (n + 1)).restrictScalars R).comp (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n) |
| 60 | |
| 61 | theorem differentialValue_symbol (n : ℕ) (a : A) (v : Fin n → A) : |
| 62 | differentialValue R A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = |
| 63 | ExteriorAlgebra.ι A (KaehlerDifferential.D R A a) * word R A n v := by |
| 64 | change value R A (n + 1) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) = _ |
| 65 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential_symbol, value_symbol, one_smul, word_cons] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.Values.Wedge |