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 Mathlib.RingTheory.Localization.Ideal |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Quotient Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.QuotientLocalization.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: localization of a quotient ring |
| 12 | |
| 13 | Quotienting by an ideal commutes with localization. The proof follows |
| 14 | numerators and denominators explicitly and will be applied to the parameter |
| 15 | ideal of the deformation, in order to glue its normal-cone fibers. |
| 16 | -/ |
| 17 | |
| 18 | universe u v |
| 19 | variable {R : Type u} [CommRing R] (M : Submonoid R) |
| 20 | variable (S : Type v) [CommRing S] [Algebra R S] [IsLocalization M S] |
| 21 | |
| 22 | /-- The actual quotient map induced by localization of coefficients. -/ |
| 23 | def quotientLocalizationMap (I : Ideal R) : R ⧸ I →+* S ⧸ I.map (algebraMap R S) := |
| 24 | Ideal.quotientMap _ (algebraMap R S) (fun _ hr => Ideal.mem_map_of_mem _ hr) |
| 25 | |
| 26 | @[simp] |
| 27 | theorem quotientLocalizationMap_mk (I : Ideal R) (r : R) : |
| 28 | quotientLocalizationMap S I (Ideal.Quotient.mk I r) = |
| 29 | Ideal.Quotient.mk (I.map (algebraMap R S)) (algebraMap R S r) := rfl |
| 30 | |
| 31 | /-- The quotient after localization is a localization of the original quotient. -/ |
| 32 | theorem quotientLocalizationMap_isLocalization (I : Ideal R) : |
| 33 | letI := (quotientLocalizationMap S I).toAlgebra |
| 34 | IsLocalization (M.map (Ideal.Quotient.mk I)) (S ⧸ I.map (algebraMap R S)) := by |
| 35 | let := (quotientLocalizationMap S I).toAlgebra |
| 36 | let J := I.map (algebraMap R S) |
| 37 | refine { map_units := ?_, surj := ?_, exists_of_eq := ?_ } |
| 38 | · rintro ⟨q, ⟨m, hm, rfl⟩⟩ |
| 39 | change IsUnit (Ideal.Quotient.mk J (algebraMap R S m)) |
| 40 | exact (IsLocalization.map_units S (⟨m, hm⟩ : M)).map (Ideal.Quotient.mk J) |
| 41 | · intro q |
| 42 | obtain ⟨y, rfl⟩ := Ideal.Quotient.mk_surjective q |
| 43 | obtain ⟨⟨x, m⟩, he⟩ := IsLocalization.surj M y |
| 44 | refine ⟨(Ideal.Quotient.mk I x, |
| 45 | ⟨Ideal.Quotient.mk I m.val, Submonoid.mem_map_of_mem _ m.property⟩), ?_⟩ |
| 46 | change Ideal.Quotient.mk J y * Ideal.Quotient.mk J (algebraMap R S m.val) = |
| 47 | Ideal.Quotient.mk J (algebraMap R S x) |
| 48 | exact (map_mul (Ideal.Quotient.mk J) y (algebraMap R S m.val)).symm.trans |
| 49 | (congrArg (Ideal.Quotient.mk J) he) |
| 50 | · intro p q he |
| 51 | obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective p |
| 52 | obtain ⟨y, rfl⟩ := Ideal.Quotient.mk_surjective q |
| 53 | have hxy : algebraMap R S (x - y) ∈ J := by |
| 54 | rw [map_sub] |
| 55 | exact Ideal.Quotient.eq.mp he |
| 56 | obtain ⟨m, hm, hmem⟩ := (IsLocalization.algebraMap_mem_map_algebraMap_iff M S I (x - y)).mp hxy |
| 57 | refine ⟨⟨Ideal.Quotient.mk I m, Submonoid.mem_map_of_mem _ hm⟩, ?_⟩ |
| 58 | change Ideal.Quotient.mk I m * Ideal.Quotient.mk I x = |
| 59 | Ideal.Quotient.mk I m * Ideal.Quotient.mk I y |
| 60 | rw [← map_mul, ← map_mul] |
| 61 | apply Ideal.Quotient.eq.mpr |
| 62 | exact (mul_sub m x y) ▸ hmem |
| 63 | |
| 64 | /-- The same localization statement with the target ideal supplied by its |
| 65 | actual image equality, as needed for gluing affine ideal presentations. -/ |
| 66 | theorem quotientMap_isLocalization (I : Ideal R) (J : Ideal S) |
| 67 | (hJ : I.map (algebraMap R S) = J) (hIJ : I ≤ J.comap (algebraMap R S)) : |
| 68 | letI := (Ideal.quotientMap J (algebraMap R S) hIJ).toAlgebra |
| 69 | IsLocalization (M.map (Ideal.Quotient.mk I)) (S ⧸ J) := by |
| 70 | subst J |
| 71 | exact quotientLocalizationMap_isLocalization M S I |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Divisors.LineBundles.QuotientLocalization.BundleCycles |