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.Hilbert.AmbientCover |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ContainmentOpenLocality |
| 3 | import Mathlib.CategoryTheory.Subfunctor.Basic |
| 4 | |
| 5 | /-! # Containment Parameter Functor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ContainmentParameterFunctor.Hilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scheme-theoretic containment of two universal ambient ideals is a |
| 12 | natural condition on parameter maps and is local on the test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (X : Over S) {B : Over S} |
| 18 | variable (I J : (Hilbert.Functor.ambient X B).IdealSheafData) |
| 19 | |
| 20 | def idealContainmentParameterSubfunctor : Subfunctor (yoneda.obj B) where |
| 21 | obj T := {x | I.comap (Hilbert.Functor.ambientMap X x) ≤ J.comap (Hilbert.Functor.ambientMap X x)} |
| 22 | map f x hx := by |
| 23 | change I.comap (Hilbert.Functor.ambientMap X (f.unop ≫ x)) ≤ J.comap (Hilbert.Functor.ambientMap X (f.unop ≫ x)) |
| 24 | rw [Hilbert.Functor.ambientMap_comp, Scheme.IdealSheafData.comap_comp, Scheme.IdealSheafData.comap_comp] |
| 25 | exact Scheme.IdealSheafData.comap_mono (Hilbert.Functor.ambientMap X f.unop) hx |
| 26 | |
| 27 | theorem idealContainmentParameter_mem {T : Over S} (x : T ⟶ B) : |
| 28 | x ∈ (idealContainmentParameterSubfunctor X I J).obj (.op T) ↔ |
| 29 | I.comap (Hilbert.Functor.ambientMap X x) ≤ J.comap (Hilbert.Functor.ambientMap X x) := Iff.rfl |
| 30 | |
| 31 | variable {T : Over S} {ι : Type u} (U : ι → Over S) (f : ∀ i, U i ⟶ T) |
| 32 | variable [∀ i, IsOpenImmersion (f i).left] |
| 33 | variable (hcover : ∀ t : T.left, ∃ i, ∃ u : (U i).left, (f i).left u = t) |
| 34 | |
| 35 | include hcover in |
| 36 | theorem idealContainmentParameter_of_openCover (x : T ⟶ B) |
| 37 | (h : ∀ i, f i ≫ x ∈ (idealContainmentParameterSubfunctor X I J).obj (.op (U i))) : |
| 38 | x ∈ (idealContainmentParameterSubfunctor X I J).obj (.op T) := by |
| 39 | apply ContainmentOpenLocality.ideal_le_of_openCover (Hilbert.AmbientCover.ambientOpenCover X U f hcover) |
| 40 | intro i |
| 41 | change (I.comap (Hilbert.Functor.ambientMap X x)).comap (Hilbert.Functor.ambientMap X (f i)) ≤ |
| 42 | (J.comap (Hilbert.Functor.ambientMap X x)).comap (Hilbert.Functor.ambientMap X (f i)) |
| 43 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, ← Hilbert.Functor.ambientMap_comp] |
| 44 | exact h i |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ContainmentParameterFunctor.Hilbert |