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.Ideal.Order |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ResidualCoefficientTransform |
| 3 | |
| 4 | /-! # Factor Extraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorExtraction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite extraction of boundary powers from a nonzero local ideal. -/ |
| 11 | |
| 12 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 13 | |
| 14 | /-- Extract the largest power of one proper principal boundary ideal. |
| 15 | The residual ideal grows, stays nonzero, and is no longer divisible by that equation. -/ |
| 16 | theorem exists_boundary_power_factor (J : Ideal R) (hJ : J ≠ ⊥) (z : R) |
| 17 | (hz : Ideal.span {z} ≠ ⊤) : |
| 18 | ∃ (e : ℕ) (L : Ideal R), J = Ideal.span {z ^ e} * L ∧ |
| 19 | J ≤ L ∧ L ≠ ⊥ ∧ ¬ L ≤ Ideal.span {z} := by |
| 20 | obtain ⟨e, he, he1⟩ := Blowups.Ideal.Order.Construction.exists_idealAdicOrder (Ideal.span {z}) J hz hJ |
| 21 | let L := J.colon (Ideal.span {z ^ e}) |
| 22 | have hfactor : J = Ideal.span {z ^ e} * L := |
| 23 | (ControlledTransform.Construction.principal_mul_colon_of_le J (z ^ e) (by simpa only [Ideal.span_singleton_pow] using he)).symm |
| 24 | have hJL : J ≤ L := by |
| 25 | rw [hfactor] |
| 26 | exact Ideal.mul_le_right |
| 27 | refine ⟨e, L, hfactor, hJL, ?_, ?_⟩ |
| 28 | · intro hL |
| 29 | exact hJ (bot_unique (hL ▸ hJL)) |
| 30 | · intro hL |
| 31 | apply he1 |
| 32 | calc |
| 33 | J = Ideal.span {z ^ e} * L := hfactor |
| 34 | _ ≤ Ideal.span {z ^ e} * Ideal.span {z} := Ideal.mul_mono le_rfl hL |
| 35 | _ = Ideal.span {z} ^ (e + 1) := by rw [pow_succ, Ideal.span_singleton_pow] |
| 36 | |
| 37 | variable {ι : Type*} [DecidableEq ι] |
| 38 | |
| 39 | /-- A finite family of proper boundary equations can be factored from an |
| 40 | arbitrary nonzero local ideal. The remaining ideal is divisible by none of |
| 41 | those equations. No canonical ordering or uniqueness assertion is required. -/ |
| 42 | theorem exists_finite_boundary_factorization (s : Finset ι) (z : ι → R) |
| 43 | (hz : ∀ i ∈ s, Ideal.span {z i} ≠ ⊤) (J : Ideal R) (hJ : J ≠ ⊥) : |
| 44 | ∃ (a : ι → ℕ) (L : Ideal R), |
| 45 | (∀ i ∉ s, a i = 0) ∧ J = Ideal.span {∏ i ∈ s, z i ^ a i} * L ∧ |
| 46 | J ≤ L ∧ L ≠ ⊥ ∧ ∀ i ∈ s, ¬ L ≤ Ideal.span {z i} := by |
| 47 | classical |
| 48 | induction s using Finset.induction_on generalizing J with |
| 49 | | empty => |
| 50 | refine ⟨fun _ => 0, J, ?_, ?_, le_rfl, hJ, ?_⟩ |
| 51 | · intro i _ |
| 52 | rfl |
| 53 | · rw [Finset.prod_empty, Ideal.span_singleton_one, Ideal.top_mul] |
| 54 | · intro i hi |
| 55 | exact False.elim (Finset.notMem_empty i hi) |
| 56 | | @insert i s his ih => |
| 57 | obtain ⟨e, U, hJU, hJleU, hU, hUi⟩ := exists_boundary_power_factor J hJ (z i) |
| 58 | (hz i (Finset.mem_insert_self i s)) |
| 59 | obtain ⟨a, L, ha, hUL, hUleL, hL, hLs⟩ := ih |
| 60 | (fun j hj => hz j (Finset.mem_insert_of_mem hj)) U hU |
| 61 | refine ⟨Function.update a i e, L, ?_, ?_, hJleU.trans hUleL, hL, ?_⟩ |
| 62 | · intro j hj |
| 63 | have hji : j ≠ i := by |
| 64 | intro heq |
| 65 | subst j |
| 66 | exact hj (Finset.mem_insert_self i s) |
| 67 | rw [Function.update_of_ne hji] |
| 68 | exact ha j (fun hjs => hj (Finset.mem_insert_of_mem hjs)) |
| 69 | · have hprod : (∏ j ∈ s, z j ^ Function.update a i e j) = ∏ j ∈ s, z j ^ a j := by |
| 70 | apply Finset.prod_congr rfl |
| 71 | intro j hj |
| 72 | rw [Function.update_of_ne (by |
| 73 | intro hji |
| 74 | subst j |
| 75 | exact his hj)] |
| 76 | rw [Finset.prod_insert his, Function.update_self, hprod, |
| 77 | hJU, hUL, ← mul_assoc, Ideal.span_singleton_mul_span_singleton] |
| 78 | · intro j hj |
| 79 | rcases Finset.mem_insert.mp hj with hji | hjs |
| 80 | · subst j |
| 81 | exact fun h => hUi (hUleL.trans h) |
| 82 | · exact hLs j hjs |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorExtraction.Construction |