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.ShiftedHomSquare |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.InverseHom |
| 3 | |
| 4 | /-! # Shifted Inverse -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.ShiftedInverse.ShiftedInverseTransport |
| 11 | |
| 12 | /-! Transport of shifted cohomology classes respects an actual commuting square of isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | variable {C D : Type*} [Category* C] [Category* D] [HasShift C ℤ] [HasShift D ℤ] |
| 17 | (F : C ⥤ D) [F.CommShift ℤ] |
| 18 | {A K K' : C} {B L L' : D} (s : F.obj A ≅ B) (e : K ≅ K') (d : L ≅ L') |
| 19 | (a : F.obj K ⟶ L) (b : F.obj K' ⟶ L') |
| 20 | (h : F.map e.hom ≫ b = a ≫ d.hom) |
| 21 | |
| 22 | include h in |
| 23 | theorem naturality (n : ℤ) (x : A ⟶ K'⟦n⟧) : |
| 24 | AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport F s b x ≫ d.inv⟦n⟧' = |
| 25 | AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport F s a (x ≫ e.inv⟦n⟧') := by |
| 26 | have hi : b ≫ d.inv = F.map e.inv ≫ a := |
| 27 | InverseHom.InverseHomCongr.inverse_square (F.mapIso e) d a b h |
| 28 | have hm : ShiftedHom.map (x ≫ e.inv⟦n⟧') F = |
| 29 | ShiftedHom.map x F ≫ (F.map e.inv)⟦n⟧' := by |
| 30 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using |
| 31 | ShiftedHom.map_comp x (ShiftedHom.mk₀ (0 : ℤ) rfl e.inv) (zero_add n) F |
| 32 | dsimp only [AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport] |
| 33 | rw [hm] |
| 34 | simp only [Category.assoc] |
| 35 | rw [← (shiftFunctor D n).map_comp, hi, (shiftFunctor D n).map_comp] |
| 36 | |
| 37 | end NumberTheory.PadicHodge.GeometricComparison.ShiftedInverse.ShiftedInverseTransport |
| 38 | |
| 39 | namespace NumberTheory.PadicHodge.GeometricComparison.ShiftedInverse.ShiftedMapSquare |
| 40 | |
| 41 | /-! An actual commuting square induces a commuting square on shifted classes, |
| 42 | without assuming that the vertical maps are isomorphisms. -/ |
| 43 | |
| 44 | open _root_.CategoryTheory |
| 45 | |
| 46 | variable {C D : Type*} [Category* C] [Category* D] [HasShift C ℤ] [HasShift D ℤ] |
| 47 | (F : C ⥤ D) [F.CommShift ℤ] |
| 48 | {A K K' : C} {B L L' : D} (s : F.obj A ≅ B) (e : K ⟶ K') (d : L ⟶ L') |
| 49 | (a : F.obj K ⟶ L) (b : F.obj K' ⟶ L') |
| 50 | (h : F.map e ≫ b = a ≫ d) |
| 51 | |
| 52 | include h in |
| 53 | theorem naturality (n : ℤ) (x : A ⟶ K⟦n⟧) : |
| 54 | AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport F s b (x ≫ e⟦n⟧') = |
| 55 | AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport F s a x ≫ d⟦n⟧' := by |
| 56 | have hm : ShiftedHom.map (x ≫ e⟦n⟧') F = |
| 57 | ShiftedHom.map x F ≫ (F.map e)⟦n⟧' := by |
| 58 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using |
| 59 | ShiftedHom.map_comp x (ShiftedHom.mk₀ (0 : ℤ) rfl e) (zero_add n) F |
| 60 | dsimp only [AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport] |
| 61 | rw [hm] |
| 62 | simp only [Category.assoc] |
| 63 | rw [← (shiftFunctor D n).map_comp, h, (shiftFunctor D n).map_comp] |
| 64 | |
| 65 | end NumberTheory.PadicHodge.GeometricComparison.ShiftedInverse.ShiftedMapSquare |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI |