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.Projective.EndomorphismEquations |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedIntersectionTransfer |
| 3 | import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono |
| 4 | |
| 5 | /-! # Natural Endomorphism Closed Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NaturalEndomorphismClosedLocus.Core |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual closed group-compatibility locus in a represented family |
| 12 | of morphism tuples represents exactly the corresponding endomorphism tuples. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] (n : ℕ) |
| 18 | |
| 19 | theorem forgetGroupLaw_injective (T : Over S) : |
| 20 | Function.Injective ((Endomorphisms.Core.forgetGroupLaw A n).app (.op T)) := by |
| 21 | intro f g h |
| 22 | funext i |
| 23 | exact Subtype.ext (congrFun h i) |
| 24 | |
| 25 | theorem forgetGroupLaw_mono : Mono (Endomorphisms.Core.forgetGroupLaw A n) := by |
| 26 | apply (NatTrans.mono_iff_mono_app _).mpr |
| 27 | intro T |
| 28 | exact (CategoryTheory.mono_iff_injective _).mpr (forgetGroupLaw_injective A n T.unop) |
| 29 | |
| 30 | theorem preservesGroupLaws_iff_exists_endomorphismTuple {T : Over S} |
| 31 | (f : (Has.Core.morphismTuples A A n).obj (.op T)) : |
| 32 | (∀ i, Endomorphisms.Core.PreservesGroupLaw A (f i)) ↔ |
| 33 | ∃ g : (Endomorphisms.Core.endomorphismTuples A n).obj (.op T), (Endomorphisms.Core.forgetGroupLaw A n).app (.op T) g = f := by |
| 34 | constructor |
| 35 | · intro h |
| 36 | exact ⟨fun i => ⟨f i, h i⟩, rfl⟩ |
| 37 | · rintro ⟨g, rfl⟩ |
| 38 | exact fun i => (g i).property |
| 39 | |
| 40 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 41 | |
| 42 | theorem naturalMorphism_endomorphismClosed (BA : Has.Core.ProjectivePresentation A) |
| 43 | {M : Over S} [IsLocallyNoetherian M.left] |
| 44 | (t : yoneda.obj M ⟶ Has.Core.morphismTuples A A n) [Mono t] : |
| 45 | ∃ (E : Over S) (j : E ⟶ M), IsClosedImmersion j.left ∧ |
| 46 | (∀ (T : Over S) (x : T ⟶ M), (∀ i, Endomorphisms.Core.PreservesGroupLaw A (t.app (.op T) x i)) ↔ |
| 47 | ∃! y : T ⟶ E, y ≫ j = x) ∧ |
| 48 | ∃ e : yoneda.obj E ≅ ((Subfunctor.range t).preimage (Endomorphisms.Core.forgetGroupLaw A n)).toFunctor, |
| 49 | e.hom ≫ ((Subfunctor.range t).preimage (Endomorphisms.Core.forgetGroupLaw A n)).ι ≫ Endomorphisms.Core.forgetGroupLaw A n = |
| 50 | yoneda.map j ≫ t := by |
| 51 | obtain ⟨E, j, hj, htest⟩ := Projective.EndomorphismEquations.Core.endomorphismTuples_closed_lifts A BA n t |
| 52 | let : IsClosedImmersion j.left := hj |
| 53 | let : Mono j := Over.mono_of_mono_left j |
| 54 | let : Mono (Endomorphisms.Core.forgetGroupLaw A n) := forgetGroupLaw_mono A n |
| 55 | refine ⟨E, j, hj, htest, ?_⟩ |
| 56 | apply RepresentedIntersectionTransfer.representedIntersectionTransfer t (Endomorphisms.Core.forgetGroupLaw A n) j |
| 57 | intro T x |
| 58 | rw [← preservesGroupLaws_iff_exists_endomorphismTuple] |
| 59 | constructor |
| 60 | · intro hx |
| 61 | exact ((htest T x).mp hx).exists |
| 62 | · rintro ⟨y, hy⟩ |
| 63 | exact (htest T x).mpr ⟨y, hy, fun z hz => (cancel_mono j).mp (hz.trans hy.symm)⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NaturalEndomorphismClosedLocus.Core |