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.PullHom |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModulePullbackHom |
| 3 | |
| 4 | /-! # Pull Hom Common Factor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullHomCommonFactor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality after a common factor is preserved by the actual pullback |
| 11 | composition comparisons. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 15 | |
| 16 | universe u v u' v' |
| 17 | |
| 18 | theorem common_factor |
| 19 | {C : Type u} [Category.{v} C] {F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}} |
| 20 | {X Y V W : C} {M N : F.obj (.mk (op Y))} (f : X ⟶ Y) |
| 21 | (q : (F.map f.op.toLoc).toFunctor.obj M ⟶ (F.map f.op.toLoc).toFunctor.obj N) |
| 22 | (x y : V ⟶ X) (s : V ⟶ Y) (hx : x ≫ f = s) (hy : y ≫ f = s) |
| 23 | (h : pullHom q x s s hx hx = pullHom q y s s hy hy) |
| 24 | (a : W ⟶ V) (u v : W ⟶ X) (p : W ⟶ Y) |
| 25 | (hax : a ≫ x = u) (hay : a ≫ y = v) (has : a ≫ s = p) |
| 26 | (hu : u ≫ f = p) (hv : v ≫ f = p) : |
| 27 | pullHom q u p p hu hu = pullHom q v p p hv hv := by |
| 28 | have hx' : (a ≫ x) ≫ f = p := by rw [hax, hu] |
| 29 | have hy' : (a ≫ y) ≫ f = p := by rw [hay, hv] |
| 30 | calc |
| 31 | _ = pullHom q (a ≫ x) p p hx' hx' := |
| 32 | Picard.PoincareBundle.PullHom.pullHom_congr q _ _ hax.symm p p hu hu hx' hx' |
| 33 | _ = pullHom (pullHom q x s s hx hx) a p p has has := |
| 34 | (pullHom_pullHom q x s s a p p hx hx has has).symm |
| 35 | _ = pullHom (pullHom q y s s hy hy) a p p has has := |
| 36 | congrArg (fun r ↦ pullHom r a p p has has) h |
| 37 | _ = pullHom q (a ≫ y) p p hy' hy' := |
| 38 | pullHom_pullHom q y s s a p p hy hy has has |
| 39 | _ = pullHom q v p p hv hv := |
| 40 | Picard.PoincareBundle.PullHom.pullHom_congr q _ _ hay p p hy' hy' hv hv |
| 41 | |
| 42 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModulePullbackHom |
| 43 | |
| 44 | theorem native_common_factor {X Y V W : Scheme.{u}} {M N : Y.Modules} (f : X ⟶ Y) |
| 45 | (q : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 46 | (x y : V ⟶ X) (s : V ⟶ Y) (hx : x ≫ f = s) (hy : y ≫ f = s) |
| 47 | (h : FramedPullback.pullbackHomTo x f s hx q = FramedPullback.pullbackHomTo y f s hy q) |
| 48 | (a : W ⟶ V) (u v : W ⟶ X) (p : W ⟶ Y) |
| 49 | (hax : a ≫ x = u) (hay : a ≫ y = v) (has : a ≫ s = p) |
| 50 | (hu : u ≫ f = p) (hv : v ≫ f = p) : |
| 51 | FramedPullback.pullbackHomTo u f p hu q = FramedPullback.pullbackHomTo v f p hv q := by |
| 52 | have hi := (ModulePullbackHom.pullbackHomTo_eq_pullHom x f s hx q).symm.trans |
| 53 | (h.trans (ModulePullbackHom.pullbackHomTo_eq_pullHom y f s hy q)) |
| 54 | have ho := common_factor (F := ModulePullbackHom.modulePullbackFunctor) f q x y s hx hy hi |
| 55 | a u v p hax hay has hu hv |
| 56 | exact (ModulePullbackHom.pullbackHomTo_eq_pullHom u f p hu q).trans |
| 57 | (ho.trans (ModulePullbackHom.pullbackHomTo_eq_pullHom v f p hv q).symm) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullHomCommonFactor |