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.Boundary.FactorExtraction |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalContainmentNeighborhood |
| 3 | |
| 4 | /-! # Extraction Order -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.ExtractionOrder.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Boundary factors extracted at a point give actual factorizations on affine neighborhoods. -/ |
| 13 | |
| 14 | variable {R ι : Type*} [CommRing R] [IsNoetherianRing R] [DecidableEq ι] |
| 15 | |
| 16 | /-- Extract a finite boundary monomial at a prime and spread the resulting |
| 17 | factorization to an actual principal affine open through that prime. The |
| 18 | residual ideal is nonzero at the point and has no remaining boundary factor |
| 19 | there. All boundary equations and exponents come from the original affine ring. -/ |
| 20 | theorem exists_boundary_factor_neighborhood (s : Finset ι) (z : ι → R) |
| 21 | (J q : Ideal R) [q.IsPrime] (hz : ∀ i ∈ s, z i ∈ q) |
| 22 | (hJ : J.map (algebraMap R (Localization.AtPrime q)) ≠ ⊥) : |
| 23 | ∃ (a : ι → ℕ) (L : Ideal R) (f : R), f ∉ q ∧ |
| 24 | (∀ i ∉ s, a i = 0) ∧ J ≤ L ∧ |
| 25 | L.map (algebraMap R (Localization.AtPrime q)) ≠ ⊥ ∧ |
| 26 | (∀ i ∈ s, ¬ L.map (algebraMap R (Localization.AtPrime q)) ≤ |
| 27 | Ideal.span {algebraMap R (Localization.AtPrime q) (z i)}) ∧ |
| 28 | J.map (algebraMap R (Localization.AtPrime q)) = |
| 29 | Ideal.span {algebraMap R (Localization.AtPrime q) (∏ i ∈ s, z i ^ a i)} * |
| 30 | L.map (algebraMap R (Localization.AtPrime q)) ∧ |
| 31 | J.map (algebraMap R (Localization.Away f)) = |
| 32 | Ideal.span {algebraMap R (Localization.Away f) (∏ i ∈ s, z i ^ a i)} * |
| 33 | L.map (algebraMap R (Localization.Away f)) := by |
| 34 | let T := Localization.AtPrime q |
| 35 | let α := algebraMap R T |
| 36 | have hzproper : ∀ i ∈ s, Ideal.span {α (z i)} ≠ ⊤ := by |
| 37 | intro i hi |
| 38 | have himem : α (z i) ∈ IsLocalRing.maximalIdeal T := by |
| 39 | change z i ∈ (IsLocalRing.maximalIdeal T).under R |
| 40 | rw [IsLocalization.AtPrime.under_maximalIdeal T q] |
| 41 | exact hz i hi |
| 42 | have hle := (Ideal.span_singleton_le_iff_mem (IsLocalRing.maximalIdeal T)).mpr himem |
| 43 | intro ht |
| 44 | rw [ht] at hle |
| 45 | exact (IsLocalRing.maximalIdeal.isMaximal T).ne_top (top_le_iff.mp hle) |
| 46 | obtain ⟨a, U, ha, hfactor, hJU, hU, hUbound⟩ := |
| 47 | FactorExtraction.Construction.exists_finite_boundary_factorization s (fun i => α (z i)) hzproper (J.map α) hJ |
| 48 | let L := U.under R |
| 49 | have hLmap : L.map α = U := IsLocalization.map_under q.primeCompl T U |
| 50 | let c := ∏ i ∈ s, z i ^ a i |
| 51 | have heq : J.map α = (Ideal.span {c} * L).map α := by |
| 52 | rw [Ideal.map_mul, Ideal.map_span, Set.image_singleton, hLmap] |
| 53 | simpa only [c, map_prod, map_pow] using hfactor |
| 54 | obtain ⟨f, hf, hfeq⟩ := LocalContainmentNeighborhood.Construction.exists_neighborhood_ideal_equality J (Ideal.span {c} * L) q |
| 55 | (IsNoetherian.noetherian _) (IsNoetherian.noetherian _) heq |
| 56 | refine ⟨a, L, f, hf, ha, ?_, ?_, ?_, ?_, ?_⟩ |
| 57 | · intro x hx |
| 58 | exact hJU (Ideal.mem_map_of_mem α hx) |
| 59 | · rwa [hLmap] |
| 60 | · intro i hi |
| 61 | rw [hLmap] |
| 62 | exact hUbound i hi |
| 63 | · rw [Ideal.map_mul, Ideal.map_span, Set.image_singleton] at heq |
| 64 | exact heq |
| 65 | · rw [Ideal.map_mul, Ideal.map_span, Set.image_singleton] at hfeq |
| 66 | exact hfeq |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! Removing positive boundary powers strictly lowers residual order at points on those boundaries. -/ |
| 71 | |
| 72 | variable {R ι : Type*} [CommRing R] |
| 73 | |
| 74 | /-- The boundary monomial has at least the sum of its exponents as order |
| 75 | at every point lying on all of the chosen boundary equations. -/ |
| 76 | theorem finite_boundary_product_mem_power (s : Finset ι) (z : ι → R) (a : ι → ℕ) |
| 77 | (q : Ideal R) (hz : ∀ i ∈ s, z i ∈ q) : |
| 78 | (∏ i ∈ s, z i ^ a i) ∈ q ^ (∑ i ∈ s, a i) := by |
| 79 | rw [← Finset.prod_pow_eq_pow_sum] |
| 80 | apply Ideal.prod_mem_prod |
| 81 | intro i hi |
| 82 | exact Ideal.pow_mem_pow (hz i hi) (a i) |
| 83 | |
| 84 | /-- Removing any positive total boundary power gives strict residual-order |
| 85 | decrease relative to a bound on the original ideal. -/ |
| 86 | theorem boundary_factor_removal_lowers_order (s : Finset ι) (z : ι → R) (a : ι → ℕ) |
| 87 | (J L q : Ideal R) (hz : ∀ i ∈ s, z i ∈ q) |
| 88 | (hfactor : J = Ideal.span {∏ i ∈ s, z i ^ a i} * L) |
| 89 | (hpos : 0 < ∑ i ∈ s, a i) (m : ℕ) (hbound : ¬ J ≤ q ^ (m + 1)) : |
| 90 | ¬ L ≤ q ^ m := by |
| 91 | intro hL |
| 92 | apply hbound |
| 93 | have hM : Ideal.span {∏ i ∈ s, z i ^ a i} ≤ q ^ (∑ i ∈ s, a i) := |
| 94 | (Ideal.span_singleton_le_iff_mem _).mpr (finite_boundary_product_mem_power s z a q hz) |
| 95 | rw [hfactor] |
| 96 | have hprod := Ideal.mul_mono hM hL |
| 97 | rw [← pow_add] at hprod |
| 98 | exact hprod.trans (Ideal.pow_le_pow_right (by omega)) |
| 99 | |
| 100 | /-- Even when all boundary exponents vanish, removing a boundary factor |
| 101 | cannot increase order, since the residual ideal contains the original ideal. -/ |
| 102 | theorem boundary_factor_removal_preserves_order_bound (J L : Ideal R) (c : R) |
| 103 | (hfactor : J = Ideal.span {c} * L) (q : Ideal R) (m : ℕ) |
| 104 | (hbound : ¬ J ≤ q ^ (m + 1)) : ¬ L ≤ q ^ (m + 1) := by |
| 105 | intro hL |
| 106 | apply hbound |
| 107 | rw [hfactor] |
| 108 | exact Ideal.mul_le_right.trans hL |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.ExtractionOrder.Construction |