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.Resolution.Blowups.Pointed.FlatIdealDescent |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalContainmentNeighborhood |
| 3 | import Mathlib.RingTheory.RingHom.Etale |
| 4 | |
| 5 | /-! # Center Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.CenterDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descent of center equality from pointed flat and étale comparisons. -/ |
| 12 | |
| 13 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 14 | |
| 15 | /-- The local descent statement for a raw flat ring map. -/ |
| 16 | theorem flat_map_ideal_equality_at_prime (f : R →+* S) (hf : f.Flat) |
| 17 | (J K q : Ideal R) [q.IsPrime] (Q : Ideal S) [Q.IsPrime] |
| 18 | (hQ : Q.comap f = q) (h : J.map f = K.map f) : |
| 19 | J.map (algebraMap R (Localization.AtPrime q)) = |
| 20 | K.map (algebraMap R (Localization.AtPrime q)) := by |
| 21 | let : Algebra R S := f.toAlgebra |
| 22 | let : Module.Flat R S := hf |
| 23 | have hlocal := Pointed.FlatIdealDescent.Construction.flat_ideal_equality_reflects_at_prime J K Q h |
| 24 | have hunder : Q.under R = q := hQ |
| 25 | subst q |
| 26 | exact hlocal |
| 27 | |
| 28 | /-- Equality of finite center ideals on a pointed flat chart holds on an |
| 29 | actual principal open neighborhood of its image point. -/ |
| 30 | theorem flat_map_ideal_equality_neighborhood (f : R →+* S) (hf : f.Flat) |
| 31 | (J K q : Ideal R) [q.IsPrime] (Q : Ideal S) [Q.IsPrime] |
| 32 | (hQ : Q.comap f = q) (hJ : J.FG) (hK : K.FG) |
| 33 | (h : J.map f = K.map f) : |
| 34 | ∃ s ∉ q, J.map (algebraMap R (Localization.Away s)) = |
| 35 | K.map (algebraMap R (Localization.Away s)) := |
| 36 | LocalContainmentNeighborhood.Construction.exists_neighborhood_ideal_equality J K q hJ hK |
| 37 | (flat_map_ideal_equality_at_prime f hf J K q Q hQ h) |
| 38 | |
| 39 | variable {k C : Type*} [CommRing k] [Field C] |
| 40 | [Algebra k R] [Algebra k S] [Algebra k C] |
| 41 | |
| 42 | /-- The two center constructions may use different étale comparison maps. |
| 43 | Once the second center is preserved by the comparison, equality on the |
| 44 | common chart descends to an open neighborhood of the original point. -/ |
| 45 | theorem pointed_etale_center_equality_neighborhood |
| 46 | (f g : R →ₐ[k] S) (hf : f.toRingHom.Etale) |
| 47 | (v : S →ₐ[k] C) (r : R →ₐ[k] C) (hv : ∀ x : R, v (f x) = r x) |
| 48 | (I L : Ideal R) (hI : I.FG) (hL : L.FG) |
| 49 | (hcompare : I.map f.toRingHom = L.map g.toRingHom) |
| 50 | (hpreserve : L.map f.toRingHom = L.map g.toRingHom) : |
| 51 | ∃ s : R, r s ≠ 0 ∧ I.map (algebraMap R (Localization.Away s)) = |
| 52 | L.map (algebraMap R (Localization.Away s)) := by |
| 53 | let q := RingHom.ker r.toRingHom |
| 54 | let Q := RingHom.ker v.toRingHom |
| 55 | let : q.IsPrime := Ideal.comap_isPrime r.toRingHom ⊥ |
| 56 | let : Q.IsPrime := Ideal.comap_isPrime v.toRingHom ⊥ |
| 57 | have hQ : Q.comap f.toRingHom = q := by |
| 58 | ext x |
| 59 | change v (f x) = 0 ↔ r x = 0 |
| 60 | rw [hv x] |
| 61 | have hflat := (RingHom.Etale.iff_flat_and_formallyUnramified.mp hf).1 |
| 62 | obtain ⟨s, hs, heq⟩ := flat_map_ideal_equality_neighborhood f.toRingHom hflat |
| 63 | I L q Q hQ hI hL (hcompare.trans hpreserve.symm) |
| 64 | exact ⟨s, hs, heq⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.CenterDescent.Construction |