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.SingleFunctorCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover |
| 3 | |
| 4 | /-! # Presheaf Single Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafSingleCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original principal-to-cover comparison on a single coefficient |
| 11 | has the literal unshifted Čech comparison in its canonical total |
| 12 | coordinates. Both inverse refinement maps are retained. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTotal OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v |
| 18 | |
| 19 | private theorem isIso_of_square {C : Type*} [Category* C] |
| 20 | {A B A' B' : C} (a : A ⟶ B) (b : A' ⟶ B') (e : A ≅ A') (f : B ≅ B') |
| 21 | [IsIso a] (h : a ≫ f.hom = e.hom ≫ b) : IsIso b := by |
| 22 | have hb : b = e.inv ≫ a ≫ f.hom := by |
| 23 | rw [h, Iso.inv_hom_id_assoc] |
| 24 | rw [hb] |
| 25 | infer_instance |
| 26 | |
| 27 | private theorem inverse_square {C : Type*} [Category* C] |
| 28 | {A B A' B' : C} (a : A ⟶ B) (b : A' ⟶ B') (e : A ≅ A') (f : B ≅ B') |
| 29 | [IsIso a] [IsIso b] (h : a ≫ f.hom = e.hom ≫ b) : |
| 30 | inv a ≫ e.hom = f.hom ≫ inv b := by |
| 31 | apply (cancel_mono b).mp |
| 32 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 33 | rw [← h, IsIso.inv_hom_id_assoc] |
| 34 | |
| 35 | private theorem horizontal {C : Type*} [Category* C] |
| 36 | {A B E A' B' E' : C} {f : A ⟶ B} {g : B ⟶ E} |
| 37 | {a : A ⟶ A'} {b : B ⟶ B'} {e : E ⟶ E'} |
| 38 | {f' : A' ⟶ B'} {g' : B' ⟶ E'} |
| 39 | (hf : f ≫ b = a ≫ f') (hg : g ≫ e = b ≫ g') : |
| 40 | (f ≫ g) ≫ e = a ≫ f' ≫ g' := by |
| 41 | rw [Category.assoc, hg, ← Category.assoc f b, hf, Category.assoc] |
| 42 | |
| 43 | variable {X : TopCat.{u}} {D : Type v} [Category D] [Abelian D] |
| 44 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 45 | (P : (Opens X)ᵒᵖ ⥤ D) (c g : ℕ) |
| 46 | |
| 47 | section Refinement |
| 48 | variable (A : Opens X) {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 49 | (U : ι → Opens X) (V : κ → Opens X) |
| 50 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 51 | |
| 52 | theorem relative_isIso |
| 53 | [IsIso (RelativeCech.Refinement.homology A U V r |
| 54 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P) (g+c))] : |
| 55 | IsIso (homologyMap (AugmentedOrdered.CechRefinement.map U V r |
| 56 | ((RelativeCech.Intersections.intersect A).op ⋙ P)) g) := |
| 57 | isIso_of_square _ _ (Functor.SingleTotal.homologyIso (RelativeCech.Total.localFunctor A U) P c g) |
| 58 | (Functor.SingleTotal.homologyIso (RelativeCech.Total.localFunctor A V) P c g) |
| 59 | (Cech.SingleFunctorCoordinates.relative P c g A U V r) |
| 60 | |
| 61 | theorem ordered_isIso |
| 62 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap U V r |
| 63 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P)) (g+c))] : |
| 64 | IsIso (homologyMap (OrderedCech.Refinement.map U V r P) g) := |
| 65 | isIso_of_square _ _ (Functor.SingleTotal.homologyIso (OrderedCech.Functor.Projection.functor U) P c g) |
| 66 | (Functor.SingleTotal.homologyIso (OrderedCech.Functor.Projection.functor V) P c g) |
| 67 | (Cech.SingleFunctorCoordinates.ordered P c g U V r) |
| 68 | end Refinement |
| 69 | |
| 70 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 71 | (F : C ⥤ Opens X) |
| 72 | {ι κ ν μ ρ : Type u} |
| 73 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 74 | (W : ι → C) |
| 75 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 76 | (B : κ → Opens X) (J : ν → Opens X) |
| 77 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 78 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 79 | (V : μ → Opens X) (T : ρ → Opens X) |
| 80 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 81 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 82 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 83 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 84 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P) (g+c))] |
| 85 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 86 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P)) (g+c))] |
| 87 | |
| 88 | def coefficientComparison : |
| 89 | (AugmentedOrdered.Cech.complex W (F.op ⋙ P)).homology g ⟶ |
| 90 | (OrderedCech.Projection.complex V P).homology g := by |
| 91 | letI := relative_isIso P c g (F.obj (⊤_ C)) B J s |
| 92 | letI := ordered_isIso P c g V T t |
| 93 | exact homologyMap (AugmentedCech.AmbientCoordinates.iso F W P).hom g ≫ |
| 94 | homologyMap (AugmentedOrdered.CechRefinement.map (F.obj ∘ W) J r |
| 95 | ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op ⋙ P)) g ≫ |
| 96 | inv (homologyMap (AugmentedOrdered.CechRefinement.map B J s |
| 97 | ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op ⋙ P)) g) ≫ |
| 98 | homologyMap ((RelativeCech.Total.comparison (F.obj (⊤_ C)) B).app P) g ≫ |
| 99 | homologyMap (OrderedCech.Refinement.map (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B) T l P) g ≫ |
| 100 | inv (homologyMap (OrderedCech.Refinement.map V T t P) g) |
| 101 | |
| 102 | theorem comparison : |
| 103 | PresheafCover.Comparison.comparison F W B J r s V T l t |
| 104 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P) (g+c) ≫ |
| 105 | (Functor.SingleTotal.homologyIso (OrderedCech.Functor.Projection.functor V) P c g).hom = |
| 106 | (Functor.SingleTotal.homologyIso (Cech.SingleFunctorCoordinates.localFunctor F W) P c g).hom ≫ |
| 107 | coefficientComparison P c g F W B J r s V T l t := by |
| 108 | let := relative_isIso P c g (F.obj (⊤_ C)) B J s |
| 109 | let := ordered_isIso P c g V T t |
| 110 | have ha := Cech.SingleFunctorCoordinates.ambient P c g F W |
| 111 | have hr := Cech.SingleFunctorCoordinates.relative P c g (F.obj (⊤_ C)) (F.obj ∘ W) J r |
| 112 | have hs := Cech.SingleFunctorCoordinates.relative P c g (F.obj (⊤_ C)) B J s |
| 113 | have hsi := inverse_square _ _ |
| 114 | (Functor.SingleTotal.homologyIso (RelativeCech.Total.localFunctor (F.obj (⊤_ C)) B) P c g) |
| 115 | (Functor.SingleTotal.homologyIso (RelativeCech.Total.localFunctor (F.obj (⊤_ C)) J) P c g) hs |
| 116 | have hd := Cech.SingleFunctorCoordinates.extension P c g (F.obj (⊤_ C)) B |
| 117 | have hl := Cech.SingleFunctorCoordinates.ordered P c g (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B) T l |
| 118 | have ht := Cech.SingleFunctorCoordinates.ordered P c g V T t |
| 119 | have hti := inverse_square _ _ (Functor.SingleTotal.homologyIso (OrderedCech.Functor.Projection.functor V) P c g) |
| 120 | (Functor.SingleTotal.homologyIso (OrderedCech.Functor.Projection.functor T) P c g) ht |
| 121 | have h := horizontal (horizontal (horizontal (horizontal (horizontal ha hr) hsi) hd) hl) hti |
| 122 | simpa only [PresheafCover.Comparison.comparison, |
| 123 | Relative.PresheafCommonRefinement.comparison, |
| 124 | Presheaf.OrderedCover.Comparison.comparison, coefficientComparison, |
| 125 | homologyMapIso_hom, Category.assoc] using h |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafSingleCoordinates |