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.AlgebraicGeometry.Sites.Fpqc |
| 2 | import Mathlib.CategoryTheory.Sites.Over |
| 3 | import Mathlib.CategoryTheory.RepresentedBy |
| 4 | |
| 5 | /-! # Restricted Classifying Equiv -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.RestrictedClassifyingEquiv |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A local representing equivalence is the classifying map of the |
| 12 | restricted global element when their universal classes agree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u w |
| 17 | variable {S T : Scheme.{u}} (b : T ⟶ S) (D : Over S) |
| 18 | (F : (Over S)ᵒᵖ ⥤ Type w) (x : F.obj (.op D)) |
| 19 | (R : ((Over.map b).op ⋙ F).RepresentableBy ((Over.pullback b).obj D)) |
| 20 | |
| 21 | def restrictedClassifyingEquiv (W : Over T) : |
| 22 | ((Over.map b).obj W ⟶ D) ≃ F.obj (.op ((Over.map b).obj W)) := |
| 23 | ((Over.mapPullbackAdj b).homEquiv W D).trans R.homEquiv |
| 24 | |
| 25 | theorem restrictedClassifyingEquiv_apply |
| 26 | (hx : R.homEquiv (𝟙 ((Over.pullback b).obj D)) = |
| 27 | F.map ((Over.mapPullbackAdj b).counit.app D).op x) |
| 28 | (W : Over T) (a : (Over.map b).obj W ⟶ D) : |
| 29 | restrictedClassifyingEquiv b D F R W a = F.map a.op x := by |
| 30 | let a' := (Over.mapPullbackAdj b).homEquiv W D a |
| 31 | have hn : R.homEquiv a' = F.map ((Over.map b).map a').op |
| 32 | (R.homEquiv (𝟙 ((Over.pullback b).obj D))) := by |
| 33 | simpa only [Category.comp_id, Functor.comp_map, Functor.op_map, Quiver.Hom.unop_op] using |
| 34 | R.homEquiv_comp a' (𝟙 ((Over.pullback b).obj D)) |
| 35 | have hc : (Over.map b).map a' ≫ (Over.mapPullbackAdj b).counit.app D = a := |
| 36 | ((Over.mapPullbackAdj b).homEquiv_counit W D a').symm.trans |
| 37 | (((Over.mapPullbackAdj b).homEquiv W D).symm_apply_apply a) |
| 38 | change R.homEquiv a' = _ |
| 39 | rw [hn, hx, ← Functor.map_comp_apply, ← op_comp, hc] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.RestrictedClassifyingEquiv |