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.Cech.RestrictionArrows |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Finite |
| 3 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers |
| 4 | |
| 5 | /-! # Invariant Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.InvariantRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual Čech invariant equalizer commutes with coherent base change |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | variable {C D E C' D' E' : Type u} |
| 20 | [Category.{v} C] [Category.{v} D] [Category.{v} E] |
| 21 | [Category.{v} C'] [Category.{v} D'] [Category.{v} E'] |
| 22 | {L : C ⥤ D} {R : D ⥤ C} {P Q : D ⥤ E} {U V : E ⥤ D} |
| 23 | {L' : C' ⥤ D'} {R' : D' ⥤ C'} {P' Q' : D' ⥤ E'} {U' V' : E' ⥤ D'} |
| 24 | {G : C ⥤ C'} {H : D ⥤ D'} {J : E ⥤ E'} |
| 25 | (a : L ⊣ R) (a' : L' ⊣ R') (b : P ⊣ U) (b' : P' ⊣ U') |
| 26 | (c : Q ⊣ V) (c' : Q' ⊣ V') |
| 27 | (α : G ⋙ L' ≅ L ⋙ H) (β : H ⋙ P' ≅ P ⋙ J) (γ : H ⋙ Q' ≅ Q ⋙ J) |
| 28 | (e : U ⋙ R ≅ V ⋙ R) (e' : U' ⋙ R' ≅ V' ⋙ R') |
| 29 | |
| 30 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentRestriction OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointCechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.RestrictionArrows |
| 31 | |
| 32 | variable [IsIso (DescentRestriction.rightMate a a' α)] [IsIso (DescentRestriction.rightMate c c' γ)] |
| 33 | |
| 34 | /-- Invertible right mates make the comparison of invariant diagram targets invertible. -/ |
| 35 | instance targetMap_isIso (M : D) : IsIso (RestrictionArrows.targetMap a a' c c' α γ (M := M)) := by |
| 36 | unfold RestrictionArrows.targetMap |
| 37 | infer_instance |
| 38 | |
| 39 | variable [HasEqualizers C] [HasEqualizers C'] [PreservesFiniteLimits G] |
| 40 | {M : D} (σ : P.obj M ⟶ Q.obj M) (hc : RestrictionArrows.RightCoherent a a' b b' c c' α β γ e e') |
| 41 | |
| 42 | /-- The invariant is transported by the actual isomorphism of its two-arrow diagram. -/ |
| 43 | def invariantIso : |
| 44 | G.obj (AdjointCechInvariant.invariants b c e σ) ≅ AdjointCechInvariant.invariants b' c' e' (RestrictionArrows.restrictedGluing β γ σ) := |
| 45 | PreservesEqualizer.iso G (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c) ≪≫ |
| 46 | HasLimit.isoOfNatIso (parallelPair.ext (asIso ((DescentRestriction.rightMate a a' α).app M)) |
| 47 | (asIso (RestrictionArrows.targetMap a a' c c' α γ (M := M))) |
| 48 | (RestrictionArrows.leftMap_square a a' b b' c c' α β γ e e' σ hc) |
| 49 | (RestrictionArrows.rightMap_square a a' c c' α γ (M := M))) |
| 50 | |
| 51 | /-- The restriction identification retains the actual equalizer inclusion. -/ |
| 52 | theorem invariantIso_hom_ι : |
| 53 | (invariantIso a a' b b' c c' α β γ e e' σ hc).hom ≫ |
| 54 | equalizer.ι (AdjointCechInvariant.leftMap b' e' (RestrictionArrows.restrictedGluing β γ σ)) (AdjointCechInvariant.rightMap (R := R') c') = |
| 55 | G.map (equalizer.ι (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c)) ≫ (DescentRestriction.rightMate a a' α).app M := by |
| 56 | dsimp only [invariantIso] |
| 57 | erw [Iso.trans_hom, Category.assoc] |
| 58 | dsimp only [equalizer.ι] |
| 59 | erw [HasLimit.isoOfNatIso_hom_π] |
| 60 | change (PreservesEqualizer.iso G (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c)).hom ≫ |
| 61 | equalizer.ι _ _ ≫ (DescentRestriction.rightMate a a' α).app M = _ |
| 62 | erw [← Category.assoc, PreservesEqualizer.iso_hom, equalizerComparison_comp_π] |
| 63 | |
| 64 | /-- Restriction also retains the actual canonical pullback comparison. -/ |
| 65 | theorem comparison_fac : |
| 66 | L'.map (invariantIso a a' b b' c c' α β γ e e' σ hc).hom ≫ |
| 67 | AdjointCechInvariant.comparison a' b' c' e' (RestrictionArrows.restrictedGluing β γ σ) = |
| 68 | α.hom.app (AdjointCechInvariant.invariants b c e σ) ≫ H.map (AdjointCechInvariant.comparison a b c e σ) := by |
| 69 | apply (a'.homEquiv _ _).injective |
| 70 | rw [AdjointCechInvariant.homEquiv_map_comparison, AdjointSquareHom.homEquiv_restrict a a' α, |
| 71 | AdjointCechInvariant.comparison_homEquiv] |
| 72 | exact invariantIso_hom_ι a a' b b' c c' α β γ e e' σ hc |
| 73 | |
| 74 | include hc in |
| 75 | /-- The original comparison is locally invertible exactly when the restricted one is invertible. -/ |
| 76 | theorem comparison_map_isIso_iff : |
| 77 | IsIso (H.map (AdjointCechInvariant.comparison a b c e σ)) ↔ |
| 78 | IsIso (AdjointCechInvariant.comparison a' b' c' e' (RestrictionArrows.restrictedGluing β γ σ)) := by |
| 79 | calc |
| 80 | IsIso (H.map (AdjointCechInvariant.comparison a b c e σ)) ↔ |
| 81 | IsIso (α.hom.app (AdjointCechInvariant.invariants b c e σ) ≫ H.map (AdjointCechInvariant.comparison a b c e σ)) := |
| 82 | (isIso_comp_left_iff _ _).symm |
| 83 | _ ↔ IsIso (L'.map (invariantIso a a' b b' c c' α β γ e e' σ hc).hom ≫ |
| 84 | AdjointCechInvariant.comparison a' b' c' e' (RestrictionArrows.restrictedGluing β γ σ)) := by |
| 85 | rw [comparison_fac a a' b b' c c' α β γ e e' σ hc] |
| 86 | _ ↔ IsIso (AdjointCechInvariant.comparison a' b' c' e' (RestrictionArrows.restrictedGluing β γ σ)) := isIso_comp_left_iff _ _ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.InvariantRestriction |