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.Etale.LocalCoordinates |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.MappedEulerOrderCriterion |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.PersistentHypersurface |
| 4 | |
| 5 | /-! # Local Order -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalOrder.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Differential equations detect local ideal order on étale affine neighborhoods. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | variable {σ K S : Type*} [Field K] [CommRing S] |
| 16 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 17 | |
| 18 | def etaleCenteredCoordinate (x : σ → K) (i : σ) : S := |
| 19 | algebraMap (MvPolynomial σ K) S (X i - C (x i)) |
| 20 | |
| 21 | def etalePolynomialCoordinateDerivation (i : σ) : Derivation ℤ S S := |
| 22 | Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) (PersistentHypersurface.Construction.polynomialPartialDerivationInt (R := K) i) |
| 23 | |
| 24 | theorem etalePolynomialCoordinateDerivation_centered [DecidableEq σ] (x : σ → K) (i j : σ) : |
| 25 | etalePolynomialCoordinateDerivation (K := K) (S := S) i (etaleCenteredCoordinate (S := S) x j) = |
| 26 | if i = j then 1 else 0 := by |
| 27 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) (PersistentHypersurface.Construction.polynomialPartialDerivationInt (R := K) i) |
| 28 | (algebraMap (MvPolynomial σ K) S (X j - C (x j))) = _ |
| 29 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 30 | change algebraMap (MvPolynomial σ K) S (pderiv i (X j - C (x j))) = _ |
| 31 | by_cases hij : i = j |
| 32 | · subst j |
| 33 | simp |
| 34 | · simp [hij, Ne.symm hij] |
| 35 | |
| 36 | variable [CharZero K] [Fintype σ] [DecidableEq σ] |
| 37 | |
| 38 | /-- For any ideal of an étale polynomial algebra, its order in the actual |
| 39 | local ring at a rational point is detected by the differential ideal on |
| 40 | the original affine algebra. The ideal need not descend to the polynomial base. -/ |
| 41 | theorem etale_local_order_iff_differentialIdeal (J : Ideal S) (x : σ → K) |
| 42 | (q : Ideal S) [q.IsPrime] [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (b : ℕ) : |
| 43 | J.map (algebraMap S (Localization.AtPrime q)) ≤ |
| 44 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b + 1) ↔ |
| 45 | DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J b ≤ q := by |
| 46 | let T := Localization.AtPrime q |
| 47 | let : Algebra ℚ T := |
| 48 | ((algebraMap (MvPolynomial σ K) T).comp ((C : K →+* MvPolynomial σ K).comp (algebraMap ℚ K))).toAlgebra |
| 49 | let : Algebra.FormallyEtale S T := Algebra.FormallyEtale.of_isLocalization q.primeCompl |
| 50 | let z : σ → S := etaleCenteredCoordinate x |
| 51 | let D : σ → Derivation ℤ S S := etalePolynomialCoordinateDerivation (K := K) (S := S) |
| 52 | have hD : ∀ i j, D i (z j) = if i = j then 1 else 0 := |
| 53 | etalePolynomialCoordinateDerivation_centered x |
| 54 | have hM : Ideal.span (Set.range (fun i => algebraMap S T (z i))) = IsLocalRing.maximalIdeal T := by |
| 55 | rw [LocalCoordinates.Construction.etale_local_maximalIdeal_eq_span_coordinates x q] |
| 56 | apply congrArg (fun f : σ → T => Ideal.span (Set.range f)) |
| 57 | funext i |
| 58 | exact (IsScalarTower.algebraMap_apply (MvPolynomial σ K) S T (X i - C (x i))).symm |
| 59 | have h := MappedEulerOrderCriterion.Construction.mapped_coordinate_order_iff_differentialIdeal (B := T) z D hD J b |
| 60 | rw [hM] at h |
| 61 | have hq : (IsLocalRing.maximalIdeal T).comap (algebraMap S T) = q := |
| 62 | Localization.AtPrime.under_maximalIdeal (I := q) |
| 63 | simpa only [Ideal.map_le_iff_le_comap, hq] using h |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalOrder.Construction |