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.Ideal.ContainmentParameterFunctor |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SpectrumTestFactorization |
| 3 | |
| 4 | /-! # Containment Parameter Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ContainmentParameterRepresentation.Hilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed-ambient parameter condition is represented on all test |
| 11 | schemes once its representing monomorphism is verified on spectra. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (X : Over S) {B Z : Over S} |
| 17 | variable (I J : (Hilbert.Functor.ambient X B).IdealSheafData) (j : Z ⟶ B) [Mono j.left] |
| 18 | variable (hspec : ∀ (A : Type u) [CommRing A] (a : Spec (CommRingCat.of A) ⟶ S) |
| 19 | (x : Over.mk a ⟶ B), x ∈ (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J).obj (.op (Over.mk a)) ↔ |
| 20 | ∃ y : Over.mk a ⟶ Z, y ≫ j = x) |
| 21 | |
| 22 | include hspec in |
| 23 | theorem idealContainmentParameter_lifts (T : Over S) (x : T ⟶ B) : |
| 24 | x ∈ (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J).obj (.op T) ↔ |
| 25 | ∃! y : T ⟶ Z, y ≫ j = x := by |
| 26 | apply Affine.TestFactorization.subfunctor_lifts_of_affine_tests (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J) j ?_ ?_ T x |
| 27 | · intro T x h |
| 28 | let C := T.left.affineOpenCover |
| 29 | let U (i : C.I₀) : Over S := Over.mk (C.f i ≫ T.hom) |
| 30 | let f (i : C.I₀) : U i ⟶ T := Over.homMk (C.f i) rfl |
| 31 | let : ∀ i, IsOpenImmersion (f i).left := fun i => inferInstanceAs (IsOpenImmersion (C.f i)) |
| 32 | exact ContainmentParameterFunctor.Hilbert.idealContainmentParameter_of_openCover X I J U f (fun t => C.openCover.exists_eq t) x h |
| 33 | · intro T _ x |
| 34 | exact SpectrumTestFactorization.affine_lifts_of_spectrum_tests (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J) j hspec T x |
| 35 | |
| 36 | include hspec in |
| 37 | theorem idealContainmentParameter_representation : |
| 38 | ∃ e : yoneda.obj Z ≅ (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J).toFunctor, |
| 39 | e.hom ≫ (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J).ι = yoneda.map j := by |
| 40 | let : Mono j := Over.mono_of_mono_left j |
| 41 | apply SubfunctorRepresentations.subfunctor_representation_of_lifts (ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor X I J) j |
| 42 | intro T x |
| 43 | constructor |
| 44 | · intro hx |
| 45 | exact ((idealContainmentParameter_lifts X I J j hspec T x).mp hx).exists |
| 46 | · rintro ⟨y, hy⟩ |
| 47 | exact (idealContainmentParameter_lifts X I J j hspec T x).mpr |
| 48 | ⟨y, hy, fun z hz => (cancel_mono j).mp (hz.trans hy.symm)⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ContainmentParameterRepresentation.Hilbert |