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.Intrinsic.ContainmentGlobal |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.TestFactorization |
| 3 | |
| 4 | /-! # Containment Global Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ContainmentGlobalFactorization.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The glued closed native containment scheme has the exact |
| 11 | factorization property on every test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (B : Over S) [IsLocallyNoetherian B.left] (n : ℕ) |
| 17 | variable (F : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) B) |
| 18 | variable (K : (Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) B).IdealSheafData) |
| 19 | |
| 20 | theorem nativeContainmentGlobalInclusion_mem : |
| 21 | ContainmentGlobal.GradedHilbert.nativeContainmentGlobalInclusion B n F K ∈ |
| 22 | (Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val).obj |
| 23 | (.op (ContainmentGlobal.GradedHilbert.nativeContainmentGlobalScheme B n F K)) := by |
| 24 | let : ∀ i, IsOpenImmersion (ContainmentGlobal.GradedHilbert.nativeContainmentChartToGlobal B n F K i).left := |
| 25 | fun i => ContainmentGlobal.GradedHilbert.nativeContainmentChartToGlobal_isOpenImmersion B n F K i |
| 26 | apply Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameter_of_openCover (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val |
| 27 | (ContainmentAffineCharts.GradedHilbert.nativeContainmentChart B n F K) (ContainmentGlobal.GradedHilbert.nativeContainmentChartToGlobal B n F K) |
| 28 | (fun t => (ContainmentGlobal.GradedHilbert.nativeContainmentGlueData B n F K).openCover.exists_eq t) |
| 29 | intro i |
| 30 | rw [ContainmentGlobal.GradedHilbert.nativeContainmentChartToGlobal_inclusion] |
| 31 | let j := ContainmentAffineCharts.GradedHilbert.nativeContainmentChartInclusion B n F K i |
| 32 | let : Mono j := Over.mono_of_mono_left j |
| 33 | exact (ContainmentAffineCharts.GradedHilbert.nativeContainmentChart_all_tests B n F K i (ContainmentAffineCharts.GradedHilbert.nativeContainmentChart B n F K i) j).mpr |
| 34 | ⟨𝟙 _, Category.id_comp j, fun y hy => (cancel_mono j).mp (hy.trans (Category.id_comp j).symm)⟩ |
| 35 | |
| 36 | theorem nativeContainmentGlobal_lift (T : Over S) (x : T ⟶ B) |
| 37 | (hx : x ∈ (Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val).obj (.op T)) : |
| 38 | ∃! y : T ⟶ ContainmentGlobal.GradedHilbert.nativeContainmentGlobalScheme B n F K, |
| 39 | y ≫ ContainmentGlobal.GradedHilbert.nativeContainmentGlobalInclusion B n F K = x := by |
| 40 | let C := B.left.affineOpenCover.openCover |
| 41 | let D := C.pullback₁ x.left |
| 42 | let L := Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val |
| 43 | apply Affine.TestFactorization.over_lift_of_openCover D x (ContainmentGlobal.GradedHilbert.nativeContainmentGlobalInclusion B n F K) |
| 44 | intro i |
| 45 | let V : Over S := Over.mk (D.f i ≫ T.hom) |
| 46 | let t : V ⟶ T := Over.homMk (D.f i) rfl |
| 47 | let z₀ := C.pullbackHom x.left i |
| 48 | have hz₀ : z₀ ≫ C.f i = D.f i ≫ x.left := C.pullbackHom_map x.left i |
| 49 | have hw : z₀ ≫ (ContainmentAffineCharts.affineParameterChart B i).hom = V.hom := |
| 50 | (Category.assoc _ _ _).symm.trans |
| 51 | ((congrArg (fun f => f ≫ B.hom) hz₀).trans |
| 52 | ((Category.assoc _ _ _).trans (congrArg (fun f => D.f i ≫ f) x.w))) |
| 53 | let z : V ⟶ ContainmentAffineCharts.affineParameterChart B i := Over.homMk z₀ hw |
| 54 | have hz : z ≫ ContainmentAffineCharts.affineParameterChartInclusion B i = t ≫ x := Over.OverMorphism.ext hz₀ |
| 55 | have hm : z ≫ ContainmentAffineCharts.affineParameterChartInclusion B i ∈ L.obj (.op V) := hz.symm ▸ L.map t.op hx |
| 56 | obtain ⟨y, hy, _⟩ := (ContainmentAffineCharts.GradedHilbert.nativeContainmentChart_all_tests B n F K i V z).mp hm |
| 57 | refine ⟨y ≫ ContainmentGlobal.GradedHilbert.nativeContainmentChartToGlobal B n F K i, ?_⟩ |
| 58 | exact (Category.assoc _ _ _).trans |
| 59 | ((congrArg (fun f => y ≫ f) (ContainmentGlobal.GradedHilbert.nativeContainmentChartToGlobal_inclusion B n F K i)).trans |
| 60 | ((Category.assoc _ _ _).symm.trans |
| 61 | ((congrArg (fun f => f ≫ ContainmentAffineCharts.affineParameterChartInclusion B i) hy).trans hz))) |
| 62 | |
| 63 | theorem nativeContainmentGlobal_all_tests (T : Over S) (x : T ⟶ B) : |
| 64 | K.comap (Hilbert.Functor.ambientMap (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x) ≤ |
| 65 | (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x F).val ↔ |
| 66 | ∃! y : T ⟶ ContainmentGlobal.GradedHilbert.nativeContainmentGlobalScheme B n F K, |
| 67 | y ≫ ContainmentGlobal.GradedHilbert.nativeContainmentGlobalInclusion B n F K = x := by |
| 68 | constructor |
| 69 | · exact nativeContainmentGlobal_lift B n F K T x |
| 70 | · rintro ⟨y, hy, _⟩ |
| 71 | have h := (Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val).map y.op |
| 72 | (nativeContainmentGlobalInclusion_mem B n F K) |
| 73 | change y ≫ ContainmentGlobal.GradedHilbert.nativeContainmentGlobalInclusion B n F K ∈ |
| 74 | (Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val).obj (.op T) at h |
| 75 | exact hy ▸ h |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ContainmentGlobalFactorization.GradedHilbert |