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.Coordinate.AtVariable |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | import Mathlib.RingTheory.Polynomial.Quotient |
| 4 | |
| 5 | /-! # Hypersurface -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.Hypersurface.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smoothness of the actual hypersurface quotient in an étale coordinate neighborhood. -/ |
| 12 | |
| 13 | open _root_.Polynomial |
| 14 | |
| 15 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 16 | |
| 17 | /-- An étale map remains étale after quotienting the base and its extended ideal. -/ |
| 18 | theorem etale_quotient_of_etale [Algebra R S] [Algebra.Etale R S] (I : Ideal R) : |
| 19 | Algebra.Etale (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := |
| 20 | Algebra.Etale.of_equiv (Algebra.TensorProduct.quotIdealMapEquivQuotTensor S I).symm |
| 21 | |
| 22 | /-- The zero coordinate hypersurface in an affine line is its base. -/ |
| 23 | theorem polynomial_quotient_X_etale : Algebra.Etale R (R[X] ⧸ Ideal.span {(X : R[X])}) := by |
| 24 | have e : (R[X] ⧸ Ideal.span {(X : R[X])}) ≃ₐ[R] R := by |
| 25 | have h : Ideal.span {(X : R[X])} = Ideal.span {X - C (0 : R)} := by |
| 26 | rw [C_0, sub_zero] |
| 27 | exact (Ideal.quotientEquivAlgOfEq R h).trans (quotientSpanXSubCAlgEquiv (0 : R)) |
| 28 | exact Algebra.Etale.of_equiv e.symm |
| 29 | |
| 30 | /-- The equation in the coordinate neighborhood cuts out an étale algebra |
| 31 | over the remaining coordinates. This is the actual quotient used by the coefficient ideals. -/ |
| 32 | theorem polynomialCoordinateHypersurface_etale (p : R[X]) : |
| 33 | Algebra.Etale R |
| 34 | (PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ Ideal.span {PolynomialEtale.Construction.polynomialCoordinateAmbientMap p p}) := by |
| 35 | let I : Ideal R[X] := Ideal.span {X} |
| 36 | let : Algebra.Etale R[X] (PolynomialEtale.Construction.polynomialCoordinateChart p) := PolynomialEtale.Construction.polynomialCoordinateChart_etale p |
| 37 | let : Algebra.Etale R (R[X] ⧸ I) := polynomial_quotient_X_etale |
| 38 | let : Algebra.Etale (R[X] ⧸ I) |
| 39 | (PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ I.map (algebraMap R[X] (PolynomialEtale.Construction.polynomialCoordinateChart p))) := |
| 40 | etale_quotient_of_etale I |
| 41 | let : IsScalarTower R (R[X] ⧸ I) |
| 42 | (PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ I.map (algebraMap R[X] (PolynomialEtale.Construction.polynomialCoordinateChart p))) := by |
| 43 | apply IsScalarTower.of_algebraMap_eq (R := R) (S := R[X] ⧸ I) |
| 44 | (A := PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ I.map (algebraMap R[X] (PolynomialEtale.Construction.polynomialCoordinateChart p))) |
| 45 | intro r |
| 46 | rw [IsScalarTower.algebraMap_apply R R[X] (R[X] ⧸ I), |
| 47 | ← IsScalarTower.algebraMap_apply R[X] (R[X] ⧸ I)] |
| 48 | exact IsScalarTower.algebraMap_apply R R[X] _ r |
| 49 | let : Algebra.Etale R |
| 50 | (PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ I.map (algebraMap R[X] (PolynomialEtale.Construction.polynomialCoordinateChart p))) := |
| 51 | Algebra.Etale.comp R (R[X] ⧸ I) _ |
| 52 | have he : I.map (algebraMap R[X] (PolynomialEtale.Construction.polynomialCoordinateChart p)) = |
| 53 | Ideal.span {PolynomialEtale.Construction.polynomialCoordinateAmbientMap p p} := by |
| 54 | dsimp only [I] |
| 55 | rw [Ideal.map_span, Set.image_singleton, PolynomialEtale.Construction.polynomialCoordinateChart_coordinate] |
| 56 | exact Algebra.Etale.of_equiv (Ideal.quotientEquivAlgOfEq R he) |
| 57 | |
| 58 | variable {σ K : Type*} [Field K] [Finite σ] |
| 59 | |
| 60 | /-- The hypersurface in an arbitrary selected-variable coordinate neighborhood |
| 61 | is smooth over the ground field. -/ |
| 62 | theorem coordinateHypersurfaceAtVariable_smooth (q : MvPolynomial σ K) (i : σ) : |
| 63 | Algebra.Smooth K |
| 64 | (AtVariable.Construction.coordinateChartAtVariable q i ⧸ Ideal.span {AtVariable.Construction.coordinateAmbientMapAtVariable q i q}) := by |
| 65 | let : Fintype {j : σ // j ≠ i} := Fintype.ofFinite _ |
| 66 | let : Algebra.Smooth K (MvPolynomial {j : σ // j ≠ i} K) := ⟨inferInstance, inferInstance⟩ |
| 67 | let p := MvPolynomial.optionEquivLeft K {j : σ // j ≠ i} (AtVariable.Construction.separateVariableEquiv i q) |
| 68 | let : Algebra.Etale (MvPolynomial {j : σ // j ≠ i} K) |
| 69 | (PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ Ideal.span {PolynomialEtale.Construction.polynomialCoordinateAmbientMap p p}) := |
| 70 | polynomialCoordinateHypersurface_etale p |
| 71 | exact Algebra.Smooth.comp K (MvPolynomial {j : σ // j ≠ i} K) |
| 72 | (PolynomialEtale.Construction.polynomialCoordinateChart p ⧸ Ideal.span {PolynomialEtale.Construction.polynomialCoordinateAmbientMap p p}) |
| 73 | |
| 74 | omit [Finite σ] in |
| 75 | /-- A point satisfying the equation with nonzero selected partial derivative |
| 76 | lifts to the same smooth quotient used for coefficient ideals. -/ |
| 77 | theorem coordinateHypersurfaceAtVariable_has_point |
| 78 | (q : MvPolynomial σ K) (i : σ) (x : σ → K) |
| 79 | (hq : MvPolynomial.eval x q = 0) (hi : MvPolynomial.eval x (MvPolynomial.pderiv i q) ≠ 0) : |
| 80 | ∃ e : (AtVariable.Construction.coordinateChartAtVariable q i ⧸ Ideal.span {AtVariable.Construction.coordinateAmbientMapAtVariable q i q}) →+* K, |
| 81 | ∀ r : MvPolynomial σ K, |
| 82 | e (Ideal.Quotient.mk (Ideal.span {AtVariable.Construction.coordinateAmbientMapAtVariable q i q}) |
| 83 | (AtVariable.Construction.coordinateAmbientMapAtVariable q i r)) = MvPolynomial.eval x r := by |
| 84 | obtain ⟨e, he⟩ := AtVariable.Construction.coordinateChartAtVariable_has_point q i x hi |
| 85 | have hzero : ∀ s ∈ Ideal.span {AtVariable.Construction.coordinateAmbientMapAtVariable q i q}, e s = 0 := by |
| 86 | intro s hs |
| 87 | obtain ⟨t, ht⟩ := Ideal.mem_span_singleton.mp hs |
| 88 | rw [ht, map_mul, he, hq, zero_mul] |
| 89 | exact ⟨Ideal.Quotient.lift _ e hzero, he⟩ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.Hypersurface.Construction |