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.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalRank |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedImmersionRegularity |
| 3 | |
| 4 | /-! # Regular Sequence Length -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RegularSequenceLength |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Regular equations for a smooth closed center can be chosen with the |
| 11 | actual codimension, computed at the original point over an arbitrary base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry KaehlerDifferential |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem exists_pointed_open_regular_sequence |
| 18 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 19 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 20 | (p : PrimeSpectrum (R ⧸ I)) : |
| 21 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (_ : Algebra.Smooth k S) |
| 22 | (f : R →ₐ[k] S), IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 23 | ∃ (q : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom q = |
| 24 | p.comap (Ideal.Quotient.mk I) ∧ |
| 25 | ∃ (r : ℕ) (z : Fin r → S) (D : Fin r → Derivation k S S), |
| 26 | (∀ i j, D i (z j) = if i = j then 1 else 0) ∧ |
| 27 | I.map f.toRingHom = Ideal.ofList (List.ofFn z) ∧ |
| 28 | RingTheory.Sequence.IsRegular S (List.ofFn z) ∧ |
| 29 | r = Module.rankAtStalk Ω[R⁄k] (p.comap (Ideal.Quotient.mk I)) - |
| 30 | Module.rankAtStalk Ω[R ⧸ I⁄k] p := by |
| 31 | classical |
| 32 | have hIp : I ≤ (p.comap (Ideal.Quotient.mk I)).asIdeal := by |
| 33 | intro x hx |
| 34 | change Ideal.Quotient.mk I x ∈ p.asIdeal |
| 35 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hx] |
| 36 | exact p.asIdeal.zero_mem |
| 37 | obtain ⟨S, hSk, hSs, f, hf, q, hq, r, z, D, hD, hI, hreg⟩ := |
| 38 | ClosedImmersionRegularity.exists_pointed_open_regular_sequence (k := k) I |
| 39 | (p.comap (Ideal.Quotient.mk I)) hIp |
| 40 | let : Algebra R S := f.toRingHom.toAlgebra |
| 41 | let : IsScalarTower k R S := IsScalarTower.of_algebraMap_eq (fun a => (f.commutes a).symm) |
| 42 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := hf |
| 43 | let : Algebra.Etale R S := RingHom.etale_algebraMap.mp |
| 44 | ((HasRingHomProperty.Spec_iff (P := @Etale) |
| 45 | (φ := CommRingCat.ofHom f.toRingHom)).mp inferInstance) |
| 46 | let J := I.map (algebraMap R S) |
| 47 | have hJq : J ≤ q.asIdeal := by |
| 48 | rw [Ideal.map_le_iff_le_comap] |
| 49 | have he := congrArg PrimeSpectrum.asIdeal hq |
| 50 | change I ≤ q.asIdeal.comap f.toRingHom |
| 51 | change q.asIdeal.comap f.toRingHom = _ at he |
| 52 | rw [he] |
| 53 | exact hIp |
| 54 | let q₀ := J.primeSpectrumQuotientOrderIsoZeroLocus.symm ⟨q, hJq⟩ |
| 55 | have hq₀ : q₀.comap (Ideal.Quotient.mk J) = q := |
| 56 | congrArg Subtype.val (J.primeSpectrumQuotientOrderIsoZeroLocus.apply_symm_apply ⟨q, hJq⟩) |
| 57 | have hp : q₀.comap (algebraMap (R ⧸ I) (S ⧸ J)) = p := by |
| 58 | apply PrimeSpectrum.comap_injective_of_surjective (Ideal.Quotient.mk I) |
| 59 | Ideal.Quotient.mk_surjective |
| 60 | calc |
| 61 | (q₀.comap (algebraMap (R ⧸ I) (S ⧸ J))).comap (Ideal.Quotient.mk I) = |
| 62 | (q₀.comap (Ideal.Quotient.mk J)).comap (algebraMap R S) := rfl |
| 63 | _ = p.comap (Ideal.Quotient.mk I) := by rw [hq₀]; exact hq |
| 64 | have hz : Ideal.span (Set.range z) = J := by |
| 65 | rw [← RegularSequence.CoordinateRegularity.ofList_ofFn, ← hI] |
| 66 | rfl |
| 67 | let v : Fin r → J := fun i => ⟨z i, hz ▸ Ideal.subset_span ⟨i, rfl⟩⟩ |
| 68 | have hn := IntegralComparison.Etale.ConormalRank.cardinal_eq_rank (k := k) I v D hD hz q₀ |
| 69 | rw [Fintype.card_fin, hp] at hn |
| 70 | refine ⟨S, hSk, hSs, f, hf, q, hq, r, z, D, hD, hI, hreg, ?_⟩ |
| 71 | exact hn.trans (ConormalRank.quotient_rank_sub (k := k) I p) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RegularSequenceLength |