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.Ordinary.DescentObjectIso |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.HasPullback |
| 3 | |
| 4 | /-! # Pair Detects Morphisms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.PairDetectsMorphisms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Compatibility on the actual kernel pair determines all ordinary descent-morphism equations |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 16 | |
| 17 | universe u v u' v' |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [HasPullbacks C] |
| 20 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) {X Y : C} (f : X ⟶ Y) |
| 21 | (D E : F.DescentData (fun (_ : PUnit.{1}) => f)) (a : D.obj PUnit.unit ⟶ E.obj PUnit.unit) |
| 22 | (ha : (F.map (pullback.fst f f).op.toLoc).toFunctor.map a ≫ |
| 23 | E.hom (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 24 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl = |
| 25 | D.hom (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 26 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl ≫ |
| 27 | (F.map (pullback.snd f f).op.toLoc).toFunctor.map a) |
| 28 | |
| 29 | include ha in |
| 30 | /-- Pulling back the kernel-pair equation proves compatibility on every equal-image pair of test points. -/ |
| 31 | theorem compatible {T : C} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 32 | (F.map x.op.toLoc).toFunctor.map a ≫ E.hom q (i₁ := PUnit.unit) (i₂ := PUnit.unit) x y hx hy = |
| 33 | D.hom q (i₁ := PUnit.unit) (i₂ := PUnit.unit) x y hx hy ≫ (F.map y.op.toLoc).toFunctor.map a := by |
| 34 | let t := pullback.lift x y (hx.trans hy.symm) |
| 35 | have htx : t ≫ pullback.fst f f = x := pullback.lift_fst _ _ _ |
| 36 | have hty : t ≫ pullback.snd f f = y := pullback.lift_snd _ _ _ |
| 37 | have htq : t ≫ (pullback.snd f f ≫ f) = q := by rw [← Category.assoc, hty, hy] |
| 38 | have he := congrArg (fun b => pullHom (F := F) b t x y htx hty) ha |
| 39 | rw [PullHom.pullHom_comp _ _ t x x y htx htx hty, |
| 40 | PullHom.pullHom_comp _ _ t x y y htx hty hty, |
| 41 | Ordinary.DescentObjectIso.pullHom_map, |
| 42 | E.pullHom_hom t (pullback.snd f f ≫ f) q htq (pullback.fst f f) (pullback.snd f f) |
| 43 | pullback.condition rfl x y htx hty, |
| 44 | D.pullHom_hom t (pullback.snd f f ≫ f) q htq (pullback.fst f f) (pullback.snd f f) |
| 45 | pullback.condition rfl x y htx hty, |
| 46 | Ordinary.DescentObjectIso.pullHom_map] at he |
| 47 | exact he |
| 48 | |
| 49 | /-- The actual source morphism therefore defines a morphism of the full ordinary descent data. -/ |
| 50 | def descentHom : D ⟶ E where |
| 51 | hom _ := a |
| 52 | comm _T q i j x y hx hy := by |
| 53 | cases i |
| 54 | cases j |
| 55 | exact compatible F f D E a ha q x y hx hy |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.PairDetectsMorphisms |