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.OrderedPD |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | import Mathlib.RingTheory.TensorProduct.Basic |
| 5 | |
| 6 | /-! # Forms Tensor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Coordinate tensor descriptions of actual PD forms |
| 14 | |
| 15 | When coordinate differentials form a basis, the tensor of the coefficient |
| 16 | algebra with the exterior powers of the free coordinate module is |
| 17 | canonically isomorphic to the actual PD form module. The map sends a |
| 18 | coordinate wedge to the corresponding differential symbol. |
| 19 | -/ |
| 20 | |
| 21 | open scoped TensorProduct |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (R A σ : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 26 | (I : Ideal A) (δ : DividedPowers I) (x : σ → A) |
| 27 | |
| 28 | def coordinateLinear : (σ →₀ R) →ₗ[R] A := Finsupp.linearCombination R x |
| 29 | |
| 30 | theorem coordinateLinear_single (i : σ) : coordinateLinear R A σ x (Finsupp.single i 1) = x i := |
| 31 | (Finsupp.linearCombination_single R 1 i).trans (one_smul R _) |
| 32 | |
| 33 | def exteriorMap (n : ℕ) : (⋀[R]^n (σ →₀ R)) →ₗ[R] DeRham.PDDeRham.Form R A I δ n := |
| 34 | exteriorPower.alternatingMapLinearEquiv |
| 35 | ((OrderedPD.OrderedPDSymbols.symbols R A I δ n).compLinearMap (coordinateLinear R A σ x)) |
| 36 | |
| 37 | def toForms (n : ℕ) : Koszul.Tensor.KoszulTensor.Term R σ A n →ₗ[A] DeRham.PDDeRham.Form R A I δ n := |
| 38 | (exteriorMap R A σ I δ x n).liftBaseChange A |
| 39 | |
| 40 | theorem toForms_word (n : ℕ) (a : A) (v : Fin n → σ) : |
| 41 | toForms R A σ I δ x n (a ⊗ₜ[R] exteriorPower.ιMulti R n (fun k => Finsupp.single (v k) 1)) = |
| 42 | DeRham.PDDeRham.symbol R A I δ a (x ∘ v) := by |
| 43 | rw [toForms, LinearMap.liftBaseChange_tmul, exteriorMap, |
| 44 | exteriorPower.alternatingMapLinearEquiv_apply_ιMulti, |
| 45 | AlternatingMap.compLinearMap_apply, OrderedPD.OrderedPDSymbols.symbols_apply] |
| 46 | have hv : (fun k => coordinateLinear R A σ x (Finsupp.single (v k) 1)) = x ∘ v := |
| 47 | funext (fun k => coordinateLinear_single R A σ x (v k)) |
| 48 | rw [hv, DeRham.PDDeRham.symbol_smul_one R A I δ a] |
| 49 | |
| 50 | variable [LinearOrder σ] |
| 51 | (b : Module.Basis σ A (DeRham.PDDeRham.Form R A I δ 1)) |
| 52 | (hb : ∀ i, b i = OneForms.PDOneForms.D R A I δ (x i)) |
| 53 | |
| 54 | def tensorBasis (n : ℕ) : Module.Basis (Set.powersetCard σ n) A (Koszul.Tensor.KoszulTensor.Term R σ A n) := |
| 55 | ((Finsupp.basisSingleOne : Module.Basis σ R (σ →₀ R)).exteriorPower n).baseChange A |
| 56 | |
| 57 | def basisEquiv (n : ℕ) : Koszul.Tensor.KoszulTensor.Term R σ A n ≃ₗ[A] DeRham.PDDeRham.Form R A I δ n := |
| 58 | (tensorBasis R A σ n).equiv (OrderedPD.OrderedPDSymbols.basis R A I δ x b hb n) (Equiv.refl _) |
| 59 | |
| 60 | theorem toForms_tensorBasis (n : ℕ) (s : Set.powersetCard σ n) : |
| 61 | toForms R A σ I δ x n (tensorBasis R A σ n s) = OrderedPD.OrderedPDSymbols.basis R A I δ x b hb n s := by |
| 62 | rw [tensorBasis, Module.Basis.baseChange_apply, exteriorPower.basis_apply, |
| 63 | exteriorPower.ιMulti_family, OrderedPD.OrderedPDSymbols.basis_apply] |
| 64 | exact toForms_word R A σ I δ x n 1 (Set.powersetCard.ofFinEmbEquiv.symm s) |
| 65 | |
| 66 | theorem toForms_eq_basisEquiv (n : ℕ) : |
| 67 | toForms R A σ I δ x n = (basisEquiv R A σ I δ x b hb n).toLinearMap := by |
| 68 | apply (tensorBasis R A σ n).ext |
| 69 | intro s |
| 70 | rw [toForms_tensorBasis] |
| 71 | exact ((tensorBasis R A σ n).equiv_apply s |
| 72 | (OrderedPD.OrderedPDSymbols.basis R A I δ x b hb n) (Equiv.refl _)).symm |
| 73 | |
| 74 | /-- An isomorphism of actual PD form modules, with its coordinate symbol formula. -/ |
| 75 | def formsEquiv (n : ℕ) : Koszul.Tensor.KoszulTensor.Term R σ A n ≃ₗ[A] DeRham.PDDeRham.Form R A I δ n := |
| 76 | LinearEquiv.ofBijective (toForms R A σ I δ x n) (by |
| 77 | rw [toForms_eq_basisEquiv R A σ I δ x b hb n] |
| 78 | exact (basisEquiv R A σ I δ x b hb n).bijective) |
| 79 | |
| 80 | theorem formsEquiv_word (n : ℕ) (a : A) (v : Fin n → σ) : |
| 81 | formsEquiv R A σ I δ x b hb n |
| 82 | (a ⊗ₜ[R] exteriorPower.ιMulti R n (fun k => Finsupp.single (v k) 1)) = |
| 83 | DeRham.PDDeRham.symbol R A I δ a (x ∘ v) := toForms_word R A σ I δ x n a v |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor |