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.AmbientContainmentLocus |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.AmbientContainmentLocality |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedIntersectionTransfer |
| 4 | |
| 5 | /-! # Natural Closed Ambient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NaturalClosedAmbient.Hilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A natural projective Hilbert family restricts to a closed ambient |
| 12 | subscheme along an actual closed parameter locus, naturally on all tests. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {X Y H : Over S} |
| 18 | |
| 19 | theorem naturalFamily_eq_pullback |
| 20 | (t : yoneda.obj H ⟶ Hilbert.Functor.familyFunctor Y) {T : Over S} (a : T ⟶ H) : |
| 21 | t.app (.op T) a = Hilbert.Functor.pullbackFamily Y a (t.app (.op H) (𝟙 H)) := by |
| 22 | have h := ConcreteCategory.congr_hom (t.naturality a.op) (𝟙 H) |
| 23 | change t.app (.op T) (a ≫ 𝟙 H) = Hilbert.Functor.pullbackFamily Y a (t.app (.op H) (𝟙 H)) at h |
| 24 | simpa only [Category.comp_id] using h |
| 25 | |
| 26 | theorem naturalFamily_closedAmbient_lifts |
| 27 | [IsLocallyNoetherian H.left] (BY : Has.Core.ProjectivePresentation Y) |
| 28 | (i : X ⟶ Y) [IsClosedImmersion i.left] (t : yoneda.obj H ⟶ Hilbert.Functor.familyFunctor Y) : |
| 29 | ∃ (Z : Over S) (j : Z ⟶ H), IsClosedImmersion j.left ∧ |
| 30 | ∀ (T : Over S) (a : T ⟶ H), |
| 31 | t.app (.op T) a ∈ (Hilbert.ClosedAmbientRange.closedAmbientHilbertLocus i).obj (.op T) ↔ |
| 32 | ∃! b : T ⟶ Z, b ≫ j = a := by |
| 33 | let F := t.app (.op H) (𝟙 H) |
| 34 | obtain ⟨Z, j, hj, htest, _⟩ := Projective.AmbientContainmentLocus.Core.projective_ambient_containment_closed_locus |
| 35 | BY F (Hilbert.ClosedAmbientMap.ambientEmbedding i H).ker |
| 36 | refine ⟨Z, j, hj, ?_⟩ |
| 37 | intro T a |
| 38 | have hmem := Hilbert.ClosedAmbientRange.closedAmbientHilbertLocus_mem i (t.app (.op T) a) |
| 39 | rw [naturalFamily_eq_pullback, Closed.AmbientContainmentLocality.Hilbert.ambientEmbedding_ker_baseChange] at hmem |
| 40 | rw [naturalFamily_eq_pullback t a] |
| 41 | exact hmem.trans (htest T a) |
| 42 | |
| 43 | theorem naturalFamily_closedAmbient |
| 44 | [IsLocallyNoetherian H.left] (BY : Has.Core.ProjectivePresentation Y) |
| 45 | (i : X ⟶ Y) [IsClosedImmersion i.left] |
| 46 | (t : yoneda.obj H ⟶ Hilbert.Functor.familyFunctor Y) [Mono t] : |
| 47 | ∃ (Z : Over S) (j : Z ⟶ H), IsClosedImmersion j.left ∧ |
| 48 | ∃ e : yoneda.obj Z ≅ ((Subfunctor.range t).preimage (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i)).toFunctor, |
| 49 | e.hom ≫ ((Subfunctor.range t).preimage (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i)).ι ≫ |
| 50 | Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i = yoneda.map j ≫ t := by |
| 51 | obtain ⟨Z, j, hj, htest⟩ := naturalFamily_closedAmbient_lifts BY i t |
| 52 | let : IsClosedImmersion j.left := hj |
| 53 | let : Mono j := Over.mono_of_mono_left j |
| 54 | let : Mono (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i) := Hilbert.ClosedAmbientNaturality.closedAmbientTransformation_mono i |
| 55 | refine ⟨Z, j, hj, ?_⟩ |
| 56 | apply RepresentedIntersectionTransfer.representedIntersectionTransfer t (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i) j |
| 57 | intro T a |
| 58 | constructor |
| 59 | · intro ha |
| 60 | exact ((htest T a).mp ha).exists |
| 61 | · rintro ⟨b, hb⟩ |
| 62 | exact (htest T a).mpr ⟨b, hb, fun c hc => (cancel_mono j).mp (hc.trans hb.symm)⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NaturalClosedAmbient.Hilbert |