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.Picard.PoincareBundle.InvariantRestriction |
| 2 | |
| 3 | /-! # Invariant Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.InvariantComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Compatibility of invariant comparison maps with base change |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits |
| 14 | open _root_.CategoryTheory.Comonad |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C D E F : Type u} [Category.{v} C] [Category.{v} D] |
| 19 | [Category.{v} E] [Category.{v} F] |
| 20 | {L₁ : C ⥤ D} {R₁ : D ⥤ C} {L₂ : E ⥤ F} {R₂ : F ⥤ E} |
| 21 | {G : C ⥤ E} {H : D ⥤ F} |
| 22 | (adj₁ : L₁ ⊣ R₁) (adj₂ : L₂ ⊣ R₂) (α : G ⋙ L₂ ≅ L₁ ⋙ H) |
| 23 | [IsIso (DescentRestriction.rightMate adj₁ adj₂ α)] |
| 24 | [HasEqualizers C] [HasEqualizers E] [PreservesFiniteLimits G] |
| 25 | |
| 26 | /-- The invariant restriction isomorphism respects the equalizer inclusion. -/ |
| 27 | theorem invariantRestrictionIso_hom_ι (A : adj₁.toComonad.Coalgebra) : |
| 28 | (InvariantRestriction.invariantRestrictionIso adj₁ adj₂ α A).hom ≫ |
| 29 | equalizer.ι (R₂.map ((DescentRestriction.coalgebraRestriction adj₁ adj₂ α).obj A).a) |
| 30 | (adj₂.unit.app _) = |
| 31 | G.map (equalizer.ι (R₁.map A.a) (adj₁.unit.app _)) ≫ |
| 32 | (DescentRestriction.rightMate adj₁ adj₂ α).app A.A := by |
| 33 | dsimp [InvariantRestriction.invariantRestrictionIso] |
| 34 | erw [Iso.trans_hom, Category.assoc] |
| 35 | dsimp only [equalizer.ι] |
| 36 | erw [HasLimit.isoOfNatIso_hom_π] |
| 37 | change (PreservesEqualizer.iso G (R₁.map A.a) (adj₁.unit.app (R₁.obj A.A))).hom ≫ |
| 38 | equalizer.ι _ _ ≫ (DescentRestriction.rightMate adj₁ adj₂ α).app A.A = _ |
| 39 | erw [← Category.assoc, PreservesEqualizer.iso_hom, equalizerComparison_comp_π] |
| 40 | |
| 41 | /-- The canonical pullback comparison commutes with the invariant |
| 42 | restriction isomorphism and the pullback square. -/ |
| 43 | theorem comparison_compatibility (A : adj₁.toComonad.Coalgebra) : |
| 44 | L₂.map (InvariantRestriction.invariantRestrictionIso adj₁ adj₂ α A).hom ≫ |
| 45 | ((ComonadicityInternal.comparisonAdjunction adj₂).counit.app |
| 46 | ((DescentRestriction.coalgebraRestriction adj₁ adj₂ α).obj A)).f = |
| 47 | α.hom.app (ComonadicityInternal.comparisonRightAdjointObj adj₁ A) ≫ |
| 48 | H.map ((ComonadicityInternal.comparisonAdjunction adj₁).counit.app A).f := by |
| 49 | rw [ComonadicityInternal.comparisonAdjunction_counit_f_aux, |
| 50 | ComonadicityInternal.comparisonAdjunction_counit_f_aux] |
| 51 | simp only [Adjunction.homEquiv_counit] |
| 52 | erw [← Category.assoc, ← L₂.map_comp, |
| 53 | invariantRestrictionIso_hom_ι adj₁ adj₂ α A, |
| 54 | L₂.map_comp] |
| 55 | rw [Category.assoc] |
| 56 | erw [mateEquiv_counit adj₁ adj₂ (TwoSquare.mk _ _ _ _ α.hom) A.A] |
| 57 | erw [← Category.assoc, α.hom.naturality, Category.assoc, ← H.map_comp] |
| 58 | rfl |
| 59 | |
| 60 | /-- If the restricted comparison is an isomorphism, so is the image of |
| 61 | the original comparison under restriction. -/ |
| 62 | theorem comparison_map_isIso (A : adj₁.toComonad.Coalgebra) |
| 63 | [hc : IsIso ((ComonadicityInternal.comparisonAdjunction adj₂).counit.app |
| 64 | ((DescentRestriction.coalgebraRestriction adj₁ adj₂ α).obj A)).f] : |
| 65 | IsIso (H.map ((ComonadicityInternal.comparisonAdjunction adj₁).counit.app A).f) := by |
| 66 | have hm : IsIso (L₂.map |
| 67 | (InvariantRestriction.invariantRestrictionIso adj₁ adj₂ α A).hom) := |
| 68 | (L₂.mapIso (InvariantRestriction.invariantRestrictionIso adj₁ adj₂ α A)).isIso_hom |
| 69 | have ha : IsIso (α.hom.app (ComonadicityInternal.comparisonRightAdjointObj adj₁ A)) := |
| 70 | (α.app _).isIso_hom |
| 71 | have h : IsIso (α.hom.app (ComonadicityInternal.comparisonRightAdjointObj adj₁ A) ≫ |
| 72 | H.map ((ComonadicityInternal.comparisonAdjunction adj₁).counit.app A).f) := by |
| 73 | rw [← comparison_compatibility adj₁ adj₂ α A] |
| 74 | exact @IsIso.comp_isIso _ _ _ _ _ _ _ hm hc |
| 75 | exact (@isIso_comp_left_iff _ _ _ _ _ _ _ ha).mp h |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.InvariantComparison |