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 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.ChartRegular |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularRingEquiv |
| 4 | import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Functor |
| 5 | |
| 6 | /-! # Coordinate Section Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.CoordinateSectionMap.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Actual degree-zero fractions of linear homogeneous coordinates |
| 15 | give regular functions on projective charts and satisfy their cross identities. -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.HomogeneousLocalization |
| 18 | |
| 19 | variable {A σ : Type} [CommRing A] [SetLike σ A] [AddSubgroupClass σ A] |
| 20 | (𝒜 : ℕ → σ) [GradedRing 𝒜] |
| 21 | |
| 22 | def projectiveCoordinateSection (v t : A) (hv : v ∈ 𝒜 1) (ht : t ∈ 𝒜 1) : |
| 23 | Γ(Proj 𝒜, Proj.basicOpen 𝒜 v) := |
| 24 | Proj.awayToSection 𝒜 v (Away.mk 𝒜 hv 1 t (by simpa only [one_smul] using ht)) |
| 25 | |
| 26 | theorem projectiveCoordinateSection_value (v t : A) (hv : v ∈ 𝒜 1) (ht : t ∈ 𝒜 1) |
| 27 | (x : Proj.basicOpen 𝒜 v) : |
| 28 | ((projectiveCoordinateSection 𝒜 v t hv ht).val x).val = |
| 29 | Localization.mk t ⟨v, x.property⟩ := by |
| 30 | change Localization.mk t ⟨v ^ 1, _⟩ = Localization.mk t ⟨v, _⟩ |
| 31 | congr 1 |
| 32 | exact Subtype.ext (pow_one v) |
| 33 | |
| 34 | theorem projectiveCoordinateSection_regular (v t : A) (hv : v ∈ 𝒜 1) (ht : t ∈ 𝒜 1) |
| 35 | (hreg : IsRegular t) : IsRegular (projectiveCoordinateSection 𝒜 v t hv ht) := by |
| 36 | exact RegularRingEquiv.BundleCycles.regular_ringEquiv (Proj.basicOpenIsoAway 𝒜 v hv (by decide)).commRingCatIsoToRingEquiv |
| 37 | (Away.mk 𝒜 hv 1 t (by simpa only [one_smul] using ht)) |
| 38 | (Graded.ChartRegular.BundleCycles.gradedAway_mk_isRegular 𝒜 hv 1 t _ hreg) |
| 39 | |
| 40 | theorem projectiveCoordinateSection_cross (v w t u : A) |
| 41 | (hv : v ∈ 𝒜 1) (hw : w ∈ 𝒜 1) (ht : t ∈ 𝒜 1) (hu : u ∈ 𝒜 1) |
| 42 | (U : (Proj 𝒜).Opens) (hUv : U ≤ Proj.basicOpen 𝒜 v) (hUw : U ≤ Proj.basicOpen 𝒜 w) : |
| 43 | (Proj 𝒜).presheaf.map (homOfLE hUv).op (projectiveCoordinateSection 𝒜 v t hv ht) * |
| 44 | (Proj 𝒜).presheaf.map (homOfLE hUw).op (projectiveCoordinateSection 𝒜 w u hw hu) = |
| 45 | (Proj 𝒜).presheaf.map (homOfLE hUv).op (projectiveCoordinateSection 𝒜 v u hv hu) * |
| 46 | (Proj 𝒜).presheaf.map (homOfLE hUw).op (projectiveCoordinateSection 𝒜 w t hw ht) := by |
| 47 | apply Subtype.ext |
| 48 | funext x |
| 49 | let y : ProjectiveSpectrum 𝒜 := x.1 |
| 50 | let : x.1.asHomogeneousIdeal.toIdeal.IsPrime := |
| 51 | inferInstanceAs (y.asHomogeneousIdeal.toIdeal.IsPrime) |
| 52 | let ev : Γ(Proj 𝒜, U) →+* HomogeneousLocalization.AtPrime 𝒜 x.1.asHomogeneousIdeal.toIdeal := |
| 53 | (AlgebraicGeometry.openToLocalization 𝒜 U x.1 x.2).hom |
| 54 | change ev ((Proj 𝒜).presheaf.map (homOfLE hUv).op (projectiveCoordinateSection 𝒜 v t hv ht) * |
| 55 | (Proj 𝒜).presheaf.map (homOfLE hUw).op (projectiveCoordinateSection 𝒜 w u hw hu)) = |
| 56 | ev ((Proj 𝒜).presheaf.map (homOfLE hUv).op (projectiveCoordinateSection 𝒜 v u hv hu) * |
| 57 | (Proj 𝒜).presheaf.map (homOfLE hUw).op (projectiveCoordinateSection 𝒜 w t hw ht)) |
| 58 | rw [map_mul, map_mul] |
| 59 | apply HomogeneousLocalization.val_injective |
| 60 | rw [HomogeneousLocalization.val_mul, HomogeneousLocalization.val_mul] |
| 61 | change ((projectiveCoordinateSection 𝒜 v t hv ht).val ⟨x.1, hUv x.2⟩).val * |
| 62 | ((projectiveCoordinateSection 𝒜 w u hw hu).val ⟨x.1, hUw x.2⟩).val = |
| 63 | ((projectiveCoordinateSection 𝒜 v u hv hu).val ⟨x.1, hUv x.2⟩).val * |
| 64 | ((projectiveCoordinateSection 𝒜 w t hw ht).val ⟨x.1, hUw x.2⟩).val |
| 65 | have h₁ := projectiveCoordinateSection_value 𝒜 v t hv ht ⟨x.1, hUv x.2⟩ |
| 66 | have h₂ := projectiveCoordinateSection_value 𝒜 w u hw hu ⟨x.1, hUw x.2⟩ |
| 67 | have h₃ := projectiveCoordinateSection_value 𝒜 v u hv hu ⟨x.1, hUv x.2⟩ |
| 68 | have h₄ := projectiveCoordinateSection_value 𝒜 w t hw ht ⟨x.1, hUw x.2⟩ |
| 69 | refine (congrArg₂ (fun a b => a * b) h₁ h₂).trans (Eq.trans ?_ |
| 70 | (congrArg₂ (fun a b => a * b) h₃ h₄).symm) |
| 71 | rw [Localization.mk_mul, Localization.mk_mul, mul_comm t u] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! Pullback of actual homogeneous coordinate fractions is the |
| 76 | fraction of the mapped coordinates on the corresponding projective chart. -/ |
| 77 | |
| 78 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.HomogeneousLocalization |
| 79 | |
| 80 | theorem projectiveCoordinateSection_map |
| 81 | {A B σ τ : Type} [CommRing A] [CommRing B] |
| 82 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 83 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 84 | (f : 𝒜 →+*ᵍ ℬ) (hf : HomogeneousIdeal.irrelevant ℬ ≤ (HomogeneousIdeal.irrelevant 𝒜).map f) |
| 85 | (v t : A) (hv : v ∈ 𝒜 1) (ht : t ∈ 𝒜 1) : |
| 86 | (Proj.map f hf).app (Proj.basicOpen 𝒜 v) (projectiveCoordinateSection 𝒜 v t hv ht) = |
| 87 | projectiveCoordinateSection ℬ (f v) (f t) (f.map_mem hv) (f.map_mem ht) := by |
| 88 | have H := ConcreteCategory.congr_hom (Proj.awayToSection_comp_appLE f hf hv) |
| 89 | (Away.mk 𝒜 hv 1 t (by simpa only [one_smul] using ht)) |
| 90 | have hm := Away.map_mk f v hv 1 t (by simpa only [one_smul] using ht) |
| 91 | exact H.trans (congrArg (Proj.awayToSection ℬ (f v)) hm) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.CoordinateSectionMap.BundleCycles |