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.CountableParameters |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Base |
| 3 | |
| 4 | /-! # Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.Parameters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arithmetic descent of an isolated parameter over a specified number |
| 11 | field and complex embedding. The finite field extension, its extending |
| 12 | complex embedding, and the actual descended parameter point are constructed. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {K : Type} [Field K] [NumberField K] (κ : K →+* ℂ) |
| 17 | (X : Over (Spec (.of K))) [LocallyOfFiniteType X.hom] |
| 18 | |
| 19 | /-- A closed parameter point produces the exact finite extension and |
| 20 | embedding data needed by ArithmeticBaseExtension. -/ |
| 21 | theorem parameter_finite_extension_of_closed |
| 22 | (p : Spec (.of ℂ) ⟶ X.left) (hp : p ≫ X.hom = Spec.map (CommRingCat.ofHom κ)) |
| 23 | (hclosed : IsClosed {p (IsLocalRing.closedPoint ℂ)}) (N : ℕ) (hN : N ≠ 0) : |
| 24 | ∃ (B : Base.ArithmeticBaseExtension K κ) (pL : Spec (.of B.extension.carrier) ⟶ X.left), |
| 25 | B.denominator = N ∧ pL ≫ X.hom = B.fieldExtension ∧ |
| 26 | Spec.map (CommRingCat.ofHom B.embedding) ≫ pL = p := by |
| 27 | let qK := Spec.map (CommRingCat.ofHom (algebraMap ℚ K)) |
| 28 | have : IsFinite qK := by |
| 29 | apply (IsFinite.SpecMap_iff _).mpr |
| 30 | exact RingHom.finite_algebraMap.mpr inferInstance |
| 31 | have : LocallyOfFiniteType (X.hom ≫ qK) := inferInstance |
| 32 | obtain ⟨L, hL, pL, hfactor⟩ := ArithmeticGeometry.Descent.CMVariety.AlgebraicPoints.Abelian.complex_point_descends_of_closed (X.hom ≫ qK) p hclosed |
| 33 | let := hL |
| 34 | let j : K →+* L := (Spec.preimage (pL ≫ X.hom)).hom |
| 35 | have hj : Spec.map (CommRingCat.ofHom j) = pL ≫ X.hom := Spec.map_preimage _ |
| 36 | have he : L.subtype.comp j = κ := by |
| 37 | have hs : Spec.map (CommRingCat.ofHom (L.subtype.comp j)) = |
| 38 | Spec.map (CommRingCat.ofHom κ) := by |
| 39 | change Spec.map (CommRingCat.ofHom j ≫ CommRingCat.ofHom L.subtype) = _ |
| 40 | rw [Spec.map_comp, hj, ← Category.assoc, hfactor, hp] |
| 41 | exact congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 42 | let : Algebra K L := j.toAlgebra |
| 43 | have : FiniteDimensional K L := Module.Finite.of_restrictScalars_finite ℚ K L |
| 44 | let B : Base.ArithmeticBaseExtension K κ := { |
| 45 | extension := ⟨L⟩ |
| 46 | embedding := L.subtype |
| 47 | embedding_extends := he |
| 48 | denominator := N |
| 49 | denominator_ne_zero := hN } |
| 50 | exact ⟨B, pL, rfl, hj.symm, hfactor⟩ |
| 51 | |
| 52 | /-- Isolation on the selected complex fiber suffices, with the prescribed |
| 53 | embedding retained throughout the actual parameter factorization. -/ |
| 54 | theorem parameter_finite_extension_of_isolated_fiber |
| 55 | (p : CountableParameters.ParameterPoints ((Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj X)) |
| 56 | (hopen : IsOpen {p.left (IsLocalRing.closedPoint ℂ)}) (N : ℕ) (hN : N ≠ 0) : |
| 57 | ∃ (B : Base.ArithmeticBaseExtension K κ) (pL : Spec (.of B.extension.carrier) ⟶ X.left), |
| 58 | B.denominator = N ∧ pL ≫ X.hom = B.fieldExtension ∧ |
| 59 | Spec.map (CommRingCat.ofHom B.embedding) ≫ pL = |
| 60 | p.left ≫ pullback.fst X.hom (Spec.map (CommRingCat.ofHom κ)) := by |
| 61 | let π := pullback.fst X.hom (Spec.map (CommRingCat.ofHom κ)) |
| 62 | have hp : (p.left ≫ π) ≫ X.hom = Spec.map (CommRingCat.ofHom κ) := by |
| 63 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 64 | have hw : p.left ≫ pullback.snd X.hom (Spec.map (CommRingCat.ofHom κ)) = 𝟙 _ := p.w |
| 65 | rw [hw, Category.id_comp] |
| 66 | have hpointOpen : IsOpen {(p.left ≫ π) (IsLocalRing.closedPoint ℂ)} := by |
| 67 | change IsOpen {π (p.left (IsLocalRing.closedPoint ℂ))} |
| 68 | simpa only [Set.image_singleton] using π.isOpenMap {p.left (IsLocalRing.closedPoint ℂ)} hopen |
| 69 | have : JacobsonSpace X.left := LocallyOfFiniteType.jacobsonSpace X.hom |
| 70 | exact parameter_finite_extension_of_closed κ X (p.left ≫ π) hp |
| 71 | (isClosed_singleton_of_isLocallyClosed_singleton hpointOpen.isLocallyClosed) N hN |
| 72 | |
| 73 | /-- A parameter functor with at most countably many points on the chosen |
| 74 | complex fiber has actual finite-extension models for each of its points. -/ |
| 75 | theorem parameter_finite_extension_of_countable_fiber |
| 76 | [Countable (CountableParameters.ParameterPoints ((Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj X))] |
| 77 | (p : CountableParameters.ParameterPoints ((Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj X)) |
| 78 | (N : ℕ) (hN : N ≠ 0) : |
| 79 | ∃ (B : Base.ArithmeticBaseExtension K κ) (pL : Spec (.of B.extension.carrier) ⟶ X.left), |
| 80 | B.denominator = N ∧ pL ≫ X.hom = B.fieldExtension ∧ |
| 81 | Spec.map (CommRingCat.ofHom B.embedding) ≫ pL = |
| 82 | p.left ≫ pullback.fst X.hom (Spec.map (CommRingCat.ofHom κ)) := by |
| 83 | let XC := (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj X |
| 84 | have : Uncountable ℂ := Complex.ofReal_injective.uncountable |
| 85 | have : LocallyOfFiniteType XC.hom := inferInstanceAs |
| 86 | (LocallyOfFiniteType (pullback.snd X.hom (Spec.map (CommRingCat.ofHom κ)))) |
| 87 | have : DiscreteTopology XC.left := CountableParameters.discrete_of_countable_parameter_points XC |
| 88 | exact parameter_finite_extension_of_isolated_fiber κ X p (isOpen_discrete _) N hN |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.Parameters |