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.AbelianModuli.ReferenceFamily.Dual.PolynomialDifferential |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Quotient Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.QuotientPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Dual-number points of an actual affine polynomial quotient are |
| 13 | exactly the vectors annihilated by the analytic derivatives of its |
| 14 | defining ideal. -/ |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | def quotientPointCoordinates (I : Ideal (MvPolynomial ι ℂ)) |
| 19 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) : ι → ℂ := |
| 20 | fun i => x (Ideal.Quotient.mk I (MvPolynomial.X i)) |
| 21 | |
| 22 | omit [Fintype ι] in |
| 23 | theorem quotientPointCoordinates_eval (I : Ideal (MvPolynomial ι ℂ)) |
| 24 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) : |
| 25 | MvPolynomial.aeval (quotientPointCoordinates I x) = x.comp (Ideal.Quotient.mkₐ ℂ I) := by |
| 26 | apply MvPolynomial.algHom_ext |
| 27 | intro i |
| 28 | exact MvPolynomial.aeval_X _ i |
| 29 | |
| 30 | omit [Fintype ι] in |
| 31 | theorem quotientPointCoordinates_relation (I : Ideal (MvPolynomial ι ℂ)) |
| 32 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) (p : MvPolynomial ι ℂ) (hp : p ∈ I) : |
| 33 | MvPolynomial.eval (quotientPointCoordinates I x) p = 0 := |
| 34 | (DFunLike.congr_fun (quotientPointCoordinates_eval I x) p).trans |
| 35 | ((congrArg x (Ideal.Quotient.eq_zero_iff_mem.mpr hp)).trans x.map_zero) |
| 36 | |
| 37 | def polynomialRelationTangent (I : Ideal (MvPolynomial ι ℂ)) (x : ι → ℂ) : Submodule ℂ (ι → ℂ) := |
| 38 | ⨅ p : I, LinearMap.ker (fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y p.val) x).toLinearMap |
| 39 | |
| 40 | omit [Fintype ι] in |
| 41 | theorem mem_polynomialRelationTangent (I : Ideal (MvPolynomial ι ℂ)) (x v : ι → ℂ) : |
| 42 | v ∈ polynomialRelationTangent I x ↔ |
| 43 | ∀ p : MvPolynomial ι ℂ, p ∈ I → fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y p) x v = 0 := by |
| 44 | simp only [polynomialRelationTangent, Submodule.mem_iInf, LinearMap.mem_ker] |
| 45 | exact ⟨fun h p hp => h ⟨p, hp⟩, fun h p => h p.val p.property⟩ |
| 46 | |
| 47 | def DualQuotientPoints (I : Ideal (MvPolynomial ι ℂ)) |
| 48 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) := |
| 49 | {f : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] DualNumber ℂ // (TrivSqZeroExt.fstHom ℂ ℂ ℂ).comp f = x} |
| 50 | |
| 51 | def dualQuotientPoint (I : Ideal (MvPolynomial ι ℂ)) |
| 52 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) |
| 53 | (v : polynomialRelationTangent I (quotientPointCoordinates I x)) : DualQuotientPoints I x := by |
| 54 | let f := PolynomialDifferential.dualPolynomialEvaluation (quotientPointCoordinates I x) v.val |
| 55 | have hf (p : MvPolynomial ι ℂ) (hp : p ∈ I) : f p = 0 := |
| 56 | (PolynomialDifferential.dualPolynomialEvaluation_eq_zero_iff _ _ p).mpr |
| 57 | ⟨quotientPointCoordinates_relation I x p hp, |
| 58 | (mem_polynomialRelationTangent I _ v.val).mp v.property p hp⟩ |
| 59 | refine ⟨Ideal.Quotient.liftₐ I f hf, ?_⟩ |
| 60 | apply Ideal.Quotient.algHom_ext |
| 61 | apply AlgHom.ext |
| 62 | intro p |
| 63 | change (f p).fst = x (Ideal.Quotient.mk I p) |
| 64 | exact (PolynomialDifferential.dualPolynomialEvaluation_fst _ _ p).trans |
| 65 | (DFunLike.congr_fun (quotientPointCoordinates_eval I x) p) |
| 66 | |
| 67 | def dualQuotientCoordinates (I : Ideal (MvPolynomial ι ℂ)) |
| 68 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) (f : DualQuotientPoints I x) : ι → ℂ := |
| 69 | fun i => (f.val (Ideal.Quotient.mk I (MvPolynomial.X i))).snd |
| 70 | |
| 71 | omit [Fintype ι] in |
| 72 | theorem dualQuotientCoordinates_polynomial (I : Ideal (MvPolynomial ι ℂ)) |
| 73 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) (f : DualQuotientPoints I x) : |
| 74 | PolynomialDifferential.dualPolynomialEvaluation (quotientPointCoordinates I x) (dualQuotientCoordinates I x f) = |
| 75 | f.val.comp (Ideal.Quotient.mkₐ ℂ I) := by |
| 76 | let g : PolynomialDifferential.DualPolynomialPoints (quotientPointCoordinates I x) := |
| 77 | ⟨f.val.comp (Ideal.Quotient.mkₐ ℂ I), by |
| 78 | exact (AlgHom.comp_assoc _ _ _).symm.trans |
| 79 | ((congrArg (fun h => h.comp (Ideal.Quotient.mkₐ ℂ I)) f.property).trans |
| 80 | (quotientPointCoordinates_eval I x).symm)⟩ |
| 81 | exact PolynomialDifferential.dualPolynomialPoint_coordinates _ g |
| 82 | |
| 83 | theorem dualQuotientCoordinates_mem (I : Ideal (MvPolynomial ι ℂ)) |
| 84 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) (f : DualQuotientPoints I x) : |
| 85 | dualQuotientCoordinates I x f ∈ polynomialRelationTangent I (quotientPointCoordinates I x) := by |
| 86 | apply (mem_polynomialRelationTangent I _ _).mpr |
| 87 | intro p hp |
| 88 | have h : PolynomialDifferential.dualPolynomialEvaluation (quotientPointCoordinates I x) (dualQuotientCoordinates I x f) p = 0 := |
| 89 | (DFunLike.congr_fun (dualQuotientCoordinates_polynomial I x f) p).trans |
| 90 | ((congrArg f.val (Ideal.Quotient.eq_zero_iff_mem.mpr hp)).trans f.val.map_zero) |
| 91 | exact (PolynomialDifferential.dualPolynomialEvaluation_eq_zero_iff _ _ p).mp h |>.2 |
| 92 | |
| 93 | def dualQuotientPointsEquiv (I : Ideal (MvPolynomial ι ℂ)) |
| 94 | (x : (MvPolynomial ι ℂ ⧸ I) →ₐ[ℂ] ℂ) : |
| 95 | polynomialRelationTangent I (quotientPointCoordinates I x) ≃ DualQuotientPoints I x where |
| 96 | toFun := dualQuotientPoint I x |
| 97 | invFun f := ⟨dualQuotientCoordinates I x f, dualQuotientCoordinates_mem I x f⟩ |
| 98 | left_inv v := by |
| 99 | apply Subtype.ext |
| 100 | funext i |
| 101 | exact congrArg TrivSqZeroExt.snd (PolynomialDifferential.dualPolynomialEvaluation_X (quotientPointCoordinates I x) v.val i) |
| 102 | right_inv f := by |
| 103 | apply Subtype.ext |
| 104 | apply Ideal.Quotient.algHom_ext |
| 105 | exact dualQuotientCoordinates_polynomial I x f |
| 106 | |
| 107 | end |
| 108 | |
| 109 | /-! Tangency to the defining ideal is equivalent to the actual |
| 110 | linearized generating equations. This is proved through evaluation in |
| 111 | the dual-number ring, so all products of ideal generators are handled. -/ |
| 112 | |
| 113 | variable {ι σ : Type*} [Fintype ι] |
| 114 | |
| 115 | theorem mem_polynomialRelationTangent_span (F : σ → MvPolynomial ι ℂ) |
| 116 | (x v : ι → ℂ) (hx : ∀ j, MvPolynomial.eval x (F j) = 0) : |
| 117 | v ∈ polynomialRelationTangent (Ideal.span (Set.range F)) x ↔ |
| 118 | ∀ j, fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y (F j)) x v = 0 := by |
| 119 | constructor |
| 120 | · intro h j |
| 121 | exact (mem_polynomialRelationTangent _ x v).mp h (F j) (Ideal.subset_span ⟨j, rfl⟩) |
| 122 | · intro h |
| 123 | have hker : Ideal.span (Set.range F) ≤ RingHom.ker (PolynomialDifferential.dualPolynomialEvaluation x v).toRingHom := by |
| 124 | apply Ideal.span_le.mpr |
| 125 | rintro _ ⟨j, rfl⟩ |
| 126 | exact (PolynomialDifferential.dualPolynomialEvaluation_eq_zero_iff x v (F j)).mpr ⟨hx j, h j⟩ |
| 127 | apply (mem_polynomialRelationTangent _ x v).mpr |
| 128 | intro p hp |
| 129 | exact ((PolynomialDifferential.dualPolynomialEvaluation_eq_zero_iff x v p).mp (hker hp)).2 |
| 130 | |
| 131 | def polynomialJacobianMap [Fintype σ] (F : σ → MvPolynomial ι ℂ) |
| 132 | (x : ι → ℂ) : (ι → ℂ) →ₗ[ℂ] (σ → ℂ) := |
| 133 | LinearMap.pi (fun j => (fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y (F j)) x).toLinearMap) |
| 134 | |
| 135 | theorem polynomialRelationTangent_eq_kernel [Fintype σ] (F : σ → MvPolynomial ι ℂ) |
| 136 | (x : ι → ℂ) (hx : ∀ j, MvPolynomial.eval x (F j) = 0) : |
| 137 | polynomialRelationTangent (Ideal.span (Set.range F)) x = (polynomialJacobianMap F x).ker := by |
| 138 | ext v |
| 139 | rw [mem_polynomialRelationTangent_span F x v hx] |
| 140 | change (∀ j, fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y (F j)) x v = 0) ↔ |
| 141 | polynomialJacobianMap F x v = 0 |
| 142 | exact ⟨fun h => funext h, fun h j => congrFun h j⟩ |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.QuotientPoints |