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.EulerOrderCriterion |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.Derivation |
| 3 | |
| 4 | /-! # Mapped Euler Order Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.MappedEulerOrderCriterion.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Detecting order after formally étale extension using differential ideals on the source ring. -/ |
| 11 | |
| 12 | variable {A B ι : Type*} [CommRing A] [CommRing B] [Algebra A B] |
| 13 | [Algebra.FormallyEtale A B] [Algebra ℚ B] [Fintype ι] [DecidableEq ι] |
| 14 | |
| 15 | /-- Differential ideals on the source detect the order of the extended |
| 16 | ideal along the extended coordinate ideal. The ideal itself need not be |
| 17 | generated by polynomials in the coordinates. -/ |
| 18 | theorem mapped_coordinate_order_iff_differentialIdeal |
| 19 | (z : ι → A) (D : ι → Derivation ℤ A A) |
| 20 | (hD : ∀ i j, D i (z j) = if i = j then 1 else 0) (J : Ideal A) (b : ℕ) : |
| 21 | J.map (algebraMap A B) ≤ Ideal.span (Set.range (fun i => algebraMap A B (z i))) ^ (b + 1) ↔ |
| 22 | (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J b).map (algebraMap A B) ≤ |
| 23 | Ideal.span (Set.range (fun i => algebraMap A B (z i))) := by |
| 24 | let w : ι → B := fun i => algebraMap A B (z i) |
| 25 | let δ : ι → Derivation ℤ B B := fun i => Etale.Derivation.Construction.extendEtaleRingDerivation (S := B) (D i) |
| 26 | have hδ : ∀ i j, δ i (w j) = if i = j then 1 else 0 := by |
| 27 | intro i j |
| 28 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD] |
| 29 | split_ifs <;> simp |
| 30 | let M : Ideal B := Ideal.span (Set.range w) |
| 31 | let E := EulerOrderCriterion.Construction.coordinateEulerDerivation w δ |
| 32 | have hE : ∀ p, E p ∈ M := EulerOrderCriterion.Construction.coordinateEulerDerivation_mem_span w δ |
| 33 | have hM : ∀ p ∈ M, E p - p ∈ M ^ 2 := by |
| 34 | intro p hp |
| 35 | apply EulerOrderCriterion.Construction.euler_span_mod_square E (Set.range w) _ hE hp |
| 36 | rintro x ⟨i, rfl⟩ |
| 37 | exact EulerOrderCriterion.Construction.coordinateEulerDerivation_coordinate w δ hδ i |
| 38 | change J.map (algebraMap A B) ≤ M ^ (b + 1) ↔ |
| 39 | (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal J b).map (algebraMap A B) ≤ M |
| 40 | constructor |
| 41 | · intro h |
| 42 | apply (Etale.Derivation.Construction.iteratedDifferentialIdeal_map_le_of_etale (S := B) J b).trans |
| 43 | simpa only [pow_one] using DifferentialIdealTransform.Construction.iteratedDifferentialIdeal_le_pow M (J.map (algebraMap A B)) 1 b |
| 44 | (by simpa only [Nat.add_comm 1 b] using h) |
| 45 | · induction b generalizing J with |
| 46 | | zero => |
| 47 | intro h |
| 48 | simpa only [DifferentialIdealTransform.Construction.iteratedDifferentialIdeal, zero_add, pow_one] using h |
| 49 | | succ b ih => |
| 50 | intro h |
| 51 | have hfirst : (DifferentialIdealTransform.Construction.firstDifferentialIdeal J).map (algebraMap A B) ≤ M ^ (b + 1) := |
| 52 | ih (DifferentialIdealTransform.Construction.firstDifferentialIdeal J) h |
| 53 | rw [Ideal.map_le_iff_le_comap] |
| 54 | intro p hp |
| 55 | change algebraMap A B p ∈ M ^ (b + 1 + 1) |
| 56 | have hpM : algebraMap A B p ∈ M ^ (b + 1) := |
| 57 | hfirst (Ideal.mem_map_of_mem _ (DifferentialIdealTransform.Construction.le_firstDifferentialIdeal J hp)) |
| 58 | have hEp : E (algebraMap A B p) ∈ M ^ (b + 1 + 1) := by |
| 59 | rw [EulerOrderCriterion.Construction.coordinateEulerDerivation_apply] |
| 60 | apply Ideal.sum_mem |
| 61 | intro i _ |
| 62 | have hdp : δ i (algebraMap A B p) ∈ M ^ (b + 1) := by |
| 63 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 64 | exact hfirst (Ideal.mem_map_of_mem _ (DifferentialIdealTransform.Construction.derivation_mem_firstDifferentialIdeal J (D i) hp)) |
| 65 | rw [pow_succ'] |
| 66 | exact Ideal.mul_mem_mul (Ideal.subset_span ⟨i, rfl⟩) hdp |
| 67 | have hcong := EulerOrderCriterion.Construction.euler_ideal_power_congruence E M hE hM (b + 1) hpM |
| 68 | have hnp : (b + 1) • algebraMap A B p ∈ M ^ (b + 1 + 1) := by |
| 69 | simpa only [sub_sub_cancel] using (M ^ (b + 1 + 1)).sub_mem hEp hcong |
| 70 | obtain ⟨u, hu⟩ := DifferentialCoefficientOrder.Construction.natCast_isUnit_of_rationalAlgebra (A := B) (b + 1) (by omega) |
| 71 | rw [nsmul_eq_mul, ← hu] at hnp |
| 72 | have hmul := (M ^ (b + 1 + 1)).mul_mem_left (u⁻¹ : Bˣ) hnp |
| 73 | simpa only [← mul_assoc, Units.inv_mul, one_mul] using hmul |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups.MappedEulerOrderCriterion.Construction |