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 Mathlib.CategoryTheory.Shift.CommShift |
| 2 | import Mathlib.Algebra.Group.Int.Defs |
| 3 | |
| 4 | /-! # Shifted Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.ShiftedPullback.ShiftedPullbackFactor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # A factorization identity for functors that commute with shifts -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [HasShift C ℤ] |
| 17 | {D : Type w} [Category.{z} D] [HasShift D ℤ] |
| 18 | (F : C ⥤ D) [F.CommShift ℤ] |
| 19 | {A M M' : C} {N N' : D} (iM : M' ⟶ M) (iN : N' ⟶ N) |
| 20 | (p : F.obj M ⟶ N) (p' : F.obj M' ⟶ N') |
| 21 | (hp : p' ≫ iN = F.map iM ≫ p) (n : ℤ) (a : A ⟶ M'⟦n⟧) |
| 22 | |
| 23 | include hp in |
| 24 | theorem factor : |
| 25 | F.map (a ≫ (shiftFunctor C n).map iM) ≫ (F.commShiftIso n).hom.app M ≫ (shiftFunctor D n).map p = |
| 26 | (F.map a ≫ (F.commShiftIso n).hom.app M' ≫ (shiftFunctor D n).map p') ≫ (shiftFunctor D n).map iN := by |
| 27 | rw [F.map_comp] |
| 28 | simp only [Category.assoc] |
| 29 | have hn : F.map ((shiftFunctor C n).map iM) ≫ (F.commShiftIso n).hom.app M = |
| 30 | (F.commShiftIso n).hom.app M' ≫ (shiftFunctor D n).map (F.map iM) := |
| 31 | (F.commShiftIso n).hom.naturality iM |
| 32 | have hna := congrArg (fun z => z ≫ (shiftFunctor D n).map p) hn |
| 33 | simp only [Category.assoc] at hna |
| 34 | rw [hna] |
| 35 | rw [← Functor.map_comp, ← hp, Functor.map_comp] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.ShiftedPullback.ShiftedPullbackFactor |