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.AlgebraicGeometry.Comparison.Betti.Complex.Extension |
| 2 | |
| 3 | /-! # Extension Coherence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ExtensionCoherence.Complex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coherence of the canonical extension isomorphisms for additive functors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | open _root_.Complex |
| 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) [F.Additive] [G.Additive] |
| 19 | {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 20 | |
| 21 | theorem mapXIso_inv_naturality {K L : HomologicalComplex C c} (φ : K ⟶ L) (o : Option ι) : |
| 22 | (Complex.Extension.mapXIso F K o).inv ≫ F.map (HomologicalComplex.extend.mapX φ o) = |
| 23 | HomologicalComplex.extend.mapX ((F.mapHomologicalComplex c).map φ) o ≫ |
| 24 | (Complex.Extension.mapXIso F L o).inv := by |
| 25 | cases o with |
| 26 | | none => exact (isZero_zero D).eq_of_src _ _ |
| 27 | | some i => |
| 28 | change 𝟙 _ ≫ F.map (φ.f i) = F.map (φ.f i) ≫ 𝟙 _ |
| 29 | simp only [Category.id_comp, Category.comp_id] |
| 30 | |
| 31 | theorem mapExtendIso_inv_naturality (e : c.Embedding c') |
| 32 | {K L : HomologicalComplex C c} (φ : K ⟶ L) : |
| 33 | (Complex.Extension.mapExtendIso F e K).inv ≫ |
| 34 | (F.mapHomologicalComplex c').map (HomologicalComplex.extendMap φ e) = |
| 35 | HomologicalComplex.extendMap ((F.mapHomologicalComplex c).map φ) e ≫ |
| 36 | (Complex.Extension.mapExtendIso F e L).inv := by |
| 37 | apply HomologicalComplex.Hom.ext |
| 38 | funext i |
| 39 | exact mapXIso_inv_naturality F φ (e.r i) |
| 40 | |
| 41 | theorem mapXIso_comp_inv (K : HomologicalComplex C c) (o : Option ι) : |
| 42 | (Complex.Extension.mapXIso G ((F.mapHomologicalComplex c).obj K) o).inv ≫ G.map (Complex.Extension.mapXIso F K o).inv = |
| 43 | (Complex.Extension.mapXIso (F ⋙ G) K o).inv := by |
| 44 | cases o with |
| 45 | | none => exact (isZero_zero E).eq_of_src _ _ |
| 46 | | some i => |
| 47 | change 𝟙 _ ≫ G.map (𝟙 (F.obj (K.X i))) = 𝟙 _ |
| 48 | rw [G.map_id, Category.id_comp] |
| 49 | |
| 50 | theorem mapExtendIso_comp_inv (e : c.Embedding c') (K : HomologicalComplex C c) : |
| 51 | (Complex.Extension.mapExtendIso G e ((F.mapHomologicalComplex c).obj K)).inv ≫ |
| 52 | (G.mapHomologicalComplex c').map (Complex.Extension.mapExtendIso F e K).inv = |
| 53 | (Complex.Extension.mapExtendIso (F ⋙ G) e K).inv := by |
| 54 | apply HomologicalComplex.Hom.ext |
| 55 | funext i |
| 56 | exact mapXIso_comp_inv F G K (e.r i) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Comparison.Betti.ExtensionCoherence.Complex |