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.ComplexGroups.HolomorphicAlgebraicity.AffineCoordinateSections |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt |
| 3 | |
| 4 | /-! # Segre Regular Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreRegularEquations.Constructions.Algebraization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Homogeneous Segre equations as regular functions on affine charts |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | open OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 16 | |
| 17 | def affineChartPointCoordinates {n : ℕ} (i : Fin (n + 1)) |
| 18 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))) : |
| 19 | {j : Fin (n + 1) // j ≠ i} → ℂ := |
| 20 | ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointEquiv _ ((Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)).symm p) |
| 21 | |
| 22 | def normalizedCoordinateSections |
| 23 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine T.left] {n : ℕ} (i : Fin (n + 1)) |
| 24 | (a : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)) : Fin (n + 1) → Γ(T.left, ⊤) := |
| 25 | Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (fun j => AffineCoordinateSections.Constructions.Algebraization.affineCoordinatePullback a (X j)) |
| 26 | |
| 27 | theorem normalizedCoordinateSections_eval |
| 28 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine T.left] {n : ℕ} (i : Fin (n + 1)) |
| 29 | (a : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)) |
| 30 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints T) (j : Fin (n + 1)) : |
| 31 | Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv T p (normalizedCoordinateSections i a j) = |
| 32 | Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (affineChartPointCoordinates i (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a p)) j := by |
| 33 | classical |
| 34 | by_cases hj : j = i |
| 35 | · simp only [normalizedCoordinateSections, hj, Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne_self, map_one] |
| 36 | · simp only [normalizedCoordinateSections, Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne_of_ne _ _ _ hj, |
| 37 | AffineCoordinateSections.Constructions.Algebraization.affineCoordinatePullback_eval, affineChartPointCoordinates, ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointEquiv_apply] |
| 38 | |
| 39 | def segreChartSection |
| 40 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine T.left] {m n : ℕ} |
| 41 | (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 42 | (a : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i)) |
| 43 | (b : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n j)) |
| 44 | (P : MvPolynomial (Fin (m + 1) × Fin (n + 1)) ℂ) : Γ(T.left, ⊤) := |
| 45 | aeval (fun ab => normalizedCoordinateSections i a ab.1 * normalizedCoordinateSections j b ab.2) P |
| 46 | |
| 47 | theorem segreChartSection_eval |
| 48 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine T.left] {m n : ℕ} |
| 49 | (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 50 | (a : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i)) |
| 51 | (b : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n j)) |
| 52 | (P : MvPolynomial (Fin (m + 1) × Fin (n + 1)) ℂ) (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints T) : |
| 53 | Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv T p (segreChartSection i j a b P) = |
| 54 | eval (SegreAt.Constructions.Segre.outer |
| 55 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (affineChartPointCoordinates i (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a p))) |
| 56 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne j (affineChartPointCoordinates j (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map b p)))) P := by |
| 57 | let χ := Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv T p |
| 58 | change χ.toRingHom (eval₂ (algebraMap ℂ Γ(T.left, ⊤)) |
| 59 | (fun ab => normalizedCoordinateSections i a ab.1 * normalizedCoordinateSections j b ab.2) P) = _ |
| 60 | rw [eval₂_comp_left] |
| 61 | have hc : χ.toRingHom.comp (algebraMap ℂ Γ(T.left, ⊤)) = RingHom.id ℂ := by |
| 62 | apply RingHom.ext |
| 63 | intro c |
| 64 | exact χ.commutes c |
| 65 | rw [hc, eval₂_id] |
| 66 | have he : (fun ab : Fin (m + 1) × Fin (n + 1) => |
| 67 | χ.toRingHom (normalizedCoordinateSections i a ab.1 * normalizedCoordinateSections j b ab.2)) = |
| 68 | SegreAt.Constructions.Segre.outer (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (affineChartPointCoordinates i (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a p))) |
| 69 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne j (affineChartPointCoordinates j (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map b p))) := by |
| 70 | funext ab |
| 71 | rw [map_mul] |
| 72 | exact congrArg₂ (· * ·) (normalizedCoordinateSections_eval i a p ab.1) |
| 73 | (normalizedCoordinateSections_eval j b p ab.2) |
| 74 | exact congrArg (fun v => eval v P) he |
| 75 | |
| 76 | theorem segreChartSection_eq_zero_iff |
| 77 | {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine T.left] {m n d : ℕ} |
| 78 | (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 79 | (a : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i)) |
| 80 | (b : T ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n j)) |
| 81 | (P : MvPolynomial (Fin (m + 1) × Fin (n + 1)) ℂ) (hP : P.IsHomogeneous d) |
| 82 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints T) : |
| 83 | Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv T p (segreChartSection i j a b P) = 0 ↔ |
| 84 | SegreAt.Constructions.Segre.segre |
| 85 | ((Foundations.Scheme.ProjectiveComplexPoints.projectiveComplexPointsEquiv m).symm |
| 86 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (a ≫ ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineChartOverMap m i) p)) |
| 87 | ((Foundations.Scheme.ProjectiveComplexPoints.projectiveComplexPointsEquiv n).symm |
| 88 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (b ≫ ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineChartOverMap n j) p)) ∈ |
| 89 | Foundations.Scheme.ProjectiveZeroLocus.homogeneousProjectiveZeroLocus P hP := by |
| 90 | rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, |
| 91 | AffineCoordinateSections.Constructions.Algebraization.projective_chart_point_coordinates, AffineCoordinateSections.Constructions.Algebraization.projective_chart_point_coordinates, |
| 92 | Equiv.symm_apply_apply, Equiv.symm_apply_apply, SegreAt.Constructions.Segre.segre_mk, |
| 93 | Foundations.Scheme.ProjectiveZeroLocus.mem_homogeneousProjectiveZeroLocus_mk, segreChartSection_eval] |
| 94 | rfl |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreRegularEquations.Constructions.Algebraization |