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.Polynomial.ParameterSpecialization |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.PolynomialInclusion |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ProjectiveFunctoriality |
| 4 | |
| 5 | /-! # Specialization Embedding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.SpecializationEmbedding.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficient specialization respects the actual polynomial closed |
| 12 | embedding, including its map to the original relative projective space. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 18 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) {T : Over S} (x : T ⟶ M) |
| 19 | |
| 20 | theorem relativePolynomialParameterIso_native_projective : |
| 21 | (ParameterSpecialization.GradedHilbert.relativePolynomialParameterIso M I x).hom ≫ Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ |
| 22 | (prod.snd : Over.mk x.left ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left = |
| 23 | Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion T (ParameterSpecialization.GradedHilbert.parameterHomogeneousIdeal M I x) (𝟙 T) ≫ |
| 24 | (prod.snd : Over.mk (𝟙 T.left) ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver T.left n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver T.left n).left ≫ |
| 25 | Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap x.left n := by |
| 26 | let J := ParameterSpecialization.GradedHilbert.parameterHomogeneousIdeal M I x |
| 27 | let F := Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily M I x |
| 28 | let G := Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily T J (𝟙 T) |
| 29 | let e : G ≅ F := ParameterSpecialization.GradedHilbert.relativePolynomialParameterIso M I x |
| 30 | let lM : F ⟶ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left := Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ |
| 31 | (prod.snd : Over.mk x.left ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left |
| 32 | let lT : G ⟶ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver T.left n).left := Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion T J (𝟙 T) ≫ |
| 33 | (prod.snd : Over.mk (𝟙 T.left) ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver T.left n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver T.left n).left |
| 34 | let rM : F ⟶ Proj (Graded.Quotient.GradedHilbert.quotientGrading I) := pullback.fst _ _ |
| 35 | let rT : G ⟶ Proj (Graded.Quotient.GradedHilbert.quotientGrading J) := pullback.fst _ _ |
| 36 | let jI : Proj (Graded.Quotient.GradedHilbert.quotientGrading I) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) := Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I |
| 37 | let jJ : Proj (Graded.Quotient.GradedHilbert.quotientGrading J) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading Γ(T.left, ⊤) n) := Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J |
| 38 | let c := ParameterSpecialization.GradedHilbert.parameterProjectiveCoefficient M I x |
| 39 | let b := Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap x.left n |
| 40 | let pF : F ⟶ T.left := Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x |
| 41 | let pG : G ⟶ T.left := Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection T J (𝟙 T) |
| 42 | have hm₁ : lM ≫ pullback.fst _ _ = rM ≫ jI := Intrinsic.PolynomialCoordinates.GradedHilbert.nativePolynomialInclusion_coefficient M I x |
| 43 | have ht₁ : lT ≫ pullback.fst _ _ = rT ≫ jJ := Intrinsic.PolynomialCoordinates.GradedHilbert.nativePolynomialInclusion_coefficient T J (𝟙 T) |
| 44 | have he₁ : e.hom ≫ rM = rT ≫ c := ParameterSpecialization.GradedHilbert.relativePolynomialParameterIso_coefficient M I x |
| 45 | have he₂ : e.hom ≫ pF = pG := ParameterSpecialization.GradedHilbert.relativePolynomialParameterIso_projection M I x |
| 46 | have hc : c ≫ jI = jJ ≫ ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap x.left.appTop.hom := |
| 47 | ParameterSpecialization.GradedHilbert.parameterProjectiveCoefficient_inclusion M I x |
| 48 | have hm₂ : lM ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom = pF ≫ x.left := by |
| 49 | dsimp only [lM] |
| 50 | rw [Category.assoc, Intrinsic.PolynomialPointComparison.GradedHilbert.nativePolynomialAmbient_second_projection, ← Category.assoc, |
| 51 | Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection] |
| 52 | have ht₂ : lT ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver T.left n).hom = pG := by |
| 53 | dsimp only [lT] |
| 54 | rw [Category.assoc, Intrinsic.PolynomialPointComparison.GradedHilbert.nativePolynomialAmbient_second_projection T (𝟙 T), ← Category.assoc, |
| 55 | Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection] |
| 56 | exact Category.comp_id _ |
| 57 | change e.hom ≫ lM = lT ≫ b |
| 58 | apply pullback.hom_ext |
| 59 | · calc |
| 60 | _ = (e.hom ≫ rM) ≫ jI := by rw [Category.assoc, hm₁, Category.assoc] |
| 61 | _ = (rT ≫ c) ≫ jI := congrArg (fun l => l ≫ jI) he₁ |
| 62 | _ = rT ≫ jJ ≫ ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap x.left.appTop.hom := by rw [Category.assoc, hc] |
| 63 | _ = _ := by |
| 64 | rw [Category.assoc, Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap_coefficient] |
| 65 | simpa only [Category.assoc] using |
| 66 | congrArg (fun l => l ≫ ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap x.left.appTop.hom) ht₁.symm |
| 67 | · change (e.hom ≫ lM) ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom = |
| 68 | (lT ≫ b) ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).hom |
| 69 | calc |
| 70 | _ = (e.hom ≫ pF) ≫ x.left := by rw [Category.assoc, hm₂, Category.assoc] |
| 71 | _ = pG ≫ x.left := congrArg (fun l => l ≫ x.left) he₂ |
| 72 | _ = _ := by |
| 73 | rw [Category.assoc, Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap_projection, ← Category.assoc, ht₂] |
| 74 | |
| 75 | theorem relativePolynomialParameterIso_global_inclusion : |
| 76 | (ParameterSpecialization.GradedHilbert.relativePolynomialParameterIso M I x).hom ≫ Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion M I x = |
| 77 | Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion T (ParameterSpecialization.GradedHilbert.parameterHomogeneousIdeal M I x) (𝟙 T) := by |
| 78 | apply (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd T (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n))).hom_ext |
| 79 | · change (_ ≫ _) ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T = |
| 80 | _ ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T |
| 81 | rw [Category.assoc, Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion_projection, Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion_projection, |
| 82 | ParameterSpecialization.GradedHilbert.relativePolynomialParameterIso_projection] |
| 83 | · change (_ ≫ _) ≫ (prod.snd : T ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left = |
| 84 | _ ≫ (prod.snd : T ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left |
| 85 | rw [Category.assoc, Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion_projective, Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion_projective] |
| 86 | have h := congrArg (fun l => l ≫ Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap M.hom n) |
| 87 | (relativePolynomialParameterIso_native_projective M I x) |
| 88 | simp only [Category.assoc] at h |
| 89 | rw [← ProjectiveFunctoriality.GradedHilbert.relativeProjectiveBaseMap_comp, x.w] at h |
| 90 | exact h |
| 91 | |
| 92 | theorem globalPolynomialInclusion_parameter_ker : |
| 93 | (Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion M I x).ker = |
| 94 | (Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion T (ParameterSpecialization.GradedHilbert.parameterHomogeneousIdeal M I x) (𝟙 T)).ker := by |
| 95 | rw [← relativePolynomialParameterIso_global_inclusion, Scheme.Hom.ker_comp_of_isIso] |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.SpecializationEmbedding.GradedHilbert |