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 Mathlib.CategoryTheory.Adjunction.Mates |
| 2 | |
| 3 | /-! # Adjoint Iso Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointIsoUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Units and transposed maps under isomorphic adjunctions |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | variable {C D : Type*} [Category C] [Category D] |
| 16 | {L L' : C ⥤ D} {R R' : D ⥤ C} (a : L ⊣ R) (b : L' ⊣ R') |
| 17 | (α : L ≅ L') (β : R ≅ R') (h : conjugateEquiv a b α.inv = β.hom) |
| 18 | |
| 19 | include h in |
| 20 | /-- The units of isomorphic adjunctions are related by their actual mate comparisons. -/ |
| 21 | theorem unit_transport (X : C) : |
| 22 | a.unit.app X ≫ β.hom.app (L.obj X) ≫ R'.map (α.hom.app X) = b.unit.app X := by |
| 23 | have hu := unit_conjugateEquiv a b α.inv X |
| 24 | rw [h] at hu |
| 25 | have hm : R'.map (α.inv.app X) ≫ R'.map (α.hom.app X) = 𝟙 _ := by |
| 26 | rw [← R'.map_comp, Iso.inv_hom_id_app, R'.map_id] |
| 27 | calc |
| 28 | _ = (a.unit.app X ≫ β.hom.app (L.obj X)) ≫ R'.map (α.hom.app X) := |
| 29 | (Category.assoc _ _ _).symm |
| 30 | _ = (b.unit.app X ≫ R'.map (α.inv.app X)) ≫ R'.map (α.hom.app X) := |
| 31 | congrArg (fun z => z ≫ R'.map (α.hom.app X)) hu |
| 32 | _ = _ := by |
| 33 | rw [Category.assoc, hm] |
| 34 | exact Category.comp_id _ |
| 35 | |
| 36 | include h in |
| 37 | /-- Adjunction transposition retains a map after the prescribed left and right comparisons. -/ |
| 38 | theorem homEquiv_transport {X : C} {Y : D} (t : L.obj X ⟶ Y) : |
| 39 | b.homEquiv X Y (α.inv.app X ≫ t) = a.homEquiv X Y t ≫ β.hom.app Y := by |
| 40 | have hu := unit_conjugateEquiv a b α.inv X |
| 41 | rw [h] at hu |
| 42 | calc |
| 43 | _ = (b.unit.app X ≫ R'.map (α.inv.app X)) ≫ R'.map t := by |
| 44 | rw [b.homEquiv_unit, R'.map_comp, Category.assoc] |
| 45 | _ = (a.unit.app X ≫ β.hom.app (L.obj X)) ≫ R'.map t := |
| 46 | congrArg (fun z => z ≫ R'.map t) hu.symm |
| 47 | _ = a.unit.app X ≫ R.map t ≫ β.hom.app Y := by |
| 48 | rw [Category.assoc, β.hom.naturality] |
| 49 | _ = _ := by rw [a.homEquiv_unit, Category.assoc] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointIsoUnits |