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.PointedLift |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | |
| 4 | /-! # Pointed Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.PointedLifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arithmetic effectivity for the constructed pointed-lift parameter |
| 11 | scheme. Geometric connectedness and unramifiedness prove that its selected |
| 12 | complex fiber has at most one point, so the actual lift descends to a finite |
| 13 | extension of the specified number field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | def fiberParameterPointsEquiv {k : Type u} [Field k] {S : Scheme.{u}} |
| 20 | (φ : Spec (.of k) ⟶ S) (L : Over S) : |
| 21 | CountableParameters.ParameterPoints ((Over.pullback φ).obj L) ≃ (Over.mk φ ⟶ L) where |
| 22 | toFun p := Over.homMk (p.left ≫ pullback.fst L.hom φ) (by |
| 23 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 24 | change (p.left ≫ ((Over.pullback φ).obj L).hom) ≫ φ = _ |
| 25 | rw [p.w] |
| 26 | exact Category.id_comp φ) |
| 27 | invFun a := Over.homMk (pullback.lift a.left (𝟙 _) a.w) (pullback.lift_snd _ _ _) |
| 28 | left_inv p := by |
| 29 | apply Over.OverMorphism.ext |
| 30 | apply pullback.hom_ext |
| 31 | · exact pullback.lift_fst _ _ _ |
| 32 | · exact (pullback.lift_snd _ _ _).trans p.w.symm |
| 33 | right_inv a := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | exact pullback.lift_fst _ _ _ |
| 36 | |
| 37 | namespace PointedLiftParameters |
| 38 | |
| 39 | variable {K : Type} [Field K] (κ : K →+* ℂ) |
| 40 | (X Y Z : Over (Spec (.of K))) (q : Y ⟶ Z) (b : X ⟶ Z) |
| 41 | (x₀ : ⊤_ (Over (Spec (.of K))) ⟶ X) (y₀ : ⊤_ (Over (Spec (.of K))) ⟶ Y) |
| 42 | |
| 43 | abbrev complexTest : Over (Spec (.of K)) := Over.mk (Spec.map (CommRingCat.ofHom κ)) |
| 44 | |
| 45 | theorem complex_product_connected [GeometricallyConnected X.hom] : |
| 46 | ConnectedSpace (complexTest κ ⨯ X).left := by |
| 47 | let T := complexTest κ |
| 48 | have : Nonempty T.left := ⟨IsLocalRing.closedPoint ℂ⟩ |
| 49 | have : Subsingleton T.left := inferInstanceAs (Subsingleton (Spec (.of ℂ))) |
| 50 | have : ConnectedSpace (pullback T.hom X.hom : Scheme) := |
| 51 | GeometricallyConnected.connectedSpace_of_subsingleton (pullback.fst T.hom X.hom) |
| 52 | exact (Over.prodLeftIsoPullback T X).hom.homeomorph.connectedSpace_iff.mpr inferInstance |
| 53 | |
| 54 | variable [GeometricallyConnected X.hom] [FormallyUnramified q.left] |
| 55 | [LocallyOfFiniteType q.left] [IsSeparated q.left] |
| 56 | |
| 57 | include q b x₀ y₀ in |
| 58 | theorem parameters_have_at_most_one_complex_point |
| 59 | (L : Over (Spec (.of K))) (v : L ⨯ X ⟶ Y) |
| 60 | (hv : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ v) |
| 61 | (hclass : ∀ (T : Over (Spec (.of K))) (f : T ⨯ X ⟶ Y), |
| 62 | PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ f ↔ ∃! a : T ⟶ L, prod.map a (𝟙 X) ≫ v = f) : |
| 63 | Subsingleton (CountableParameters.ParameterPoints ((Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj L)) := by |
| 64 | have : ConnectedSpace (complexTest κ ⨯ X).left := complex_product_connected κ X |
| 65 | have : Nonempty (complexTest κ).left := ⟨IsLocalRing.closedPoint ℂ⟩ |
| 66 | let e := fiberParameterPointsEquiv (Spec.map (CommRingCat.ofHom κ)) L |
| 67 | constructor |
| 68 | intro p r |
| 69 | apply e.injective |
| 70 | let f := prod.map (e p) (𝟙 X) ≫ v |
| 71 | let g := prod.map (e r) (𝟙 X) ≫ v |
| 72 | have hf : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ f := |
| 73 | PointedLift.PointedLiftParameters.isPointedLift_restrict X Y Z q b x₀ y₀ (e p) v hv |
| 74 | have hg : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ g := |
| 75 | PointedLift.PointedLiftParameters.isPointedLift_restrict X Y Z q b x₀ y₀ (e r) v hv |
| 76 | have hfg : f = g := PointedLift.PointedLiftParameters.unique_on_connected_source X Y Z q b x₀ y₀ f g hf hg |
| 77 | obtain ⟨a, _, ha⟩ := (hclass (complexTest κ) f).mp hf |
| 78 | exact (ha (e p) rfl).trans (ha (e r) hfg.symm).symm |
| 79 | |
| 80 | variable [NumberField K] (H J : Over (Spec (.of K))) |
| 81 | (eH : (HilbertScheme.Presentations.HomFunctor.Hom.morphismFunctor X Y).RepresentableBy H) |
| 82 | (eJ : (HilbertScheme.Presentations.HomFunctor.Hom.morphismFunctor X Z).RepresentableBy J) |
| 83 | [IsSeparated Y.hom] [IsSeparated J.hom] [LocallyOfFiniteType H.hom] |
| 84 | |
| 85 | include eH eJ in |
| 86 | /-- Construct the arithmetic parameter point of a specified complex pointed |
| 87 | lift, with the required finite extension and extending complex embedding. -/ |
| 88 | theorem arithmetic_pointed_lift_parameter |
| 89 | (f : complexTest κ ⨯ X ⟶ Y) (hf : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ f) |
| 90 | (N : ℕ) (hN : N ≠ 0) : |
| 91 | ∃ (L : Over (Spec (.of K))) (j : L ⟶ H), IsClosedImmersion j.left ∧ |
| 92 | ∃ (v : L ⨯ X ⟶ Y), PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ v ∧ |
| 93 | ∃ (B : Base.ArithmeticBaseExtension K κ) (pL : Over.mk B.fieldExtension ⟶ L) |
| 94 | (c : complexTest κ ⟶ Over.mk B.fieldExtension), |
| 95 | B.denominator = N ∧ c.left = Spec.map (CommRingCat.ofHom B.embedding) ∧ |
| 96 | prod.map (c ≫ pL) (𝟙 X) ≫ v = f := by |
| 97 | obtain ⟨L, j, hj, v, hv, hclass⟩ := PointedLift.PointedLiftParameters.exists_pointed_lift_scheme X Y Z q b x₀ y₀ H J eH eJ |
| 98 | let := hj |
| 99 | have : LocallyOfFiniteType L.hom := by |
| 100 | rw [← j.w] |
| 101 | infer_instance |
| 102 | obtain ⟨a, ha, _⟩ := (hclass (complexTest κ) f).mp hf |
| 103 | have := parameters_have_at_most_one_complex_point κ X Y Z q b x₀ y₀ L v hv hclass |
| 104 | let e := fiberParameterPointsEquiv (Spec.map (CommRingCat.ofHom κ)) L |
| 105 | let p := e.symm a |
| 106 | obtain ⟨B, pL, hN', hpL, hfactor⟩ := Parameters.parameter_finite_extension_of_countable_fiber κ L p N hN |
| 107 | let aL : Over.mk B.fieldExtension ⟶ L := Over.homMk pL hpL |
| 108 | have he : Spec.map (CommRingCat.ofHom B.embedding) ≫ B.fieldExtension = |
| 109 | Spec.map (CommRingCat.ofHom κ) := by |
| 110 | change Spec.map (CommRingCat.ofHom B.embedding) ≫ |
| 111 | Spec.map (CommRingCat.ofHom (algebraMap K B.extension.carrier)) = _ |
| 112 | rw [← Spec.map_comp] |
| 113 | exact congrArg (fun r : K →+* ℂ => Spec.map (CommRingCat.ofHom r)) B.embedding_extends |
| 114 | let c : complexTest κ ⟶ Over.mk B.fieldExtension := |
| 115 | Over.homMk (Spec.map (CommRingCat.ofHom B.embedding)) he |
| 116 | have hca : c ≫ aL = a := by |
| 117 | apply Over.OverMorphism.ext |
| 118 | exact hfactor.trans (congrArg Over.Hom.left (e.apply_symm_apply a)) |
| 119 | exact ⟨L, j, hj, v, hv, B, aL, c, hN', rfl, hca ▸ ha⟩ |
| 120 | |
| 121 | include eH eJ in |
| 122 | /-- The descended object is an actual scheme map. Its scalar extension is |
| 123 | the originally specified complex lift, and both pointed-lift equations hold |
| 124 | over the constructed finite extension. -/ |
| 125 | theorem arithmetic_pointed_lift |
| 126 | (f : complexTest κ ⨯ X ⟶ Y) (hf : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ f) |
| 127 | (N : ℕ) (hN : N ≠ 0) : |
| 128 | ∃ (B : Base.ArithmeticBaseExtension K κ) |
| 129 | (fL : Over.mk B.fieldExtension ⨯ X ⟶ Y) |
| 130 | (c : complexTest κ ⟶ Over.mk B.fieldExtension), |
| 131 | B.denominator = N ∧ c.left = Spec.map (CommRingCat.ofHom B.embedding) ∧ |
| 132 | PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ fL ∧ prod.map c (𝟙 X) ≫ fL = f := by |
| 133 | obtain ⟨L, _, _, v, hv, B, aL, c, hBN, hc, hf⟩ := |
| 134 | arithmetic_pointed_lift_parameter κ X Y Z q b x₀ y₀ H J eH eJ f hf N hN |
| 135 | refine ⟨B, prod.map aL (𝟙 X) ≫ v, c, hBN, hc, |
| 136 | PointedLift.PointedLiftParameters.isPointedLift_restrict X Y Z q b x₀ y₀ aL v hv, ?_⟩ |
| 137 | rw [← Category.assoc, prod.map_map, Category.id_comp] |
| 138 | exact hf |
| 139 | |
| 140 | end PointedLiftParameters |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.PointedLifts |