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.Smooth.RegularSequence |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterPointedFrame |
| 3 | |
| 4 | /-! # Closed Immersion Regularity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedImmersionRegularity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth closed center in a smooth algebra has actual regular generators |
| 11 | on an open neighborhood of every point, over an arbitrary base ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 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) (hIp : I ≤ p.asIdeal) : |
| 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 = p ∧ |
| 24 | ∃ (r : ℕ) (z : Fin r → S) (D : Fin r → Derivation k S S), |
| 25 | (∀ i j, D i (z j) = if i = j then 1 else 0) ∧ |
| 26 | I.map f.toRingHom = Ideal.ofList (List.ofFn z) ∧ |
| 27 | RingTheory.Sequence.IsRegular S (List.ofFn z) := by |
| 28 | classical |
| 29 | obtain ⟨S, hSk, hSs, f, hf, q, hq, ι, hι, hdec, v, E, hE, hI⟩ := |
| 30 | AlgebraicGeometry.Resolution.Blowups.Smooth.CenterPointedFrame.Construction.smooth_center_pointed_open_frame (k := k) I p hIp |
| 31 | let e := (Fintype.equivFin ι).symm |
| 32 | let z : Fin (Fintype.card ι) → S := fun i => v (e i) |
| 33 | let D : Fin (Fintype.card ι) → Derivation k S S := fun i => E (e i) |
| 34 | have hD (i j : Fin (Fintype.card ι)) : D i (z j) = if i = j then 1 else 0 := by |
| 35 | simpa only [D, z, Equiv.apply_eq_iff_eq] using hE (e i) (e j) |
| 36 | have hrange : Set.range z = Set.range v := by |
| 37 | exact e.surjective.range_comp v |
| 38 | have hideal : I.map f.toRingHom = Ideal.ofList (List.ofFn z) := by |
| 39 | rw [RegularSequence.CoordinateRegularity.ofList_ofFn, hrange, hI] |
| 40 | have hIq : I.map f.toRingHom ≤ q.asIdeal := by |
| 41 | rw [Ideal.map_le_iff_le_comap] |
| 42 | have he := congrArg PrimeSpectrum.asIdeal hq |
| 43 | change q.asIdeal.comap f.toRingHom = p.asIdeal at he |
| 44 | rwa [he] |
| 45 | have hproper : Ideal.span (Set.range z) ≠ ⊤ := by |
| 46 | rw [hrange, ← hI] |
| 47 | exact ne_top_of_le_ne_top q.isPrime.ne_top hIq |
| 48 | exact ⟨S, hSk, hSs, f, hf, q, hq, Fintype.card ι, z, D, hD, hideal, |
| 49 | RegularSequence.CoordinateRegularity.family_isRegular z D hD hproper⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedImmersionRegularity |