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.AbelianModuli.HilbertConstruction.Segre.StandardChartRingMap |
| 2 | |
| 3 | /-! # Standard Chart Evaluation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.StandardChartEvaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual standard Segre embedding maps a normalized product chart |
| 10 | by the products of its row and column coordinates. This is an equality of |
| 11 | scheme morphisms, using the native graded projective map. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 17 | variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜] |
| 18 | |
| 19 | theorem homogeneousAwayEquivOfEq_awayι {f g : A} (h : f = g) {k : ℕ} |
| 20 | (hf : f ∈ 𝒜 k) (hg : g ∈ 𝒜 k) (hk : 0 < k) : |
| 21 | Spec.map (CommRingCat.ofHom (StandardChartRingMap.homogeneousAwayEquivOfEq 𝒜 h).toRingHom) ≫ |
| 22 | Proj.awayι 𝒜 f hf hk = Proj.awayι 𝒜 g hg hk := by |
| 23 | subst g |
| 24 | change Spec.map (𝟙 (CommRingCat.of (HomogeneousLocalization.Away 𝒜 f))) ≫ |
| 25 | Proj.awayι 𝒜 f hf hk = Proj.awayι 𝒜 f hg hk |
| 26 | rw [Spec.map_id, Category.id_comp] |
| 27 | |
| 28 | variable (R) {n m d : ℕ} (e : ChartProjections.SegreProjectiveIndex.{u} n m ≃ Fin (d + 1)) (i : Fin (d + 1)) |
| 29 | variable {T : Scheme.{u}} [Algebra R Γ(T, ⊤)] |
| 30 | variable (r : Fin (n + 1) → Γ(T, ⊤)) (c : Fin (m + 1) → Γ(T, ⊤)) |
| 31 | variable (hr : r (e.symm i).1.down = 1) (hc : c (e.symm i).2.down = 1) |
| 32 | |
| 33 | include hr hc in |
| 34 | theorem reindexedSegreSectionCoordinates_pivot_inverse : |
| 35 | ReindexedSegreEvaluation.reindexedSegreSectionCoordinates e r c i = 1 := by |
| 36 | change r (e.symm i).1.down * c (e.symm i).2.down = 1 |
| 37 | rw [hr, hc, one_mul] |
| 38 | |
| 39 | theorem segreStandardChart_evaluation : |
| 40 | (T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom |
| 41 | (TensorCoordinates.segreHomogeneousSectionEvaluation R (e.symm i) r c hr hc).toRingHom) ≫ |
| 42 | (ProjectiveScheme.segreHomogeneousChartMap (CommRingCat.of R) (e.symm i).1 (e.symm i).2).left) ≫ |
| 43 | (ProjectiveScheme.segreProjectiveInclusion (CommRingCat.of R) ≫ (Projective.SpaceReindex.affineProjectiveSpaceReindexIso R e).hom.left) = |
| 44 | ProjectiveChart.Evaluation.projectiveChartMap (algebraMap R Γ(T, ⊤)) (ReindexedSegreEvaluation.reindexedSegreSectionCoordinates e r c) i |
| 45 | (reindexedSegreSectionCoordinates_pivot_inverse e i r c hr hc) := by |
| 46 | let G := StandardGradedMap.segreStandardGradedMap R e |
| 47 | let Q := ChartCoordinates.segreQuotientGrading (σ := ULift.{u} (Fin (n + 1))) (τ := ULift.{u} (Fin (m + 1))) R |
| 48 | let hG := StandardGradedMap.segreStandardGradedMap_irrelevant R e |
| 49 | let hvar := StandardGradedMap.segreStandardGradedMap_variable R e i |
| 50 | let a := StandardChartRingMap.homogeneousAwayEquivOfEq Q hvar |
| 51 | let φ := TensorCoordinates.segreHomogeneousSectionEvaluation R (e.symm i) r c hr hc |
| 52 | let ψ := φ.toRingHom.comp a.toRingHom |
| 53 | have hC (z : R) : ψ (HomogeneousLocalization.Away.map G (X i) |
| 54 | (algebraMap R (ProjectiveChart.Evaluation.projectiveChartRing R d i) z)) = algebraMap R Γ(T, ⊤) z := by |
| 55 | change φ (StandardChartRingMap.segreStandardChartRingMap R e i (algebraMap R (ProjectiveChart.Evaluation.projectiveChartRing R d i) z)) = _ |
| 56 | rw [StandardChartRingMap.segreStandardChartRingMap_constant] |
| 57 | exact φ.commutes z |
| 58 | have hX (j : Fin (d + 1)) : ψ (HomogeneousLocalization.Away.map G (X i) |
| 59 | (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X j))) = ReindexedSegreEvaluation.reindexedSegreSectionCoordinates e r c j := by |
| 60 | change φ (StandardChartRingMap.segreStandardChartRingMap R e i (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize i (X j))) = _ |
| 61 | rw [StandardChartRingMap.segreStandardChartRingMap_coordinate] |
| 62 | exact TensorCoordinates.segreHomogeneousSectionEvaluation_coordinate R (e.symm i) r c hr hc |
| 63 | (e.symm j).1.down (e.symm j).2.down |
| 64 | have h := ProjectiveChart.MapRecognition.projectiveMap_chart_of_coordinates Q G hG (algebraMap R Γ(T, ⊤)) |
| 65 | (ReindexedSegreEvaluation.reindexedSegreSectionCoordinates e r c) i |
| 66 | (reindexedSegreSectionCoordinates_pivot_inverse e i r c hr hc) ψ hC hX |
| 67 | have hmap : Spec.map (CommRingCat.ofHom ψ) = |
| 68 | Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ Spec.map (CommRingCat.ofHom a.toRingHom) := |
| 69 | Spec.map_comp (CommRingCat.ofHom a.toRingHom) (CommRingCat.ofHom φ.toRingHom) |
| 70 | have hp : T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom ψ) ≫ |
| 71 | Proj.awayι Q (G (X i)) (G.map_mem (isHomogeneous_X R i)) Nat.zero_lt_one = |
| 72 | T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ |
| 73 | (ProjectiveScheme.segreHomogeneousChartMap (CommRingCat.of R) (e.symm i).1 (e.symm i).2).left := by |
| 74 | rw [hmap, Category.assoc, |
| 75 | homogeneousAwayEquivOfEq_awayι Q hvar (G.map_mem (isHomogeneous_X R i)) |
| 76 | (ChartCoordinates.segreVariable R (e.symm i)).property Nat.zero_lt_one] |
| 77 | rfl |
| 78 | rw [← StandardGradedMap.segreStandardGradedMap_proj R e] |
| 79 | exact (congrArg (fun k => k ≫ Proj.map G hG) hp).symm.trans h |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.StandardChartEvaluation |