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.ArithmeticCoefficientLocalization |
| 2 | |
| 3 | /-! # Open Localization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every cofinite arithmetic open in an SpreadingOut model is dominated by the |
| 10 | precise localized ring of integers used in IntegralModel, compatibly with the |
| 11 | generic point and with a prescribed nonzero level inverted. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 17 | (B : Base.ArithmeticBaseExtension K κ) |
| 18 | |
| 19 | /-- Construct a localization mapping into the actual arithmetic open. |
| 20 | Only an open containing the supplied generic point is needed. -/ |
| 21 | theorem Base.ArithmeticBaseExtension.arithmetic_open_localization (U : Arithmetic.Open.ArithmeticOpen B.extension.carrier) |
| 22 | (N : ℕ) (hN : N ≠ 0) : |
| 23 | ∃ (D : ℕ) (hD : D ≠ 0), N ∣ D ∧ |
| 24 | let B' := B.withDenominator D hD |
| 25 | ∃ b : B'.base ⟶ U.U.toScheme, B'.generic ≫ b = U.generic := by |
| 26 | classical |
| 27 | let z := U.generic (IsLocalRing.closedPoint B.extension.carrier) |
| 28 | have hz : U.U.ι z ∈ U.U := z.property |
| 29 | obtain ⟨V, ⟨a, rfl⟩, ha, hle⟩ := |
| 30 | Opens.isBasis_iff_nbhd.mp PrimeSpectrum.isBasis_basic_opens hz |
| 31 | have ha0 : a ≠ 0 := by |
| 32 | intro heq |
| 33 | subst a |
| 34 | exact ha (Ideal.zero_mem _) |
| 35 | obtain ⟨D, hD, hdiv, hcoeff⟩ := ArithmeticGeometry.Models.Algebra.Constructions.Foundations.finite_coefficients_in_localized_integers |
| 36 | B.extension.carrier (fun _ : Unit => (algebraMap (𝓞 B.extension.carrier) B.extension.carrier a)⁻¹) |
| 37 | N hN |
| 38 | let B' := B.withDenominator D hD |
| 39 | obtain ⟨v, hv⟩ := hcoeff () |
| 40 | have hunit : IsUnit (algebraMap (𝓞 B.extension.carrier) B'.R a) := by |
| 41 | apply isUnit_iff_exists_inv.mpr |
| 42 | refine ⟨v, ?_⟩ |
| 43 | apply ArithmeticGeometry.Models.IntegerBase.Constructions.Foundations.integersAwayToField_injective B.extension.carrier D hD |
| 44 | rw [map_mul, ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap, hv, map_one] |
| 45 | exact mul_inv_cancel₀ (NumberField.RingOfIntegers.coe_ne_zero_iff.mpr ha0) |
| 46 | let q : B'.base ⟶ Spec (.of (𝓞 B.extension.carrier)) := |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap (𝓞 B.extension.carrier) B'.R)) |
| 48 | have hq : Set.range q ⊆ (U.U : Set (Spec (.of (𝓞 B.extension.carrier)))) := by |
| 49 | rintro _ ⟨p, rfl⟩ |
| 50 | apply hle |
| 51 | change algebraMap (𝓞 B.extension.carrier) B'.R a ∉ p.asIdeal |
| 52 | intro hmem |
| 53 | exact p.isPrime.ne_top (p.asIdeal.eq_top_of_isUnit_mem hmem hunit) |
| 54 | let b : B'.base ⟶ U.U.toScheme := IsOpenImmersion.lift U.U.ι q |
| 55 | (by simpa only [Scheme.Opens.range_ι] using hq) |
| 56 | have hb : b ≫ U.U.ι = q := IsOpenImmersion.lift_fac _ _ _ |
| 57 | have hgeneric : B'.generic ≫ q = |
| 58 | Spec.map (CommRingCat.ofHom (algebraMap (𝓞 B.extension.carrier) B.extension.carrier)) := by |
| 59 | change Spec.map (CommRingCat.ofHom (ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField B.extension.carrier D hD)) ≫ |
| 60 | Spec.map (CommRingCat.ofHom (algebraMap (𝓞 B.extension.carrier) B'.R)) = _ |
| 61 | rw [← Spec.map_comp] |
| 62 | exact congrArg (fun f => Spec.map (CommRingCat.ofHom f)) |
| 63 | (ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField_comp B.extension.carrier D hD) |
| 64 | refine ⟨D, hD, hdiv, b, ?_⟩ |
| 65 | apply (cancel_mono U.U.ι).mp |
| 66 | rw [Category.assoc, hb, hgeneric, U.generic_eq] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |