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.ConeChartBy |
| 2 | import Mathlib.RingTheory.LocalProperties.Reduced |
| 3 | |
| 4 | /-! # Cone Chart Mem -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartMem.Constructions.ConeChartNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: normalized coordinate ratios define the map from the chart algebra -/ |
| 11 | |
| 12 | open Set |
| 13 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.AffineVanishing.Constructions.AffineVanishingPoints OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartBy.Constructions.ConeChartRestriction OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 14 | |
| 15 | variable {ι : Type*} [Fintype ι] |
| 16 | |
| 17 | def ratio (S : Set (ι → ℂ)) (i : ι) (j : {j : ι // j ≠ i}) : ConeChartBy.Constructions.ConeChartRestriction.patchRing S i := |
| 18 | algebraMap (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) (ConeChartBy.Constructions.ConeChartRestriction.variableClass S j.val) * |
| 19 | IsLocalization.Away.invSelf (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i) |
| 20 | |
| 21 | omit [Fintype ι] in |
| 22 | theorem normalized_coordinates_mem (S : Set (ι → ℂ)) |
| 23 | (hS : ∀ x, (∀ p ∈ MvPolynomial.vanishingIdeal ℂ S, MvPolynomial.eval x p = 0) → x ∈ S) |
| 24 | (hcone : ∀ (c : ℂ) ⦃w⦄, w ∈ S → c • w ∈ S) |
| 25 | (i : ι) (q : ConeChartBy.Constructions.ConeChartRestriction.patchRing S i →ₐ[ℂ] ℂ) : |
| 26 | (fun j => q (ratio S i j)) ∈ ConeChartBy.Constructions.ConeChartRestriction.chart S i := by |
| 27 | let qA := q.comp (Algebra.algHom ℂ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i)) |
| 28 | let w := AffineVanishing.Constructions.AffineVanishingPoints.coordinates S qA |
| 29 | have hw : w ∈ S := AffineVanishing.Constructions.AffineVanishingPoints.coordinates_mem S hS qA |
| 30 | have hi : w i ≠ 0 := |
| 31 | ((IsLocalization.Away.algebraMap_isUnit (S := ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)).map q).ne_zero |
| 32 | have hinv : q (IsLocalization.Away.invSelf (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)) = (w i)⁻¹ := by |
| 33 | apply mul_left_cancel₀ hi |
| 34 | rw [mul_inv_cancel₀ hi] |
| 35 | change q (algebraMap (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)) * |
| 36 | q (IsLocalization.Away.invSelf (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)) = 1 |
| 37 | rw [← map_mul, IsLocalization.Away.mul_invSelf, map_one] |
| 38 | have heq : AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (fun j => q (ratio S i j)) = (w i)⁻¹ • w := by |
| 39 | funext j |
| 40 | by_cases hj : j = i |
| 41 | · subst j |
| 42 | simp [Pi.smul_apply, smul_eq_mul, hi] |
| 43 | · rw [AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne_of_ne i j _ hj] |
| 44 | change q (algebraMap (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) (ConeChartBy.Constructions.ConeChartRestriction.variableClass S j) * |
| 45 | IsLocalization.Away.invSelf (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)) = (w i)⁻¹ * w j |
| 46 | rw [map_mul, hinv] |
| 47 | exact mul_comm (w j) (w i)⁻¹ |
| 48 | change AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (fun j => q (ratio S i j)) ∈ S |
| 49 | rw [heq] |
| 50 | exact hcone (w i)⁻¹ hw |
| 51 | |
| 52 | theorem relation_zero (S : Set (ι → ℂ)) |
| 53 | (hS : ∀ x, (∀ p ∈ MvPolynomial.vanishingIdeal ℂ S, MvPolynomial.eval x p = 0) → x ∈ S) |
| 54 | (hcone : ∀ (c : ℂ) ⦃w⦄, w ∈ S → c • w ∈ S) |
| 55 | (i : ι) (p : MvPolynomial {j : ι // j ≠ i} ℂ) |
| 56 | (hp : p ∈ MvPolynomial.vanishingIdeal ℂ (ConeChartBy.Constructions.ConeChartRestriction.chart S i)) : |
| 57 | MvPolynomial.aeval (ratio S i) p = 0 := by |
| 58 | let : Algebra.FinitePresentation (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) := |
| 59 | IsLocalization.Away.finitePresentation (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i) |
| 60 | let : Algebra.FiniteType ℂ (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) := |
| 61 | Algebra.FiniteType.trans (inferInstance : Algebra.FiniteType ℂ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S)) |
| 62 | (inferInstance : Algebra.FiniteType (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i)) |
| 63 | apply CharacterSeparationEq.Constructions.CharacterSeparation.eq_zero_of_all_points_zero |
| 64 | intro q |
| 65 | have h := hp (fun j => q (ratio S i j)) (normalized_coordinates_mem S hS hcone i q) |
| 66 | exact (MvPolynomial.comp_aeval_apply (ratio S i) q p).trans h |
| 67 | |
| 68 | def normalization (S : Set (ι → ℂ)) |
| 69 | (hS : ∀ x, (∀ p ∈ MvPolynomial.vanishingIdeal ℂ S, MvPolynomial.eval x p = 0) → x ∈ S) |
| 70 | (hcone : ∀ (c : ℂ) ⦃w⦄, w ∈ S → c • w ∈ S) (i : ι) : |
| 71 | AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (ConeChartBy.Constructions.ConeChartRestriction.chart S i) →ₐ[ℂ] ConeChartBy.Constructions.ConeChartRestriction.patchRing S i := |
| 72 | Ideal.Quotient.liftₐ _ (MvPolynomial.aeval (ratio S i)) (fun p hp => relation_zero S hS hcone i p hp) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartMem.Constructions.ConeChartNormalization |