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.NormalQuotientOpenFrame |
| 2 | import Mathlib.RingTheory.Localization.Ideal |
| 3 | |
| 4 | /-! # Unit Open Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.UnitOpenLift.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite units on a closed carrier become units on an actual ambient open through that carrier. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem not_mem_of_surjective_quotient_unit |
| 17 | {R Q : Type*} [CommRing R] [CommRing Q] (q : R →+* Q) |
| 18 | (hq : Function.Surjective q) (p : Ideal R) [p.IsPrime] |
| 19 | (hqp : RingHom.ker q ≤ p) (x : R) (hx : IsUnit (q x)) : x ∉ p := by |
| 20 | obtain ⟨y, hy⟩ := hx.exists_right_inv |
| 21 | obtain ⟨r, hr⟩ := hq y |
| 22 | have hm : x * r - 1 ∈ p := hqp (by |
| 23 | change q (x * r - 1) = 0 |
| 24 | rw [map_sub, map_mul, hr, hy, map_one, sub_self]) |
| 25 | intro hxp |
| 26 | exact ‹p.IsPrime›.one_notMem (by |
| 27 | simpa only [sub_sub_cancel] using p.sub_mem (p.mul_mem_right r hxp) hm) |
| 28 | |
| 29 | theorem quotient_unit_pointed_open_lift |
| 30 | {k R Q : Type u} [CommRing k] [CommRing R] [CommRing Q] |
| 31 | [Algebra k R] [Algebra k Q] (q : R →ₐ[k] Q) (hq : Function.Surjective q) |
| 32 | {β : Type v} [Fintype β] (a : β → R) (ha : ∀ j, IsUnit (q (a j))) |
| 33 | (p : PrimeSpectrum R) (hqp : RingHom.ker q.toRingHom ≤ p.asIdeal) : |
| 34 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (f : R →ₐ[k] S), |
| 35 | IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 36 | ∃ (P : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom P = p ∧ |
| 37 | (∀ j, IsUnit (f (a j))) ∧ |
| 38 | ∃ q' : S →ₐ[k] Q, Function.Surjective q' ∧ q'.comp f = q ∧ |
| 39 | RingHom.ker q'.toRingHom = (RingHom.ker q.toRingHom).map f.toRingHom := by |
| 40 | classical |
| 41 | let t : R := ∏ j, a j |
| 42 | have ht : t ∉ p.asIdeal := by |
| 43 | change t ∈ p.asIdeal.primeCompl |
| 44 | exact Submonoid.prod_mem _ (fun j _ => |
| 45 | not_mem_of_surjective_quotient_unit q.toRingHom hq p.asIdeal hqp (a j) (ha j)) |
| 46 | have hqt : IsUnit (q t) := by |
| 47 | dsimp only [t] |
| 48 | rw [map_prod] |
| 49 | exact IsUnit.prod_univ_iff.mpr ha |
| 50 | let S := Localization.Away t |
| 51 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 52 | let q' : S →ₐ[k] Q := IsLocalization.Away.liftAlgHom t hqt |
| 53 | have hq'f (r : R) : q' (f r) = q r := IsLocalization.Away.lift_eq t hqt r |
| 54 | obtain ⟨P, hP⟩ := Etale.RefinementHelpers.Construction.exists_localization_away_prime t p ht |
| 55 | refine ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization t, P, hP, ?_, |
| 56 | q', ?_, ?_, ?_⟩ |
| 57 | · intro j |
| 58 | exact IsLocalization.Away.isUnit_of_dvd t (Finset.dvd_prod_of_mem a (Finset.mem_univ j)) |
| 59 | · intro y |
| 60 | obtain ⟨r, hr⟩ := hq y |
| 61 | exact ⟨f r, (hq'f r).trans hr⟩ |
| 62 | · ext r |
| 63 | exact hq'f r |
| 64 | · have he : (RingHom.ker q'.toRingHom).comap f.toRingHom = RingHom.ker q.toRingHom := by |
| 65 | ext r |
| 66 | change q' (f r) = 0 ↔ q r = 0 |
| 67 | rw [hq'f] |
| 68 | have hm := IsLocalization.map_under (Submonoid.powers t) S (RingHom.ker q'.toRingHom) |
| 69 | change ((RingHom.ker q'.toRingHom).comap f.toRingHom).map f.toRingHom = _ at hm |
| 70 | rw [he] at hm |
| 71 | exact hm.symm |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.UnitOpenLift.Construction |