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.AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD |
| 2 | import Mathlib.LinearAlgebra.ExteriorAlgebra.Grading |
| 3 | |
| 4 | /-! # Wedge -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.Wedge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Wedge products on the original differential-symbol modules over a |
| 11 | rational algebra, defined through their canonical exterior-form |
| 12 | equivalence and normalized on the original symbols. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] [Algebra ℚ A] |
| 19 | |
| 20 | def exteriorMul (p q : ℕ) : |
| 21 | (⋀[A]^p Ω[A⁄R]) →ₗ[A] (⋀[A]^q Ω[A⁄R]) →ₗ[A] (⋀[A]^(p + q) Ω[A⁄R]) := |
| 22 | DirectSum.gMulLHom A (fun n => ⋀[A]^n Ω[A⁄R]) |
| 23 | |
| 24 | def wedge (p q : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A q →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A (p + q) := |
| 25 | (((exteriorMul R A p q).compr₂ (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A (p + q)).symm.toLinearMap).comp |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A p).toLinearMap).compl₂ (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A q).toLinearMap |
| 27 | |
| 28 | theorem toExterior_wedge (p q : ℕ) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A q) : |
| 29 | AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A (p + q) (wedge R A p q x y) = |
| 30 | exteriorMul R A p q (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A p x) (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A q y) := |
| 31 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A (p + q)).apply_symm_apply _ |
| 32 | |
| 33 | theorem toExterior_wedge_coe (p q : ℕ) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A q) : |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A (p + q) (wedge R A p q x y) : ExteriorAlgebra A Ω[A⁄R]) = |
| 35 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A p x : ExteriorAlgebra A Ω[A⁄R]) * |
| 36 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A q y : ExteriorAlgebra A Ω[A⁄R]) := |
| 37 | congrArg Subtype.val (toExterior_wedge R A p q x y) |
| 38 | |
| 39 | theorem wedge_symbol (p q : ℕ) (a b : A) (v : Fin p → A) (w : Fin q → A) : |
| 40 | wedge R A p q (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A b w) = |
| 41 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A (a * b) (Fin.append v w) := by |
| 42 | apply (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv R A (p + q)).injective |
| 43 | apply Subtype.val_injective |
| 44 | rw [toExterior_wedge_coe] |
| 45 | simp only [AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.formsEquiv_symbol, Submodule.coe_smul, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.exteriorSymbol, |
| 46 | exteriorPower.ιMulti_apply_coe] |
| 47 | rw [smul_mul_assoc, mul_smul_comm, smul_smul, ExteriorAlgebra.ιMulti_mul_ιMulti] |
| 48 | congr 2 |
| 49 | ext i |
| 50 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i <;> simp |
| 51 | |
| 52 | def degreeCast {m n : ℕ} (h : m = n) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A m ≃ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n := by |
| 53 | subst n |
| 54 | exact LinearEquiv.refl _ _ |
| 55 | |
| 56 | omit [Algebra ℚ A] in |
| 57 | theorem degreeCast_symbol {m n : ℕ} (h : m = n) (a : A) (v : Fin m → A) : |
| 58 | degreeCast R A h (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a (fun i => v (Fin.cast h.symm i)) := by |
| 59 | subst n |
| 60 | rfl |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.Wedge |