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.Kernel.PairDetectsMorphisms |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition |
| 3 | |
| 4 | /-! # Fiber Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Recovered.FiberTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Recovery on every test fiber identifies the actual descent transport |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v u' v' |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [HasPullbacks C] |
| 19 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) {X Y : C} (f : X ⟶ Y) |
| 20 | (D : F.DescentData (fun (_ : PUnit.{1}) => f)) (P : F.obj (.mk (op Y))) |
| 21 | (e : (F.map f.op.toLoc).toFunctor.obj P ≅ D.obj PUnit.unit) |
| 22 | |
| 23 | /-- The canonical fiber recovery combines composition of pullback with the specified source recovery. -/ |
| 24 | def recoveryIso {T : C} (x : T ⟶ X) (q : T ⟶ Y) (hx : x ≫ f = q) : |
| 25 | (F.map q.op.toLoc).toFunctor.obj P ≅ (F.map x.op.toLoc).toFunctor.obj (D.obj PUnit.unit) := |
| 26 | (PullbackFiberComposition.fiberIsoTo F f P x q hx).symm ≪≫ (F.map x.op.toLoc).toFunctor.mapIso e |
| 27 | |
| 28 | variable (ha : (F.map (pullback.fst f f).op.toLoc).toFunctor.map e.hom ≫ |
| 29 | D.hom (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 30 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl = |
| 31 | (Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f) P).hom |
| 32 | (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 33 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl ≫ |
| 34 | (F.map (pullback.snd f f).op.toLoc).toFunctor.map e.hom) |
| 35 | |
| 36 | include ha in |
| 37 | /-- The canonical recovered fibers respect the original transport on every equal-image pair. -/ |
| 38 | theorem recovery_hom {T : C} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 39 | (recoveryIso F f D P e x q hx).hom ≫ D.hom q (i₁ := PUnit.unit) (i₂ := PUnit.unit) x y hx hy = |
| 40 | (recoveryIso F f D P e y q hy).hom := by |
| 41 | let cx := PullbackFiberComposition.fiberIsoTo F f P x q hx |
| 42 | let cy := PullbackFiberComposition.fiberIsoTo F f P y q hy |
| 43 | have h := Kernel.PairDetectsMorphisms.compatible F f |
| 44 | (Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f) P) D e.hom ha q x y hx hy |
| 45 | change (F.map x.op.toLoc).toFunctor.map e.hom ≫ D.hom q x y hx hy = |
| 46 | (cx.hom ≫ cy.inv) ≫ (F.map y.op.toLoc).toFunctor.map e.hom at h |
| 47 | change (cx.inv ≫ (F.map x.op.toLoc).toFunctor.map e.hom) ≫ D.hom q x y hx hy = |
| 48 | cy.inv ≫ (F.map y.op.toLoc).toFunctor.map e.hom |
| 49 | rw [Category.assoc, h] |
| 50 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 51 | |
| 52 | include ha in |
| 53 | /-- The original full descent morphism is exactly change between the two canonical recovered fibers. -/ |
| 54 | theorem transport_eq {T : C} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 55 | D.hom q (i₁ := PUnit.unit) (i₂ := PUnit.unit) x y hx hy = |
| 56 | (recoveryIso F f D P e x q hx).inv ≫ (recoveryIso F f D P e y q hy).hom := by |
| 57 | apply (cancel_epi (recoveryIso F f D P e x q hx).hom).mp |
| 58 | rw [recovery_hom F f D P e ha, ← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Recovered.FiberTransport |