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.Projective.ClosedImmersion |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.LocalizationRange |
| 3 | |
| 4 | /-! # Surjective Range -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.SurjectiveRange.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The image of an actual projective map from a graded quotient is |
| 11 | the vanishing locus of its actual ring-theoretic kernel. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {A B σ τ : Type u} [CommRing A] [CommRing B] |
| 18 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 19 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 20 | (f : 𝒜 →+*ᵍ ℬ) |
| 21 | (hf : HomogeneousIdeal.irrelevant ℬ ≤ (HomogeneousIdeal.irrelevant 𝒜).map f) |
| 22 | (hsurj : Function.Surjective f) |
| 23 | |
| 24 | include hsurj in |
| 25 | theorem projectiveSurjective_range : |
| 26 | Set.range (Proj.map f hf) = ProjectiveSpectrum.zeroLocus 𝒜 (RingHom.ker f.toRingHom) := by |
| 27 | ext p |
| 28 | constructor |
| 29 | · rintro ⟨q, rfl⟩ a ha |
| 30 | change f a ∈ q.asHomogeneousIdeal.toIdeal |
| 31 | change f a = 0 at ha |
| 32 | rw [ha] |
| 33 | exact q.asHomogeneousIdeal.toIdeal.zero_mem |
| 34 | · intro hp |
| 35 | let p' : PrimeSpectrum A := ⟨p.asHomogeneousIdeal.toIdeal, p.isPrime⟩ |
| 36 | have hrange : p' ∈ Set.range (PrimeSpectrum.comap f.toRingHom) := by |
| 37 | rw [range_comap_of_surjective B f.toRingHom hsurj] |
| 38 | exact hp |
| 39 | obtain ⟨q, hq⟩ := hrange |
| 40 | have hqI : q.asIdeal.comap f = p.asHomogeneousIdeal.toIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 41 | have hmap : (p.asHomogeneousIdeal.map f).toIdeal = q.asIdeal := by |
| 42 | change Ideal.map f p.asHomogeneousIdeal.toIdeal = q.asIdeal |
| 43 | rw [← hqI] |
| 44 | exact Ideal.map_comap_of_surjective f hsurj q.asIdeal |
| 45 | let qP : Proj ℬ := |
| 46 | { asHomogeneousIdeal := p.asHomogeneousIdeal.map f |
| 47 | isPrime := hmap.symm ▸ q.isPrime |
| 48 | not_irrelevant_le := by |
| 49 | intro h |
| 50 | have hl := (LocalizationRange.BundleCycles.gradedMap_irrelevant_le 𝒜 ℬ f).trans h |
| 51 | have hc : (HomogeneousIdeal.irrelevant 𝒜).toIdeal ≤ |
| 52 | (p.asHomogeneousIdeal.map f).toIdeal.comap f := Ideal.map_le_iff_le_comap.mp hl |
| 53 | rw [hmap, hqI] at hc |
| 54 | exact p.not_irrelevant_le hc } |
| 55 | refine ⟨qP, ?_⟩ |
| 56 | apply ProjectiveSpectrum.ext |
| 57 | apply HomogeneousIdeal.ext |
| 58 | exact (congrArg (Ideal.comap f) hmap).trans hqI |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.SurjectiveRange.BundleCycles |