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.Geometry.ComplexTorus.RiemannProjectivity.AffineVanishing |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC |
| 3 | |
| 4 | /-! # Cone Chart By -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartBy.Constructions.ConeChartRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: restricting the cone algebra to a normalized projective chart -/ |
| 11 | |
| 12 | open Set |
| 13 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.AffineVanishing.Constructions.AffineVanishingPoints OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 14 | |
| 15 | variable {ι : Type*} |
| 16 | |
| 17 | def chart (S : Set (ι → ℂ)) (i : ι) : Set ({j : ι // j ≠ i} → ℂ) := |
| 18 | {x | AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i x ∈ S} |
| 19 | |
| 20 | def variableClass (S : Set (ι → ℂ)) (i : ι) : AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S := |
| 21 | Ideal.Quotient.mk _ (MvPolynomial.X i) |
| 22 | |
| 23 | abbrev patchRing (S : Set (ι → ℂ)) (i : ι) := Localization.Away (variableClass S i) |
| 24 | |
| 25 | def polynomialMap (i : ι) : MvPolynomial ι ℂ →ₐ[ℂ] MvPolynomial {j : ι // j ≠ i} ℂ := |
| 26 | { AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i with commutes' c := AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize_C i c } |
| 27 | |
| 28 | def restriction (S : Set (ι → ℂ)) (i : ι) : AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S →ₐ[ℂ] AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (chart S i) := |
| 29 | Ideal.Quotient.liftₐ _ ((Ideal.Quotient.mkₐ ℂ _).comp (polynomialMap i)) (by |
| 30 | intro p hp |
| 31 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 32 | intro x hx |
| 33 | change MvPolynomial.eval x (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i p) = 0 |
| 34 | rw [AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.eval_dehomogenize] |
| 35 | exact hp (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i x) hx) |
| 36 | |
| 37 | theorem restriction_variable_self (S : Set (ι → ℂ)) (i : ι) : |
| 38 | restriction S i (variableClass S i) = 1 := by |
| 39 | change Ideal.Quotient.mk _ (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i (MvPolynomial.X i)) = 1 |
| 40 | rw [AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize_X_self, map_one] |
| 41 | |
| 42 | theorem restriction_variable (S : Set (ι → ℂ)) (i j : ι) (hj : j ≠ i) : |
| 43 | restriction S i (variableClass S j) = Ideal.Quotient.mk _ (MvPolynomial.X ⟨j, hj⟩) := by |
| 44 | change Ideal.Quotient.mk _ (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i (MvPolynomial.X j)) = _ |
| 45 | rw [AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize_X_of_ne i j hj] |
| 46 | |
| 47 | def localizedRestriction (S : Set (ι → ℂ)) (i : ι) : patchRing S i →ₐ[ℂ] AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (chart S i) := |
| 48 | IsLocalization.Away.liftAlgHom (f := restriction S i) (variableClass S i) |
| 49 | (by rw [restriction_variable_self]; exact isUnit_one) |
| 50 | |
| 51 | theorem localizedRestriction_algebraMap (S : Set (ι → ℂ)) (i : ι) (a : AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) : |
| 52 | localizedRestriction S i (algebraMap (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (patchRing S i) a) = restriction S i a := by |
| 53 | simp only [localizedRestriction, IsLocalization.Away.coe_liftAlgHom, IsLocalization.Away.lift_eq] |
| 54 | rfl |
| 55 | |
| 56 | theorem chart_determined_by_polynomials (S : Set (ι → ℂ)) |
| 57 | (hS : ∀ x, (∀ p ∈ MvPolynomial.vanishingIdeal ℂ S, MvPolynomial.eval x p = 0) → x ∈ S) |
| 58 | (i : ι) (x : {j : ι // j ≠ i} → ℂ) |
| 59 | (hx : ∀ p ∈ MvPolynomial.vanishingIdeal ℂ (chart S i), MvPolynomial.eval x p = 0) : |
| 60 | x ∈ chart S i := by |
| 61 | apply hS |
| 62 | intro p hp |
| 63 | have hde : AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i p ∈ MvPolynomial.vanishingIdeal ℂ (chart S i) := by |
| 64 | intro y hy |
| 65 | change MvPolynomial.eval y (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i p) = 0 |
| 66 | rw [AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.eval_dehomogenize] |
| 67 | exact hp (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i y) hy |
| 68 | have h := hx (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i p) hde |
| 69 | rwa [AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.eval_dehomogenize] at h |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartBy.Constructions.ConeChartRestriction |