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.StandardChartEvaluation |
| 2 | |
| 3 | /-! # Section Projections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.SectionProjections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The homogeneous Segre chart point obtained from normalized row and |
| 10 | column values has precisely those two projective-coordinate maps as its |
| 11 | projections to the actual projective product. -/ |
| 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 : Type u) [CommRing R] {n m : ℕ} (p : ChartProjections.SegreProjectiveIndex.{u} n m) |
| 17 | section Algebra |
| 18 | variable {B : Type u} [CommRing B] [Algebra R B] |
| 19 | variable (r : Fin (n + 1) → B) (c : Fin (m + 1) → B) |
| 20 | variable (hr : r p.1.down = 1) (hc : c p.2.down = 1) |
| 21 | |
| 22 | theorem segreHomogeneousSectionEvaluation_row : |
| 23 | (TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc).comp (ChartProductAlgebra.segreRowChartAlgebra R p) = |
| 24 | ProjectiveChart.Algebra.projectiveChartEvaluationAlg r p.1.down hr := by |
| 25 | apply ProjectiveChart.Algebra.projectiveChartAlgebra_ext p.1.down |
| 26 | intro a |
| 27 | change TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc |
| 28 | (ChartProductAlgebra.segreRowChartAlgebra R p (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize p.1.down (X a))) = _ |
| 29 | rw [ChartProductAlgebra.segreRowChartAlgebra_coordinate, ProjectiveChart.Algebra.projectiveChartEvaluationAlg_coordinate] |
| 30 | have h := TensorCoordinates.segreHomogeneousSectionEvaluation_coordinate R p r c hr hc a p.2.down |
| 31 | rw [hc, mul_one] at h |
| 32 | exact h |
| 33 | |
| 34 | theorem segreHomogeneousSectionEvaluation_column : |
| 35 | (TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc).comp (ChartProductAlgebra.segreColumnChartAlgebra R p) = |
| 36 | ProjectiveChart.Algebra.projectiveChartEvaluationAlg c p.2.down hc := by |
| 37 | apply ProjectiveChart.Algebra.projectiveChartAlgebra_ext p.2.down |
| 38 | intro b |
| 39 | change TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc |
| 40 | (ChartProductAlgebra.segreColumnChartAlgebra R p (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.dehomogenize p.2.down (X b))) = _ |
| 41 | rw [ChartProductAlgebra.segreColumnChartAlgebra_coordinate, ProjectiveChart.Algebra.projectiveChartEvaluationAlg_coordinate] |
| 42 | have h := TensorCoordinates.segreHomogeneousSectionEvaluation_coordinate R p r c hr hc p.1.down b |
| 43 | rw [hr, one_mul] at h |
| 44 | exact h |
| 45 | end Algebra |
| 46 | |
| 47 | variable {T : Scheme.{u}} [Algebra R Γ(T, ⊤)] |
| 48 | variable (r : Fin (n + 1) → Γ(T, ⊤)) (c : Fin (m + 1) → Γ(T, ⊤)) |
| 49 | variable (hr : r p.1.down = 1) (hc : c p.2.down = 1) |
| 50 | |
| 51 | def normalizedSegreSectionMap : T ⟶ ProductComparison.segreEquationScheme (CommRingCat.of R) n m := |
| 52 | T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom |
| 53 | (TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc).toRingHom) ≫ |
| 54 | (ProjectiveScheme.segreHomogeneousChartMap (CommRingCat.of R) p.1 p.2).left |
| 55 | |
| 56 | theorem normalizedSegreSectionMap_row : |
| 57 | normalizedSegreSectionMap R p r c hr hc ≫ ProjectionGluing.segreRowProjection (CommRingCat.of R) n m = |
| 58 | ProjectiveChart.Evaluation.projectiveChartMap (algebraMap R Γ(T, ⊤)) r p.1.down hr := by |
| 59 | let φ := TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc |
| 60 | have h : φ.toRingHom.comp (ChartProductAlgebra.segreRowChartAlgebra R p).toRingHom = |
| 61 | ProjectiveChart.Evaluation.projectiveChartEvaluation (algebraMap R Γ(T, ⊤)) r p.1.down hr := |
| 62 | congrArg AlgHom.toRingHom (segreHomogeneousSectionEvaluation_row R p r c hr hc) |
| 63 | change (T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ |
| 64 | (ProjectiveScheme.segreHomogeneousChartMap (CommRingCat.of R) p.1 p.2).left) ≫ _ = _ |
| 65 | rw [Category.assoc, Category.assoc, ProjectionGluing.segreRowProjection_chart] |
| 66 | change T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ |
| 67 | Spec.map (CommRingCat.ofHom (ChartProductAlgebra.segreRowChartAlgebra R p).toRingHom) ≫ |
| 68 | Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R n) (X p.1.down) (isHomogeneous_X R p.1.down) Nat.zero_lt_one = _ |
| 69 | rw [← Spec.map_comp_assoc] |
| 70 | change T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom |
| 71 | (φ.toRingHom.comp (ChartProductAlgebra.segreRowChartAlgebra R p).toRingHom)) ≫ _ = _ |
| 72 | rw [h] |
| 73 | rfl |
| 74 | |
| 75 | theorem normalizedSegreSectionMap_column : |
| 76 | normalizedSegreSectionMap R p r c hr hc ≫ ProjectionGluing.segreColumnProjection (CommRingCat.of R) n m = |
| 77 | ProjectiveChart.Evaluation.projectiveChartMap (algebraMap R Γ(T, ⊤)) c p.2.down hc := by |
| 78 | let φ := TensorCoordinates.segreHomogeneousSectionEvaluation R p r c hr hc |
| 79 | have h : φ.toRingHom.comp (ChartProductAlgebra.segreColumnChartAlgebra R p).toRingHom = |
| 80 | ProjectiveChart.Evaluation.projectiveChartEvaluation (algebraMap R Γ(T, ⊤)) c p.2.down hc := |
| 81 | congrArg AlgHom.toRingHom (segreHomogeneousSectionEvaluation_column R p r c hr hc) |
| 82 | change (T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ |
| 83 | (ProjectiveScheme.segreHomogeneousChartMap (CommRingCat.of R) p.1 p.2).left) ≫ _ = _ |
| 84 | rw [Category.assoc, Category.assoc, ProjectionGluing.segreColumnProjection_chart] |
| 85 | change T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ |
| 86 | Spec.map (CommRingCat.ofHom (ChartProductAlgebra.segreColumnChartAlgebra R p).toRingHom) ≫ |
| 87 | Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R m) (X p.2.down) (isHomogeneous_X R p.2.down) Nat.zero_lt_one = _ |
| 88 | rw [← Spec.map_comp_assoc] |
| 89 | change T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom |
| 90 | (φ.toRingHom.comp (ChartProductAlgebra.segreColumnChartAlgebra R p).toRingHom)) ≫ _ = _ |
| 91 | rw [h] |
| 92 | rfl |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.SectionProjections |