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.Principal.CechPushforward |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexSingle |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleCoordinates |
| 4 | |
| 5 | /-! # Cech Pushforward Single -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CechPushforwardSingle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full original pushforward comparison has the literal |
| 12 | unshifted coefficient comparison in its original single coordinates. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem paste {C : Type*} [Category C] {L A B D E F : C} |
| 18 | (a : L ⟶ A) (b : L ⟶ B) (u : A ⟶ B) (lo : L ≅ D) |
| 19 | (ag : A ⟶ E) (bg : B ⟶ F) (r : E ⟶ F) (cc : D ⟶ E) (dd : D ⟶ F) |
| 20 | (hp : a ≫ u = b) (ha : a ≫ ag = lo.hom ≫ cc) |
| 21 | (hb : b ≫ bg = lo.hom ≫ dd) (hu : u ≫ bg = ag ≫ r) : |
| 22 | cc ≫ r = dd := by |
| 23 | apply (cancel_epi lo.hom).mp |
| 24 | rw [← Category.assoc, ← ha, Category.assoc, ← hu, ← Category.assoc, hp, hb] |
| 25 | |
| 26 | universe u v |
| 27 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 28 | {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 29 | {ι κ ν μ ρ : Type u} |
| 30 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 31 | (W : ι → C) |
| 32 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 33 | (B : κ → Opens X) (J : ν → Opens X) |
| 34 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 35 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 36 | (V : μ → Opens X) (T : ρ → Opens X) |
| 37 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 38 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 39 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 40 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 41 | (P : (Opens Y)ᵒᵖ ⥤ D) (c g : ℕ) |
| 42 | attribute [local instance] RelativeCech.ReindexData.preimage_limits |
| 43 | CechPushforwardCoordinates.pulled_products |
| 44 | |
| 45 | abbrev singleComplex := (single ((Opens Y)ᵒᵖ ⥤ D) (.up ℕ) c).obj P |
| 46 | abbrev restriction := OrderedCech.ReindexTotal.restriction (RelativeCech.ReindexData.preimage f) (A := D) |
| 47 | |
| 48 | variable |
| 49 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 50 | (RelativeCech.ReindexTotal.pushed f (singleComplex P c)) (g+c))] |
| 51 | [IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage f).obj (F.obj (⊤_ C))) |
| 52 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) (RelativeCech.Reindex.mapped f B J s) (singleComplex P c) (g+c))] |
| 53 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 54 | (RelativeCech.ReindexTotal.pushed f (singleComplex P c))) (g+c))] |
| 55 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap ((RelativeCech.ReindexData.preimage f).obj ∘ V) |
| 56 | ((RelativeCech.ReindexData.preimage f).obj ∘ T) (RelativeCech.ReindexGlobal.rightRefinement f V T t) (singleComplex P c)) (g+c))] |
| 57 | |
| 58 | local instance pulled_relative : |
| 59 | IsIso (RelativeCech.Refinement.homology |
| 60 | ((CechPushforwardCoordinates.pulled f F).obj (⊤_ C)) |
| 61 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) (RelativeCech.Reindex.mapped f B J s) (singleComplex P c) (g+c)) := |
| 62 | (inferInstance : IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage f).obj (F.obj (⊤_ C))) |
| 63 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) (RelativeCech.Reindex.mapped f B J s) (singleComplex P c) (g+c))) |
| 64 | |
| 65 | theorem comparison : |
| 66 | MappedSingleCoordinates.coefficientComparison (restriction f) P c g |
| 67 | F W B J r s V T l t ≫ homologyMap (OrderedCech.Reindex.iso (RelativeCech.ReindexData.preimage f) V P).hom g = |
| 68 | PresheafSingleCoordinates.coefficientComparison P c g |
| 69 | (CechPushforwardCoordinates.pulled f F) W |
| 70 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) |
| 71 | (RelativeCech.Reindex.mapped f (F.obj ∘ W) J r) (RelativeCech.Reindex.mapped f B J s) |
| 72 | ((RelativeCech.ReindexData.preimage f).obj ∘ V) ((RelativeCech.ReindexData.preimage f).obj ∘ T) |
| 73 | (RelativeCech.ReindexGlobal.leftRefinement f (F.obj (⊤_ C)) B T l) (RelativeCech.ReindexGlobal.rightRefinement f V T t) := by |
| 74 | have hp := CechPushforward.comparison f F W B J r s V T l t (singleComplex P c) (g+c) |
| 75 | have ha := MappedSingleCoordinates.comparison (restriction f) P c g F W B J r s V T l t |
| 76 | have hb := PresheafSingleCoordinates.comparison P c g |
| 77 | (CechPushforwardCoordinates.pulled f F) W |
| 78 | ((RelativeCech.ReindexData.preimage f).obj ∘ B) ((RelativeCech.ReindexData.preimage f).obj ∘ J) |
| 79 | (RelativeCech.Reindex.mapped f (F.obj ∘ W) J r) (RelativeCech.Reindex.mapped f B J s) |
| 80 | ((RelativeCech.ReindexData.preimage f).obj ∘ V) ((RelativeCech.ReindexData.preimage f).obj ∘ T) |
| 81 | (RelativeCech.ReindexGlobal.leftRefinement f (F.obj (⊤_ C)) B T l) (RelativeCech.ReindexGlobal.rightRefinement f V T t) |
| 82 | have hu := OrderedCech.ReindexSingle.comparison (RelativeCech.ReindexData.preimage f) V P c g |
| 83 | exact paste _ _ _ |
| 84 | (Functor.SingleTotal.homologyIso |
| 85 | (Cech.SingleFunctorCoordinates.localFunctor (CechPushforwardCoordinates.pulled f F) W) |
| 86 | P c g) _ _ _ _ _ hp ha hb hu |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CechPushforwardSingle |