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.Resolution.Blowups.OrderLocus |
| 2 | import Mathlib.RingTheory.Smooth.StandardSmoothCotangent |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # Hypersurface Chart -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceChart.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth affine charts of derivative hypersurfaces used in Blowups. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial _root_.Algebra |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- Localizing a finite presentation at its chosen Jacobian minor makes |
| 18 | the presented algebra smooth. -/ |
| 19 | theorem preSubmersive_smooth_of_localization |
| 20 | {R S ι σ : Type*} [CommRing R] [CommRing S] [Algebra R S] [Finite ι] [Finite σ] |
| 21 | (P : PreSubmersivePresentation R S ι σ) (L : Type*) [CommRing L] |
| 22 | [Algebra S L] [Algebra R L] [IsScalarTower R S L] [IsLocalization.Away P.jacobian L] : |
| 23 | Algebra.Smooth R L := by |
| 24 | let Q : PreSubmersivePresentation S L Unit Unit := |
| 25 | PreSubmersivePresentation.localizationAway L P.jacobian |
| 26 | have hu : IsUnit (algebraMap S L P.jacobian) := |
| 27 | IsLocalization.Away.algebraMap_isUnit P.jacobian |
| 28 | let P' : SubmersivePresentation R L (Unit ⊕ ι) (Unit ⊕ σ) := |
| 29 | { toPreSubmersivePresentation := Q.comp P |
| 30 | jacobian_isUnit := by |
| 31 | rw [PreSubmersivePresentation.comp_jacobian_eq_jacobian_smul_jacobian] |
| 32 | rw [Algebra.smul_def, PreSubmersivePresentation.localizationAway_jacobian] |
| 33 | exact hu.mul hu } |
| 34 | let : Algebra.IsStandardSmooth R L := P'.isStandardSmooth |
| 35 | infer_instance |
| 36 | |
| 37 | variable {K ι : Type*} [CommRing K] |
| 38 | |
| 39 | /-- The actual coordinate ring of a polynomial hypersurface. -/ |
| 40 | abbrev hypersurfaceRing (q : MvPolynomial ι K) := MvPolynomial ι K ⧸ Ideal.span {q} |
| 41 | |
| 42 | /-- The standard presentation of a hypersurface, choosing one variable |
| 43 | for its one-by-one Jacobian minor. -/ |
| 44 | def hypersurfacePreSubmersive (q : MvPolynomial ι K) (i : ι) : |
| 45 | PreSubmersivePresentation K (hypersurfaceRing q) ι Unit where |
| 46 | toGenerators := Generators.ofAlgHom (Ideal.Quotient.mkₐ K (Ideal.span {q})) |
| 47 | (Ideal.Quotient.mkₐ_surjective K (Ideal.span {q})) |
| 48 | relation _ := q |
| 49 | span_range_relation_eq_ker := by |
| 50 | rw [Generators.ker_ofAlgHom] |
| 51 | simp only [Set.range_const] |
| 52 | exact Ideal.mk_ker.symm |
| 53 | map _ := i |
| 54 | map_inj := fun _ _ _ => Subsingleton.elim _ _ |
| 55 | |
| 56 | /-- The selected Jacobian minor for one hypersurface equation is its |
| 57 | partial derivative in the selected variable. -/ |
| 58 | theorem hypersurfacePreSubmersive_jacobian (q : MvPolynomial ι K) (i : ι) : |
| 59 | (hypersurfacePreSubmersive q i).jacobian = |
| 60 | Ideal.Quotient.mk (Ideal.span {q}) (pderiv i q) := by |
| 61 | rw [PreSubmersivePresentation.jacobian_eq_jacobiMatrix_det, Matrix.det_unique, |
| 62 | PreSubmersivePresentation.jacobiMatrix_apply] |
| 63 | rw [Generators.algebraMap_apply] |
| 64 | change aeval ((Ideal.Quotient.mkₐ K (Ideal.span {q})) ∘ X) (pderiv i q) = _ |
| 65 | rw [← aeval_unique (Ideal.Quotient.mkₐ K (Ideal.span {q}))] |
| 66 | rfl |
| 67 | |
| 68 | /-- The open hypersurface chart where a chosen partial derivative is invertible. -/ |
| 69 | abbrev hypersurfaceDerivativeChart (q : MvPolynomial ι K) (i : ι) := |
| 70 | Localization.Away (Ideal.Quotient.mk (Ideal.span {q}) (pderiv i q)) |
| 71 | |
| 72 | /-- A hypersurface is smooth wherever one of its partial derivatives is invertible. -/ |
| 73 | theorem hypersurfaceDerivativeChart_smooth [Finite ι] (q : MvPolynomial ι K) (i : ι) : |
| 74 | Algebra.Smooth K (hypersurfaceDerivativeChart q i) := by |
| 75 | let : IsLocalization.Away (hypersurfacePreSubmersive q i).jacobian |
| 76 | (hypersurfaceDerivativeChart q i) := by |
| 77 | rw [hypersurfacePreSubmersive_jacobian] |
| 78 | infer_instance |
| 79 | exact preSubmersive_smooth_of_localization (hypersurfacePreSubmersive q i) |
| 80 | (hypersurfaceDerivativeChart q i) |
| 81 | |
| 82 | /-- The corresponding affine hypersurface chart is a smooth scheme over its base. -/ |
| 83 | theorem hypersurfaceDerivativeChart_scheme_smooth |
| 84 | {K ι : Type u} [CommRing K] [Finite ι] (q : MvPolynomial ι K) (i : ι) : |
| 85 | AlgebraicGeometry.Smooth |
| 86 | (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap K (hypersurfaceDerivativeChart q i)))) := by |
| 87 | rw [AlgebraicGeometry.HasRingHomProperty.Spec_iff (P := @AlgebraicGeometry.Smooth)] |
| 88 | exact RingHom.smooth_algebraMap.mpr (hypersurfaceDerivativeChart_smooth q i) |
| 89 | |
| 90 | /-- Evaluation at a point satisfying the hypersurface equation descends to its quotient ring. -/ |
| 91 | def hypersurfaceEval (q : MvPolynomial ι K) (a : ι → K) (hq : eval a q = 0) : |
| 92 | hypersurfaceRing q →+* K := |
| 93 | Ideal.Quotient.lift (Ideal.span {q}) (eval a) (by |
| 94 | change Ideal.span {q} ≤ RingHom.ker (eval a) |
| 95 | apply Ideal.span_le.mpr |
| 96 | intro p hp |
| 97 | obtain rfl := Set.mem_singleton_iff.mp hp |
| 98 | exact hq) |
| 99 | |
| 100 | @[simp] |
| 101 | theorem hypersurfaceEval_mk (q : MvPolynomial ι K) (a : ι → K) (hq : eval a q = 0) |
| 102 | (p : MvPolynomial ι K) : |
| 103 | hypersurfaceEval q a hq (Ideal.Quotient.mk (Ideal.span {q}) p) = eval a p := rfl |
| 104 | |
| 105 | /-- A point with nonvanishing chosen derivative lifts to the smooth hypersurface chart. -/ |
| 106 | def hypersurfaceChartEval {K ι : Type*} [Field K] |
| 107 | (q : MvPolynomial ι K) (i : ι) (a : ι → K) |
| 108 | (hq : eval a q = 0) (hi : eval a (pderiv i q) ≠ 0) : |
| 109 | hypersurfaceDerivativeChart q i →+* K := |
| 110 | IsLocalization.Away.lift (g := hypersurfaceEval q a hq) |
| 111 | (Ideal.Quotient.mk (Ideal.span {q}) (pderiv i q)) |
| 112 | (by rw [hypersurfaceEval_mk]; exact isUnit_iff_ne_zero.mpr hi) |
| 113 | |
| 114 | /-- The lifted chart point has exactly the original polynomial coordinates. -/ |
| 115 | theorem hypersurfaceChartEval_coordinates {K ι : Type*} [Field K] |
| 116 | (q : MvPolynomial ι K) (i : ι) (a : ι → K) |
| 117 | (hq : eval a q = 0) (hi : eval a (pderiv i q) ≠ 0) (p : MvPolynomial ι K) : |
| 118 | hypersurfaceChartEval q i a hq hi |
| 119 | (algebraMap (hypersurfaceRing q) (hypersurfaceDerivativeChart q i) |
| 120 | (Ideal.Quotient.mk (Ideal.span {q}) p)) = eval a p := by |
| 121 | unfold hypersurfaceChartEval |
| 122 | rw [IsLocalization.Away.lift_eq, hypersurfaceEval_mk] |
| 123 | |
| 124 | /-- A derivative equation containing the high-order locus has a smooth |
| 125 | affine hypersurface chart at the chosen point, with its point and polynomial |
| 126 | coordinates explicitly supplied. -/ |
| 127 | theorem exists_smooth_derivative_hypersurface |
| 128 | {K ι : Type*} [Field K] [CharZero K] [Finite ι] |
| 129 | (J : Ideal (MvPolynomial ι K)) (a : ι → K) (n : ℕ) |
| 130 | (hJ : J ≤ PolynomialTranslation.Construction.polynomialPointIdeal a ^ (n + 1)) |
| 131 | (hJ1 : ¬ J ≤ PolynomialTranslation.Construction.polynomialPointIdeal a ^ (n + 2)) : |
| 132 | ∃ (p : J) (l : List ι) (i : ι), |
| 133 | let q := DifferentialOrder.Construction.iteratedPDeriv l p.val |
| 134 | l.length = n ∧ eval a q = 0 ∧ eval a (pderiv i q) ≠ 0 ∧ |
| 135 | Algebra.Smooth K (hypersurfaceDerivativeChart q i) ∧ |
| 136 | (∃ e : hypersurfaceDerivativeChart q i →+* K, |
| 137 | ∀ r : MvPolynomial ι K, |
| 138 | e (algebraMap (hypersurfaceRing q) (hypersurfaceDerivativeChart q i) |
| 139 | (Ideal.Quotient.mk (Ideal.span {q}) r)) = eval a r) ∧ |
| 140 | ∀ y : ι → K, J ≤ PolynomialTranslation.Construction.polynomialPointIdeal y ^ (n + 1) → eval y q = 0 := by |
| 141 | obtain ⟨p, l, i, hl, hz, hi, hcontains⟩ := |
| 142 | OrderLocus.Construction.exists_gradient_equation_containing_orderLocus J a n hJ hJ1 |
| 143 | refine ⟨p, l, i, hl, hz, hi, hypersurfaceDerivativeChart_smooth _ _, ?_, hcontains⟩ |
| 144 | exact ⟨hypersurfaceChartEval _ i a hz hi, |
| 145 | hypersurfaceChartEval_coordinates _ i a hz hi⟩ |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceChart.Construction |