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.Coefficient.OpenModels |
| 2 | |
| 3 | /-! # Open Immersion Models -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.OpenImmersionModels.Coefficients |
| 6 | |
| 7 | /-! Generalization of the proved OpenImmersionModels construction to a general |
| 8 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 9 | |
| 10 | A compact open immersion can be modeled as an actual open immersion. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.NumberField |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] |
| 18 | |
| 19 | theorem open_subset_in_ambient_model |
| 20 | {X : Over (Spec (CommRingCat.of K))} (M : Models.Coefficients.CoefficientModel R₀ K X) |
| 21 | (U : X.left.Opens) (hU : IsCompact (U : Set X.left)) : |
| 22 | ∃ (M' : Models.Coefficients.CoefficientModel R₀ K X) (V : M'.model.left.Opens), |
| 23 | IsCompact (V : Set M'.model.left) ∧ M'.specialization ⁻¹ᵁ V = U := by |
| 24 | let e := M.expansionGenericIso |
| 25 | have hU' : IsCompact (e.inv ⁻¹ᵁ U : Set (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model).pt) := |
| 26 | e.inv.isCompact_preimage hU |
| 27 | obtain ⟨i, V, hV, hi⟩ := ArithmeticGeometry.Models.Descent.Constructions.Foundations.compact_open_descends R₀ K M.coefficients M.model |
| 28 | (e.inv ⁻¹ᵁ U) hU' |
| 29 | refine ⟨M.atExpansion i, V, hV, ?_⟩ |
| 30 | rw [Models.Coefficients.CoefficientModel.atExpansion_specialization] |
| 31 | change (e.hom ≫ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model).π.app i) ⁻¹ᵁ V = U |
| 32 | rw [Scheme.Hom.comp_preimage, hi, ← Scheme.Hom.comp_preimage, e.hom_inv_id] |
| 33 | rfl |
| 34 | |
| 35 | structure OpenImmersionModel |
| 36 | {W X : Over (Spec (CommRingCat.of K))} (f : W ⟶ X) where |
| 37 | ambient : Models.Coefficients.CoefficientModel R₀ K X |
| 38 | source : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K ambient.coefficients) |
| 39 | sourceFP : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism source.hom |
| 40 | inclusion : source ⟶ ambient.model |
| 41 | openInclusion : IsOpenImmersion inclusion.left |
| 42 | specialization : W.left ⟶ source.left |
| 43 | cartesian : IsPullback specialization W.hom source.hom |
| 44 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K ambient.coefficients) |
| 45 | compatibility : f.left ≫ ambient.specialization = specialization ≫ inclusion.left |
| 46 | |
| 47 | theorem open_immersion_has_model |
| 48 | {W X : Over (Spec (CommRingCat.of K))} (f : W ⟶ X) |
| 49 | [IsOpenImmersion f.left] [CompactSpace W.left] (M : Models.Coefficients.CoefficientModel R₀ K X) : |
| 50 | Nonempty (OpenImmersionModel (R₀ := R₀) f) := by |
| 51 | have hU : IsCompact (f.left.opensRange : Set X.left) := |
| 52 | isCompact_range f.left.continuous |
| 53 | obtain ⟨M', V, hV, hpre⟩ := open_subset_in_ambient_model M f.left.opensRange hU |
| 54 | let : CompactSpace V.toScheme := isCompact_iff_compactSpace.mp hV |
| 55 | let : LocallyOfFinitePresentation M'.model.hom := M'.finitePresentation.1 |
| 56 | let : QuasiSeparated M'.model.hom := M'.finitePresentation.2.2 |
| 57 | let : QuasiSeparatedSpace M'.model.left := quasiSeparatedSpace_of_quasiSeparated M'.model.hom |
| 58 | let : QuasiSeparatedSpace V.toScheme := quasiSeparatedSpace_of_quasiSeparated V.ι |
| 59 | have hfp : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (V.ι ≫ M'.model.hom) := |
| 60 | ⟨inferInstance, inferInstance, inferInstance⟩ |
| 61 | have hr : Set.range (f.left ≫ M'.specialization) ⊆ Set.range V.ι := by |
| 62 | rintro _ ⟨w, rfl⟩ |
| 63 | rw [Scheme.Opens.range_ι, Scheme.Hom.comp_apply] |
| 64 | change M'.specialization (f.left w) ∈ V |
| 65 | have hw : f.left w ∈ M'.specialization ⁻¹ᵁ V := by |
| 66 | rw [hpre] |
| 67 | exact ⟨w, rfl⟩ |
| 68 | exact hw |
| 69 | let p := IsOpenImmersion.lift V.ι (f.left ≫ M'.specialization) hr |
| 70 | have hp : p ≫ V.ι = f.left ≫ M'.specialization := IsOpenImmersion.lift_fac .. |
| 71 | have hs : IsPullback p f.left V.ι M'.specialization := |
| 72 | IsOpenImmersion.isPullback _ _ _ _ hp.symm (by simpa using hpre) |
| 73 | have hcart : IsPullback p W.hom (V.ι ≫ M'.model.hom) |
| 74 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K M'.coefficients) := by |
| 75 | rw [← f.w] |
| 76 | exact hs.paste_vert M'.cartesian |
| 77 | exact ⟨{ |
| 78 | ambient := M' |
| 79 | source := Over.mk (V.ι ≫ M'.model.hom) |
| 80 | sourceFP := hfp |
| 81 | inclusion := Over.homMk V.ι rfl |
| 82 | openInclusion := show IsOpenImmersion V.ι from inferInstance |
| 83 | specialization := p |
| 84 | cartesian := hcart |
| 85 | compatibility := hp.symm }⟩ |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.OpenImmersionModels.Coefficients |