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.ShiftedHom |
| 2 | |
| 3 | /-! # Shifted Hom Source Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ShiftedHomSourceNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Source transport for actual shifted morphisms -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C D : Type*} [Category* C] [Category* D] |
| 14 | [HasShift C ℤ] [HasShift D ℤ] |
| 15 | |
| 16 | /-- A genuine source square commutes after shifted functorial mapping and target transport. -/ |
| 17 | theorem shiftedHomSourceNaturality (G : C ⥤ D) [G.CommShift ℤ] |
| 18 | {A B K : C} {S T L : D} (a : S ⟶ G.obj A) (b : S ⟶ T) |
| 19 | (k : T ⟶ G.obj B) (t : G.obj K ⟶ L) (g : A ⟶ B) |
| 20 | (h : a ≫ G.map g = b ≫ k) (n : ℤ) (z : ShiftedHom B K n) : |
| 21 | (ShiftedHom.mk₀ 0 rfl a).comp |
| 22 | ((((ShiftedHom.mk₀ 0 rfl g).comp z (add_zero n)).map G).comp |
| 23 | (ShiftedHom.mk₀ 0 rfl t) (zero_add n)) (add_zero n) = |
| 24 | (ShiftedHom.mk₀ 0 rfl b).comp |
| 25 | ((ShiftedHom.mk₀ 0 rfl k).comp |
| 26 | ((z.map G).comp (ShiftedHom.mk₀ 0 rfl t) (zero_add n)) |
| 27 | (add_zero n)) (add_zero n) := by |
| 28 | simp only [ShiftedHom.mk₀_comp, ShiftedHom.comp_mk₀, ShiftedHom.map, |
| 29 | Functor.map_comp, Category.assoc] |
| 30 | rw [← Category.assoc a (G.map g), h, Category.assoc] |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.ComplexMultiplication.ShiftedHomSourceNaturality |