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.AdjunctionChange |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.EqualizerCongr |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.EqualizerTargetChange |
| 4 | |
| 5 | /-! # Adjunction Invariant -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.AdjunctionInvariant |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Canonical adjunction changes preserve Čech invariants and effectivity |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointCechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.AdjunctionChange |
| 18 | |
| 19 | variable {C D E : Type*} [Category C] [Category D] [Category E] |
| 20 | {R : D ⥤ C} {P Q P' Q' : D ⥤ E} {U V U' V' : E ⥤ D} |
| 21 | (b : P ⊣ U) (b' : P' ⊣ U') (c : Q ⊣ V) (c' : Q' ⊣ V') |
| 22 | (α : P ≅ P') (β : Q ≅ Q') (ρ : U ≅ U') (τ : V ≅ V') |
| 23 | (hP : conjugateEquiv b b' α.inv = ρ.hom) (hQ : conjugateEquiv c c' β.inv = τ.hom) |
| 24 | (e : U ⋙ R ≅ V ⋙ R) [HasEqualizers C] |
| 25 | {M : D} (σ : P.obj M ⟶ Q.obj M) |
| 26 | |
| 27 | /-- The invariant object retains its identity up to canonical isomorphism when its adjunctions change. -/ |
| 28 | def invariantIso : AdjointCechInvariant.invariants b' c' (AdjunctionChange.changedRightIso ρ τ e) (AdjunctionChange.changedGluing α β σ) ≅ AdjointCechInvariant.invariants b c e σ := |
| 29 | EqualizerCongr.iso (AdjunctionChange.leftMap_eq b b' α β ρ τ hP e σ) |
| 30 | (AdjunctionChange.rightMap_eq (R := R) c c' β τ hQ (M := M)) ≪≫ |
| 31 | EqualizerTargetChange.equalizerIso (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c) |
| 32 | (AdjunctionChange.targetIso (R := R) β τ (M := M)).hom |
| 33 | |
| 34 | theorem invariantIso_hom_ι : |
| 35 | (invariantIso b b' c c' α β ρ τ hP hQ e σ).hom ≫ |
| 36 | equalizer.ι (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c) = |
| 37 | equalizer.ι (AdjointCechInvariant.leftMap b' (AdjunctionChange.changedRightIso ρ τ e) (AdjunctionChange.changedGluing α β σ)) (AdjointCechInvariant.rightMap (R := R) c') := by |
| 38 | have ht := EqualizerTargetChange.hom_ι (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c) |
| 39 | (AdjunctionChange.targetIso (R := R) β τ (M := M)).hom |
| 40 | have hc := EqualizerCongr.hom_ι (AdjunctionChange.leftMap_eq b b' α β ρ τ hP e σ) |
| 41 | (AdjunctionChange.rightMap_eq (R := R) c c' β τ hQ (M := M)) |
| 42 | exact (Category.assoc _ _ _).trans |
| 43 | ((congrArg (fun z => (EqualizerCongr.iso (AdjunctionChange.leftMap_eq b b' α β ρ τ hP e σ) |
| 44 | (AdjunctionChange.rightMap_eq (R := R) c c' β τ hQ (M := M))).hom ≫ z) ht).trans hc) |
| 45 | |
| 46 | variable {L : C ⥤ D} (a : L ⊣ R) |
| 47 | |
| 48 | /-- The same change also retains the actual canonical comparison morphism. -/ |
| 49 | theorem comparison_commutes : |
| 50 | L.map (invariantIso b b' c c' α β ρ τ hP hQ e σ).hom ≫ AdjointCechInvariant.comparison a b c e σ = |
| 51 | AdjointCechInvariant.comparison a b' c' (AdjunctionChange.changedRightIso ρ τ e) (AdjunctionChange.changedGluing α β σ) := by |
| 52 | apply (a.homEquiv _ M).injective |
| 53 | exact (AdjointCechInvariant.homEquiv_map_comparison a b c e σ (invariantIso b b' c c' α β ρ τ hP hQ e σ).hom).trans |
| 54 | ((invariantIso_hom_ι b b' c c' α β ρ τ hP hQ e σ).trans |
| 55 | (AdjointCechInvariant.comparison_homEquiv a b' c' (AdjunctionChange.changedRightIso ρ τ e) (AdjunctionChange.changedGluing α β σ)).symm) |
| 56 | |
| 57 | include hP hQ in |
| 58 | /-- Invertibility of the canonical comparison is independent of the isomorphic adjunction choices. -/ |
| 59 | theorem comparison_isIso_iff : |
| 60 | IsIso (AdjointCechInvariant.comparison a b' c' (AdjunctionChange.changedRightIso ρ τ e) (AdjunctionChange.changedGluing α β σ)) ↔ |
| 61 | IsIso (AdjointCechInvariant.comparison a b c e σ) := by |
| 62 | rw [← comparison_commutes b b' c c' α β ρ τ hP hQ e σ a] |
| 63 | exact isIso_comp_left_iff _ _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.AdjunctionInvariant |