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.ClosedWeightedOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialIdealTransform |
| 3 | |
| 4 | /-! # Canonical Coefficient Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.CanonicalCoefficientIdeal.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A hypersurface coefficient ideal formed from all derivations, with |
| 11 | no choice of a transverse derivative in its definition. -/ |
| 12 | |
| 13 | variable {R : Type*} [CommRing R] |
| 14 | |
| 15 | /-- The canonical coefficient ideal uses the full differential ideals |
| 16 | at their natural controls, combined at factorial control. -/ |
| 17 | def canonicalCoefficientIdeal (z : R) (J : Ideal R) (b : ℕ) : |
| 18 | Ideal (R ⧸ Ideal.span {z}) := |
| 19 | WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal b (fun j => |
| 20 | (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J j.val).map (Ideal.Quotient.mk (Ideal.span {z}))) |
| 21 | |
| 22 | theorem iterated_ring_derivation_mem_differential |
| 23 | (D : Derivation ℤ R R) (J : Ideal R) (p : R) (hp : p ∈ J) (n : ℕ) : |
| 24 | D^[n] p ∈ DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n := by |
| 25 | induction n generalizing J p with |
| 26 | | zero => exact hp |
| 27 | | succ n ih => |
| 28 | rw [Function.iterate_succ_apply] |
| 29 | exact ih (DifferentialIdealTransform.Construction.firstDifferentialIdeal J) (D p) (DifferentialIdealTransform.Construction.derivation_mem_firstDifferentialIdeal J D hp) |
| 30 | |
| 31 | theorem differentialCoefficientIdeal_le_full_differential |
| 32 | (D : Derivation ℤ R R) (z : R) (J : Ideal R) (n : ℕ) : |
| 33 | DifferentialCoefficientOrder.Construction.differentialCoefficientIdeal D z J n ≤ |
| 34 | (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J n).map (Ideal.Quotient.mk (Ideal.span {z})) := by |
| 35 | apply Ideal.span_le.mpr |
| 36 | rintro x ⟨p, rfl⟩ |
| 37 | exact Ideal.mem_map_of_mem _ (iterated_ring_derivation_mem_differential D J p.val p.property n) |
| 38 | |
| 39 | /-- Every coefficient ideal made with a chosen transverse derivation |
| 40 | is contained in the canonical one. -/ |
| 41 | theorem weightedDifferentialCoefficientIdeal_le_canonical |
| 42 | (D : Derivation ℤ R R) (z : R) (J : Ideal R) (b : ℕ) : |
| 43 | ClosedWeightedOrder.Construction.weightedDifferentialCoefficientIdeal D z J b ≤ canonicalCoefficientIdeal z J b := by |
| 44 | unfold ClosedWeightedOrder.Construction.weightedDifferentialCoefficientIdeal canonicalCoefficientIdeal WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal |
| 45 | exact iSup_mono (fun j => pow_le_pow_left' |
| 46 | (differentialCoefficientIdeal_le_full_differential D z J j.val) (WeightedCoefficientIdeal.Construction.coefficientWeight b j)) |
| 47 | |
| 48 | /-- Ambient order supplies the canonical coefficient bound at every |
| 49 | ideal, independently of any choice of transverse derivative. -/ |
| 50 | theorem canonicalCoefficientIdeal_le_of_order |
| 51 | (z : R) (J q : Ideal R) (b : ℕ) (hJ : J ≤ q ^ b) : |
| 52 | canonicalCoefficientIdeal z J b ≤ |
| 53 | q.map (Ideal.Quotient.mk (Ideal.span {z})) ^ b.factorial := by |
| 54 | apply WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal_le_pow |
| 55 | intro j |
| 56 | have hdiff : DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J j.val ≤ q ^ (b - j.val) := |
| 57 | DifferentialIdealTransform.Construction.iteratedDifferentialIdeal_le_pow q J (b - j.val) j.val |
| 58 | (by simpa only [Nat.sub_add_cancel (Nat.le_of_lt j.isLt)] using hJ) |
| 59 | simpa only [Ideal.map_pow] using Ideal.map_mono (f := Ideal.Quotient.mk (Ideal.span {z})) hdiff |
| 60 | |
| 61 | variable {σ K : Type*} [Field K] [IsAlgClosed K] [Finite σ] [Algebra ℚ R] |
| 62 | |
| 63 | include σ K in |
| 64 | /-- On an actual étale coordinate hypersurface, the canonical ideal has |
| 65 | exactly the ambient order locus. A transverse derivative proves the |
| 66 | equivalence but is not part of the coefficient ideal itself. -/ |
| 67 | theorem closedPoint_order_iff_canonical_coefficients |
| 68 | (D : Derivation ℤ R R) (z : R) (hz : D z = 1) |
| 69 | [Algebra (MvPolynomial σ K) (R ⧸ Ideal.span {z})] |
| 70 | [Algebra.Etale (MvPolynomial σ K) (R ⧸ Ideal.span {z})] |
| 71 | (J q : Ideal R) [q.IsMaximal] (hzq : z ∈ q) (b : ℕ) : |
| 72 | J ≤ q ^ b ↔ canonicalCoefficientIdeal z J b ≤ |
| 73 | q.map (Ideal.Quotient.mk (Ideal.span {z})) ^ b.factorial := by |
| 74 | constructor |
| 75 | · exact canonicalCoefficientIdeal_le_of_order z J q b |
| 76 | · intro h |
| 77 | apply (ClosedWeightedOrder.Construction.closedPoint_order_iff_weightedDifferentialCoefficients (σ := σ) (K := K) |
| 78 | D z hz J q hzq b).mpr |
| 79 | exact (weightedDifferentialCoefficientIdeal_le_canonical D z J b).trans h |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Resolution.Blowups.CanonicalCoefficientIdeal.Construction |