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.LocallyBijective |
| 2 | |
| 3 | /-! # Sheaf Cover Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SheafCoverIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A morphism of sheaves is an isomorphism if its components are |
| 10 | bijective on a covering sieve of every test object. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w |
| 15 | variable {C : Type u} [Category.{v} C] {J : GrothendieckTopology C} |
| 16 | {F G : Sheaf J (Type w)} |
| 17 | |
| 18 | theorem sheaf_isIso_of_cover_bijective (φ : F ⟶ G) |
| 19 | (h : ∀ X : C, ∃ R : Sieve X, R ∈ J X ∧ |
| 20 | ∀ (Y : C) (f : Y ⟶ X), R f → Function.Bijective (φ.hom.app (.op Y))) : |
| 21 | IsIso φ := by |
| 22 | have hi : Presheaf.IsLocallyInjective J φ.hom := by |
| 23 | constructor |
| 24 | intro X x y hxy |
| 25 | obtain ⟨R, hR, hb⟩ := h X.unop |
| 26 | refine J.superset_covering ?_ hR |
| 27 | intro Y f hf |
| 28 | apply (hb Y f hf).injective |
| 29 | change φ.hom.app (.op Y) (F.obj.map f.op x) = |
| 30 | φ.hom.app (.op Y) (F.obj.map f.op y) |
| 31 | rw [NatTrans.naturality_apply, NatTrans.naturality_apply, hxy] |
| 32 | have hs : Presheaf.IsLocallySurjective J φ.hom := by |
| 33 | constructor |
| 34 | intro X x |
| 35 | obtain ⟨R, hR, hb⟩ := h X |
| 36 | refine J.superset_covering ?_ hR |
| 37 | intro Y f hf |
| 38 | exact (hb Y f hf).surjective (G.obj.map f.op x) |
| 39 | exact (Sheaf.isLocallyBijective_iff_isIso φ).mp ⟨hi, hs⟩ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SheafCoverIso |