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.FunctorialCokernel |
| 2 | |
| 3 | /-! # Relative Quotient Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.RelativeQuotientMap.Resolution |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A natural comparison preserving the original units descends to the actual cokernels, without exactness of the intervening functor. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 14 | (T : C ⥤ C) (η : 𝟭 C ⟶ T) (S : D ⥤ D) (θ : 𝟭 D ⟶ S) |
| 15 | (F : D ⥤ C) [F.Additive] (α : F ⋙ T ⟶ S ⋙ F) |
| 16 | (hα : ∀ B, η.app (F.obj B) ≫ α.app B = F.map (θ.app B)) |
| 17 | |
| 18 | include hα |
| 19 | |
| 20 | theorem relativeQuotientMap_zero {A : C} {B : D} (u : A ⟶ F.obj B) : |
| 21 | η.app A ≫ (T.map u ≫ α.app B ≫ F.map (cokernel.π (θ.app B))) = 0 := by |
| 22 | rw [← Category.assoc, ← Category.assoc, ← η.naturality u, Category.assoc, |
| 23 | Category.assoc, ← Category.assoc (η.app (F.obj B)), hα B, |
| 24 | ← F.map_comp, cokernel.condition, F.map_zero, comp_zero] |
| 25 | |
| 26 | def relativeQuotientMap {A : C} {B : D} (u : A ⟶ F.obj B) : |
| 27 | (FunctorialCokernel.Resolution.quotientFunctor T η).obj A ⟶ F.obj ((FunctorialCokernel.Resolution.quotientFunctor S θ).obj B) := |
| 28 | cokernel.desc (η.app A) (T.map u ≫ α.app B ≫ F.map (cokernel.π (θ.app B))) |
| 29 | (relativeQuotientMap_zero T η S θ F α hα u) |
| 30 | |
| 31 | theorem relativeQuotientMap_π {A : C} {B : D} (u : A ⟶ F.obj B) : |
| 32 | cokernel.π (η.app A) ≫ relativeQuotientMap T η S θ F α hα u = |
| 33 | T.map u ≫ α.app B ≫ F.map (cokernel.π (θ.app B)) := |
| 34 | cokernel.π_desc _ _ _ |
| 35 | |
| 36 | theorem relativeQuotientMap_naturality {A A' : C} {B B' : D} |
| 37 | (u : A ⟶ F.obj B) (u' : A' ⟶ F.obj B') (a : A ⟶ A') (b : B ⟶ B') |
| 38 | (hu : a ≫ u' = u ≫ F.map b) : |
| 39 | (FunctorialCokernel.Resolution.quotientFunctor T η).map a ≫ relativeQuotientMap T η S θ F α hα u' = |
| 40 | relativeQuotientMap T η S θ F α hα u ≫ F.map ((FunctorialCokernel.Resolution.quotientFunctor S θ).map b) := by |
| 41 | apply (cancel_epi (cokernel.π (η.app A))).mp |
| 42 | change cokernel.π (η.app A) ≫ ((FunctorialCokernel.Resolution.quotientFunctor T η).map a ≫ _) = |
| 43 | cokernel.π (η.app A) ≫ (_ ≫ F.map ((FunctorialCokernel.Resolution.quotientFunctor S θ).map b)) |
| 44 | erw [← Category.assoc, ← (FunctorialCokernel.Resolution.quotientProjection T η).naturality a, Category.assoc, |
| 45 | relativeQuotientMap_π, |
| 46 | ← Category.assoc (cokernel.π (η.app A)) (relativeQuotientMap T η S θ F α hα u), |
| 47 | relativeQuotientMap_π] |
| 48 | erw [← Category.assoc (T.map a), ← T.map_comp, hu, T.map_comp, Category.assoc, |
| 49 | ← Category.assoc (T.map (F.map b)), α.naturality b, Category.assoc] |
| 50 | have hb : F.map (S.map b) ≫ F.map (cokernel.π (θ.app B')) = |
| 51 | F.map (cokernel.π (θ.app B)) ≫ F.map ((FunctorialCokernel.Resolution.quotientFunctor S θ).map b) := |
| 52 | (F.map_comp _ _).symm.trans |
| 53 | ((congrArg F.map ((FunctorialCokernel.Resolution.quotientProjection S θ).naturality b)).trans (F.map_comp _ _)) |
| 54 | calc |
| 55 | _ = T.map u ≫ α.app B ≫ |
| 56 | (F.map (cokernel.π (θ.app B)) ≫ F.map ((FunctorialCokernel.Resolution.quotientFunctor S θ).map b)) := |
| 57 | congrArg (fun v => T.map u ≫ α.app B ≫ v) hb |
| 58 | _ = _ := (congrArg (T.map u ≫ ·) (Category.assoc _ _ _).symm).trans |
| 59 | (Category.assoc _ _ _).symm |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Comparison.Betti.RelativeQuotientMap.Resolution |