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.IntersectionTheory.ProjectionFormula.LinearPolynomialExtension |
| 2 | import Mathlib.RingTheory.Polynomial.Quotient |
| 3 | |
| 4 | /-! # Linear Prime Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearPrimeIdeal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The inverse cone of an integral projective support has a prime |
| 11 | homogeneous ideal under any independent linear projection coordinate map. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Projection |
| 17 | |
| 18 | theorem polynomial_extension {R ι : Type} [CommRing R] (P : Ideal R) [P.IsPrime] : |
| 19 | (P.map (MvPolynomial.C : R →+* MvPolynomial ι R)).IsPrime := by |
| 20 | apply (Ideal.Quotient.isDomain_iff_prime _).mp |
| 21 | let e := MvPolynomial.quotientEquivQuotientMvPolynomial (σ := ι) P |
| 22 | exact Function.Injective.isDomain e.symm e.symm.injective |
| 23 | |
| 24 | theorem of_equivalence {R S ι : Type} [CommRing R] [CommRing S] |
| 25 | (f : R →+* S) (e : S ≃+* MvPolynomial ι R) |
| 26 | (he : ∀ r, e (f r) = MvPolynomial.C r) (P : Ideal R) [P.IsPrime] : (P.map f).IsPrime := by |
| 27 | let Q := P.map (MvPolynomial.C : R →+* MvPolynomial ι R) |
| 28 | let : Q.IsPrime := polynomial_extension P |
| 29 | have hcomp : e.toRingHom.comp f = MvPolynomial.C := RingHom.ext he |
| 30 | have hmap : (P.map f).map e.toRingHom = Q := by rw [Ideal.map_map, hcomp] |
| 31 | have hpre : Q.comap e.toRingHom = P.map f := by |
| 32 | rw [← hmap] |
| 33 | exact Ideal.comap_map_of_bijective e.toRingHom e.bijective |
| 34 | rw [← hpre] |
| 35 | infer_instance |
| 36 | |
| 37 | theorem comap_of_equivalence {R S ι : Type} [CommRing R] [CommRing S] |
| 38 | (f : R →+* S) (e : S ≃+* MvPolynomial ι R) |
| 39 | (he : ∀ r, e (f r) = MvPolynomial.C r) (P : Ideal R) : (P.map f).comap f = P := by |
| 40 | apply le_antisymm _ Ideal.le_comap_map |
| 41 | intro r hr |
| 42 | have hcomp : e.toRingHom.comp f = MvPolynomial.C := RingHom.ext he |
| 43 | have hmap : (P.map f).map e.toRingHom = P.map MvPolynomial.C := by rw [Ideal.map_map, hcomp] |
| 44 | have hm : e (f r) ∈ (P.map f).map e.toRingHom := Ideal.mem_map_of_mem e.toRingHom hr |
| 45 | rw [hmap, he] at hm |
| 46 | have hc := (MvPolynomial.mem_map_C_iff.mp hm) 0 |
| 47 | simpa only [MvPolynomial.coeff_zero_C] using hc |
| 48 | |
| 49 | theorem map_isPrime {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 50 | (hL : LinearIndependent ℂ L) (P : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m)) [P.IsPrime] : |
| 51 | (P.map (HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property)).toRingHom).IsPrime := by |
| 52 | obtain ⟨ι, _, e, he⟩ := LinearPolynomialExtension.exists_equivalence L hL |
| 53 | exact of_equivalence _ e.toRingEquiv he P |
| 54 | |
| 55 | theorem comap_map {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 56 | (hL : LinearIndependent ℂ L) (P : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m)) : |
| 57 | (P.map (HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property)).toRingHom).comap |
| 58 | (HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property)).toRingHom = P := by |
| 59 | obtain ⟨ι, _, e, he⟩ := LinearPolynomialExtension.exists_equivalence L hL |
| 60 | exact comap_of_equivalence _ e.toRingEquiv he P |
| 61 | |
| 62 | end Projection |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearPrimeIdeal |