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.RelativeCech.ReindexData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexCoordinates |
| 3 | |
| 4 | /-! # Reindex Extension -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal relative Cech extension, including its signs and the |
| 11 | zero components outside the distinguished chart, commutes with inverse image. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Indices |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionComponents |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v |
| 18 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 19 | attribute [local instance] ReindexData.preimage_limits |
| 20 | variable (U : Opens X) {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 21 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 22 | (P : (Opens Y)ᵒᵖ ⥤ A) |
| 23 | |
| 24 | def sourceFactorIso {n : ℕ} (a : AugmentedOrdered.Cech.Index ι n) : |
| 25 | (ReindexData.preimage f).obj (U ⊓ (AugmentedOrdered.Cech.formal V n).obj a) ≅ |
| 26 | (ReindexData.preimage f).obj U ⊓ (AugmentedOrdered.Cech.formal ((ReindexData.preimage f).obj ∘ V) n).obj a := |
| 27 | (Intersections.intersect ((ReindexData.preimage f).obj U)).mapIso (PreservesProduct.iso (ReindexData.preimage f) (V ∘ a.val)) |
| 28 | |
| 29 | def targetFactorIso {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n+1)) : |
| 30 | (ReindexData.preimage f).obj ((AugmentedOrdered.Cech.formal (Intersections.cover U V) (n+1)).obj a) ≅ |
| 31 | (AugmentedOrdered.Cech.formal (Intersections.cover ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V)) (n+1)).obj a := |
| 32 | OrderedCech.ReindexCoordinates.familyFactorIso (ReindexData.preimage f) (Intersections.cover U V) |
| 33 | (Intersections.cover ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V)) (ReindexData.cover_eq f U V) a |
| 34 | |
| 35 | omit [HasCoproducts A] in |
| 36 | theorem source_projection {n : ℕ} (a : AugmentedOrdered.Cech.Index ι n) : |
| 37 | (ReindexData.sourceIso f U V P).hom.f n ≫ |
| 38 | ExtensionComponents.sourceProjection ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P a = |
| 39 | ExtensionComponents.sourceProjection U V ((ReindexData.preimage f).op ⋙ P) a ≫ P.map (sourceFactorIso f U V a).inv.op := by |
| 40 | change (AugmentedOrdered.CechReindex.componentIso (ReindexData.preimage f) V |
| 41 | (Intersections.presheaf ((ReindexData.preimage f).obj U) P) n).hom ≫ _ = _ |
| 42 | exact AugmentedOrdered.CechReindex.component_hom_π (ReindexData.preimage f) V |
| 43 | (Intersections.presheaf ((ReindexData.preimage f).obj U) P) n a |
| 44 | |
| 45 | omit [HasCoproducts A] in |
| 46 | theorem target_projection {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n+1)) : |
| 47 | (ReindexData.targetIso f U V P).hom.f n ≫ |
| 48 | ExtensionComponents.targetProjection ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P a = |
| 49 | ExtensionComponents.targetProjection U V ((ReindexData.preimage f).op ⋙ P) a ≫ P.map (targetFactorIso f U V a).inv.op := by |
| 50 | have h := OrderedCech.ReindexCoordinates.family_hom_f (ReindexData.preimage f) (Intersections.cover U V) |
| 51 | (Intersections.cover ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V)) (ReindexData.cover_eq f U V) P n |
| 52 | change (ReindexData.targetIso f U V P).hom.f n = _ at h |
| 53 | rw [h] |
| 54 | exact Pi.mapIso_hom_π _ _ |
| 55 | |
| 56 | omit [HasCoproducts A] in |
| 57 | theorem target_naturality {Q : (Opens Y)ᵒᵖ ⥤ A} (a : P ⟶ Q) : |
| 58 | OrderedCech.Functor.Projection.complexMap (Intersections.cover U V) (Functor.whiskerLeft (ReindexData.preimage f).op a) ≫ |
| 59 | (ReindexData.targetIso f U V Q).hom = |
| 60 | (ReindexData.targetIso f U V P).hom ≫ OrderedCech.Functor.Projection.complexMap |
| 61 | (Intersections.cover ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V)) a := |
| 62 | OrderedCech.ReindexCoordinates.family_naturality (ReindexData.preimage f) (Intersections.cover U V) |
| 63 | (Intersections.cover ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V)) (ReindexData.cover_eq f U V) P a |
| 64 | |
| 65 | omit [HasCoproducts A] in |
| 66 | theorem extension : |
| 67 | ExtensionDifferential.map U V ((ReindexData.preimage f).op ⋙ P) ≫ (ReindexData.targetIso f U V P).hom = |
| 68 | (ReindexData.sourceIso f U V P).hom ≫ ExtensionDifferential.map |
| 69 | ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P := by |
| 70 | classical |
| 71 | apply HomologicalComplex.Hom.ext |
| 72 | funext n |
| 73 | apply Pi.hom_ext |
| 74 | intro (a : AugmentedOrdered.Cech.Index (WithBot ι) (n+1)) |
| 75 | change (ExtensionComponents.component U V ((ReindexData.preimage f).op ⋙ P) n ≫ (ReindexData.targetIso f U V P).hom.f n) ≫ |
| 76 | ExtensionComponents.targetProjection ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P a = |
| 77 | ((ReindexData.sourceIso f U V P).hom.f n ≫ ExtensionComponents.component ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P n) ≫ |
| 78 | ExtensionComponents.targetProjection ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P a |
| 79 | rw [Category.assoc, target_projection, ← Category.assoc, |
| 80 | Category.assoc ((ReindexData.sourceIso f U V P).hom.f n)] |
| 81 | by_cases h : a.val 0 = ⊥ |
| 82 | · rw [ExtensionComponents.component_bot U V ((ReindexData.preimage f).op ⋙ P) a h, |
| 83 | ExtensionComponents.component_bot ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P a h, |
| 84 | zsmul_comp, comp_zsmul, ← Category.assoc, source_projection] |
| 85 | simp only [Category.assoc] |
| 86 | apply congrArg (fun b => (-1 : ℤ)^n • (ExtensionComponents.sourceProjection U V ((ReindexData.preimage f).op ⋙ P) (Indices.tail a h) ≫ b)) |
| 87 | change P.map _ ≫ P.map _ = P.map _ ≫ P.map _ |
| 88 | exact (P.map_comp _ _).symm.trans |
| 89 | ((congrArg P.map (Subsingleton.elim _ _)).trans (P.map_comp _ _)) |
| 90 | · rw [ExtensionComponents.component_ne_bot U V ((ReindexData.preimage f).op ⋙ P) a h, |
| 91 | ExtensionComponents.component_ne_bot ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) P a h, zero_comp, comp_zero] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexExtension |