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.FramedBoundaryClearance |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.AdaptedEtaleFrame |
| 3 | |
| 4 | /-! # Center Pivot -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterPivot.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth boundary equation inside a framed center admits a nonvanishing center pivot. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {k R ι : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 15 | [Fintype ι] [DecidableEq ι] |
| 16 | |
| 17 | /-- At points of the center, differentiating a linear combination in a |
| 18 | dual center frame recovers its coefficient modulo the center prime. -/ |
| 19 | theorem dual_center_derivative_mod_ideal |
| 20 | (g : ι → R) (D : ι → Derivation k R R) |
| 21 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 22 | (q : Ideal R) (hg : ∀ i, g i ∈ q) (c : ι → R) (i : ι) : |
| 23 | D i (∑ j, c j * g j) - c i ∈ q := by |
| 24 | have hder : D i (∑ j, c j * g j) = c i + ∑ j, g j * D i (c j) := by |
| 25 | simp [map_sum, Derivation.leibniz, hD, smul_eq_mul, Finset.sum_add_distrib] |
| 26 | rw [hder, add_sub_cancel_left] |
| 27 | exact q.sum_mem (fun j _ => q.mul_mem_right _ (hg j)) |
| 28 | |
| 29 | /-- An equation in the center whose derivative is nonzero at the point |
| 30 | has a center coefficient and corresponding dual derivative both nonzero |
| 31 | there. These explicit coefficients support a local frame replacement. -/ |
| 32 | theorem exists_boundary_center_pivot |
| 33 | (g : ι → R) (D : ι → Derivation k R R) |
| 34 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 35 | (z : R) (hz : z ∈ Ideal.span (Set.range g)) |
| 36 | (E : Derivation k R R) (q : Ideal R) (hg : ∀ i, g i ∈ q) (hEz : E z ∉ q) : |
| 37 | ∃ (c : ι → R) (i : ι), (∑ j, c j * g j) = z ∧ c i ∉ q ∧ D i z ∉ q := by |
| 38 | obtain ⟨c, hc⟩ := Ideal.mem_span_range_iff_exists_fun.mp hz |
| 39 | obtain ⟨i, hi⟩ : ∃ i, c i ∉ q := by |
| 40 | by_contra! hcoeff |
| 41 | apply hEz |
| 42 | rw [← hc, map_sum] |
| 43 | apply q.sum_mem |
| 44 | intro j _ |
| 45 | rw [Derivation.leibniz] |
| 46 | change c j * E (g j) + g j * E (c j) ∈ q |
| 47 | exact q.add_mem (q.mul_mem_right _ (hcoeff j)) (q.mul_mem_right _ (hg j)) |
| 48 | refine ⟨c, i, hc, hi, ?_⟩ |
| 49 | have hmod := dual_center_derivative_mod_ideal g D hD q hg c i |
| 50 | rw [hc] at hmod |
| 51 | intro hDz |
| 52 | apply hi |
| 53 | have h := q.sub_mem hDz hmod |
| 54 | convert h using 1 |
| 55 | abel |
| 56 | |
| 57 | /-- If the detecting derivative annihilates already retained generators, |
| 58 | the pivot can be chosen outside their index set. Thus a later boundary |
| 59 | replacement need not disturb any boundary coordinate retained earlier. -/ |
| 60 | theorem exists_boundary_center_pivot_outside |
| 61 | (g : ι → R) (D : ι → Derivation k R R) |
| 62 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 63 | (z : R) (hz : z ∈ Ideal.span (Set.range g)) |
| 64 | (E : Derivation k R R) (q : Ideal R) (hg : ∀ i, g i ∈ q) (hEz : E z ∉ q) |
| 65 | (B : Finset ι) (hEB : ∀ i ∈ B, E (g i) = 0) : |
| 66 | ∃ (c : ι → R) (i : ι), i ∉ B ∧ (∑ j, c j * g j) = z ∧ c i ∉ q ∧ D i z ∉ q := by |
| 67 | obtain ⟨c, hc⟩ := Ideal.mem_span_range_iff_exists_fun.mp hz |
| 68 | obtain ⟨i, hiB, hi⟩ : ∃ i ∉ B, c i ∉ q := by |
| 69 | by_contra! hcoeff |
| 70 | apply hEz |
| 71 | rw [← hc, map_sum] |
| 72 | apply q.sum_mem |
| 73 | intro j _ |
| 74 | rw [Derivation.leibniz] |
| 75 | change c j * E (g j) + g j * E (c j) ∈ q |
| 76 | apply q.add_mem |
| 77 | · by_cases hjB : j ∈ B |
| 78 | · rw [hEB j hjB, mul_zero] |
| 79 | exact q.zero_mem |
| 80 | · exact q.mul_mem_right _ (hcoeff j hjB) |
| 81 | · exact q.mul_mem_right _ (hg j) |
| 82 | refine ⟨c, i, hiB, hc, hi, ?_⟩ |
| 83 | have hmod := dual_center_derivative_mod_ideal g D hD q hg c i |
| 84 | rw [hc] at hmod |
| 85 | intro hDz |
| 86 | apply hi |
| 87 | have h := q.sub_mem hDz hmod |
| 88 | convert h using 1 |
| 89 | abel |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterPivot.Construction |