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.AlgebraicGeometry.ProjectiveSpectrum.Functor |
| 2 | |
| 3 | /-! # Map Base -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.MapBase.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native Proj maps commute with the actual degree-zero structure map. -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.HomogeneousLocalization |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | section Rings |
| 16 | |
| 17 | variable {A B σ τ : Type*} [CommRing A] [CommRing B] |
| 18 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 19 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 20 | (f : 𝒜 →+*ᵍ ℬ) |
| 21 | |
| 22 | theorem gradedAwayMap_fromZero (s : A) (a : 𝒜 0) : |
| 23 | Away.map f s (fromZeroRingHom 𝒜 (Submonoid.powers s) a) = |
| 24 | fromZeroRingHom ℬ (Submonoid.powers (f s)) (f.gradedZeroRingHom a) := by |
| 25 | change HomogeneousLocalization.map f _ (HomogeneousLocalization.mk ⟨0, a, 1, by simp⟩) = |
| 26 | HomogeneousLocalization.mk ⟨0, f.gradedZeroRingHom a, 1, by simp⟩ |
| 27 | rw [HomogeneousLocalization.map_mk] |
| 28 | congr 1 |
| 29 | apply HomogeneousLocalization.NumDenSameDeg.ext |
| 30 | · rfl |
| 31 | · rfl |
| 32 | · exact map_one f |
| 33 | |
| 34 | end Rings |
| 35 | |
| 36 | variable {A B σ τ : Type u} [CommRing A] [CommRing B] |
| 37 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 38 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 39 | (f : 𝒜 →+*ᵍ ℬ) |
| 40 | |
| 41 | theorem projectiveMap_toSpecZero |
| 42 | (hf : HomogeneousIdeal.irrelevant ℬ ≤ (HomogeneousIdeal.irrelevant 𝒜).map f) : |
| 43 | Proj.map f hf ≫ Proj.toSpecZero 𝒜 = |
| 44 | Proj.toSpecZero ℬ ≫ Spec.map (CommRingCat.ofHom f.gradedZeroRingHom) := by |
| 45 | apply (Proj.mapAffineOpenCover f hf).openCover.hom_ext |
| 46 | intro s |
| 47 | let n : ℕ := s.1.val |
| 48 | let a : A := s.2.val |
| 49 | have hn : 0 < n := s.1.property |
| 50 | have ha : a ∈ 𝒜 n := s.2.property |
| 51 | change Proj.awayι ℬ (f a) (f.map_mem ha) hn ≫ (Proj.map f hf ≫ Proj.toSpecZero 𝒜) = |
| 52 | Proj.awayι ℬ (f a) (f.map_mem ha) hn ≫ |
| 53 | (Proj.toSpecZero ℬ ≫ Spec.map (CommRingCat.ofHom f.gradedZeroRingHom)) |
| 54 | have hmap := Proj.awayι_comp_map f hf hn a ha |
| 55 | rw [← Category.assoc, hmap, Category.assoc, Proj.awayι_toSpecZero, |
| 56 | ← Category.assoc, Proj.awayι_toSpecZero, ← Spec.map_comp, ← Spec.map_comp] |
| 57 | congr 1 |
| 58 | ext z |
| 59 | exact congrArg HomogeneousLocalization.val (gradedAwayMap_fromZero f a z) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.MapBase.BundleCycles |