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.IntersectionTheory.ProjectionFormula.LocalizedJetGeneration |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.PolynomialToProjectiveChart |
| 3 | |
| 4 | /-! # Homogeneous Form Jets -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HomogeneousFormJets |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Linear homogeneous forms, normalized by a chart coordinate, |
| 11 | surject onto first-order data whenever the affine coordinates generate it. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AugmentedCotangent |
| 16 | open OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 17 | |
| 18 | variable (n : ℕ) (i : Fin (n + 1)) |
| 19 | |
| 20 | def dehomogenizeAlg : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n →ₐ[ℂ] Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i where |
| 21 | __ := Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i |
| 22 | commutes' c := by simp |
| 23 | |
| 24 | variable {R : Type} [CommRing R] [Algebra ℂ R] |
| 25 | (g : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i →ₐ[ℂ] R) (ε : R →ₐ[ℂ] ℂ) |
| 26 | |
| 27 | def form : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 →ₗ[ℂ] R := |
| 28 | (g.comp (dehomogenizeAlg n i)).toLinearMap.comp (Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1).subtype |
| 29 | |
| 30 | def map : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 →ₗ[ℂ] ℂ × (AugmentedCotangent.ideal ε).Cotangent := |
| 31 | (AugmentedCotangent.jet ε).comp (form n i g) |
| 32 | |
| 33 | theorem form_self : |
| 34 | form n i g ⟨MvPolynomial.X i, MvPolynomial.isHomogeneous_X ℂ i⟩ = 1 := by |
| 35 | change g (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i (MvPolynomial.X i)) = 1 |
| 36 | simp |
| 37 | |
| 38 | theorem form_other (j : {j : Fin (n + 1) // j ≠ i}) : |
| 39 | form n i g ⟨MvPolynomial.X j.val, MvPolynomial.isHomogeneous_X ℂ j.val⟩ = g (MvPolynomial.X j) := by |
| 40 | change g (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i (MvPolynomial.X j.val)) = _ |
| 41 | simp [j.property] |
| 42 | |
| 43 | theorem surjective_of_span |
| 44 | (h : Submodule.span ℂ (insert (AugmentedCotangent.jet ε 1) |
| 45 | (Set.range (fun j => AugmentedCotangent.jet ε (g (MvPolynomial.X j))))) = ⊤) : |
| 46 | Function.Surjective (map n i g ε) := by |
| 47 | apply LinearMap.range_eq_top.mp |
| 48 | apply top_unique |
| 49 | rw [← h] |
| 50 | apply Submodule.span_le.mpr |
| 51 | intro v hv |
| 52 | rcases hv with rfl | ⟨j, rfl⟩ |
| 53 | · refine ⟨⟨MvPolynomial.X i, MvPolynomial.isHomogeneous_X ℂ i⟩, ?_⟩ |
| 54 | change AugmentedCotangent.jet ε (form n i g _) = AugmentedCotangent.jet ε 1 |
| 55 | rw [form_self] |
| 56 | · refine ⟨⟨MvPolynomial.X j.val, MvPolynomial.isHomogeneous_X ℂ j.val⟩, ?_⟩ |
| 57 | change AugmentedCotangent.jet ε (form n i g _) = _ |
| 58 | rw [form_other] |
| 59 | |
| 60 | theorem surjective_of_localization |
| 61 | {A : Type} [CommRing A] [Algebra ℂ A] [Algebra A R] [IsScalarTower ℂ A R] |
| 62 | (M : Submonoid A) [IsLocalization M R] |
| 63 | (f : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i →ₐ[ℂ] A) (hf : Function.Surjective f) : |
| 64 | Function.Surjective (map n i ((IsScalarTower.toAlgHom ℂ A R).comp f) ε) := by |
| 65 | let S := f '' Set.range (MvPolynomial.X : {j : Fin (n + 1) // j ≠ i} → Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) |
| 66 | have hS : Algebra.adjoin ℂ S = ⊤ := by |
| 67 | rw [show S = f '' Set.range MvPolynomial.X from rfl, ← AlgHom.map_adjoin, |
| 68 | MvPolynomial.adjoin_range_X, Algebra.map_top] |
| 69 | exact (AlgHom.range_eq_top f).mpr hf |
| 70 | apply surjective_of_span |
| 71 | have h := LocalizedJetGeneration.span ε M S hS |
| 72 | convert h using 1 |
| 73 | congr 2 |
| 74 | ext v |
| 75 | simp [S] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HomogeneousFormJets |