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.AffineFactoring |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreRegularEquations |
| 3 | |
| 4 | /-! # Segre Closed Subscheme -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreClosedSubscheme.Constructions.Algebraization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Algebraic inverse images of homogeneous Segre equations |
| 12 | |
| 13 | Two actual maps to projective schemes pull homogeneous Segre equations back |
| 14 | to a reduced closed subscheme. This is proved in affine charts, without |
| 15 | assuming a scheme-level Segre map. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 19 | |
| 20 | theorem exists_projective_chart_point_lift {n : ℕ} (p : ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemeComplexPoints n) : |
| 21 | ∃ i : Fin (n + 1), p ∈ range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineChartOverMap n i)) := by |
| 22 | obtain ⟨q, rfl⟩ := ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_surjective n p |
| 23 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.exists_inPatch q |
| 24 | refine ⟨i, ?_⟩ |
| 25 | rw [ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_on_patch n i ⟨q, hi⟩] |
| 26 | exact ⟨Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) |
| 27 | ((ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph {j : Fin (n + 1) // j ≠ i}).symm |
| 28 | (ComplexPoints.Analytic.ProjectiveCharts.projectiveAffineChart i ⟨q, hi⟩)), rfl⟩ |
| 29 | |
| 30 | def segreOfSchemeMaps {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} |
| 31 | (a : X ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) |
| 32 | (b : X ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) |
| 33 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : Projectivization ℂ (Fin (m + 1) × Fin (n + 1) → ℂ) := |
| 34 | SegreAt.Constructions.Segre.segre ((Foundations.Scheme.ProjectiveComplexPoints.projectiveComplexPointsEquiv m).symm (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a p)) |
| 35 | ((Foundations.Scheme.ProjectiveComplexPoints.projectiveComplexPointsEquiv n).symm (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map b p)) |
| 36 | |
| 37 | theorem exists_reduced_closed_subscheme_of_segre_equations |
| 38 | {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} {α : Type*} |
| 39 | (a : X ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) |
| 40 | (b : X ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) |
| 41 | (P : α → MvPolynomial (Fin (m + 1) × Fin (n + 1)) ℂ) |
| 42 | (degree : α → ℕ) (hP : ∀ k, (P k).IsHomogeneous (degree k)) : |
| 43 | ∃ (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) (i : Z ⟶ X), |
| 44 | IsReduced Z.left ∧ IsClosedImmersion i.left ∧ |
| 45 | range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) = |
| 46 | (segreOfSchemeMaps a b) ⁻¹' Foundations.Scheme.ProjectiveZeroLocus.projectiveCommonZeroLocus P degree hP := by |
| 47 | let S := (segreOfSchemeMaps a b) ⁻¹' Foundations.Scheme.ProjectiveZeroLocus.projectiveCommonZeroLocus P degree hP |
| 48 | apply SchemePointSeparation.Constructions.Algebraization.exists_reduced_closed_subscheme_of_open_separators X S |
| 49 | intro p hp |
| 50 | have hp' : ¬∀ k, segreOfSchemeMaps a b p ∈ Foundations.Scheme.ProjectiveZeroLocus.homogeneousProjectiveZeroLocus (P k) (hP k) := by |
| 51 | simpa only [S, mem_preimage, Foundations.Scheme.ProjectiveZeroLocus.projectiveCommonZeroLocus, mem_iInter] using hp |
| 52 | obtain ⟨k, hk⟩ := not_forall.mp hp' |
| 53 | obtain ⟨i, hi⟩ := exists_projective_chart_point_lift (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a p) |
| 54 | obtain ⟨j, hj⟩ := exists_projective_chart_point_lift (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map b p) |
| 55 | obtain ⟨T, t, q, a', b', hT, ht, hq, ha', hb'⟩ := |
| 56 | AffineFactoring.Constructions.Algebraization.exists_affine_neighborhood_factoring_two_maps a b |
| 57 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineChartOverMap m i) (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineChartOverMap n j) p hi hj |
| 58 | let : IsAffine T.left := hT |
| 59 | let : IsOpenImmersion t.left := ht |
| 60 | let r := SegreRegularEquations.Constructions.Algebraization.segreChartSection i j a' b' (P k) |
| 61 | have hzero (q' : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints T) : Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv T q' r = 0 ↔ |
| 62 | segreOfSchemeMaps a b (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map t q') ∈ |
| 63 | Foundations.Scheme.ProjectiveZeroLocus.homogeneousProjectiveZeroLocus (P k) (hP k) := by |
| 64 | simpa only [r, ha', hb', ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, segreOfSchemeMaps] using |
| 65 | SegreRegularEquations.Constructions.Algebraization.segreChartSection_eq_zero_iff i j a' b' (P k) (hP k) q' |
| 66 | have hr : Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv T q r ≠ 0 := by |
| 67 | intro hr |
| 68 | apply hk |
| 69 | rw [← hq] |
| 70 | exact (hzero q).mp hr |
| 71 | obtain ⟨U, hU, hUS⟩ := SchemePointSeparation.Constructions.Algebraization.exists_open_separator_of_affine_regular_function (S := S) t q r hr (by |
| 72 | intro q' hq'S |
| 73 | apply (hzero q').mpr |
| 74 | exact mem_iInter.mp hq'S k) |
| 75 | exact ⟨U, by rwa [hq] at hU, hUS⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreClosedSubscheme.Constructions.Algebraization |