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.PD.FormsTensor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorCoordinate |
| 3 | |
| 4 | /-! # De Rham Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor.PDDeRhamTensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The coordinate differential agrees with the actual PD differential |
| 12 | |
| 13 | Expanding the universal PD derivation in coordinate one-forms expands |
| 14 | the first slot of every differential symbol. This identifies the tensor |
| 15 | coordinate complex with the actual PD de Rham complex. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor |
| 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) [Fintype σ] |
| 27 | (D : σ → Module.End R A) |
| 28 | (hD : ∀ a, OneForms.PDOneForms.D R A I δ a = ∑ i, D i a • OneForms.PDOneForms.D R A I δ (x i)) |
| 29 | |
| 30 | include hD in |
| 31 | theorem symbol_cons_expansion (n : ℕ) (a : A) (v : Fin n → A) : |
| 32 | DeRham.PDDeRham.symbol R A I δ 1 (Fin.cons a v) = |
| 33 | ∑ i, D i a • DeRham.PDDeRham.symbol R A I δ 1 (Fin.cons (x i) v) := by |
| 34 | let L := OneForms.PDOneForms.lift R A I δ (DeRham.PDDeRham.Form R A I δ (n + 1)) |
| 35 | (FormSlots.PDFormSlots.derivation R A I δ (Fin.cons a v) 0) |
| 36 | (fun m _ ha => FormSlots.PDFormSlots.derivation_dpow R A I δ (Fin.cons a v) 0 m ha) |
| 37 | have he := congrArg L (hD a) |
| 38 | simpa only [L, map_sum, map_smul, OneForms.PDOneForms.lift_D, |
| 39 | FormSlots.PDFormSlots.derivation_apply, Fin.update_cons_zero] using he |
| 40 | |
| 41 | theorem differential_symbol (n : ℕ) (a : A) (v : Fin n → A) : |
| 42 | DeRham.PDDeRham.differential R A I δ n (DeRham.PDDeRham.symbol R A I δ a v) = |
| 43 | DeRham.PDDeRham.symbol R A I δ 1 (Fin.cons a v) := |
| 44 | DeRham.PDDeRham.projectedDifferential_symbol R A I δ a v |
| 45 | |
| 46 | omit [Fintype σ] in |
| 47 | theorem toForms_wedge_word (n : ℕ) (a : A) (i : σ) (v : Fin n → σ) : |
| 48 | FormsTensor.PDFormsTensor.toForms R A σ I δ x (n + 1) |
| 49 | (a ⊗ₜ[R] Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n |
| 50 | (exteriorPower.ιMulti R n (fun k => Finsupp.single (v k) 1))) = |
| 51 | DeRham.PDDeRham.symbol R A I δ a (Fin.cons (x i) (x ∘ v)) := by |
| 52 | rw [Koszul.Tensor.KoszulTensor.exteriorWedge, ExteriorContractionCoe.ExteriorContraction.wedge_ιMulti] |
| 53 | have hv : Fin.cons (Finsupp.single i (1 : R)) (fun k => Finsupp.single (v k) 1) = |
| 54 | (fun k : Fin (n + 1) => Finsupp.single ((Fin.cons i v : Fin (n + 1) → σ) k) (1 : R)) := by |
| 55 | funext k |
| 56 | exact Fin.cases rfl (fun _ => rfl) k |
| 57 | rw [hv, FormsTensor.PDFormsTensor.toForms_word] |
| 58 | congr 1 |
| 59 | funext k |
| 60 | exact Fin.cases rfl (fun _ => rfl) k |
| 61 | |
| 62 | include hD in |
| 63 | theorem differential_compatibility (n : ℕ) : |
| 64 | ((FormsTensor.PDFormsTensor.toForms R A σ I δ x (n + 1)).restrictScalars R).comp (Koszul.Tensor.KoszulTensor.differential R σ A D n) = |
| 65 | (DeRham.PDDeRham.differential R A I δ n).comp ((FormsTensor.PDFormsTensor.toForms R A σ I δ x n).restrictScalars R) := by |
| 66 | apply TensorProduct.ext |
| 67 | apply LinearMap.ext |
| 68 | intro a |
| 69 | apply LinearMap.ext_on (ExteriorCoordinate.ExteriorCoordinateProjection.word_span R σ n) |
| 70 | rintro _ ⟨v, rfl⟩ |
| 71 | change FormsTensor.PDFormsTensor.toForms R A σ I δ x (n + 1) |
| 72 | (Koszul.Tensor.KoszulTensor.differential R σ A D n (a ⊗ₜ[R] exteriorPower.ιMulti R n |
| 73 | (fun k => Finsupp.single (v k) 1))) = |
| 74 | DeRham.PDDeRham.differential R A I δ n |
| 75 | (FormsTensor.PDFormsTensor.toForms R A σ I δ x n (a ⊗ₜ[R] exteriorPower.ιMulti R n |
| 76 | (fun k => Finsupp.single (v k) 1))) |
| 77 | rw [Koszul.Tensor.KoszulTensor.differential_tmul, map_sum, FormsTensor.PDFormsTensor.toForms_word, differential_symbol, |
| 78 | symbol_cons_expansion R A σ I δ x D hD] |
| 79 | apply Finset.sum_congr rfl |
| 80 | intro i _ |
| 81 | rw [toForms_wedge_word, DeRham.PDDeRham.symbol_smul_one] |
| 82 | |
| 83 | variable [LinearOrder σ] (b : Module.Basis σ A (DeRham.PDDeRham.Form R A I δ 1)) |
| 84 | (hb : ∀ i, b i = OneForms.PDOneForms.D R A I δ (x i)) |
| 85 | (hcomm : ∀ i j, Function.Commute (D i) (D j)) |
| 86 | |
| 87 | local notation "T" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.complex R σ A D hcomm |
| 88 | local notation "P" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ |
| 89 | |
| 90 | def complexIso : T ≅ P := |
| 91 | HomologicalComplex.Hom.isoOfComponents |
| 92 | (fun n => (FormsTensor.PDFormsTensor.formsEquiv R A σ I δ x b hb n).restrictScalars R |>.toModuleIso) |
| 93 | (by |
| 94 | intro n m hnm |
| 95 | have hm : n + 1 = m := hnm |
| 96 | subst m |
| 97 | dsimp only [Koszul.Tensor.KoszulTensor.complex, DeRham.PDDeRham.complex] |
| 98 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 99 | apply ModuleCat.hom_ext |
| 100 | exact (differential_compatibility R A σ I δ x D hD n).symm) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor.PDDeRhamTensor |