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.AugmentedOrdered.CechTopClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTop |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopCycleBaseChange |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientChange |
| 5 | |
| 6 | /-! # Top Class Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopClassMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The full-intersection class as an actual morphism, natural in |
| 13 | coefficients and principal reindexing. This gives the same concrete |
| 14 | module class and applies unchanged after forgetting scalars. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechTopClass OAI.NumberTheory.PadicHodge.IntegralComparison.TopHomologyCokernel |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | private theorem short_natural {A : Type*} [Category A] [Abelian A] |
| 21 | {S T : ShortComplex A} (f : S ⟶ T) (hS : S.g = 0) (hT : T.g = 0) : |
| 22 | TopHomologyCokernel.shortClass S hS ≫ ShortComplex.homologyMap f = f.τ₂ ≫ TopHomologyCokernel.shortClass T hT := by |
| 23 | apply (cancel_mono (TopHomologyCokernel.shortIso T hT).hom).mp |
| 24 | rw [Category.assoc, TopHomologyCokernel.short_naturality f hS hT, ← Category.assoc, |
| 25 | TopHomologyCokernel.shortClass_iso S hS, Category.assoc, TopHomologyCokernel.shortClass_iso T hT, cokernel.π_desc] |
| 26 | |
| 27 | universe u v w |
| 28 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 29 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 30 | {A : Type v} [Category.{w} A] [Abelian A] [HasProducts.{u} A] |
| 31 | (P : Cᵒᵖ ⥤ A) (m : ℕ) (hm : Fintype.card ι = m) |
| 32 | |
| 33 | include hm in |
| 34 | theorem outgoing : ((AugmentedOrdered.Cech.complex U P).sc m).g = 0 := by |
| 35 | change (AugmentedOrdered.Cech.complex U P).d m ((ComplexShape.up ℕ).next m) = 0 |
| 36 | rw [CochainComplex.next] |
| 37 | dsimp only [AugmentedOrdered.Cech.complex] |
| 38 | rw [CochainComplex.of_d, AugmentedOrdered.CechCoordinates.differential_top U P m hm] |
| 39 | |
| 40 | def map : P.obj (op (AugmentedOrdered.CechCoordinates.topObject U m hm)) ⟶ (AugmentedOrdered.Cech.complex U P).homology m := |
| 41 | AugmentedOrdered.CechCoordinates.topInclusion U P m hm ≫ TopHomologyCokernel.shortClass ((AugmentedOrdered.Cech.complex U P).sc m) (outgoing U P m hm) |
| 42 | |
| 43 | theorem naturality {Q : Cᵒᵖ ⥤ A} (f : P ⟶ Q) : |
| 44 | TopClassMap.map U P m hm ≫ homologyMap (AugmentedOrdered.CechFunctor.complexMap U f) m = |
| 45 | f.app (op (AugmentedOrdered.CechCoordinates.topObject U m hm)) ≫ TopClassMap.map U Q m hm := by |
| 46 | have h := short_natural ((shortComplexFunctor A (.up ℕ) m).map (AugmentedOrdered.CechFunctor.complexMap U f)) |
| 47 | (outgoing U P m hm) (outgoing U Q m hm) |
| 48 | change TopHomologyCokernel.shortClass ((AugmentedOrdered.Cech.complex U P).sc m) (outgoing U P m hm) ≫ homologyMap (AugmentedOrdered.CechFunctor.complexMap U f) m = |
| 49 | (AugmentedOrdered.CechFunctor.complexMap U f).f m ≫ TopHomologyCokernel.shortClass ((AugmentedOrdered.Cech.complex U Q).sc m) (outgoing U Q m hm) at h |
| 50 | rw [TopClassMap.map, TopClassMap.map, Category.assoc, h, ← Category.assoc] |
| 51 | change (AugmentedOrdered.CechCoordinates.topInclusion U P m hm ≫ AugmentedOrdered.CechFunctor.objectMap U f m) ≫ _ = _ |
| 52 | rw [AugmentedOrdered.CechCoordinates.topInclusion_naturality, Category.assoc] |
| 53 | |
| 54 | variable {D : Type u} [Preorder D] [HasFiniteProducts D] |
| 55 | (r : C ⥤ D) [PreservesFiniteProducts r] (Q : Dᵒᵖ ⥤ A) |
| 56 | |
| 57 | theorem reindex : |
| 58 | TopClassMap.map U (r.op ⋙ Q) m hm ≫ homologyMap (AugmentedOrdered.CechReindex.iso r U Q).hom m = |
| 59 | AugmentedOrdered.CechReindexTop.coefficient r U m hm Q ≫ TopClassMap.map (r.obj ∘ U) Q m hm := by |
| 60 | have h := short_natural ((shortComplexFunctor A (.up ℕ) m).map |
| 61 | (AugmentedOrdered.CechReindex.iso r U Q).hom) |
| 62 | (outgoing U (r.op ⋙ Q) m hm) (outgoing (r.obj ∘ U) Q m hm) |
| 63 | change TopHomologyCokernel.shortClass ((AugmentedOrdered.Cech.complex U (r.op ⋙ Q)).sc m) (outgoing U (r.op ⋙ Q) m hm) ≫ |
| 64 | homologyMap (AugmentedOrdered.CechReindex.iso r U Q).hom m = |
| 65 | (AugmentedOrdered.CechReindex.iso r U Q).hom.f m ≫ |
| 66 | TopHomologyCokernel.shortClass ((AugmentedOrdered.Cech.complex (r.obj ∘ U) Q).sc m) (outgoing (r.obj ∘ U) Q m hm) at h |
| 67 | rw [TopClassMap.map, TopClassMap.map, Category.assoc, h, ← Category.assoc] |
| 68 | simpa only [Category.assoc, AugmentedOrdered.CechReindex.hom_f] using |
| 69 | congrArg (fun a => a ≫ TopHomologyCokernel.shortClass ((AugmentedOrdered.Cech.complex (r.obj ∘ U) Q).sc m) |
| 70 | (outgoing (r.obj ∘ U) Q m hm)) |
| 71 | (AugmentedOrdered.CechReindexTop.inclusion r U m hm Q) |
| 72 | |
| 73 | variable {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 74 | (N : Cᵒᵖ ⥤ ModuleCat.{w} R) |
| 75 | |
| 76 | theorem module_apply (z : N.obj (op (AugmentedOrdered.CechCoordinates.topObject U m hm))) : |
| 77 | TopClassMap.map U N m hm z = AugmentedOrdered.CechTopClass.topClass U N m hm z := by |
| 78 | let K := AugmentedOrdered.Cech.complex U N |
| 79 | let x := AugmentedOrdered.CechTopClass.topCycle U N m hm z |
| 80 | have hc : ((K.sc m).cyclesIsoX₂ (outgoing U N m hm)).inv (AugmentedOrdered.CechCoordinates.topInclusion U N m hm z) = |
| 81 | (IntegralComparison.Module.CochainClassNaturality.cyclesIso K m).hom x := by |
| 82 | apply (ModuleCat.mono_iff_injective (K.iCycles m)).mp inferInstance |
| 83 | have h₁ := ConcreteCategory.congr_hom |
| 84 | ((K.sc m).cyclesIsoX₂_inv_hom_id (outgoing U N m hm)) (AugmentedOrdered.CechCoordinates.topInclusion U N m hm z) |
| 85 | have h₂ := ConcreteCategory.congr_hom |
| 86 | (IntegralComparison.Module.CochainClassNaturality.cyclesIso_hom_i K m) x |
| 87 | exact h₁.trans h₂.symm |
| 88 | have hclass := ConcreteCategory.congr_hom |
| 89 | (IntegralComparison.Module.CochainClassNaturality.classMap_eq K m) x |
| 90 | change K.homologyπ m (((K.sc m).cyclesIsoX₂ (outgoing U N m hm)).inv |
| 91 | (AugmentedOrdered.CechCoordinates.topInclusion U N m hm z)) = _ |
| 92 | exact (congrArg (K.homologyπ m) hc).trans hclass.symm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopClassMap |