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.ArithmeticGeometry.Models.SpreadingOut.Separated |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ProperCover |
| 3 | import OAI.ArithmeticGeometry.Models.SpreadingOut.SmoothComponents |
| 4 | |
| 5 | /-! # Cover Descent -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.CoverDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descend a covering morphism from a proper model and take its schematic |
| 12 | image to obtain a proper model of a smooth separated target. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem generic_map_surjective_of_compatible |
| 20 | {S T : Scheme.{u}} (g : T ⟶ S) |
| 21 | {X Y : Over T} {X₀ Y₀ : Over S} |
| 22 | (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left) |
| 23 | (hX : IsPullback pX X.hom X₀.hom g) |
| 24 | (hY : IsPullback pY Y.hom Y₀.hom g) |
| 25 | (f : X ⟶ Y) [Surjective f.left] (f₀ : X₀ ⟶ Y₀) |
| 26 | (hf : pX ≫ f₀.left = f.left ≫ pY) : |
| 27 | Surjective ((Over.pullback g).map f₀).left := by |
| 28 | let B := Over.pullback g |
| 29 | have h : hX.isoPullback.hom ≫ (B.map f₀).left = f.left ≫ hY.isoPullback.hom := by |
| 30 | apply pullback.hom_ext |
| 31 | · erw [Category.assoc, pullback.lift_fst, ← Category.assoc, |
| 32 | hX.isoPullback_hom_fst, hf, Category.assoc, hY.isoPullback_hom_fst] |
| 33 | · erw [Category.assoc, pullback.lift_snd, hX.isoPullback_hom_snd, |
| 34 | Category.assoc, hY.isoPullback_hom_snd, f.w] |
| 35 | have hs : Surjective (f.left ≫ hY.isoPullback.hom) := inferInstance |
| 36 | rw [← h] at hs |
| 37 | have := hs |
| 38 | exact Surjective.of_comp hX.isoPullback.hom (B.map f₀).left |
| 39 | |
| 40 | /-- A proper coefficient model of a scheme surjecting onto a smooth |
| 41 | separated scheme yields a proper coefficient model of the target. -/ |
| 42 | theorem proper_model_of_cover |
| 43 | {K : Type u} [Field K] [NumberField K] |
| 44 | {Z X : Over (Spec (.of K))} [Smooth X.hom] [IsSeparated X.hom] |
| 45 | (hX : Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) |
| 46 | (f : Z ⟶ X) [Surjective f.left] |
| 47 | (P : Foundations.Constructions.CoefficientModel K Z) [IsProper P.model.hom] : |
| 48 | ∃ M : Foundations.Constructions.CoefficientModel K X, IsProper M.model.hom := by |
| 49 | classical |
| 50 | obtain ⟨Q, hQ⟩ := Separated.Construction.separated_scheme_has_coefficient_model X hX |
| 51 | have := hQ |
| 52 | let s := P.coefficients ∪ Q.coefficients |
| 53 | let P₁ := P.enlarge s Finset.subset_union_left |
| 54 | let Q₁ := Q.enlarge s Finset.subset_union_right |
| 55 | have : IsProper P₁.model.hom := inferInstanceAs (IsProper (pullback.snd P.model.hom |
| 56 | (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K Finset.subset_union_left))) |
| 57 | have : IsSeparated Q₁.model.hom := inferInstanceAs (IsSeparated (pullback.snd Q.model.hom |
| 58 | (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K Finset.subset_union_right))) |
| 59 | obtain ⟨t, hst, b, hb⟩ := ModelMorphisms.Constructions.Foundations.morphism_between_models_descends P₁.model Q₁.model |
| 60 | P₁.finitePresentation Q₁.finitePresentation P₁.specialization Q₁.specialization |
| 61 | P₁.cartesian Q₁.cartesian f |
| 62 | let B := Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst) |
| 63 | let P₂ := B.obj P₁.model |
| 64 | let Q₂ := B.obj Q₁.model |
| 65 | let g := CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K t |
| 66 | have hp := ModelMorphisms.Constructions.Foundations.genericModelLift_cartesian P₁.model P₁.specialization P₁.cartesian hst |
| 67 | have hq := ModelMorphisms.Constructions.Foundations.genericModelLift_cartesian Q₁.model Q₁.specialization Q₁.cartesian hst |
| 68 | have : IsProper P₂.hom := inferInstanceAs (IsProper |
| 69 | (pullback.snd P₁.model.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst))) |
| 70 | have : IsSeparated Q₂.hom := inferInstanceAs (IsSeparated |
| 71 | (pullback.snd Q₁.model.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst))) |
| 72 | have : LocallyOfFinitePresentation Q₁.model.hom := Q₁.finitePresentation.1 |
| 73 | have : LocallyOfFiniteType Q₂.hom := inferInstanceAs (LocallyOfFiniteType |
| 74 | (pullback.snd Q₁.model.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K hst))) |
| 75 | have : Surjective ((Over.pullback g).map b).left := |
| 76 | generic_map_surjective_of_compatible g _ _ hp hq f b hb |
| 77 | have hsm : Smooth (hq.isoPullback.inv ≫ X.hom) := inferInstance |
| 78 | rw [hq.isoPullback_inv_snd] at hsm |
| 79 | have : Smooth (pullback.snd Q₂.hom g) := hsm |
| 80 | have : IsReduced ((Over.pullback g).obj Q₂).left := |
| 81 | SmoothComponents.Construction.smooth_scheme_reduced (pullback.snd Q₂.hom g) |
| 82 | obtain ⟨M, hM, ⟨e⟩⟩ := ProperCover.Construction.proper_cover_gives_proper_model g P₂ Q₂ b |
| 83 | have := hM |
| 84 | have := ModelFiniteness.Constructions.Foundations.coefficientBase_locallyNoetherian K t |
| 85 | refine ⟨{ |
| 86 | coefficients := t |
| 87 | model := M |
| 88 | finitePresentation := ⟨inferInstance, inferInstance, inferInstance⟩ |
| 89 | genericIso := e ≪≫ Over.isoMk hq.isoPullback.symm hq.isoPullback_inv_snd |
| 90 | }, hM⟩ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.ArithmeticGeometry.Models.SpreadingOut.CoverDescent.Construction |