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.Divisors.LineBundles.Polynomial.PrimeExtension |
| 2 | import Mathlib.Algebra.Polynomial.Laurent |
| 3 | |
| 4 | /-! # Prime Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Laurent.PrimeExtension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: actual Laurent extensions of prime supports |
| 12 | -/ |
| 13 | |
| 14 | open _root_.Polynomial |
| 15 | |
| 16 | variable {R : Type*} [CommRing R] |
| 17 | |
| 18 | theorem polynomialPrimeExtension_disjoint_X (p : Ideal R) [p.IsPrime] : |
| 19 | Disjoint (Submonoid.powers (X : R[X]) : Set R[X]) (p.map C : Set R[X]) := by |
| 20 | apply (Ideal.disjoint_powers_iff_notMem_of_isPrime X).mpr |
| 21 | intro h |
| 22 | have h1 := Ideal.mem_map_C_iff.mp h 1 |
| 23 | rw [coeff_X_one] at h1 |
| 24 | exact (show p ≠ ⊤ from Ideal.IsPrime.ne_top') ((Ideal.eq_top_iff_one p).mpr h1) |
| 25 | |
| 26 | def laurentPrimeExtension (p : Ideal R) : Ideal (LaurentPolynomial R) := |
| 27 | (p.map (C : R →+* R[X])).map (algebraMap R[X] (LaurentPolynomial R)) |
| 28 | |
| 29 | instance laurentPrimeExtension_isPrime (p : Ideal R) [p.IsPrime] : |
| 30 | (laurentPrimeExtension p).IsPrime := |
| 31 | IsLocalization.isPrime_of_isPrime_disjoint (Submonoid.powers (X : R[X])) (LaurentPolynomial R) |
| 32 | (p.map C) inferInstance (polynomialPrimeExtension_disjoint_X p) |
| 33 | |
| 34 | theorem laurentPrimeExtension_under_polynomial (p : Ideal R) [p.IsPrime] : |
| 35 | (laurentPrimeExtension p).under R[X] = p.map C := |
| 36 | IsLocalization.under_map_of_isPrime_disjoint (Submonoid.powers (X : R[X])) (LaurentPolynomial R) |
| 37 | inferInstance (polynomialPrimeExtension_disjoint_X p) |
| 38 | |
| 39 | theorem laurentPrimeExtension_eq_map (p : Ideal R) : |
| 40 | laurentPrimeExtension p = p.map (algebraMap R (LaurentPolynomial R)) := by |
| 41 | rw [laurentPrimeExtension, Ideal.map_map] |
| 42 | congr 1 |
| 43 | apply RingHom.ext |
| 44 | intro r |
| 45 | exact Polynomial.toLaurent_C r |
| 46 | |
| 47 | theorem laurentPrimeExtension_under (p : Ideal R) [p.IsPrime] : |
| 48 | (laurentPrimeExtension p).under R = p := by |
| 49 | have hc : (algebraMap R[X] (LaurentPolynomial R)).comp (C : R →+* R[X]) = |
| 50 | algebraMap R (LaurentPolynomial R) := by |
| 51 | apply RingHom.ext |
| 52 | intro r |
| 53 | exact Polynomial.toLaurent_C r |
| 54 | change Ideal.comap (algebraMap R (LaurentPolynomial R)) (laurentPrimeExtension p) = p |
| 55 | rw [← hc, ← Ideal.comap_comap] |
| 56 | exact (congrArg (Ideal.comap (C : R →+* R[X])) (laurentPrimeExtension_under_polynomial p)).trans |
| 57 | (LineBundles.Polynomial.PrimeExtension.BundleCycles.polynomialPrimeExtension_comap p) |
| 58 | |
| 59 | theorem laurentPrimeExtension_height [IsNoetherianRing R] (p : Ideal R) [p.IsPrime] : |
| 60 | (laurentPrimeExtension p).height = p.height := |
| 61 | (IsLocalization.height_map_of_disjoint (S := LaurentPolynomial R) (Submonoid.powers (X : R[X])) |
| 62 | (p.map C) (polynomialPrimeExtension_disjoint_X p)).trans (LineBundles.Polynomial.PrimeExtension.BundleCycles.polynomialPrimeExtension_height p) |
| 63 | |
| 64 | theorem laurentPrimeExtension_injective : Function.Injective (fun p : PrimeSpectrum R => |
| 65 | (⟨laurentPrimeExtension p.asIdeal, laurentPrimeExtension_isPrime p.asIdeal⟩ : PrimeSpectrum (LaurentPolynomial R))) := by |
| 66 | intro p q h |
| 67 | apply PrimeSpectrum.ext |
| 68 | have hc := congrArg (fun P : PrimeSpectrum (LaurentPolynomial R) => P.asIdeal.under R) h |
| 69 | simpa only [laurentPrimeExtension_under] using hc |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Laurent.PrimeExtension.BundleCycles |