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.Cech.PresheafConeLevelCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.ComplexPrismCone |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.Regrouped |
| 4 | |
| 5 | /-! # Presheaf Global Augmentation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafGlobalAugmentation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Evaluating the actual presheaf-valued Čech total identifies its |
| 12 | global cone augmentation with the global map in the Čech prism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v r t |
| 17 | variable {C : Type u} [SemilatticeInf C] |
| 18 | (R : Type r) [CommRing R] {ι : Type} [Finite ι] (U : ι → C) |
| 19 | (Q : Cᵒᵖ ⥤ CochainComplex (ModuleCat.{t} R) ℕ) |
| 20 | (P : Cᵒᵖ ⥤ CochainComplex (Cᵒᵖ ⥤ ModuleCat.{t} R) ℕ) |
| 21 | (a : Q ⋙ (Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ) ⟶ P) |
| 22 | |
| 23 | local notation "A" => HomologicalComplex.complexOfFunctorsToFunctorToComplex |
| 24 | local notation "B" => Functor.flip (P ⋙ A) |
| 25 | local notation "T" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.total U P |
| 26 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.total U Q |
| 27 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U |
| 28 | local notation "γ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.ComplexPrismCone.cone Q P a |
| 29 | |
| 30 | abbrev evaluation (V : Cᵒᵖ) := (CategoryTheory.evaluation Cᵒᵖ (ModuleCat.{t} R)).obj V |
| 31 | |
| 32 | def coordinates : (A).obj T ≅ B ⋙ G := |
| 33 | NatIso.ofComponents (fun V => GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (PresheafGlobalAugmentation.evaluation R V) U P) |
| 34 | (fun f => GeometricComparison.CechCone.CoefficientTransformation.CechConeCoefficientTransformation.total (PresheafGlobalAugmentation.evaluation R _) (PresheafGlobalAugmentation.evaluation R _) |
| 35 | ((CategoryTheory.evaluation Cᵒᵖ (ModuleCat.{t} R)).map f) U P) |
| 36 | |
| 37 | def level := GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map (Functor.const Cᵒᵖ) U Q P a |
| 38 | |
| 39 | def cone : (Functor.const Cᵒᵖ).obj M ⟶ (A).obj T := |
| 40 | (A).map (level R U Q P a) |
| 41 | |
| 42 | theorem cone_coordinates : cone R U Q P a ≫ (coordinates R U P).hom = |
| 43 | DoubleCechGlobalAugmentation.cone |
| 44 | (B ⋙ NonemptyCechNerve.complexFunctor U) |
| 45 | ((NonemptyCechNerve.complexFunctor U).obj Q) |
| 46 | (CechPrism.GlobalAugmentation.cone U Q B γ) := by |
| 47 | apply NatTrans.ext |
| 48 | funext V |
| 49 | have h := PresheafConeLevelCoordinates.evaluated_level R U Q P a V |
| 50 | apply h.trans |
| 51 | change (G).map (PresheafDiagramCone.localMap R Q P a V) = |
| 52 | 𝟙 _ ≫ TripleTotal.RowCoordinates.rowFunctor.map |
| 53 | (𝟙 _ ≫ (NonemptyCechNerve.complexFunctor U).map ((γ).app V)) |
| 54 | rw [Category.id_comp, Category.id_comp] |
| 55 | rfl |
| 56 | |
| 57 | def map := GeometricComparison.CechCone.Total.CechConeTotal.augmentation U ((A).obj T) M (cone R U Q P a) |
| 58 | |
| 59 | theorem map_coordinates : PresheafGlobalAugmentation.map R U Q P a ≫ (G).map (coordinates R U P).hom = |
| 60 | CechPrism.Regrouped.Comparison.global R U Q B γ := by |
| 61 | exact (GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.augmentation U M (cone R U Q P a) |
| 62 | (coordinates R U P).hom).trans |
| 63 | (congrArg (fun c => GeometricComparison.CechCone.Total.CechConeTotal.augmentation U (B ⋙ G) M c) |
| 64 | (cone_coordinates R U Q P a)) |
| 65 | |
| 66 | private theorem quasiIso_postcompose {D : Type*} [Category D] [Abelian D] |
| 67 | {N K L : CochainComplex D ℕ} (b : N ⟶ K) (e : K ≅ L) (c : N ⟶ L) |
| 68 | (hc : b ≫ e.hom = c) (h : QuasiIso c) : QuasiIso b := by |
| 69 | apply (quasiIso_iff_comp_right b e.hom).mp |
| 70 | rw [hc] |
| 71 | exact h |
| 72 | |
| 73 | theorem quasiIso |
| 74 | (h : QuasiIso (CechPrism.Regrouped.Comparison.global R U Q B γ)) : |
| 75 | QuasiIso (PresheafGlobalAugmentation.map R U Q P a) := |
| 76 | quasiIso_postcompose (PresheafGlobalAugmentation.map R U Q P a) ((G).mapIso (coordinates R U P)) |
| 77 | (CechPrism.Regrouped.Comparison.global R U Q B γ) (map_coordinates R U Q P a) h |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafGlobalAugmentation |