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.GeometricComparison.CechPresheaf.RefinedReindex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TotalHomotopySquare |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Refined Homotopy -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The refinement part of a geometric homotopy square commutes |
| 12 | with the original presheaf Cech total H-one maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v s t a b |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | {C : Type s} [Category.{t} C] [HasBinaryProducts C] |
| 19 | {D : Type a} [Category.{b} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 20 | (F : C ⥤ D) {ι κ : Type} (U : ι → C) (V : κ → D) |
| 21 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 22 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 23 | |
| 24 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 25 | ModuleCat.hasLimitsOfSize.{0, 0, max u v, u} |
| 26 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 27 | ModuleCat.hasColimitsOfSize.{max u v, u, 0, 0} R |
| 28 | |
| 29 | def pullback : (Dᵒᵖ ⥤ ModuleCat.{max u v} R) ⥤ (Cᵒᵖ ⥤ ModuleCat.{max u v} R) := |
| 30 | NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback F |
| 31 | |
| 32 | instance pullback_additive : (pullback R F).Additive := by |
| 33 | dsimp only [pullback] |
| 34 | infer_instance |
| 35 | |
| 36 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.pullback R F |
| 37 | local notation "EU" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 38 | local notation "EV" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve V |
| 39 | |
| 40 | def total (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) : CochainComplex (ModuleCat.{max u v} R) ℕ := |
| 41 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex R EU).obj K).total (.up ℕ) |
| 42 | |
| 43 | def map {K L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ} (f : K ⟶ L) : |
| 44 | CechPresheafRefinedHomotopy.total R U K ⟶ CechPresheafRefinedHomotopy.total R U L := Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map R EU f |
| 45 | |
| 46 | def refinement (K : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) : CechPresheafRefinedHomotopy.total R V K ⟶ |
| 47 | CechPresheafRefinedHomotopy.total R U (((H).mapHomologicalComplex (.up ℕ)).obj K) := |
| 48 | RefinedReindex.CechPresheafRefinedReindex.map F U V r K |
| 49 | |
| 50 | def hOne (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) : ModuleCat.{max u v} R := |
| 51 | (CechPresheafRefinedHomotopy.total R U K).homology 1 |
| 52 | |
| 53 | def mapHOne {K L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ} (f : K ⟶ L) : |
| 54 | hOne R U K ⟶ hOne R U L := HomologicalComplex.homologyMap (CechPresheafRefinedHomotopy.map R U f) 1 |
| 55 | |
| 56 | def refinementHOne (K : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) : hOne R V K ⟶ |
| 57 | hOne R U (((H).mapHomologicalComplex (.up ℕ)).obj K) := |
| 58 | HomologicalComplex.homologyMap (refinement R F U V r K) 1 |
| 59 | |
| 60 | variable {K L : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ} |
| 61 | (f : K ⟶ L) |
| 62 | |
| 63 | omit [Quiver.IsThin D] in |
| 64 | theorem source_coordinates : HomologicalComplex₂.total.map |
| 65 | ((RefinedReindex.CechPresheafRefinedReindex.source V).map f) (.up ℕ) = CechPresheafRefinedHomotopy.map R V f := rfl |
| 66 | |
| 67 | omit [Quiver.IsThin D] [HasBinaryProducts D] |
| 68 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] in |
| 69 | theorem target_coordinates : HomologicalComplex₂.total.map |
| 70 | ((RefinedReindex.CechPresheafRefinedReindex.target F U).map f) (.up ℕ) = |
| 71 | CechPresheafRefinedHomotopy.map R U (((H).mapHomologicalComplex (.up ℕ)).map f) := rfl |
| 72 | |
| 73 | theorem refinement_naturality : CechPresheafRefinedHomotopy.map R V f ≫ refinement R F U V r L = |
| 74 | refinement R F U V r K ≫ CechPresheafRefinedHomotopy.map R U (((H).mapHomologicalComplex (.up ℕ)).map f) := |
| 75 | (congrArg (fun q => q ≫ RefinedReindex.CechPresheafRefinedReindex.map F U V r L) |
| 76 | (source_coordinates R V f).symm).trans |
| 77 | ((RefinedReindex.CechPresheafRefinedReindex.naturality F U V r f).trans |
| 78 | (congrArg (fun q => RefinedReindex.CechPresheafRefinedReindex.map F U V r K ≫ q) |
| 79 | (target_coordinates R F U f))) |
| 80 | |
| 81 | theorem refinement_homology : mapHOne R V f ≫ refinementHOne R F U V r L = |
| 82 | refinementHOne R F U V r K ≫ mapHOne R U (((H).mapHomologicalComplex (.up ℕ)).map f) := |
| 83 | (HomologicalComplex.homologyMap_comp _ _ 1).symm.trans |
| 84 | ((congrArg (fun q => HomologicalComplex.homologyMap q 1) |
| 85 | (refinement_naturality R F U V r f)).trans (HomologicalComplex.homologyMap_comp _ _ 1)) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy |