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.HilbertScheme.Presentations.Local.MorphismFactorization |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SubfunctorRepresentations |
| 3 | |
| 4 | /-! # Test Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.TestFactorization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A monomorphic parameter map represents a local geometric condition |
| 11 | on all test schemes as soon as it does so on affine test schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {M Z : Over S} |
| 17 | |
| 18 | theorem over_lift_of_openCover {T : Over S} (U : T.left.OpenCover.{u}) |
| 19 | (x : T ⟶ M) (j : Z ⟶ M) [Mono j.left] |
| 20 | (h : ∀ i, ∃ g : Over.mk (U.f i ≫ T.hom) ⟶ Z, |
| 21 | g ≫ j = (Over.homMk (U.f i) rfl : Over.mk (U.f i ≫ T.hom) ⟶ T) ≫ x) : |
| 22 | ∃! g : T ⟶ Z, g ≫ j = x := by |
| 23 | obtain ⟨g, hg, _⟩ := Local.MorphismFactorization.lift_of_openCover U x.left j.left (fun i => by |
| 24 | obtain ⟨k, hk⟩ := h i |
| 25 | exact ⟨k.left, congrArg Over.Hom.left hk⟩) |
| 26 | have hw : g ≫ Z.hom = T.hom := by |
| 27 | rw [← j.w, ← Category.assoc, hg] |
| 28 | exact x.w |
| 29 | let l : T ⟶ Z := Over.homMk g hw |
| 30 | have hl : l ≫ j = x := Over.OverMorphism.ext hg |
| 31 | let : Mono j := Over.mono_of_mono_left j |
| 32 | exact ⟨l, hl, fun k hk => (cancel_mono j).mp (hk.trans hl.symm)⟩ |
| 33 | |
| 34 | theorem subfunctor_lifts_of_affine_tests (F : Subfunctor (yoneda.obj M)) |
| 35 | (j : Z ⟶ M) [Mono j.left] |
| 36 | (hlocal : ∀ (T : Over S) (x : T ⟶ M), |
| 37 | (∀ i : T.left.affineOpenCover.I₀, |
| 38 | ((Over.homMk (T.left.affineOpenCover.f i) rfl : |
| 39 | Over.mk (T.left.affineOpenCover.f i ≫ T.hom) ⟶ T) ≫ x) ∈ |
| 40 | F.obj (.op (Over.mk (T.left.affineOpenCover.f i ≫ T.hom)))) → x ∈ F.obj (.op T)) |
| 41 | (haff : ∀ (T : Over S) [IsAffine T.left] (x : T ⟶ M), |
| 42 | x ∈ F.obj (.op T) ↔ ∃ y : T ⟶ Z, y ≫ j = x) |
| 43 | (T : Over S) (x : T ⟶ M) : |
| 44 | x ∈ F.obj (.op T) ↔ ∃! y : T ⟶ Z, y ≫ j = x := by |
| 45 | let C := T.left.affineOpenCover |
| 46 | let U (i : C.I₀) : Over S := Over.mk (C.f i ≫ T.hom) |
| 47 | let b (i : C.I₀) : U i ⟶ T := Over.homMk (C.f i) rfl |
| 48 | constructor |
| 49 | · intro hx |
| 50 | apply over_lift_of_openCover C.openCover x j |
| 51 | intro i |
| 52 | exact (@haff (U i) (inferInstanceAs (IsAffine (Spec (C.X i)))) (b i ≫ x)).mp (F.map (b i).op hx) |
| 53 | · rintro ⟨y, hy, _⟩ |
| 54 | apply hlocal T x |
| 55 | intro i |
| 56 | apply (@haff (U i) (inferInstanceAs (IsAffine (Spec (C.X i)))) (b i ≫ x)).mpr |
| 57 | exact ⟨b i ≫ y, (Category.assoc _ _ _).trans (congrArg (fun f => b i ≫ f) hy)⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.TestFactorization |