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.Sheaf |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.HasPullback |
| 3 | |
| 4 | /-! # Cover Sheaf Existence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoverSheafExistence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local sections glue if sections on the pairwise pullbacks of |
| 11 | the covering arrows are unique. Uniqueness on arbitrary tests is unnecessary. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | theorem sheaf_nonempty_of_cover_subsingleton_pullbacks |
| 18 | {C : Type u} [Category.{v} C] [HasPullbacks C] |
| 19 | (J : GrothendieckTopology C) (P : Cᵒᵖ ⥤ Type w) (hP : Presheaf.IsSheaf J P) |
| 20 | {T : C} (R : Presieve T) (hR : Sieve.generate R ∈ J T) |
| 21 | (hlocal : ∀ {U : C} (f : U ⟶ T), R f → Nonempty (P.obj (op U))) |
| 22 | (hsub : ∀ {U V : C} (f : U ⟶ T) (g : V ⟶ T), R f → R g → |
| 23 | Subsingleton (P.obj (op (pullback f g)))) : Nonempty (P.obj (op T)) := by |
| 24 | let s : Presieve.FamilyOfElements P R := fun {_} f hf => Classical.choice (hlocal f hf) |
| 25 | have hs : s.Compatible := by |
| 26 | intro U V W a b f g hf hg hab |
| 27 | let l := pullback.lift a b hab |
| 28 | have := hsub f g hf hg |
| 29 | have h : P.map (pullback.fst f g).op (s f hf) = P.map (pullback.snd f g).op (s g hg) := |
| 30 | Subsingleton.elim _ _ |
| 31 | have hh := congrArg (P.map l.op) h |
| 32 | simpa only [← Functor.map_comp_apply, ← op_comp, l, pullback.lift_fst, pullback.lift_snd] using hh |
| 33 | obtain ⟨t, _, _⟩ := |
| 34 | ((isSheaf_iff_isSheaf_of_type _ _).mp hP).isSheafFor R hR s hs |
| 35 | exact ⟨t⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoverSheafExistence.Construction |