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 | |
| 3 | /-! # Invariant Object Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.InvariantObjectChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Isomorphic objects with compatible Čech gluing have the same invariant |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {C D E : Type*} [Category C] [Category D] [Category E] |
| 16 | {L : C ⥤ D} {R : D ⥤ C} {P Q : D ⥤ E} {U V : E ⥤ D} |
| 17 | (a : L ⊣ R) (b : P ⊣ U) (c : Q ⊣ V) (e : U ⋙ R ≅ V ⋙ R) |
| 18 | {M N : D} (σ : P.obj M ⟶ Q.obj M) (τ : P.obj N ⟶ Q.obj N) (x : M ≅ N) |
| 19 | (hx : P.map x.hom ≫ τ = σ ≫ Q.map x.hom) |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointCechInvariant |
| 22 | |
| 23 | include hx in |
| 24 | /-- The gluing square transports through the projection adjunction. -/ |
| 25 | theorem adjoint_square : |
| 26 | b.homEquiv M (Q.obj M) σ ≫ U.map (Q.map x.hom) = |
| 27 | x.hom ≫ b.homEquiv N (Q.obj N) τ := by |
| 28 | have h := congrArg (b.homEquiv M (Q.obj N)) hx |
| 29 | rw [b.homEquiv_naturality_left, b.homEquiv_naturality_right] at h |
| 30 | exact h.symm |
| 31 | |
| 32 | include hx in |
| 33 | /-- A gluing-compatible object isomorphism carries the first invariant arrow to the first arrow. -/ |
| 34 | theorem leftMap_square : |
| 35 | AdjointCechInvariant.leftMap b e σ ≫ (V ⋙ R).map (Q.map x.hom) = R.map x.hom ≫ AdjointCechInvariant.leftMap b e τ := by |
| 36 | rw [AdjunctionChange.leftMap_homEquiv, AdjunctionChange.leftMap_homEquiv] |
| 37 | rw [Category.assoc, ← e.hom.naturality, ← Category.assoc] |
| 38 | change (R.map (b.homEquiv M (Q.obj M) σ) ≫ R.map (U.map (Q.map x.hom))) ≫ _ = _ |
| 39 | rw [← R.map_comp, adjoint_square b σ τ x hx, R.map_comp, Category.assoc] |
| 40 | |
| 41 | /-- The second invariant square is the naturality square of the other projection's unit. -/ |
| 42 | theorem rightMap_square : |
| 43 | AdjointCechInvariant.rightMap (R := R) c (M := M) ≫ (V ⋙ R).map (Q.map x.hom) = |
| 44 | R.map x.hom ≫ AdjointCechInvariant.rightMap (R := R) c (M := N) := by |
| 45 | change R.map (c.unit.app M) ≫ R.map (V.map (Q.map x.hom)) = |
| 46 | R.map x.hom ≫ R.map (c.unit.app N) |
| 47 | rw [← R.map_comp, ← R.map_comp] |
| 48 | exact congrArg R.map (c.unit.naturality x.hom).symm |
| 49 | |
| 50 | variable [HasEqualizers C] |
| 51 | |
| 52 | /-- Compatible isomorphic original objects have canonically isomorphic actual invariants. -/ |
| 53 | def invariantIso : AdjointCechInvariant.invariants b c e σ ≅ AdjointCechInvariant.invariants b c e τ := |
| 54 | HasLimit.isoOfNatIso (parallelPair.ext (R.mapIso x) ((V ⋙ R).mapIso (Q.mapIso x)) |
| 55 | (leftMap_square b e σ τ x hx) (rightMap_square (R := R) c x)) |
| 56 | |
| 57 | /-- The isomorphism retains the equalizer inclusion and the given original object isomorphism. -/ |
| 58 | theorem invariantIso_hom_ι : |
| 59 | (invariantIso b c e σ τ x hx).hom ≫ equalizer.ι (AdjointCechInvariant.leftMap b e τ) (AdjointCechInvariant.rightMap (R := R) c) = |
| 60 | equalizer.ι (AdjointCechInvariant.leftMap b e σ) (AdjointCechInvariant.rightMap (R := R) c) ≫ R.map x.hom := by |
| 61 | dsimp only [invariantIso, equalizer.ι] |
| 62 | exact HasLimit.isoOfNatIso_hom_π _ _ |
| 63 | |
| 64 | /-- The canonical pullback comparison transports by the specified object isomorphism. -/ |
| 65 | theorem comparison_fac : |
| 66 | L.map (invariantIso b c e σ τ x hx).hom ≫ AdjointCechInvariant.comparison a b c e τ = |
| 67 | AdjointCechInvariant.comparison a b c e σ ≫ x.hom := by |
| 68 | apply (a.homEquiv _ _).injective |
| 69 | rw [AdjointCechInvariant.homEquiv_map_comparison, a.homEquiv_naturality_right, AdjointCechInvariant.comparison_homEquiv] |
| 70 | exact invariantIso_hom_ι b c e σ τ x hx |
| 71 | |
| 72 | include hx in |
| 73 | /-- Effectivity is preserved by an isomorphism that retains the supplied gluing. -/ |
| 74 | theorem comparison_isIso_iff : |
| 75 | IsIso (AdjointCechInvariant.comparison a b c e σ) ↔ IsIso (AdjointCechInvariant.comparison a b c e τ) := by |
| 76 | calc |
| 77 | IsIso (AdjointCechInvariant.comparison a b c e σ) ↔ IsIso (AdjointCechInvariant.comparison a b c e σ ≫ x.hom) := |
| 78 | (isIso_comp_right_iff _ _).symm |
| 79 | _ ↔ IsIso (L.map (invariantIso b c e σ τ x hx).hom ≫ AdjointCechInvariant.comparison a b c e τ) := by |
| 80 | rw [comparison_fac a b c e σ τ x hx] |
| 81 | _ ↔ IsIso (AdjointCechInvariant.comparison a b c e τ) := isIso_comp_left_iff _ _ |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.InvariantObjectChange |