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.Etale.LocalDomain |
| 2 | |
| 3 | /-! # Local Coordinate Prime -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.LocalCoordinatePrime.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinate-center ideals are prime in the actual ambient local rings. -/ |
| 10 | |
| 11 | section |
| 12 | |
| 13 | variable {R : Type*} [CommRing R] |
| 14 | |
| 15 | /-- Localizing the ambient ring and then quotienting gives the same |
| 16 | localization as quotienting first. A domain local quotient therefore makes |
| 17 | the extended center ideal prime in the ambient local ring. -/ |
| 18 | theorem ideal_map_atPrime_isPrime_of_local_quotient_domain |
| 19 | (I q : Ideal R) [q.IsMaximal] (hI : I ≤ q) |
| 20 | [(q.map (Ideal.Quotient.mk I)).IsPrime] |
| 21 | [IsDomain (Localization.AtPrime (q.map (Ideal.Quotient.mk I)))] : |
| 22 | (I.map (algebraMap R (Localization.AtPrime q))).IsPrime := by |
| 23 | let A := R ⧸ I |
| 24 | let Q : Ideal A := q.map (Ideal.Quotient.mk I) |
| 25 | let : Q.IsMaximal := Ideal.IsMaximal.map_of_surjective_of_ker_le |
| 26 | Ideal.Quotient.mk_surjective (by rwa [Ideal.mk_ker]) |
| 27 | let B := Localization.AtPrime q ⧸ I.map (algebraMap R (Localization.AtPrime q)) |
| 28 | have hQ : Q.comap (Ideal.Quotient.mk I) = q := by |
| 29 | rw [Ideal.comap_map_of_surjective _ Ideal.Quotient.mk_surjective, |
| 30 | ← RingHom.ker_eq_comap_bot, Ideal.mk_ker, sup_eq_left.mpr hI] |
| 31 | have hM : Algebra.algebraMapSubmonoid A q.primeCompl = Q.primeCompl := by |
| 32 | change q.primeCompl.map (Ideal.Quotient.mk I) = Q.primeCompl |
| 33 | have h := Ideal.map_primeCompl_comap_of_surjective (Ideal.Quotient.mk I) |
| 34 | Ideal.Quotient.mk_surjective Q |
| 35 | simpa only [hQ] using h |
| 36 | let : IsLocalization.AtPrime B Q := by |
| 37 | change IsLocalization Q.primeCompl B |
| 38 | rw [← hM] |
| 39 | infer_instance |
| 40 | let e := IsLocalization.algEquiv Q.primeCompl B (Localization.AtPrime Q) |
| 41 | have hB : IsDomain B := e.injective.isDomain e.toRingHom |
| 42 | exact (Ideal.Quotient.isDomain_iff_prime _).mp hB |
| 43 | |
| 44 | end |
| 45 | |
| 46 | universe u |
| 47 | |
| 48 | variable {σ K S : Type u} [Field K] [IsAlgClosed K] [CommRing S] [Finite σ] [DecidableEq σ] |
| 49 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 50 | |
| 51 | /-- Every coordinate-center ideal is prime at each closed point of the center. -/ |
| 52 | theorem etale_coordinate_center_ideal_atPrime_isPrime (C : Finset σ) (q : Ideal S) |
| 53 | [q.IsMaximal] |
| 54 | (hC : ∀ i ∈ C, algebraMap (MvPolynomial σ K) S (MvPolynomial.X i) ∈ q) : |
| 55 | (((SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C).map (algebraMap (MvPolynomial σ K) S)).map |
| 56 | (algebraMap S (Localization.AtPrime q))).IsPrime := by |
| 57 | let I := (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C).map (algebraMap (MvPolynomial σ K) S) |
| 58 | have hI : I ≤ q := by |
| 59 | apply Ideal.map_le_iff_le_comap.mpr |
| 60 | apply Ideal.span_le.mpr |
| 61 | rintro _ ⟨i, hi, rfl⟩ |
| 62 | exact hC i hi |
| 63 | let Q := q.map (Ideal.Quotient.mk I) |
| 64 | let : Q.IsMaximal := Ideal.IsMaximal.map_of_surjective_of_ker_le |
| 65 | Ideal.Quotient.mk_surjective (by rwa [Ideal.mk_ker]) |
| 66 | let : IsDomain (Localization.AtPrime Q) := |
| 67 | Blowups.Etale.LocalDomain.Construction.etale_coordinate_center_localRing_isDomain (K := K) C Q |
| 68 | exact ideal_map_atPrime_isPrime_of_local_quotient_domain I q hI |
| 69 | |
| 70 | /-- In particular, each boundary coordinate through a closed point generates |
| 71 | a prime ideal of the ambient local ring. -/ |
| 72 | theorem etale_boundary_coordinate_atPrime_isPrime (i : σ) (q : Ideal S) [q.IsMaximal] |
| 73 | (hi : algebraMap (MvPolynomial σ K) S (MvPolynomial.X i) ∈ q) : |
| 74 | (Ideal.span {algebraMap S (Localization.AtPrime q) |
| 75 | (algebraMap (MvPolynomial σ K) S (MvPolynomial.X i))}).IsPrime := by |
| 76 | have h := etale_coordinate_center_ideal_atPrime_isPrime (K := K) ({i} : Finset σ) q |
| 77 | (by intro j hj; simpa only [Finset.mem_singleton.mp hj] using hi) |
| 78 | simpa only [Blowups.Etale.CoordinateHypersurfaceMap.Construction.singleton_coordinate_extended_ideal, Ideal.map_span, Set.image_singleton] using h |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Resolution.Blowups.LocalCoordinatePrime.Construction |