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.Mapped.CochainClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.CupNaturality |
| 3 | |
| 4 | /-! # Cochain Cup -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.CochainCup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An exact coefficient change preserving actual cochain products |
| 11 | preserves the products on the original categorical cohomology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.CupNaturality.Cohomology |
| 15 | |
| 16 | universe u v u' v' |
| 17 | variable {R : Type u} [CommRing R] {T : Type u'} [CommRing T] |
| 18 | (F : ModuleCat.{v} R ⥤ ModuleCat.{v'} T) |
| 19 | [F.Additive] [F.PreservesHomology] [PreservesFiniteLimits F] |
| 20 | (η : ∀ M : ModuleCat.{v} R, M →+ F.obj M) |
| 21 | (hη : ∀ {M N : ModuleCat.{v} R} (f : M ⟶ N) (x : M), |
| 22 | F.map f (η M x) = η N (f x)) |
| 23 | (K : CochainComplex (ModuleCat.{v} R) ℕ) |
| 24 | |
| 25 | local notation "L" => Functor.obj (Functor.mapHomologicalComplex F (ComplexShape.up ℕ)) K |
| 26 | |
| 27 | def cycleMap (n : ℕ) : Module.CochainClasses.cycles K n →+ Module.CochainClasses.cycles L n where |
| 28 | toFun x := ⟨η (K.X n) x.val, (hη (K.d n (n+1)) x.val).trans |
| 29 | ((congrArg (η (K.X (n+1))) x.property).trans (map_zero _))⟩ |
| 30 | map_zero' := Subtype.ext (map_zero _) |
| 31 | map_add' x y := Subtype.ext (map_add _ x.val y.val) |
| 32 | |
| 33 | def map (n : ℕ) : K.homology n →+ (L).homology n := |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso F K n).inv.hom.toAddMonoidHom.comp (η (K.homology n)) |
| 35 | |
| 36 | omit [PreservesFiniteLimits F] in |
| 37 | theorem map_class (n : ℕ) (x : Module.CochainClasses.cycles K n) : |
| 38 | CochainCup.map F η K n (Module.CochainClasses.classMap K n x) = Module.CochainClasses.classMap L n (cycleMap F η hη K n x) := by |
| 39 | apply (ModuleCat.mono_iff_injective (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso F K n).hom).mp inferInstance |
| 40 | have h := CochainClass.homology F η hη K n x (cycleMap F η hη K n x) rfl |
| 41 | exact (ConcreteCategory.congr_hom (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso F K n).inv_hom_id |
| 42 | (η (K.homology n) (Module.CochainClasses.classMap K n x))).trans h.symm |
| 43 | |
| 44 | variable |
| 45 | (μ : ∀ i j, K.X i →ₗ[R] K.X j →ₗ[R] K.X (i+j)) |
| 46 | (ν : ∀ i j, ((F.mapHomologicalComplex (.up ℕ)).obj K).X i →ₗ[T] ((F.mapHomologicalComplex (.up ℕ)).obj K).X j →ₗ[T] ((F.mapHomologicalComplex (.up ℕ)).obj K).X (i+j)) |
| 47 | (hμ : ∀ i j (x : K.X i) (y : K.X j), |
| 48 | K.d (i+j) (i+j+1) (μ i j x y) = |
| 49 | Cochain.CohomologyCup.cupInto K μ (i+1) j (i+j+1) (by omega) (K.d i (i+1) x) y + |
| 50 | (-1 : ℤ)^i • Cochain.CohomologyCup.cupInto K μ i (j+1) (i+j+1) (by omega) x (K.d j (j+1) y)) |
| 51 | (hν : ∀ i j (x : ((F.mapHomologicalComplex (.up ℕ)).obj K).X i) (y : ((F.mapHomologicalComplex (.up ℕ)).obj K).X j), |
| 52 | ((F.mapHomologicalComplex (.up ℕ)).obj K).d (i+j) (i+j+1) (ν i j x y) = |
| 53 | Cochain.CohomologyCup.cupInto ((F.mapHomologicalComplex (.up ℕ)).obj K) ν (i+1) j (i+j+1) (by omega) (((F.mapHomologicalComplex (.up ℕ)).obj K).d i (i+1) x) y + |
| 54 | (-1 : ℤ)^i • Cochain.CohomologyCup.cupInto ((F.mapHomologicalComplex (.up ℕ)).obj K) ν i (j+1) (i+j+1) (by omega) x (((F.mapHomologicalComplex (.up ℕ)).obj K).d j (j+1) y)) |
| 55 | (hprod : ∀ i j (x : K.X i) (y : K.X j), |
| 56 | η (K.X (i+j)) (μ i j x y) = ν i j (η (K.X i) x) (η (K.X j) y)) |
| 57 | |
| 58 | include hprod in |
| 59 | omit [F.PreservesHomology] [PreservesFiniteLimits F] in |
| 60 | theorem cycle_cup (i j : ℕ) (x : Module.CochainClasses.cycles K i) (y : Module.CochainClasses.cycles K j) : |
| 61 | cycleMap F η hη K (i+j) (Cochain.CohomologyCup.cycleCup K μ hμ i j x y) = |
| 62 | Cochain.CohomologyCup.cycleCup L ν hν i j (cycleMap F η hη K i x) (cycleMap F η hη K j y) := |
| 63 | Subtype.ext (hprod i j x.val y.val) |
| 64 | |
| 65 | include hη hprod in |
| 66 | omit [PreservesFiniteLimits F] in |
| 67 | theorem map_cup (i j : ℕ) (x : K.homology i) (y : K.homology j) : |
| 68 | CochainCup.map F η K (i+j) (Cochain.CohomologyCup.cohomologyCup K μ hμ i j x y) = |
| 69 | Cochain.CohomologyCup.cohomologyCup L ν hν i j (CochainCup.map F η K i x) (CochainCup.map F η K j y) := by |
| 70 | obtain ⟨x, rfl⟩ := Module.CochainClasses.classMap_surjective K i x |
| 71 | obtain ⟨y, rfl⟩ := Module.CochainClasses.classMap_surjective K j y |
| 72 | rw [Cochain.CohomologyCup.cup_class, map_class F η hη, cycle_cup F η hη K μ ν hμ hν hprod, |
| 73 | map_class F η hη, map_class F η hη, Cochain.CohomologyCup.cup_class] |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.CochainCup |