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.AdjointCechInvariant |
| 2 | import Mathlib.CategoryTheory.Adjunction.FullyFaithful |
| 3 | |
| 4 | /-! # Overlap Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.OverlapExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Extending the overlap presentation retains the invariant arrows |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | variable {C D E F : Type*} [Category C] [Category D] [Category E] [Category F] |
| 17 | {R : D ⥤ C} {P Q : D ⥤ E} {U V : E ⥤ D} {J : E ⥤ F} {K : F ⥤ E} |
| 18 | (b : P ⊣ U) (c : Q ⊣ V) (e : U ⋙ R ≅ V ⋙ R) (d : J ⊣ K) |
| 19 | |
| 20 | /-- The same direct-image comparison after extending the overlap category. -/ |
| 21 | def extendedRightIso : (K ⋙ U) ⋙ R ≅ (K ⋙ V) ⋙ R := |
| 22 | NatIso.ofComponents (fun Z => e.app (K.obj Z)) (fun a => e.hom.naturality (K.map a)) |
| 23 | |
| 24 | theorem extendedRightIso_hom_app (Z : F) : |
| 25 | (extendedRightIso e (K := K)).hom.app Z = e.hom.app (K.obj Z) := rfl |
| 26 | |
| 27 | variable {M : D} (σ : P.obj M ⟶ Q.obj M) |
| 28 | |
| 29 | /-- The target map of the two invariant diagrams is induced by the overlap adjunction unit. -/ |
| 30 | def targetMap : (V ⋙ R).obj (Q.obj M) ⟶ (V ⋙ R).obj (K.obj (J.obj (Q.obj M))) := |
| 31 | (V ⋙ R).map (d.unit.app (Q.obj M)) |
| 32 | |
| 33 | /-- Extending the overlap postcomposes the first invariant arrow by this one target map. -/ |
| 34 | theorem leftMap_eq : |
| 35 | AdjointCechInvariant.leftMap (Q := Q ⋙ J) (b.comp d) (extendedRightIso e (K := K)) (J.map σ) = |
| 36 | AdjointCechInvariant.leftMap b e σ ≫ targetMap (R := R) (Q := Q) (V := V) d (M := M) := by |
| 37 | have he := e.hom.naturality (d.unit.app (P.obj M)) |
| 38 | change R.map (U.map (d.unit.app (P.obj M))) ≫ e.hom.app (K.obj (J.obj (P.obj M))) = |
| 39 | e.hom.app (P.obj M) ≫ (V ⋙ R).map (d.unit.app (P.obj M)) at he |
| 40 | have hn : d.unit.app (P.obj M) ≫ K.map (J.map σ) = σ ≫ d.unit.app (Q.obj M) := |
| 41 | (d.unit.naturality σ).symm |
| 42 | have hm := congrArg (fun z => (V ⋙ R).map z) hn |
| 43 | rw [(V ⋙ R).map_comp, (V ⋙ R).map_comp] at hm |
| 44 | change R.map ((b.comp d).unit.app M) ≫ e.hom.app (K.obj (J.obj (P.obj M))) ≫ |
| 45 | (V ⋙ R).map (K.map (J.map σ)) = |
| 46 | (R.map (b.unit.app M) ≫ e.hom.app (P.obj M) ≫ (V ⋙ R).map σ) ≫ |
| 47 | (V ⋙ R).map (d.unit.app (Q.obj M)) |
| 48 | rw [Adjunction.comp_unit_app, R.map_comp] |
| 49 | simp only [Category.assoc] |
| 50 | rw [← Category.assoc (R.map (U.map (d.unit.app (P.obj M)))) |
| 51 | (e.hom.app (K.obj (J.obj (P.obj M)))) ((V ⋙ R).map (K.map (J.map σ))), he] |
| 52 | simp only [Category.assoc] |
| 53 | rw [hm] |
| 54 | |
| 55 | /-- The other invariant arrow is postcomposed by exactly the same target map. -/ |
| 56 | theorem rightMap_eq : |
| 57 | AdjointCechInvariant.rightMap (R := R) (c.comp d) (M := M) = |
| 58 | AdjointCechInvariant.rightMap (R := R) c ≫ targetMap (R := R) (Q := Q) (V := V) d (M := M) := by |
| 59 | change R.map ((c.comp d).unit.app M) = R.map (c.unit.app M) ≫ |
| 60 | (V ⋙ R).map (d.unit.app (Q.obj M)) |
| 61 | rw [Adjunction.comp_unit_app, R.map_comp] |
| 62 | rfl |
| 63 | |
| 64 | /-- A fully faithful extension of overlap coordinates gives an invertible target change. -/ |
| 65 | instance targetMap_isIso [J.Full] [J.Faithful] : IsIso (targetMap (R := R) (Q := Q) (V := V) d (M := M)) := |
| 66 | inferInstanceAs (IsIso ((V ⋙ R).map (d.unit.app (Q.obj M)))) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.OverlapExtension |