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.OrderedCech.Naturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.Refinement |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.FamilyRefinement |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMap |
| 5 | |
| 6 | /-! # Refinement -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Refinement |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Refinement on ordered Čech complexes is the original full refinement |
| 13 | between signed-sorting inclusion and ordered projection. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | |
| 17 | universe u v |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 20 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 21 | (U : ι → C) (V : κ → C) |
| 22 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 23 | |
| 24 | def transformation : Functor.Projection.functor U (D := D) ⟶ |
| 25 | Functor.Projection.functor V (D := D) := |
| 26 | Naturality.inclusionTransformation U ≫ |
| 27 | GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.transformation U V r ≫ |
| 28 | Naturality.projectionTransformation V |
| 29 | |
| 30 | def map (P : Cᵒᵖ ⥤ D) : Projection.complex U P ⟶ |
| 31 | Projection.complex V P := (transformation U V r).app P |
| 32 | |
| 33 | omit [HasCoproducts D] in |
| 34 | theorem map_eq (P : Cᵒᵖ ⥤ D) : Refinement.map U V r P = |
| 35 | Retraction.inclusion U P ≫ |
| 36 | GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r P ≫ |
| 37 | Projection.map V P := rfl |
| 38 | |
| 39 | omit [LinearOrder ι] [LinearOrder κ] in |
| 40 | omit [HasCoproducts D] in |
| 41 | theorem full_refinement (P : Cᵒᵖ ⥤ D) : |
| 42 | GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r P = |
| 43 | GeometricComparison.Cech.FamilyRefinement.CechFamilyRefinement.map (FormalCoproduct.mk ι U) (FormalCoproduct.mk κ V) r P := rfl |
| 44 | |
| 45 | omit [HasCoproducts D] in |
| 46 | theorem projection_quasiIso (P : Cᵒᵖ ⥤ D) : QuasiIso (Projection.map U P) := by |
| 47 | rw [_root_.quasiIso_iff] |
| 48 | intro n |
| 49 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 50 | exact inferInstanceAs (IsIso ((Homotopy.equiv U P).toHomologyIso n).hom) |
| 51 | |
| 52 | omit [HasCoproducts D] in |
| 53 | theorem inclusion_quasiIso (P : Cᵒᵖ ⥤ D) : QuasiIso (Retraction.inclusion U P) := by |
| 54 | rw [_root_.quasiIso_iff] |
| 55 | intro n |
| 56 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 57 | exact inferInstanceAs (IsIso ((Homotopy.equiv U P).toHomologyIso n).inv) |
| 58 | |
| 59 | omit [HasCoproducts D] in |
| 60 | theorem quasiIso (P : Cᵒᵖ ⥤ D) |
| 61 | [QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r P)] : QuasiIso (Refinement.map U V r P) := by |
| 62 | let : QuasiIso (Projection.map V P) := projection_quasiIso V P |
| 63 | let : QuasiIso (Retraction.inclusion U P) := inclusion_quasiIso U P |
| 64 | rw [map_eq] |
| 65 | infer_instance |
| 66 | |
| 67 | def bicomplexMap (K : CochainComplex (Cᵒᵖ ⥤ D) ℕ) : |
| 68 | ((Functor.Projection.functor U).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 69 | ((Functor.Projection.functor V).mapHomologicalComplex (.up ℕ)).obj K := |
| 70 | (NatTrans.mapHomologicalComplex (transformation U V r) (.up ℕ)).app K |
| 71 | |
| 72 | def totalMap (K : CochainComplex (Cᵒᵖ ⥤ D) ℕ) := |
| 73 | HomologicalComplex₂.total.map (bicomplexMap U V r K) (.up ℕ) |
| 74 | |
| 75 | theorem total_quasiIso {R : Type v} [Ring R] |
| 76 | (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) |
| 77 | (hK : ∀ q, QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r (K.X q))) : |
| 78 | QuasiIso (totalMap U V r K) := by |
| 79 | apply AlgebraicTopology.DeRham.Comparison.DoubleComplexMap.DoubleComplex.total_map_quasiIso_of_columns |
| 80 | intro q |
| 81 | let : QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r (K.X q)) := hK q |
| 82 | exact quasiIso U V r (K.X q) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Refinement |