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 OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham |
| 3 | import Mathlib.LinearAlgebra.PiTensorProduct.Finite |
| 4 | |
| 5 | /-! # Differential Form Finiteness -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialFormFiniteness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: finite differential-form modules in arbitrary characteristic |
| 13 | |
| 14 | Tensor powers of the finite Kähler module surject onto the original |
| 15 | differential-symbol modules. This construction requires no division by a |
| 16 | factorial and applies over the residue field of positive characteristic. |
| 17 | -/ |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 24 | |
| 25 | def tensorSymbols (n : ℕ) : |
| 26 | PiTensorProduct A (fun _ : Fin n => KaehlerDifferential R A) →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n := |
| 27 | PiTensorProduct.lift (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.liftedSymbols R A n) |
| 28 | |
| 29 | theorem tensorSymbols_tprod (n : ℕ) (v : Fin n → A) : |
| 30 | tensorSymbols R A n (PiTensorProduct.tprod A (fun i => KaehlerDifferential.D R A (v i))) = |
| 31 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 v := |
| 32 | (PiTensorProduct.lift.tprod (φ := AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.liftedSymbols R A n) _).trans |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.FormsEquivalenceD.FormsEquivalence.liftedSymbols_D R A n v) |
| 34 | |
| 35 | def rawTensor (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A n →ₗ[A] PiTensorProduct A (fun _ : Fin n => KaehlerDifferential R A) := |
| 36 | Finsupp.linearCombination A (fun v : Fin n → A => |
| 37 | PiTensorProduct.tprod A (fun i => KaehlerDifferential.D R A (v i))) |
| 38 | |
| 39 | theorem tensorSymbols_rawTensor (n : ℕ) : |
| 40 | (tensorSymbols R A n).comp (rawTensor R A n) = (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n).mkQ := by |
| 41 | apply Finsupp.lhom_ext |
| 42 | intro v a |
| 43 | change tensorSymbols R A n (rawTensor R A n (Finsupp.single v a)) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v |
| 44 | rw [rawTensor, Finsupp.linearCombination_single, map_smul, tensorSymbols_tprod, ← AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one] |
| 45 | |
| 46 | theorem tensorSymbols_surjective (n : ℕ) : Function.Surjective (tensorSymbols R A n) := by |
| 47 | intro x |
| 48 | obtain ⟨a, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n).mkQ_surjective x |
| 49 | exact ⟨rawTensor R A n a, LinearMap.congr_fun (tensorSymbols_rawTensor R A n) a⟩ |
| 50 | |
| 51 | theorem forms_finite [Algebra.EssFiniteType R A] (n : ℕ) : Module.Finite A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) := |
| 52 | Module.Finite.of_surjective (tensorSymbols R A n) (tensorSymbols_surjective R A n) |
| 53 | |
| 54 | theorem pdForms_finite [Algebra.EssFiniteType R A] (I : Ideal A) (δ : DividedPowers I) (n : ℕ) : |
| 55 | Module.Finite A (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ n) := by |
| 56 | let : Module.Finite A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) := forms_finite R A n |
| 57 | exact Module.Finite.of_surjective (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relations R A I δ n).mkQ |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.relations R A I δ n).mkQ_surjective |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialFormFiniteness |