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.Algebra.Homology.HomotopyCategory.ShiftSequence |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 3 | |
| 4 | /-! # Homology Shift Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HomologyShiftFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The actual homology and grading comparison for additive coefficient functors -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false in |
| 17 | set_option backward.isDefEq.respectTransparency.types false in |
| 18 | /-- The explicit shift of the differential short complex commutes with an additive functor. -/ |
| 19 | theorem shiftShortComplexFunctorIso_map (K : CochainComplex C ℤ) (F : C ⥤ D) [F.Additive] |
| 20 | (n n' : ℤ) (h : 1 + n = n') : |
| 21 | (HomologicalComplex.shortComplexFunctor D (.up ℤ) n).map |
| 22 | (((F.mapHomologicalComplex (.up ℤ)).commShiftIso (1 : ℤ)).hom.app K) ≫ |
| 23 | (CochainComplex.shiftShortComplexFunctorIso D 1 n n' h).hom.app |
| 24 | ((F.mapHomologicalComplex (.up ℤ)).obj K) = |
| 25 | F.mapShortComplex.map ((CochainComplex.shiftShortComplexFunctorIso C 1 n n' h).hom.app K) := by |
| 26 | subst n' |
| 27 | ext <;> simp [CochainComplex.shiftShortComplexFunctorIso, |
| 28 | CochainComplex.shiftShortComplexFunctor', CochainComplex.shiftEval, |
| 29 | HomologicalComplex.XIsoOfEq, eqToHom_map] |
| 30 | all_goals |
| 31 | change (𝟙 _ ≫ eqToHom _) = eqToHom _ |
| 32 | rw [Category.id_comp] |
| 33 | |
| 34 | set_option backward.defeqAttrib.useBackward true in |
| 35 | set_option backward.isDefEq.respectTransparency false in |
| 36 | set_option backward.isDefEq.respectTransparency.types false in |
| 37 | /-- The homology comparison respects the actual one-degree shift, including its signs. -/ |
| 38 | theorem homologyShiftIso_map (K : CochainComplex C ℤ) (F : C ⥤ D) [F.Additive] |
| 39 | [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 40 | (n n' : ℤ) (h : 1 + n = n') : |
| 41 | (((K⟦(1 : ℤ)⟧).sc n).mapHomologyIso F).hom ≫ |
| 42 | F.map (((HomologicalComplex.homologyFunctor C (.up ℤ) 0).shiftIso 1 n n' h).hom.app K) = |
| 43 | HomologicalComplex.homologyMap |
| 44 | (((F.mapHomologicalComplex (.up ℤ)).commShiftIso (1 : ℤ)).hom.app K) n ≫ |
| 45 | (((HomologicalComplex.homologyFunctor D (.up ℤ) 0).shiftIso 1 n n' h).hom.app |
| 46 | ((F.mapHomologicalComplex (.up ℤ)).obj K)) ≫ |
| 47 | ((K.sc n').mapHomologyIso F).hom := by |
| 48 | change _ ≫ F.map ((CochainComplex.ShiftSequence.shiftIso C 1 n n' h).hom.app K) = _ |
| 49 | rw [CochainComplex.ShiftSequence.shiftIso_hom_app] |
| 50 | change _ ≫ F.map (ShortComplex.homologyMap |
| 51 | ((CochainComplex.shiftShortComplexFunctorIso C 1 n n' h).hom.app K)) = _ |
| 52 | rw [← ShortComplex.mapHomologyIso_hom_naturality] |
| 53 | rw [← shiftShortComplexFunctorIso_map K F n n' h] |
| 54 | rw [ShortComplex.homologyMap_comp, Category.assoc] |
| 55 | change _ = HomologicalComplex.homologyMap |
| 56 | (((F.mapHomologicalComplex (.up ℤ)).commShiftIso (1 : ℤ)).hom.app K) n ≫ |
| 57 | (CochainComplex.ShiftSequence.shiftIso D 1 n n' h).hom.app |
| 58 | ((F.mapHomologicalComplex (.up ℤ)).obj K) ≫ _ |
| 59 | rw [CochainComplex.ShiftSequence.shiftIso_hom_app] |
| 60 | rfl |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.ComplexMultiplication.HomologyShiftFunctor |