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.Sites.SubcanonicalOver |
| 2 | import Mathlib.CategoryTheory.Sites.Subsheaf |
| 3 | |
| 4 | /-! # Over Subfunctor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.OverSubfunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A subfunctor of points in an over-category also defines a subfunctor |
| 11 | of the underlying object's points. Sheaf descent is preserved. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory Opposite |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u v |
| 20 | variable {C : Type u} [Category.{v} C] {S : C} {A : Over S} |
| 21 | (P : Subfunctor (yoneda.obj A)) |
| 22 | |
| 23 | def overSubfunctor : Subfunctor (yoneda.obj A.left) where |
| 24 | obj T := { a | (Over.homMk a rfl : Over.mk (a ≫ A.hom) ⟶ A) ∈ P.obj (op (Over.mk (a ≫ A.hom))) } |
| 25 | map j a ha := by |
| 26 | let f : Over.mk ((j.unop ≫ a) ≫ A.hom) ⟶ Over.mk (a ≫ A.hom) := |
| 27 | Over.homMk j.unop (Category.assoc _ _ _).symm |
| 28 | exact P.map f.op ha |
| 29 | |
| 30 | theorem overSubfunctor_mem {T : Over S} (a : T ⟶ A) : |
| 31 | a.left ∈ (overSubfunctor P).obj (op T.left) ↔ a ∈ P.obj (op T) := by |
| 32 | let e : Over.mk (a.left ≫ A.hom) ≅ T := |
| 33 | Over.isoMk (Iso.refl T.left) ((Category.id_comp T.hom).trans a.w.symm) |
| 34 | let b : Over.mk (a.left ≫ A.hom) ⟶ A := Over.homMk a.left rfl |
| 35 | have hb : e.inv ≫ b = a := Over.OverMorphism.ext (Category.id_comp a.left) |
| 36 | have ha : e.hom ≫ a = b := Over.OverMorphism.ext (Category.id_comp a.left) |
| 37 | constructor |
| 38 | · intro h |
| 39 | exact hb ▸ P.map e.inv.op h |
| 40 | · intro h |
| 41 | change b ∈ P.obj (op (Over.mk (a.left ≫ A.hom))) |
| 42 | exact ha ▸ P.map e.hom.op h |
| 43 | |
| 44 | theorem overSubfunctor_isSheaf (J : GrothendieckTopology C) [J.Subcanonical] |
| 45 | (hP : Presieve.IsSheaf (J.over S) P.toFunctor) : |
| 46 | Presieve.IsSheaf J (overSubfunctor P).toFunctor := by |
| 47 | have hA := GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable (J := J) (yoneda.obj A.left) |
| 48 | have hA' := GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable (J := J.over S) (yoneda.obj A) |
| 49 | apply ((overSubfunctor P).isSheaf_iff hA).mpr |
| 50 | intro T a hR |
| 51 | let U := Over.mk (a ≫ A.hom) |
| 52 | let R := (Sieve.overEquiv U).symm ((overSubfunctor P).sieveOfSection a) |
| 53 | have hc : R ∈ (J.over S) U := by |
| 54 | rw [GrothendieckTopology.mem_over_iff] |
| 55 | change Sieve.overEquiv U ((Sieve.overEquiv U).symm ((overSubfunctor P).sieveOfSection a)) ∈ J T.unop |
| 56 | rw [OrderIso.apply_symm_apply] |
| 57 | exact hR |
| 58 | apply (P.isSheaf_iff hA').mp hP (op U) (Over.homMk a rfl) |
| 59 | apply (J.over S).superset_covering _ hc |
| 60 | intro V j hj |
| 61 | change (j.left ≫ a) ∈ (overSubfunctor P).obj (op V.left) at hj |
| 62 | exact (overSubfunctor_mem P (j ≫ Over.homMk a rfl)).mp hj |
| 63 | |
| 64 | end Construction |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.OverSubfunctor |