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.CommutativeFamilyCover |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.GenericCartesianComparison |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericCartesian |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverPullbackFinitePresentation |
| 5 | |
| 6 | /-! # Family Cover -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.FamilyCover |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Construct an actual cartesian family-cover diagram over a finite |
| 13 | coefficient ring from the given generic family and fixed arithmetic cover. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | namespace Coefficients |
| 20 | |
| 21 | theorem generic_cartesian_family_has_coefficient_model |
| 22 | {R K : Type} [CommRing R] [IsNoetherianRing R] [Field K] [Algebra R K] |
| 23 | {W T X : Over (Spec (.of R))} |
| 24 | (hW : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism W.hom) (hT : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism T.hom) |
| 25 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (a : W ⟶ T) (u : T ⟶ X) |
| 26 | (Y : Over (Spec (.of K))) (hY : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) |
| 27 | (q : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj W ⟶ Y) |
| 28 | (b : Y ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj X) |
| 29 | (hc : IsPullback ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map a) q |
| 30 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map u) b) : |
| 31 | ∃ M : Coefficient.Models.Coefficients.CoefficientModel R K Y, |
| 32 | ∃ (b₀ : M.model ⟶ (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).obj X) |
| 33 | (q₀ : (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).obj W ⟶ M.model), |
| 34 | M.specialization ≫ b₀.left = b.left ≫ (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K M.coefficients X hX).specialization ∧ |
| 35 | (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K M.coefficients W hW).specialization ≫ q₀.left = q.left ≫ M.specialization ∧ |
| 36 | IsPullback ((Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).map a) q₀ |
| 37 | ((Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).map u) b₀ := by |
| 38 | let G := Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K))) |
| 39 | have hv : q ≫ b = G.map (a ≫ u) := hc.w.symm.trans (G.map_comp a u).symm |
| 40 | obtain ⟨M, b₀, q₀, hb, hq, hcomm⟩ := |
| 41 | CommutativeFamilyCover.Coefficients.generic_family_with_cover_has_commutative_model X W hX hW Y hY b q (a ≫ u) hv |
| 42 | let s := M.coefficients |
| 43 | let P := Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K s) |
| 44 | have hw : P.map a ≫ P.map u = q₀ ≫ b₀ := (P.map_comp a u).symm.trans hcomm.symm |
| 45 | have hWP : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (P.obj W).hom := Coefficient.Finiteness.Coefficients.baseChange_finitePresentation _ _ hW |
| 46 | have hTP : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (P.obj T).hom := Coefficient.Finiteness.Coefficients.baseChange_finitePresentation _ _ hT |
| 47 | have hXP : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (P.obj X).hom := Coefficient.Finiteness.Coefficients.baseChange_finitePresentation _ _ hX |
| 48 | have hPB := OverPullbackFinitePresentation.coefficient_pullback_finitePresentation (P.map u) b₀ hTP M.finitePresentation hXP |
| 49 | have hgeneric := Relative.GenericCartesianComparison.Coefficients.relative_generic_cartesian_comparison hW hT hX a u M q b hc q₀ b₀ hq hb |
| 50 | obtain ⟨t, hst, hcart⟩ := Coefficient.GenericCartesian.Coefficients.coefficient_generic_cartesian_after_enlargement |
| 51 | (P.map a) q₀ (P.map u) b₀ hw hWP hPB hgeneric |
| 52 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 53 | let P' := Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t) |
| 54 | let eW := Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W |
| 55 | let eT := Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst T |
| 56 | let eX := Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst X |
| 57 | let e := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K s) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 58 | (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t) (Fixed.CoefficientModels.Coefficients.coefficient_parameterBaseMap R K hst) |
| 59 | let b₁ := F.map b₀ ≫ eX.hom |
| 60 | let q₁ := eW.inv ≫ F.map q₀ |
| 61 | have ha : F.map (P.map a) ≫ eT.hom = eW.hom ≫ P'.map a := e.hom.naturality a |
| 62 | have hu : F.map (P.map u) ≫ eX.hom = eT.hom ≫ P'.map u := e.hom.naturality u |
| 63 | have hcart₁ : IsPullback (P'.map a) q₁ (P'.map u) b₁ := by |
| 64 | exact hcart.of_iso eW eT (Iso.refl (F.obj M.model)) eX ha |
| 65 | (by |
| 66 | change F.map q₀ ≫ 𝟙 _ = eW.hom ≫ (eW.inv ≫ F.map q₀) |
| 67 | rw [Category.comp_id, Iso.hom_inv_id_assoc]) hu |
| 68 | (by |
| 69 | change F.map b₀ ≫ eX.hom = 𝟙 _ ≫ (F.map b₀ ≫ eX.hom) |
| 70 | exact (Category.id_comp _).symm) |
| 71 | let p := Coefficient.Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w hst |
| 72 | have hf : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (F.obj M.model).hom := Coefficient.Finiteness.Coefficients.baseChange_finitePresentation _ _ M.finitePresentation |
| 73 | have hp : IsPullback p Y.hom (F.obj M.model).hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K t) := |
| 74 | Coefficient.Morphisms.Coefficients.genericModelLift_cartesian M.model M.specialization M.cartesian hst |
| 75 | let M₁ := Coefficient.Models.Coefficients.CoefficientModel.ofCartesian t (F.obj M.model) hf p hp |
| 76 | have hM₁ : M₁.specialization = p := Coefficient.Models.Coefficients.CoefficientModel.ofCartesian_specialization _ _ _ _ _ |
| 77 | have hb₁ : p ≫ b₁.left = b.left ≫ (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K t X hX).specialization := |
| 78 | Relative.CoverEnlargement.Coefficients.relative_target_comparison_enlargement M hst X hX b b₀ hb |
| 79 | have hq₁ : (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K t W hW).specialization ≫ q₁.left = q.left ≫ p := |
| 80 | Relative.CoverEnlargement.Coefficients.relative_cover_comparison_enlargement M hst W hW q q₀ hq |
| 81 | exact ⟨M₁, b₁, q₁, (congrArg (fun k => k ≫ b₁.left) hM₁).trans hb₁, |
| 82 | hq₁.trans (congrArg (fun k => q.left ≫ k) hM₁.symm), hcart₁⟩ |
| 83 | |
| 84 | end Coefficients |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.FamilyCover |