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.PELModuli.IntegralModel.Projective.CoefficientModels |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.CoefficientReplacement |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.SmoothModels |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GeneralModels |
| 5 | import OAI.ArithmeticGeometry.Models.SpreadingOut.Diagram |
| 6 | |
| 7 | /-! # Smooth Projective Parameters -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothProjectiveParameters.Coefficients |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Construct smooth proper finite coefficient models of projective |
| 14 | ambient-field schemes, retaining a closed embedding in standard projective |
| 15 | space. No arithmetic or coefficient-model existence is an input. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem proper_model_pullback {S T : Scheme} (u : T ⟶ S) (M : Over S) |
| 20 | (hM : IsProper M.hom) : IsProper ((Over.pullback u).obj M).hom := by |
| 21 | let := hM |
| 22 | exact inferInstanceAs (IsProper (pullback.snd M.hom u)) |
| 23 | |
| 24 | variable (R K : Type) [CommRing R] [Field K] [Algebra R K] |
| 25 | |
| 26 | structure EmbeddedCoefficientModel (X : Over (Spec (.of K))) (n : ℕ) where |
| 27 | toModel : Coefficient.Models.Coefficients.CoefficientModel R K X |
| 28 | embedding : toModel.model ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K toModel.coefficients) n |
| 29 | closedImmersion : IsClosedImmersion embedding.left |
| 30 | |
| 31 | variable [IsNoetherianRing R] |
| 32 | |
| 33 | /-- A given smooth projective scheme has an actual smooth proper |
| 34 | coefficient model with a closed standard projective embedding. -/ |
| 35 | theorem smooth_projective_coefficient_model |
| 36 | (X : Over (Spec (.of K))) [Smooth X.hom] (n : ℕ) |
| 37 | (i : X ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace K n) [IsClosedImmersion i.left] : |
| 38 | ∃ D : EmbeddedCoefficientModel R K X n, |
| 39 | Smooth D.toModel.model.hom ∧ IsProper D.toModel.model.hom := by |
| 40 | have : IsProper X.hom := by rw [← i.w]; infer_instance |
| 41 | obtain ⟨MX⟩ := Coefficient.GeneralModels.Coefficients.scheme_has_coefficient_model (R₀ := R) X |
| 42 | ⟨inferInstance, inferInstance, inferInstance⟩ |
| 43 | let s := MX.coefficients |
| 44 | let MP := Projective.CoefficientModels.Coefficients.projectiveCoefficientModel R K n s |
| 45 | obtain ⟨t, hst, f, hf⟩ := Coefficient.Morphisms.Coefficients.morphism_between_models_descends MX.model MP.model |
| 46 | MX.finitePresentation MP.finitePresentation MX.specialization MP.specialization |
| 47 | MX.cartesian MP.cartesian i |
| 48 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 49 | let X₁ := F.obj MX.model |
| 50 | let P₁ := F.obj MP.model |
| 51 | let pX := Coefficient.Morphisms.Coefficients.genericModelLift MX.model MX.specialization MX.cartesian.w hst |
| 52 | let pP := Coefficient.Morphisms.Coefficients.genericModelLift MP.model MP.specialization MP.cartesian.w hst |
| 53 | have hX : IsPullback pX X.hom X₁.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t) := |
| 54 | Coefficient.Morphisms.Coefficients.genericModelLift_cartesian MX.model MX.specialization MX.cartesian hst |
| 55 | have hP : IsPullback pP (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace K n).hom P₁.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t) := |
| 56 | Coefficient.Morphisms.Coefficients.genericModelLift_cartesian MP.model MP.specialization MP.cartesian hst |
| 57 | let eX : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t)).obj X₁ ≅ X := |
| 58 | Over.isoMk hX.isoPullback.symm hX.isoPullback_inv_snd |
| 59 | let eP : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t)).obj P₁ ≅ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace K n := |
| 60 | Over.isoMk hP.isoPullback.symm hP.isoPullback_inv_snd |
| 61 | have he : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t)).map f ≫ eP.hom = eX.hom ≫ i := |
| 62 | ArithmeticGeometry.Models.SpreadingOut.Diagram.Construction.cartesian_generic_iso_compatibility _ pX pP hX hP i f hf |
| 63 | have : IsIso eX.hom.left := ((Over.forget (Spec (.of K))).mapIso eX).isIso_hom |
| 64 | have : IsIso eP.hom.left := ((Over.forget (Spec (.of K))).mapIso eP).isIso_hom |
| 65 | have hc : IsClosedImmersion ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t)).map f).left := by |
| 66 | apply (MorphismProperty.cancel_right_of_respectsIso @IsClosedImmersion _ eP.hom.left).mp |
| 67 | rw [← Over.comp_left, he] |
| 68 | exact inferInstanceAs (IsClosedImmersion (eX.hom.left ≫ i.left)) |
| 69 | have : IsProper P₁.hom := proper_model_pullback |
| 70 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) MP.model (Projective.CoefficientModels.Coefficients.projectiveCoefficientModel_proper R K n s) |
| 71 | obtain ⟨N, j, hj, hproper, hfp, ⟨eN⟩⟩ := Proper.CoefficientReplacement.Coefficients.proper_coefficient_replacement X₁ P₁ f |
| 72 | have : IsProper N.hom := hproper |
| 73 | let D₀ : Coefficient.Models.Coefficients.CoefficientModel R K X := { |
| 74 | coefficients := t |
| 75 | model := N |
| 76 | finitePresentation := hfp |
| 77 | genericIso := eN ≪≫ eX } |
| 78 | have : Smooth ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t)).obj N).hom := by |
| 79 | have : IsIso D₀.genericIso.hom.left := ((Over.forget (Spec (.of K))).mapIso D₀.genericIso).isIso_hom |
| 80 | rw [← D₀.genericIso.hom.w] |
| 81 | infer_instance |
| 82 | let φ := ((ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientDiagram R K).map (homOfLE hst)).hom |
| 83 | let ePt : P₁ ≅ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K t) n := |
| 84 | (Projective.CoefficientModels.Coefficients.affineProjectiveBaseChangeIso φ n).symm |
| 85 | have : IsIso ePt.hom.left := ((Over.forget (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K t)).mapIso ePt).isIso_hom |
| 86 | let j₀ : N ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K t) n := j ≫ ePt.hom |
| 87 | have : IsClosedImmersion j.left := hj |
| 88 | have hj₀ : IsClosedImmersion j₀.left := inferInstanceAs (IsClosedImmersion (j.left ≫ ePt.hom.left)) |
| 89 | obtain ⟨z, htz, hsm, hproperZ⟩ := Coefficient.SmoothModels.Coefficients.proper_model_eventually_smooth N |
| 90 | let G := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) |
| 91 | let ξ := ((ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientDiagram R K).map (homOfLE htz)).hom |
| 92 | let ePz : G.obj (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K t) n) ≅ |
| 93 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K z) n := (Projective.CoefficientModels.Coefficients.affineProjectiveBaseChangeIso ξ n).symm |
| 94 | have : IsIso ePz.hom.left := ((Over.forget (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K z)).mapIso ePz).isIso_hom |
| 95 | have : IsClosedImmersion (G.map j₀).left := MorphismProperty.of_isPullback |
| 96 | (ArithmeticGeometry.Models.FoundationsPullback.Constructions.pullback_over_map_isPullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) j₀).flip hj₀ |
| 97 | let D : EmbeddedCoefficientModel R K X n := { |
| 98 | toModel := D₀.enlarge z htz |
| 99 | embedding := G.map j₀ ≫ ePz.hom |
| 100 | closedImmersion := inferInstanceAs (IsClosedImmersion ((G.map j₀).left ≫ ePz.hom.left)) } |
| 101 | exact ⟨D, hsm, hproperZ⟩ |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothProjectiveParameters.Coefficients |