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.CountableAlgebra |
| 2 | import OAI.AlgebraicGeometry.Albanese.Construction.ClosedPoints |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.AlgebraicPoints |
| 4 | import Mathlib.RingTheory.Artinian.Module |
| 5 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 6 | import Mathlib.Analysis.Real.Cardinality |
| 7 | |
| 8 | /-! # Countable Parameters -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.CountableParameters |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | Scheme-theoretic isolation from countably many points over an uncountable |
| 16 | algebraically closed field. Applied to an arithmetic parameter scheme, this |
| 17 | constructs a number-field parameter point. Countability must subsequently |
| 18 | be established for the particular Albanese parameter scheme. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 26 | |
| 27 | abbrev ParameterPoints (X : Over (Spec (.of k))) := |
| 28 | Over.mk (𝟙 (Spec (.of k))) ⟶ X |
| 29 | |
| 30 | def parameterPointClosedEquiv (X : Over (Spec (.of k))) [LocallyOfFiniteType X.hom] : |
| 31 | ParameterPoints X ≃ closedPoints X.left where |
| 32 | toFun p := pointEquivClosedPoint X.hom ⟨p.left, p.w⟩ |
| 33 | invFun q := Over.homMk ((pointEquivClosedPoint X.hom).symm q).val |
| 34 | ((pointEquivClosedPoint X.hom).symm q).property |
| 35 | left_inv p := by |
| 36 | apply Over.OverMorphism.ext |
| 37 | exact congrArg Subtype.val ((pointEquivClosedPoint X.hom).symm_apply_apply ⟨p.left, p.w⟩) |
| 38 | right_inv q := (pointEquivClosedPoint X.hom).apply_symm_apply q |
| 39 | |
| 40 | def maximalClosedPoint (R : Type u) [CommRing R] (p : MaximalSpectrum R) : |
| 41 | closedPoints (Spec (.of R)) := |
| 42 | ⟨⟨p.asIdeal, p.isMaximal.isPrime⟩, |
| 43 | (PrimeSpectrum.isClosed_singleton_iff_isMaximal _).mpr p.isMaximal⟩ |
| 44 | |
| 45 | theorem maximalClosedPoint_injective (R : Type u) [CommRing R] : |
| 46 | Function.Injective (maximalClosedPoint R) := by |
| 47 | intro p q h |
| 48 | exact MaximalSpectrum.ext (congrArg (fun x ↦ x.val.asIdeal) h) |
| 49 | |
| 50 | theorem affine_discrete_of_countable_points [Uncountable k] |
| 51 | (R : CommRingCat.{u}) (φ : CommRingCat.of k ⟶ R) |
| 52 | [LocallyOfFiniteType (Spec.map φ)] |
| 53 | [Countable (ParameterPoints (Over.mk (Spec.map φ)))] : |
| 54 | DiscreteTopology (Spec R) := by |
| 55 | have : LocallyOfFiniteType (Over.mk (Spec.map φ)).hom := |
| 56 | inferInstanceAs (LocallyOfFiniteType (Spec.map φ)) |
| 57 | have : Countable (closedPoints (Spec R)) := |
| 58 | (parameterPointClosedEquiv (Over.mk (Spec.map φ))).surjective.countable |
| 59 | have : Countable (MaximalSpectrum R) := (maximalClosedPoint_injective R).countable |
| 60 | rcases subsingleton_or_nontrivial R with hR | hR |
| 61 | · let := hR |
| 62 | infer_instance |
| 63 | · let := hR |
| 64 | let : Algebra k R := φ.hom.toAlgebra |
| 65 | have : Algebra.FiniteType k R := |
| 66 | RingHom.finiteType_algebraMap.mp (HasRingHomProperty.Spec_iff.mp |
| 67 | (inferInstance : LocallyOfFiniteType (Spec.map φ))) |
| 68 | have : Module.Finite k R := CountableAlgebra.finite_of_countable_maximalSpectrum k R |
| 69 | have : IsArtinianRing R := IsArtinianRing.of_finite k R |
| 70 | exact (PrimeSpectrum.discreteTopology_iff_finite_and_krullDimLE_zero (R := R)).mpr |
| 71 | ⟨inferInstance, inferInstance⟩ |
| 72 | |
| 73 | /-- A locally finite-type scheme over an uncountable algebraically closed |
| 74 | field cannot have a positive-dimensional part with only countably many |
| 75 | rational points. The conclusion is its actual discrete Zariski topology. -/ |
| 76 | theorem discrete_of_countable_parameter_points [Uncountable k] |
| 77 | (X : Over (Spec (.of k))) [LocallyOfFiniteType X.hom] |
| 78 | [Countable (ParameterPoints X)] : DiscreteTopology X.left := by |
| 79 | apply discreteTopology_iff_isOpen_singleton.mpr |
| 80 | intro x |
| 81 | obtain ⟨R, i, hi, y, hy⟩ := Scheme.exists_Spec_apply_eq x |
| 82 | let : IsOpenImmersion i := hi |
| 83 | let Z : Over (Spec (.of k)) := Over.mk (i ≫ X.hom) |
| 84 | let j : Z ⟶ X := Over.homMk i rfl |
| 85 | have : Mono j := Over.mono_of_mono_left j |
| 86 | have hc : Countable (ParameterPoints Z) := |
| 87 | (show Function.Injective (fun p : ParameterPoints Z ↦ p ≫ j) from |
| 88 | fun _ _ h ↦ (cancel_mono j).mp h).countable |
| 89 | let φ := Spec.preimage (i ≫ X.hom) |
| 90 | have hφ : Spec.map φ = i ≫ X.hom := Spec.map_preimage _ |
| 91 | have : LocallyOfFiniteType (Spec.map φ) := by rw [hφ]; infer_instance |
| 92 | have : Countable (ParameterPoints (Over.mk (Spec.map φ))) := by rw [hφ]; exact hc |
| 93 | have : DiscreteTopology (Spec R) := affine_discrete_of_countable_points R φ |
| 94 | have hopen := i.isOpenMap {y} (isOpen_discrete {y}) |
| 95 | simpa only [Set.image_singleton, hy] using hopen |
| 96 | |
| 97 | /-- Arithmetic parameter points descend once countability of the actual |
| 98 | complex parameter points has been established. -/ |
| 99 | theorem complex_parameter_descends_of_countable |
| 100 | {X : Scheme} (f : X ⟶ Spec (.of ℚ)) [LocallyOfFiniteType f] |
| 101 | (p : Spec (.of ℂ) ⟶ CategoryTheory.Limits.pullback f |
| 102 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ)))) |
| 103 | [Countable (ParameterPoints (Over.mk (CategoryTheory.Limits.pullback.snd f |
| 104 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))))))] : |
| 105 | ∃ (K : Subfield ℂ), NumberField K ∧ |
| 106 | ∃ pK : Spec (.of K) ⟶ X, |
| 107 | Spec.map (CommRingCat.ofHom K.subtype) ≫ pK = |
| 108 | p ≫ CategoryTheory.Limits.pullback.fst f |
| 109 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))) := by |
| 110 | let XC : Over (Spec (.of ℂ)) := Over.mk (CategoryTheory.Limits.pullback.snd f |
| 111 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ)))) |
| 112 | have : Uncountable ℂ := Complex.ofReal_injective.uncountable |
| 113 | have : LocallyOfFiniteType XC.hom := inferInstanceAs |
| 114 | (LocallyOfFiniteType (CategoryTheory.Limits.pullback.snd f |
| 115 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))))) |
| 116 | have : DiscreteTopology XC.left := discrete_of_countable_parameter_points XC |
| 117 | have hp : IsOpen ({p (IsLocalRing.closedPoint ℂ)} : Set XC.left) := isOpen_discrete _ |
| 118 | exact ArithmeticGeometry.Descent.CMVariety.AlgebraicPoints.Abelian.complex_point_descends_of_isolated_baseChange f p hp |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.CountableParameters |