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.AugmentationExtension |
| 2 | |
| 3 | /-! # Nonnegative Extension Normalization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.NonnegativeExtensionNormalization.Complex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two existing embeddings of nonnegative cochains into integer |
| 10 | cochains agree canonically, including the actual injective augmentation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | open _root_.Complex |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 19 | {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 20 | {e e' : c.Embedding c'} |
| 21 | |
| 22 | def extensionIsoOfEq (h : e = e') (K : HomologicalComplex C c) : K.extend e ≅ K.extend e' := |
| 23 | eqToIso (congrArg (fun k => K.extend k) h) |
| 24 | |
| 25 | theorem extensionIsoOfEq_hom_f (h : e = e') (K : HomologicalComplex C c) |
| 26 | {i : ι} {j : ι'} (hi : e.f i = j) (hi' : e'.f i = j) : |
| 27 | (extensionIsoOfEq h K).hom.f j ≫ (K.extendXIso e' hi').hom = (K.extendXIso e hi).hom := by |
| 28 | subst e' |
| 29 | simp [extensionIsoOfEq] |
| 30 | |
| 31 | theorem embeddingUpIntGE_zero_eq : ComplexShape.embeddingUpIntGE 0 = ComplexShape.embeddingUpNat := by |
| 32 | have h : (ComplexShape.embeddingUpIntGE 0).f = ComplexShape.embeddingUpNat.f := by |
| 33 | funext n |
| 34 | simp |
| 35 | have heq (a b : (ComplexShape.up ℕ).Embedding (ComplexShape.up ℤ)) |
| 36 | (hab : a.f = b.f) : a = b := by |
| 37 | cases a |
| 38 | cases b |
| 39 | cases hab |
| 40 | rfl |
| 41 | exact heq _ _ h |
| 42 | |
| 43 | def nonnegativeExtensionIso (K : CochainComplex C ℕ) : |
| 44 | K.extend (ComplexShape.embeddingUpIntGE 0) ≅ K.extend ComplexShape.embeddingUpNat := |
| 45 | extensionIsoOfEq embeddingUpIntGE_zero_eq K |
| 46 | |
| 47 | theorem nonnegativeExtensionIso_cocycle (K : CochainComplex C ℕ) (n : ℕ) : |
| 48 | (K.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := n) (i' := (n : ℤ)) (by simp)).inv ≫ |
| 49 | (nonnegativeExtensionIso K).hom.f (n : ℤ) = |
| 50 | (K.extendXIso ComplexShape.embeddingUpNat (i := n) (i' := (n : ℤ)) rfl).inv := by |
| 51 | apply (cancel_mono (K.extendXIso ComplexShape.embeddingUpNat (i := n) (i' := (n : ℤ)) rfl).hom).mp |
| 52 | erw [Category.assoc, extensionIsoOfEq_hom_f embeddingUpIntGE_zero_eq K (by simp) rfl, |
| 53 | Iso.inv_hom_id, Iso.inv_hom_id] |
| 54 | |
| 55 | theorem nonnegativeExtensionIso_injective_augmentation {Z : C} (I : InjectiveResolution Z) : |
| 56 | AugmentationExtension.Complex.extendAugmentation I.ι ≫ (nonnegativeExtensionIso I.cocomplex).hom = I.ι' := by |
| 57 | apply HomologicalComplex.from_single_hom_ext |
| 58 | change (AugmentationExtension.Complex.extendAugmentation I.ι).f 0 ≫ (nonnegativeExtensionIso I.cocomplex).hom.f 0 = I.ι'.f 0 |
| 59 | erw [AugmentationExtension.Complex.extendAugmentation_f_zero, I.ι'_f_zero] |
| 60 | change (_ ≫ AugmentationExtension.Complex.augmentationZero I.ι ≫ _) ≫ _ = _ |
| 61 | erw [Category.assoc, Category.assoc, nonnegativeExtensionIso_cocycle I.cocomplex 0] |
| 62 | simp only [AugmentationExtension.Complex.augmentationZero, CochainComplex.single₀ObjXSelf, Iso.refl_inv] |
| 63 | erw [Category.id_comp (I.ι.f 0)] |
| 64 | rfl |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Comparison.Betti.NonnegativeExtensionNormalization.Complex |