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.Basic |
| 2 | |
| 3 | /-! # Fraction Basic Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FractionBasicOpen |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The regular homogeneous fraction on a projective chart has the expected basic open. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomogeneousLocalization |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 16 | variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜] |
| 17 | variable {f g : A} {d e : ℕ} (hf : f ∈ 𝒜 d) (hd : 0 < d) (hg : g ∈ 𝒜 e) (he : 0 < e) |
| 18 | |
| 19 | theorem projectiveAway_preimage_section_basicOpen (z : Away 𝒜 f) : |
| 20 | Proj.awayι 𝒜 f hf hd ⁻¹ᵁ (Proj 𝒜).basicOpen (Proj.awayToSection 𝒜 f z) = |
| 21 | PrimeSpectrum.basicOpen z := by |
| 22 | have h : Proj.basicOpenToSpec 𝒜 f ⁻¹ᵁ PrimeSpectrum.basicOpen z = |
| 23 | (Proj.basicOpen 𝒜 f).ι ⁻¹ᵁ (Proj 𝒜).basicOpen (Proj.awayToSection 𝒜 f z) := by |
| 24 | change ((Proj.basicOpen 𝒜 f).toSpecΓ ≫ Spec.map (Proj.awayToSection 𝒜 f)) ⁻¹ᵁ |
| 25 | PrimeSpectrum.basicOpen z = _ |
| 26 | exact (Scheme.Hom.comp_preimage _ _ _).trans |
| 27 | ((congrArg (fun V : (Spec Γ(Proj 𝒜, Proj.basicOpen 𝒜 f)).Opens => |
| 28 | (Proj.basicOpen 𝒜 f).toSpecΓ ⁻¹ᵁ V) |
| 29 | (SpecMap_preimage_basicOpen (Proj.awayToSection 𝒜 f) z)).trans |
| 30 | (Scheme.Opens.toSpecΓ_preimage_basicOpen (Proj.basicOpen 𝒜 f) (Proj.awayToSection 𝒜 f z))) |
| 31 | let E := Proj.basicOpenIsoSpec 𝒜 f hf hd |
| 32 | have h' : E.hom ⁻¹ᵁ PrimeSpectrum.basicOpen z = |
| 33 | (Proj.basicOpen 𝒜 f).ι ⁻¹ᵁ (Proj 𝒜).basicOpen (Proj.awayToSection 𝒜 f z) := h |
| 34 | have hi := congrArg (fun V : (Proj.basicOpen 𝒜 f).toScheme.Opens => E.inv ⁻¹ᵁ V) h'.symm |
| 35 | exact hi.trans ((Scheme.Hom.comp_preimage E.inv E.hom _).symm.trans |
| 36 | (congrArg (fun a : Spec (.of (Away 𝒜 f)) ⟶ Spec (.of (Away 𝒜 f)) => |
| 37 | a ⁻¹ᵁ (show (Spec (.of (Away 𝒜 f))).Opens from PrimeSpectrum.basicOpen z)) E.inv_hom_id)) |
| 38 | |
| 39 | include hd he in |
| 40 | theorem projectiveFraction_basicOpen : |
| 41 | (Proj 𝒜).basicOpen (Proj.awayToSection 𝒜 f (Away.isLocalizationElem hf hg)) = |
| 42 | Proj.basicOpen 𝒜 f ⊓ Proj.basicOpen 𝒜 g := by |
| 43 | let i := Proj.awayι 𝒜 f hf hd |
| 44 | let r := Proj.awayToSection 𝒜 f (Away.isLocalizationElem hf hg) |
| 45 | have hpre : i ⁻¹ᵁ (Proj 𝒜).basicOpen r = i ⁻¹ᵁ Proj.basicOpen 𝒜 g := |
| 46 | (projectiveAway_preimage_section_basicOpen 𝒜 hf hd _).trans |
| 47 | (Proj.awayι_preimage_basicOpen 𝒜 hf hd hg he).symm |
| 48 | have hleft : i ''ᵁ (i ⁻¹ᵁ (Proj 𝒜).basicOpen r) = (Proj 𝒜).basicOpen r := by |
| 49 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Proj.opensRange_awayι] |
| 50 | exact inf_eq_right.mpr ((Proj 𝒜).basicOpen_le r) |
| 51 | calc |
| 52 | (Proj 𝒜).basicOpen r = i ''ᵁ (i ⁻¹ᵁ (Proj 𝒜).basicOpen r) := hleft.symm |
| 53 | _ = i ''ᵁ (i ⁻¹ᵁ Proj.basicOpen 𝒜 g) := congrArg (fun V => i ''ᵁ V) hpre |
| 54 | _ = Proj.basicOpen 𝒜 f ⊓ Proj.basicOpen 𝒜 g := by |
| 55 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Proj.opensRange_awayι] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FractionBasicOpen |