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.AbelianModuli.HilbertConstruction.SaturatedFlatIdeals |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SaturationBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.QuotientTwistingFrames |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.NoetherianFieldPolynomial |
| 5 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.CoefficientComposition |
| 6 | |
| 7 | /-! # Saturated Coefficient Change -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual coefficient change of a saturated flat Hilbert ideal is |
| 14 | the saturation of the extended ideal. Its projective family is the |
| 15 | scheme base change, compatibly with the ambient embedding and O(1). -/ |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | universe u |
| 19 | variable {R A : Type u} [CommRing R] [IsNoetherianRing R] [CommRing A] |
| 20 | variable {n : ℕ} {P : Polynomial ℚ} |
| 21 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P) (φ : R →+* A) |
| 22 | |
| 23 | def SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coefficientChange : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal A n P := by |
| 24 | letI := φ.toAlgebra |
| 25 | let J := HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I.ideal |
| 26 | have : Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)) := by |
| 27 | let e := Projective.EmbeddingBaseChange.homogeneousProjectiveBaseChangeIso (A := A) I.ideal |
| 28 | have : Flat (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom := I.flat |
| 29 | have : Flat ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R A)))).obj |
| 30 | (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal)).hom := |
| 31 | inferInstanceAs (Flat (CategoryTheory.Limits.pullback.snd (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom |
| 32 | (Spec.map (CommRingCat.ofHom (algebraMap R A))))) |
| 33 | have h : Flat (e.hom.left ≫ ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R A)))).obj |
| 34 | (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal)).hom) := inferInstance |
| 35 | have h' : Flat (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily J).hom := e.hom.w ▸ h |
| 36 | exact h' |
| 37 | refine { |
| 38 | ideal := HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation J |
| 39 | saturated := HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated J |
| 40 | flat := Projective.SaturationBaseChange.projectiveSaturation_flat J |
| 41 | hilbert := fun p => ?_ } |
| 42 | let ψ : A →+* p.asIdeal.ResidueField := algebraMap A p.asIdeal.ResidueField |
| 43 | let : Algebra R p.asIdeal.ResidueField := (ψ.comp φ).toAlgebra |
| 44 | change HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation |
| 45 | ((HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (I.ideal.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ))).map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap ψ))).toIdeal P |
| 46 | rw [HilbertScheme.Presentations.Saturation.CoefficientComposition.GradedHilbert.projectiveSaturation_coefficient_comp] |
| 47 | exact HilbertScheme.Presentations.Uniform.NoetherianFieldPolynomial.GradedHilbert.uniformFamily_field_hasHilbertPolynomial I.ideal I.saturated P I.hilbert p.asIdeal.ResidueField |
| 48 | |
| 49 | def SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coefficientChangeIso : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (I.coefficientChange φ).ideal ≅ |
| 50 | (Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) := by |
| 51 | letI := φ.toAlgebra |
| 52 | exact Projective.SaturationBaseChange.homogeneousProjectiveSaturationIso (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I.ideal) ≪≫ |
| 53 | Projective.EmbeddingBaseChange.homogeneousProjectiveBaseChangeIso (A := A) I.ideal |
| 54 | |
| 55 | def SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coefficientChangeMorphism : Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (I.coefficientChange φ).ideal) ⟶ |
| 56 | Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I.ideal) := |
| 57 | (I.coefficientChangeIso φ).hom.left ≫ |
| 58 | CategoryTheory.Limits.pullback.fst (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom |
| 59 | (Spec.map (CommRingCat.ofHom φ)) |
| 60 | |
| 61 | theorem SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coefficientChangeMorphism_ambient : |
| 62 | I.coefficientChangeMorphism φ ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 63 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (I.coefficientChange φ).ideal ≫ |
| 64 | Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n := by |
| 65 | let := φ.toAlgebra |
| 66 | let J := HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I.ideal |
| 67 | have hs : (Projective.SaturationBaseChange.homogeneousProjectiveSaturationIso J).hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J = |
| 68 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation J) := |
| 69 | congrArg Over.Hom.left (Closed.EmbeddingKernelIso.closedEmbeddingKernelIso_embedding |
| 70 | (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation J)) (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding J) |
| 71 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation_idealSheaf J)) |
| 72 | let a := (Projective.SaturationBaseChange.homogeneousProjectiveSaturationIso J).hom.left |
| 73 | let e := Projective.EmbeddingBaseChange.homogeneousProjectiveBaseChangeIso (A := A) I.ideal |
| 74 | let b := Spec.map (CommRingCat.ofHom (algebraMap R A)) |
| 75 | have he : e.hom.left ≫ CategoryTheory.Limits.pullback.fst |
| 76 | (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom b = HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap (S := A) I.ideal := |
| 77 | (HilbertScheme.Presentations.Projective.BaseChange.GradedHilbert.projectiveQuotient_isPullback (S := A) I.ideal).isoPullback_hom_fst |
| 78 | have hc : HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap (S := A) I.ideal ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 79 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n := |
| 80 | (HilbertConstruction.Polynomial.ProjectiveCoefficients.projectiveQuotientInclusion_coefficient (A := A) I.ideal).symm |
| 81 | change ((a ≫ e.hom.left) ≫ CategoryTheory.Limits.pullback.fst |
| 82 | (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom b) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = _ |
| 83 | calc |
| 84 | _ = a ≫ ((e.hom.left ≫ CategoryTheory.Limits.pullback.fst |
| 85 | (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal).hom b) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal) := by |
| 86 | simp only [Category.assoc] |
| 87 | _ = a ≫ (HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap (S := A) I.ideal ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal) := |
| 88 | congrArg (fun k => a ≫ (k ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal)) he |
| 89 | _ = a ≫ (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n) := |
| 90 | congrArg (fun k => a ≫ k) hc |
| 91 | _ = (a ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J) ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n := |
| 92 | (Category.assoc _ _ _).symm |
| 93 | _ = _ := congrArg (fun k => k ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n) hs |
| 94 | |
| 95 | def SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coefficientChangeTwistingIso : |
| 96 | ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback (I.coefficientChangeMorphism φ)).sheaf ≅ |
| 97 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle (I.coefficientChange φ).ideal 1).sheaf := |
| 98 | Coefficient.QuotientTwistingFrames.coefficientQuotientTwistingBundleIso (CommRingCat.ofHom φ) (I.coefficientChange φ).ideal I.ideal |
| 99 | (I.coefficientChangeMorphism φ) (I.coefficientChangeMorphism_ambient φ) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |