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.Cosimplicial.CohomologyRing |
| 2 | import Mathlib.LinearAlgebra.ExteriorPower.Basic |
| 3 | |
| 4 | /-! # Exterior Cup -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ExteriorCup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The natural exterior-algebra map generated by degree-one classes. |
| 11 | Its homogeneous components land in the original cohomology modules and |
| 12 | evaluate on exterior words as iterated cup products. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped DirectSum Simplicial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ModuleComplex OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.CohomologyRing |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] (A : CosimplicialObject (CommAlgCat.{v} R)) |
| 22 | |
| 23 | def iteratedCup : (n : ℕ) → (Fin n → CohomologyRing.cohomology A 1) → CohomologyRing.cohomology A n := fun n => |
| 24 | match n with |
| 25 | | 0 => fun _ => ModuleCupAlgebra.cohomologyOne A |
| 26 | | n + 1 => fun x => ModuleCup.cohomologyCup A n 1 |
| 27 | (iteratedCup n (fun i => x i.castSucc)) (x (Fin.last n)) |
| 28 | |
| 29 | theorem inclusion_iteratedCup (n : ℕ) (x : Fin n → CohomologyRing.cohomology A 1) : |
| 30 | CohomologyRing.inclusion A n (ExteriorCup.iteratedCup A n x) = |
| 31 | (List.ofFn fun i => CohomologyRing.inclusion A 1 (x i)).prod := by |
| 32 | induction n with |
| 33 | | zero => simp only [ExteriorCup.iteratedCup, CohomologyRing.inclusion_one, List.ofFn_zero, List.prod_nil] |
| 34 | | succ n ih => |
| 35 | rw [ExteriorCup.iteratedCup, CohomologyRing.inclusion_cup, List.ofFn_succ', List.prod_concat, ih] |
| 36 | |
| 37 | variable [Invertible (2 : A.obj ⦋1⦌)] [Invertible (2 : A.obj ⦋2⦌)] |
| 38 | |
| 39 | def exteriorMap : ExteriorAlgebra R (CohomologyRing.cohomology A 1) →ₐ[R] CohomologyRing.total A := |
| 40 | ExteriorAlgebra.lift R ⟨CohomologyRing.inclusion A 1, CohomologyRing.inclusion_square_zero A⟩ |
| 41 | |
| 42 | theorem exteriorMap_ι (x : CohomologyRing.cohomology A 1) : |
| 43 | exteriorMap A (ExteriorAlgebra.ι R x) = CohomologyRing.inclusion A 1 x := |
| 44 | ExteriorAlgebra.lift_ι_apply R _ _ x |
| 45 | |
| 46 | theorem exteriorMap_multi (n : ℕ) (x : Fin n → CohomologyRing.cohomology A 1) : |
| 47 | exteriorMap A (ExteriorAlgebra.ιMulti R n x) = CohomologyRing.inclusion A n (ExteriorCup.iteratedCup A n x) := by |
| 48 | rw [ExteriorAlgebra.ιMulti_apply, map_list_prod, List.map_ofFn, inclusion_iteratedCup] |
| 49 | congr 2 |
| 50 | funext i |
| 51 | exact exteriorMap_ι A (x i) |
| 52 | |
| 53 | def exteriorPowerCup (n : ℕ) : (⋀[R]^n (CohomologyRing.cohomology A 1)) →ₗ[R] CohomologyRing.cohomology A n := |
| 54 | (CohomologyRing.component A n).comp ((exteriorMap A).toLinearMap.comp |
| 55 | (Submodule.subtype (⋀[R]^n (CohomologyRing.cohomology A 1)))) |
| 56 | |
| 57 | theorem exteriorPowerCup_multi (n : ℕ) (x : Fin n → CohomologyRing.cohomology A 1) : |
| 58 | exteriorPowerCup A n (exteriorPower.ιMulti R n x) = ExteriorCup.iteratedCup A n x := by |
| 59 | change CohomologyRing.component A n (exteriorMap A (ExteriorAlgebra.ιMulti R n x)) = _ |
| 60 | rw [exteriorMap_multi] |
| 61 | exact DirectSum.component.lof_self R n _ |
| 62 | |
| 63 | theorem inclusion_comp_exteriorPowerCup (n : ℕ) : |
| 64 | (CohomologyRing.inclusion A n).comp (exteriorPowerCup A n) = |
| 65 | (exteriorMap A).toLinearMap.comp (Submodule.subtype (⋀[R]^n (CohomologyRing.cohomology A 1))) := by |
| 66 | apply LinearMap.ext_on (exteriorPower.ιMulti_span R n (CohomologyRing.cohomology A 1)) |
| 67 | rintro w ⟨x, rfl⟩ |
| 68 | exact (congrArg (CohomologyRing.inclusion A n) (exteriorPowerCup_multi A n x)).trans |
| 69 | (exteriorMap_multi A n x).symm |
| 70 | |
| 71 | theorem exteriorPowerCup_homogeneous (n : ℕ) (x : ⋀[R]^n (CohomologyRing.cohomology A 1)) : |
| 72 | CohomologyRing.inclusion A n (exteriorPowerCup A n x) = exteriorMap A x := |
| 73 | DFunLike.congr_fun (inclusion_comp_exteriorPowerCup A n) x |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ExteriorCup |