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.ModuleDerivations |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicIdeal |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ResidualDropAllPrimes |
| 4 | |
| 5 | /-! # Logarithmic Transverse Equation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicTransverseEquation.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Relative coordinate derivations detect a transverse logarithmic direction at every prime. -/ |
| 12 | |
| 13 | variable {σ k A : Type*} [Field k] [CommRing A] [Fintype σ] [DecidableEq σ] |
| 14 | [Algebra (MvPolynomial σ k) A] [Algebra.Etale (MvPolynomial σ k) A] |
| 15 | [Algebra k A] [IsScalarTower k (MvPolynomial σ k) A] |
| 16 | |
| 17 | /-- The relative coordinate basis detects an outside direction without |
| 18 | requiring the prime to be a closed or rational point. -/ |
| 19 | theorem relative_logarithmic_derivative_detects_transverse_direction |
| 20 | (B : Finset σ) (q : Ideal A) |
| 21 | (hB : ∀ i ∈ B, algebraMap (MvPolynomial σ k) A (MvPolynomial.X i) ∈ q) |
| 22 | (E : Derivation k A A) |
| 23 | (hE : ∀ i ∈ B, E (algebraMap (MvPolynomial σ k) A (MvPolynomial.X i)) ∈ |
| 24 | Ideal.span {algebraMap (MvPolynomial σ k) A (MvPolynomial.X i)}) |
| 25 | (z : A) (hEz : E z ∉ q) : |
| 26 | ∃ i : σ, i ∉ B ∧ Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := A) i z ∉ q := by |
| 27 | classical |
| 28 | by_contra hoff |
| 29 | push Not at hoff |
| 30 | apply hEz |
| 31 | rw [Blowups.Etale.ModuleDerivations.Construction.etale_relative_derivation_apply (σ := σ) E z] |
| 32 | apply Ideal.sum_mem |
| 33 | intro i _ |
| 34 | by_cases hi : i ∈ B |
| 35 | · have hcoef : E (algebraMap (MvPolynomial σ k) A (MvPolynomial.X i)) ∈ q := |
| 36 | (Ideal.span_singleton_le_iff_mem q).mpr (hB i hi) (hE i hi) |
| 37 | exact q.mul_mem_right _ hcoef |
| 38 | · exact q.mul_mem_left _ (hoff i hi) |
| 39 | |
| 40 | /-- A positive local-order condition and a relative logarithmic unit |
| 41 | bound produce a differential equation transverse to every active |
| 42 | coordinate boundary, at any prime and in any characteristic. -/ |
| 43 | theorem exists_etale_relative_logarithmic_transverse_equation |
| 44 | (B : Finset σ) (q : Ideal A) [q.IsPrime] |
| 45 | (hB : ∀ i ∈ B, algebraMap (MvPolynomial σ k) A (MvPolynomial.X i) ∈ q) |
| 46 | (J : Ideal A) (n : ℕ) |
| 47 | (hJ : J.map (algebraMap A (Localization.AtPrime q)) ≤ |
| 48 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (n + 1)) |
| 49 | (hbound : LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k |
| 50 | (fun i : B => algebraMap (MvPolynomial σ k) A (MvPolynomial.X i.val)) J (n + 1) = ⊤) : |
| 51 | ∃ (z : A) (i : σ), |
| 52 | z ∈ LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k |
| 53 | (fun j : B => algebraMap (MvPolynomial σ k) A (MvPolynomial.X j.val)) J n ∧ |
| 54 | z ∈ q ∧ i ∉ B ∧ Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := A) i z ∉ q := by |
| 55 | classical |
| 56 | let w : B → A := fun i => algebraMap (MvPolynomial σ k) A (MvPolynomial.X i.val) |
| 57 | let H := LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n |
| 58 | have hrel : DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n ≤ q := by |
| 59 | simpa only [Nat.add_sub_cancel] using |
| 60 | ResidualDropAllPrimes.Construction.relative_differential_control_le_prime_of_local_order k J q (n + 1) (Nat.zero_lt_succ n) hJ |
| 61 | have hH : H ≤ q := (LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal_le_relative k w J n).trans hrel |
| 62 | have hex : ∃ (E : LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) (z : A), z ∈ H ∧ E.val z ∉ q := by |
| 63 | by_contra h |
| 64 | push Not at h |
| 65 | have hle : LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w H ≤ q := by |
| 66 | apply sup_le hH |
| 67 | apply Ideal.span_le.mpr |
| 68 | rintro _ ⟨⟨E, z⟩, rfl⟩ |
| 69 | exact h E z.val z.property |
| 70 | change LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w |
| 71 | (LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n) ≤ q at hle |
| 72 | rw [LogarithmicIdeal.Construction.first_iteratedRelativeLogarithmicDifferentialIdeal, hbound] at hle |
| 73 | exact (inferInstance : q.IsPrime).ne_top (top_le_iff.mp hle) |
| 74 | obtain ⟨E, z, hz, hEz⟩ := hex |
| 75 | obtain ⟨i, hi, hiz⟩ := relative_logarithmic_derivative_detects_transverse_direction |
| 76 | B q hB E.val (fun j hj => E.property ⟨j, hj⟩) z hEz |
| 77 | exact ⟨z, i, hz, hH hz, hi, hiz⟩ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicTransverseEquation.Construction |