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.ModuleCocycles |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BilinearQuotient |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.OneCupBoundary |
| 4 | |
| 5 | /-! # Module Cup -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ModuleCup |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coefficient-linear Alexander–Whitney product on the original |
| 12 | module cohomology of a cosimplicial commutative algebra. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped Simplicial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 18 | ModuleComplex |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] (A : CosimplicialObject (CommAlgCat.{v} R)) |
| 23 | |
| 24 | def cohomologyCup (p q : ℕ) : |
| 25 | (ModuleComplex.complex A).homology p →ₗ[R] (ModuleComplex.complex A).homology q →ₗ[R] (ModuleComplex.complex A).homology (p + q) := |
| 26 | ((BilinearQuotient.lift₂ (Module.CochainClasses.boundaries (ModuleComplex.complex A) p) (Module.CochainClasses.boundaries (ModuleComplex.complex A) q) |
| 27 | (ModuleCocycles.Cup.cycleCupClass A p q) |
| 28 | (fun x hx y => ModuleCocycles.Cup.cycleCupClass_boundary_left A p q x y hx) |
| 29 | (fun x y hy => ModuleCocycles.Cup.cycleCupClass_boundary_right A p q x y hy)).comp |
| 30 | (Module.CochainClasses.quotientIso (ModuleComplex.complex A) p).hom.hom).compl₂ (Module.CochainClasses.quotientIso (ModuleComplex.complex A) q).hom.hom |
| 31 | |
| 32 | theorem quotient_classMap (n : ℕ) (x : Module.CochainClasses.cycles (ModuleComplex.complex A) n) : |
| 33 | (Module.CochainClasses.quotientIso (ModuleComplex.complex A) n).hom (Module.CochainClasses.classMap (ModuleComplex.complex A) n x) = |
| 34 | (Module.CochainClasses.boundaries (ModuleComplex.complex A) n).mkQ x := |
| 35 | ConcreteCategory.congr_hom (Module.CochainClasses.quotientIso (ModuleComplex.complex A) n).inv_hom_id |
| 36 | ((Module.CochainClasses.boundaries (ModuleComplex.complex A) n).mkQ x) |
| 37 | |
| 38 | theorem cup_class (p q : ℕ) (x : Module.CochainClasses.cycles (ModuleComplex.complex A) p) (y : Module.CochainClasses.cycles (ModuleComplex.complex A) q) : |
| 39 | cohomologyCup A p q (Module.CochainClasses.classMap (ModuleComplex.complex A) p x) (Module.CochainClasses.classMap (ModuleComplex.complex A) q y) = |
| 40 | Module.CochainClasses.classMap (ModuleComplex.complex A) (p + q) (ModuleCocycles.Cup.cycleCup A p q x y) := by |
| 41 | change BilinearQuotient.lift₂ (Module.CochainClasses.boundaries (ModuleComplex.complex A) p) (Module.CochainClasses.boundaries (ModuleComplex.complex A) q) |
| 42 | (ModuleCocycles.Cup.cycleCupClass A p q) |
| 43 | (fun x hx y => ModuleCocycles.Cup.cycleCupClass_boundary_left A p q x y hx) |
| 44 | (fun x y hy => ModuleCocycles.Cup.cycleCupClass_boundary_right A p q x y hy) |
| 45 | ((Module.CochainClasses.quotientIso (ModuleComplex.complex A) p).hom (Module.CochainClasses.classMap (ModuleComplex.complex A) p x)) |
| 46 | ((Module.CochainClasses.quotientIso (ModuleComplex.complex A) q).hom (Module.CochainClasses.classMap (ModuleComplex.complex A) q y)) = _ |
| 47 | rw [quotient_classMap, quotient_classMap, BilinearQuotient.lift₂_mkQ] |
| 48 | rfl |
| 49 | |
| 50 | variable {A} {B : CosimplicialObject (CommAlgCat.{v} R)} |
| 51 | |
| 52 | def complexMap (f : A ⟶ B) : ModuleComplex.complex A ⟶ ModuleComplex.complex B := |
| 53 | (AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat R)).map |
| 54 | (Functor.whiskerRight f |
| 55 | (forget₂ (CommAlgCat R) (AlgCat R) ⋙ forget₂ (AlgCat R) (ModuleCat R))) |
| 56 | |
| 57 | theorem complexMap_f_apply (f : A ⟶ B) (n : ℕ) (x : A.obj ⦋n⦌) : |
| 58 | (complexMap f).f n x = f.app ⦋n⦌ x := rfl |
| 59 | |
| 60 | theorem cycleMap_cup (f : A ⟶ B) (p q : ℕ) |
| 61 | (x : Module.CochainClasses.cycles (ModuleComplex.complex A) p) (y : Module.CochainClasses.cycles (ModuleComplex.complex A) q) : |
| 62 | Module.CochainClassNaturality.cycleMap (complexMap f) (p + q) (ModuleCocycles.Cup.cycleCup A p q x y) = |
| 63 | ModuleCocycles.Cup.cycleCup B p q (Module.CochainClassNaturality.cycleMap (complexMap f) p x) (Module.CochainClassNaturality.cycleMap (complexMap f) q y) := by |
| 64 | apply Subtype.ext |
| 65 | exact Cup.cup_natural (ModuleComplex.ringObject A) |
| 66 | (Functor.whiskerRight f (forget₂ (CommAlgCat R) CommRingCat)) x.1 y.1 |
| 67 | |
| 68 | theorem cohomologyCup_natural (f : A ⟶ B) (p q : ℕ) |
| 69 | (x : (ModuleComplex.complex A).homology p) (y : (ModuleComplex.complex A).homology q) : |
| 70 | HomologicalComplex.homologyMap (complexMap f) (p + q) (cohomologyCup A p q x y) = |
| 71 | cohomologyCup B p q (HomologicalComplex.homologyMap (complexMap f) p x) |
| 72 | (HomologicalComplex.homologyMap (complexMap f) q y) := by |
| 73 | obtain ⟨cx, rfl⟩ := Module.CochainClasses.classMap_surjective (ModuleComplex.complex A) p x |
| 74 | obtain ⟨cy, rfl⟩ := Module.CochainClasses.classMap_surjective (ModuleComplex.complex A) q y |
| 75 | simp only [cup_class, ← Module.CochainClassNaturality.naturality_apply, cycleMap_cup] |
| 76 | |
| 77 | variable (A) |
| 78 | |
| 79 | theorem cup_self_eq_zero [Invertible (2 : A.obj ⦋1⦌)] [Invertible (2 : A.obj ⦋2⦌)] |
| 80 | (x : (ModuleComplex.complex A).homology 1) : cohomologyCup A 1 1 x x = 0 := by |
| 81 | obtain ⟨cx, rfl⟩ := Module.CochainClasses.classMap_surjective (ModuleComplex.complex A) 1 x |
| 82 | rw [cup_class] |
| 83 | apply (Module.CochainClasses.classMap_succ_eq_zero_iff (ModuleComplex.complex A) 1 (ModuleCocycles.Cup.cycleCup A 1 1 cx cx)).mpr |
| 84 | let : Invertible (2 : (ModuleComplex.ringObject A).obj ⦋1⦌) := ‹Invertible (2 : A.obj ⦋1⦌)› |
| 85 | let : Invertible (2 : (ModuleComplex.ringObject A).obj ⦋2⦌) := ‹Invertible (2 : A.obj ⦋2⦌)› |
| 86 | obtain ⟨z, hz⟩ := OneCupBoundary.cup_self_isBoundary |
| 87 | (ModuleComplex.ringObject A) cx.1 (ModuleComplex.cycle_differential A cx) |
| 88 | exact ⟨z, (ModuleComplex.complex_d_apply A 1 z).trans hz⟩ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.ModuleCup |