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.TangentCriterion |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ClosedOrder |
| 3 | |
| 4 | /-! # Differential Equation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.DifferentialEquation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Differential equations with nonvanishing coordinate derivative on arbitrary étale affine ideals. -/ |
| 11 | |
| 12 | variable {R : Type*} [CommRing R] |
| 13 | |
| 14 | theorem first_iteratedDifferentialIdeal (J : Ideal R) (n : ℕ) : |
| 15 | DifferentialIdealTransform.Construction.firstDifferentialIdeal (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n) = DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J (n + 1) := by |
| 16 | induction n generalizing J with |
| 17 | | zero => rfl |
| 18 | | succ n ih => exact ih (DifferentialIdealTransform.Construction.firstDifferentialIdeal J) |
| 19 | |
| 20 | variable {σ K S : Type*} [Field K] [CommRing S] |
| 21 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 22 | |
| 23 | variable [Algebra K S] [IsScalarTower K (MvPolynomial σ K) S] |
| 24 | |
| 25 | /-- Coordinate partial derivations of the étale ring relative to the coefficient field. -/ |
| 26 | def etaleRelativePartial (i : σ) : Derivation K S S := |
| 27 | Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) (MvPolynomial.pderiv i) |
| 28 | |
| 29 | theorem etaleRelativePartial_algebraMap (i : σ) (p : MvPolynomial σ K) : |
| 30 | etaleRelativePartial (K := K) (S := S) i (algebraMap (MvPolynomial σ K) S p) = |
| 31 | algebraMap (MvPolynomial σ K) S (MvPolynomial.pderiv i p) := |
| 32 | Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap (MvPolynomial.pderiv i) p |
| 33 | |
| 34 | theorem etaleRelativePartial_restrictScalars (i : σ) : |
| 35 | (etaleRelativePartial (K := K) (S := S) i).restrictScalars ℤ = |
| 36 | LocalOrder.Construction.etalePolynomialCoordinateDerivation (K := K) i := by |
| 37 | refine Blowups.Etale.Derivation.Construction.etaleDerivation_ext (k := ℤ) (R := MvPolynomial σ K) (S := S) _ _ ?_ |
| 38 | intro p |
| 39 | rw [Derivation.restrictScalars_apply, etaleRelativePartial_algebraMap] |
| 40 | exact (Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap (S := S) (PersistentHypersurface.Construction.polynomialPartialDerivationInt i) p).symm |
| 41 | |
| 42 | variable [CharZero K] [Fintype σ] [DecidableEq σ] |
| 43 | |
| 44 | /-- At a point of exact positive order, an arbitrary ideal on an étale |
| 45 | coordinate neighborhood has a differential equation with nonzero relative differential. -/ |
| 46 | theorem exists_etale_differential_equation (J : Ideal S) (x : σ → K) |
| 47 | (q : Ideal S) [q.IsPrime] [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (n : ℕ) |
| 48 | (hJ : J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 49 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (n + 1)) |
| 50 | (hJ1 : ¬ J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 51 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (n + 2)) : |
| 52 | ∃ (z : S) (i : σ), z ∈ DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n ∧ z ∈ q ∧ |
| 53 | etaleRelativePartial (K := K) i z ∉ q := by |
| 54 | let H := DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n |
| 55 | have hH : H ≤ q := (LocalOrder.Construction.etale_local_order_iff_differentialIdeal J x q n).mp hJ |
| 56 | have hfirst : ¬ DifferentialIdealTransform.Construction.firstDifferentialIdeal H ≤ q := by |
| 57 | rw [first_iteratedDifferentialIdeal] |
| 58 | exact fun h => hJ1 ((LocalOrder.Construction.etale_local_order_iff_differentialIdeal J x q (n + 1)).mpr h) |
| 59 | have hH2 : ¬ H.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 60 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ 2 := by |
| 61 | exact fun h => hfirst ((LocalOrder.Construction.etale_local_order_iff_differentialIdeal H x q 1).mp h) |
| 62 | rw [Ideal.map_le_iff_le_comap] at hH2 |
| 63 | obtain ⟨z, hz, hz2⟩ := SetLike.not_le_iff_exists.mp hH2 |
| 64 | obtain ⟨i, hi⟩ := Coordinate.TangentCriterion.Construction.etale_exists_coordinate_derivative_not_mem x q z (hH hz) hz2 |
| 65 | refine ⟨z, i, hz, hH hz, ?_⟩ |
| 66 | have he := Derivation.congr_fun (etaleRelativePartial_restrictScalars (S := S) (K := K) i) z |
| 67 | exact he ▸ hi |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.DifferentialEquation.Construction |