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 Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen |
| 3 | import Mathlib.Basic.Complex.Basic |
| 4 | import Mathlib.NumberTheory.NumberField.Basic |
| 5 | |
| 6 | /-! # Algebraic Points -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.AlgebraicPoints.Abelian |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Arithmetic descent of closed and isolated complex points, needed for CMAbelianVariety. |
| 14 | These are general geometric lemmas. They do not assume or establish that |
| 15 | a CM point is closed or isolated in the required enhanced moduli scheme. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | /-- The residue field at a closed point of a locally finite-type rational |
| 21 | scheme is a number field. -/ |
| 22 | theorem residueField_numberField_of_closed |
| 23 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of ℚ)) |
| 24 | [LocallyOfFiniteType f] (x : X) (hx : IsClosed {x}) : |
| 25 | NumberField (X.residueField x) := by |
| 26 | let r := Spec.preimage (X.fromSpecResidueField x ≫ f) |
| 27 | have : CharZero (X.residueField x) := |
| 28 | CharZero.of_addMonoidHom r.hom.toAddMonoidHom (by simp) r.hom.injective |
| 29 | have : IsClosedImmersion (X.fromSpecResidueField x) := |
| 30 | isClosed_singleton_iff_isClosedImmersion.mp hx |
| 31 | have hf : IsFinite (X.fromSpecResidueField x ≫ f) := |
| 32 | isFinite_iff_locallyOfFiniteType_of_jacobsonSpace.mpr inferInstance |
| 33 | have hr : r.hom.Finite := (IsFinite.SpecMap_iff r).mp (by |
| 34 | simpa only [r, Spec.map_preimage] using hf) |
| 35 | have heq : r.hom = algebraMap ℚ (X.residueField x) := Subsingleton.elim _ _ |
| 36 | rw [heq] at hr |
| 37 | exact { to_finiteDimensional := RingHom.finite_algebraMap.mp hr } |
| 38 | |
| 39 | /-- A complex point with closed image in a locally finite-type rational |
| 40 | scheme factors through the spectrum of a number subfield of ℂ. -/ |
| 41 | theorem complex_point_descends_of_closed |
| 42 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of ℚ)) |
| 43 | [LocallyOfFiniteType f] (p : Spec (CommRingCat.of ℂ) ⟶ X) |
| 44 | (hp : IsClosed {p (IsLocalRing.closedPoint ℂ)}) : |
| 45 | ∃ (K : Subfield ℂ), NumberField K ∧ |
| 46 | ∃ pK : Spec (CommRingCat.of K) ⟶ X, |
| 47 | Spec.map (CommRingCat.ofHom K.subtype) ≫ pK = p := by |
| 48 | let x := p (IsLocalRing.closedPoint ℂ) |
| 49 | let r : X.residueField x ⟶ CommRingCat.of ℂ := |
| 50 | X.descResidueField (Scheme.stalkClosedPointTo p) |
| 51 | have : NumberField (X.residueField x) := residueField_numberField_of_closed f x hp |
| 52 | let K := r.hom.fieldRange |
| 53 | let e := r.hom.rangeRestrictFieldEquiv |
| 54 | have hK : NumberField K := NumberField.of_ringEquiv (X.residueField x) K e |
| 55 | refine ⟨K, hK, Spec.map (CommRingCat.ofHom e.toRingHom) ≫ |
| 56 | X.fromSpecResidueField x, ?_⟩ |
| 57 | have heq : (CommRingCat.ofHom e.toRingHom) ≫ |
| 58 | (CommRingCat.ofHom K.subtype) = r := by |
| 59 | apply CommRingCat.hom_ext |
| 60 | ext z |
| 61 | rfl |
| 62 | rw [← Spec.map_comp_assoc, heq] |
| 63 | exact Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField ℂ X p |
| 64 | |
| 65 | /-- In a locally finite-type rational scheme, an isolated complex point |
| 66 | has a model over a number field. -/ |
| 67 | theorem complex_point_descends_of_isolated |
| 68 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of ℚ)) |
| 69 | [LocallyOfFiniteType f] (p : Spec (CommRingCat.of ℂ) ⟶ X) |
| 70 | (hp : IsOpen {p (IsLocalRing.closedPoint ℂ)}) : |
| 71 | ∃ (K : Subfield ℂ), NumberField K ∧ |
| 72 | ∃ pK : Spec (CommRingCat.of K) ⟶ X, |
| 73 | Spec.map (CommRingCat.ofHom K.subtype) ≫ pK = p := by |
| 74 | have : JacobsonSpace X := LocallyOfFiniteType.jacobsonSpace f |
| 75 | exact complex_point_descends_of_closed f p |
| 76 | (isClosed_singleton_of_isLocallyClosed_singleton hp.isLocallyClosed) |
| 77 | |
| 78 | /-- Isolation after a field extension is sufficient: projection from a |
| 79 | base change over a field is open, so the original point is also isolated. -/ |
| 80 | theorem complex_point_descends_of_isolated_baseChange |
| 81 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of ℚ)) |
| 82 | [LocallyOfFiniteType f] |
| 83 | (p : Spec (CommRingCat.of ℂ) ⟶ |
| 84 | CategoryTheory.Limits.pullback f |
| 85 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ)))) |
| 86 | (hp : IsOpen {p (IsLocalRing.closedPoint ℂ)}) : |
| 87 | ∃ (K : Subfield ℂ), NumberField K ∧ |
| 88 | ∃ pK : Spec (CommRingCat.of K) ⟶ X, |
| 89 | Spec.map (CommRingCat.ofHom K.subtype) ≫ pK = |
| 90 | p ≫ CategoryTheory.Limits.pullback.fst f |
| 91 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))) := by |
| 92 | let π := CategoryTheory.Limits.pullback.fst f |
| 93 | (Spec.map (CommRingCat.ofHom (algebraMap ℚ ℂ))) |
| 94 | apply complex_point_descends_of_isolated f (p ≫ π) |
| 95 | change IsOpen {π (p (IsLocalRing.closedPoint ℂ))} |
| 96 | simpa only [Set.image_singleton] using |
| 97 | π.isOpenMap {p (IsLocalRing.closedPoint ℂ)} hp |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.ArithmeticGeometry.Descent.CMVariety.AlgebraicPoints.Abelian |