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.Intrinsic.ExtensionAdapter |
| 2 | |
| 3 | /-! # Extension Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ExtensionComposition.FormsAdapter |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Extension by zero preserves composition of pullbacks across canonically compared functors. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 16 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 17 | [HasZeroObject C] [HasZeroObject D] [HasZeroObject E] |
| 18 | (F : C ⥤ D) (G : D ⥤ E) (H : C ⥤ E) [F.Additive] [G.Additive] [H.Additive] |
| 19 | (e : F ⋙ G ≅ H) |
| 20 | {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} {M : CochainComplex E ℕ} |
| 21 | (a : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ L) |
| 22 | (b : (G.mapHomologicalComplex (ComplexShape.up ℕ)).obj L ⟶ M) |
| 23 | (c : (H.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ M) |
| 24 | |
| 25 | theorem extendedMapX_comp |
| 26 | (h : ∀ n, G.map (a.f n) ≫ b.f n = e.hom.app (K.X n) ≫ c.f n) (o : Option ℕ) : |
| 27 | G.map ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso F K o).hom ≫ HomologicalComplex.extend.mapX a o) ≫ |
| 28 | ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso G L o).hom ≫ HomologicalComplex.extend.mapX b o) = |
| 29 | e.hom.app (HomologicalComplex.extend.X K o) ≫ |
| 30 | ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso H K o).hom ≫ HomologicalComplex.extend.mapX c o) := by |
| 31 | cases o with |
| 32 | | none => exact (isZero_zero E).eq_of_tgt _ _ |
| 33 | | some n => |
| 34 | change G.map (𝟙 _ ≫ a.f n) ≫ (𝟙 _ ≫ b.f n) = e.hom.app _ ≫ (𝟙 _ ≫ c.f n) |
| 35 | exact (congrArg (fun u => G.map u ≫ (𝟙 _ ≫ b.f n)) (Category.id_comp (a.f n))).trans |
| 36 | ((congrArg (fun u => G.map (a.f n) ≫ u) (Category.id_comp (b.f n))).trans |
| 37 | ((h n).trans (congrArg (fun u => e.hom.app (K.X n) ≫ u) (Category.id_comp (c.f n)).symm))) |
| 38 | |
| 39 | theorem extendedPullback_comp (ι : (ComplexShape.up ℕ).Embedding (ComplexShape.up ℤ)) |
| 40 | (h : (G.mapHomologicalComplex (ComplexShape.up ℕ)).map a ≫ b = |
| 41 | (NatTrans.mapHomologicalComplex e.hom (ComplexShape.up ℕ)).app K ≫ c) : |
| 42 | (G.mapHomologicalComplex (ComplexShape.up ℤ)).map (Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback F ι a) ≫ |
| 43 | Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback G ι b = |
| 44 | (NatTrans.mapHomologicalComplex e.hom (ComplexShape.up ℤ)).app (K.extend ι) ≫ |
| 45 | Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback H ι c := by |
| 46 | apply HomologicalComplex.Hom.ext |
| 47 | funext i |
| 48 | exact extendedMapX_comp F G H e a b c (fun n => congrArg (fun m => m.f n) h) (ι.r i) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | /-! Extension by zero preserves squares of the specified coefficient and pullback maps. -/ |
| 53 | |
| 54 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 55 | |
| 56 | theorem padded_square {B C D : Type*} [Category* B] [Category* C] [Category* D] |
| 57 | (G : B ⥤ D) (J : C ⥤ D) {b b' : B} {c c' : C} {d : D} |
| 58 | (e : G.obj b ⟶ J.obj c) (a : b ⟶ b') (v : G.obj b' ⟶ d) |
| 59 | (h : c ⟶ c') (j : J.obj c' ⟶ d) |
| 60 | (hs : G.map a ≫ v = e ≫ J.map h ≫ j) : |
| 61 | G.map (𝟙 b ≫ a) ≫ (𝟙 (G.obj b') ≫ v) = |
| 62 | e ≫ J.map (𝟙 c ≫ h) ≫ (𝟙 (J.obj c') ≫ j) := by |
| 63 | simpa only [Category.id_comp] using hs |
| 64 | |
| 65 | variable {A B C D : Type*} [Category* A] [Category* B] [Category* C] [Category* D] |
| 66 | [Preadditive A] [Preadditive B] [Preadditive C] [Preadditive D] |
| 67 | [HasZeroObject A] [HasZeroObject B] [HasZeroObject C] [HasZeroObject D] |
| 68 | (F : A ⥤ B) (G : B ⥤ D) (H : A ⥤ C) (J : C ⥤ D) |
| 69 | [F.Additive] [G.Additive] [H.Additive] [J.Additive] (e : F ⋙ G ≅ H ⋙ J) |
| 70 | {K : CochainComplex A ℕ} {L : CochainComplex B ℕ} |
| 71 | {N : CochainComplex C ℕ} {M : CochainComplex D ℕ} |
| 72 | (a : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ L) |
| 73 | (b : (G.mapHomologicalComplex (ComplexShape.up ℕ)).obj L ⟶ M) |
| 74 | (c : (H.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ N) |
| 75 | (d : (J.mapHomologicalComplex (ComplexShape.up ℕ)).obj N ⟶ M) |
| 76 | |
| 77 | theorem extendedMapX_square |
| 78 | (h : ∀ n, G.map (a.f n) ≫ b.f n = e.hom.app (K.X n) ≫ J.map (c.f n) ≫ d.f n) |
| 79 | (o : Option ℕ) : |
| 80 | G.map ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso F K o).hom ≫ HomologicalComplex.extend.mapX a o) ≫ |
| 81 | ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso G L o).hom ≫ HomologicalComplex.extend.mapX b o) = |
| 82 | e.hom.app (HomologicalComplex.extend.X K o) ≫ |
| 83 | J.map ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso H K o).hom ≫ HomologicalComplex.extend.mapX c o) ≫ |
| 84 | ((AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso J N o).hom ≫ HomologicalComplex.extend.mapX d o) := by |
| 85 | cases o with |
| 86 | | none => exact (isZero_zero D).eq_of_tgt _ _ |
| 87 | | some n => |
| 88 | exact padded_square G J (e.hom.app (K.X n)) (a.f n) (b.f n) (c.f n) (d.f n) (h n) |
| 89 | |
| 90 | theorem extendedFourFunctor_square (ι : (ComplexShape.up ℕ).Embedding (ComplexShape.up ℤ)) |
| 91 | (h : (G.mapHomologicalComplex (ComplexShape.up ℕ)).map a ≫ b = |
| 92 | (NatTrans.mapHomologicalComplex e.hom (ComplexShape.up ℕ)).app K ≫ |
| 93 | (J.mapHomologicalComplex (ComplexShape.up ℕ)).map c ≫ d) : |
| 94 | (G.mapHomologicalComplex (ComplexShape.up ℤ)).map (Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback F ι a) ≫ |
| 95 | Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback G ι b = |
| 96 | (NatTrans.mapHomologicalComplex e.hom (ComplexShape.up ℤ)).app (K.extend ι) ≫ |
| 97 | (J.mapHomologicalComplex (ComplexShape.up ℤ)).map (Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback H ι c) ≫ |
| 98 | Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback J ι d := by |
| 99 | apply HomologicalComplex.Hom.ext |
| 100 | funext i |
| 101 | exact extendedMapX_square F G H J e a b c d (fun n => congrArg (fun m => m.f n) h) (ι.r i) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ExtensionComposition.FormsAdapter |