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.PolynomialBlowupChart |
| 2 | |
| 3 | /-! # Polynomial Transform Ideals -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialTransformIdeals.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient systems and controlled ideals on actual polynomial blowup charts. -/ |
| 10 | |
| 11 | open _root_.Polynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 16 | |
| 17 | /-- Principal ideal quotients commute with ring isomorphisms. -/ |
| 18 | theorem map_colon_principal_equiv (e : R ≃+* S) (J : Ideal R) (c : R) : |
| 19 | (J.colon (Ideal.span {c})).map e.toRingHom = |
| 20 | (J.map e.toRingHom).colon (Ideal.span {e c}) := by |
| 21 | ext y |
| 22 | have he (L : Ideal R) : L.map e.toRingHom = L.comap e.symm := Ideal.map_comap_of_equiv e |
| 23 | simp only [he, Ideal.mem_comap, Ideal.mem_colon_span_singleton, |
| 24 | map_mul, RingEquiv.symm_apply_apply] |
| 25 | |
| 26 | /-- An ideal map is generated by the images of its sections. -/ |
| 27 | theorem ideal_map_eq_span_range (J : Ideal R) (φ : R →+* S) : |
| 28 | J.map φ = Ideal.span (Set.range (fun p : J => φ p.val)) := by |
| 29 | apply le_antisymm |
| 30 | · rw [Ideal.map_le_iff_le_comap] |
| 31 | intro p hp |
| 32 | exact Ideal.subset_span ⟨⟨p, hp⟩, rfl⟩ |
| 33 | · apply Ideal.span_le.mpr |
| 34 | rintro y ⟨p, rfl⟩ |
| 35 | exact Ideal.mem_map_of_mem φ p.property |
| 36 | |
| 37 | /-- A regular common factor can be divided from all generators of an |
| 38 | extended ideal, giving generators of its ideal quotient. -/ |
| 39 | theorem ideal_colon_eq_span_divisions (J : Ideal R) (φ : R →+* S) (c : S) |
| 40 | (hc : IsRegular c) (q : J → S) (hq : ∀ p, φ p.val = c * q p) : |
| 41 | (J.map φ).colon (Ideal.span {c}) = Ideal.span (Set.range q) := by |
| 42 | rw [ideal_map_eq_span_range] |
| 43 | have he : (fun p : J => φ p.val) = fun p => c * q p := funext hq |
| 44 | rw [he, ResidualCoefficientTransform.Construction.span_range_mul_left, ResidualCoefficientTransform.Construction.colon_principal_mul_of_regular _ _ hc] |
| 45 | |
| 46 | /-- The `j`th coefficient ideal of all sections of a polynomial ideal. -/ |
| 47 | def polynomialCoefficientIdeal (J : Ideal R[X]) (j : ℕ) : Ideal R := |
| 48 | Ideal.span (Set.range (fun p : J => p.val.coeff j)) |
| 49 | |
| 50 | /-- Order of an ideal generated by any family is detected coefficient by |
| 51 | coefficient, with the respective exponents. -/ |
| 52 | theorem span_polynomials_le_centerPower_iff {ι : Type*} |
| 53 | (q : ι → R[X]) (K : Ideal R) (b : ℕ) : |
| 54 | Ideal.span (Set.range q) ≤ Coefficient.Filtration.Construction.polynomialCenterIdeal K ^ b ↔ |
| 55 | ∀ j < b, Ideal.span (Set.range (fun p => (q p).coeff j)) ≤ K ^ (b - j) := by |
| 56 | constructor |
| 57 | · intro h j _ |
| 58 | apply Ideal.span_le.mpr |
| 59 | rintro c ⟨p, rfl⟩ |
| 60 | exact (Coefficient.Filtration.Construction.polynomial_mem_centerPower_iff K b (q p)).mp (h (Ideal.subset_span ⟨p, rfl⟩)) j |
| 61 | · intro h |
| 62 | apply Ideal.span_le.mpr |
| 63 | rintro f ⟨p, rfl⟩ |
| 64 | apply (Coefficient.Filtration.Construction.polynomial_mem_centerPower_iff K b (q p)).mpr |
| 65 | intro j |
| 66 | by_cases hj : j < b |
| 67 | · exact h j hj (Ideal.subset_span ⟨p, rfl⟩) |
| 68 | · simp only [Nat.sub_eq_zero_of_le (Nat.le_of_not_gt hj), pow_zero, Ideal.one_eq_top] |
| 69 | trivial |
| 70 | |
| 71 | variable (I : Ideal R) (J : Ideal R[X]) (a : I) (b : ℕ) |
| 72 | variable (hJ : J ≤ Coefficient.Filtration.Construction.polynomialCenterIdeal I ^ b) |
| 73 | |
| 74 | /-- Divide each original section by the required exceptional power. -/ |
| 75 | def polynomialChartTransformSection (p : J) : (Blowup.Charts.Construction.blowupChart I a)[X] := |
| 76 | Classical.choose (PolynomialControlledTransform.Construction.blowupChart_existsUnique_polynomialControlledTransform I a p.val b |
| 77 | (hJ p.property)).exists |
| 78 | |
| 79 | theorem polynomialChartTransformSection_spec (p : J) : |
| 80 | PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val) p.val = |
| 81 | C ((Blowup.Charts.Construction.blowupChartConstants I a a.val) ^ b) * polynomialChartTransformSection I J a b hJ p := |
| 82 | Classical.choose_spec (PolynomialControlledTransform.Construction.blowupChart_existsUnique_polynomialControlledTransform I a p.val b |
| 83 | (hJ p.property)).exists |
| 84 | |
| 85 | /-- In the actual chart identification, the controlled transform is exactly |
| 86 | the ideal generated by the divided sections. -/ |
| 87 | theorem polynomialBlowup_controlledIdeal_eq : |
| 88 | (ControlledTransform.Construction.blowupControlledTransform (Coefficient.Filtration.Construction.polynomialCenterIdeal I) J b (PolynomialBlowupChart.Construction.polynomialCenterElement I a)).map |
| 89 | (PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a).toRingHom = |
| 90 | Ideal.span (Set.range (polynomialChartTransformSection I J a b hJ)) := by |
| 91 | unfold ControlledTransform.Construction.blowupControlledTransform |
| 92 | have hcolon := map_colon_principal_equiv (PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a) |
| 93 | (J.map (Blowup.Charts.Construction.blowupChartConstants (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (PolynomialBlowupChart.Construction.polynomialCenterElement I a))) |
| 94 | (Blowup.Charts.Construction.blowupChartConstants (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (PolynomialBlowupChart.Construction.polynomialCenterElement I a) |
| 95 | (PolynomialBlowupChart.Construction.polynomialCenterElement I a).val ^ b) |
| 96 | rw [hcolon, Ideal.map_map] |
| 97 | have hbase : (PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a).toRingHom.comp |
| 98 | (Blowup.Charts.Construction.blowupChartConstants (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (PolynomialBlowupChart.Construction.polynomialCenterElement I a)) = |
| 99 | PolynomialControlledTransform.Construction.scaledPolynomialMap (Blowup.Charts.Construction.blowupChartConstants I a) (Blowup.Charts.Construction.blowupChartConstants I a a.val) := by |
| 100 | apply RingHom.ext |
| 101 | intro p |
| 102 | exact PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv_base I a p |
| 103 | have hparam : PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a |
| 104 | (Blowup.Charts.Construction.blowupChartConstants (Coefficient.Filtration.Construction.polynomialCenterIdeal I) (PolynomialBlowupChart.Construction.polynomialCenterElement I a) |
| 105 | (PolynomialBlowupChart.Construction.polynomialCenterElement I a).val ^ b) = C ((Blowup.Charts.Construction.blowupChartConstants I a a.val) ^ b) := by |
| 106 | rw [map_pow (PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a)] |
| 107 | change (PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a (PolynomialBlowupChart.Construction.polynomialBlowupBase I a (C a.val))) ^ b = _ |
| 108 | rw [PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv_base, map_C, C_comp, |
| 109 | map_pow (C : Blowup.Charts.Construction.blowupChart I a →+* (Blowup.Charts.Construction.blowupChart I a)[X])] |
| 110 | rw [hbase, hparam] |
| 111 | exact ideal_colon_eq_span_divisions J _ _ |
| 112 | (PolynomialControlledTransform.Construction.polynomial_C_regular _ ((ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a).pow b)) |
| 113 | (polynomialChartTransformSection I J a b hJ) |
| 114 | (polynomialChartTransformSection_spec I J a b hJ) |
| 115 | |
| 116 | /-- Each coefficient system transforms with its own control exponent `b-j`. -/ |
| 117 | theorem polynomialBlowup_controlledCoefficient_eq (j : ℕ) (hj : j ≤ b) : |
| 118 | ControlledTransform.Construction.blowupControlledTransform I (polynomialCoefficientIdeal J j) (b - j) a = |
| 119 | Ideal.span (Set.range (fun p => (polynomialChartTransformSection I J a b hJ p).coeff j)) := |
| 120 | ResidualCoefficientTransform.Construction.coefficientIdeal_controlledTransform (Blowup.Charts.Construction.blowupChartConstants I a) (fun p : J => p.val) |
| 121 | (polynomialChartTransformSection I J a b hJ) (Blowup.Charts.Construction.blowupChartConstants I a a.val) b j |
| 122 | (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a) hj |
| 123 | (polynomialChartTransformSection_spec I J a b hJ) |
| 124 | |
| 125 | include hJ in |
| 126 | /-- On the distinguished hypersurface in an actual blowup chart, the order |
| 127 | of the controlled ideal is detected by the controlled coefficient system. -/ |
| 128 | theorem polynomialBlowup_controlled_order_iff (K : Ideal (Blowup.Charts.Construction.blowupChart I a)) : |
| 129 | (ControlledTransform.Construction.blowupControlledTransform (Coefficient.Filtration.Construction.polynomialCenterIdeal I) J b (PolynomialBlowupChart.Construction.polynomialCenterElement I a)).map |
| 130 | (PolynomialBlowupChart.Construction.polynomialBlowupChartEquiv I a).toRingHom ≤ Coefficient.Filtration.Construction.polynomialCenterIdeal K ^ b ↔ |
| 131 | ∀ j < b, ControlledTransform.Construction.blowupControlledTransform I (polynomialCoefficientIdeal J j) (b - j) a ≤ |
| 132 | K ^ (b - j) := by |
| 133 | rw [polynomialBlowup_controlledIdeal_eq I J a b hJ, span_polynomials_le_centerPower_iff] |
| 134 | constructor |
| 135 | · intro h j hj |
| 136 | rw [polynomialBlowup_controlledCoefficient_eq I J a b hJ j (Nat.le_of_lt hj)] |
| 137 | exact h j hj |
| 138 | · intro h j hj |
| 139 | rw [← polynomialBlowup_controlledCoefficient_eq I J a b hJ j (Nat.le_of_lt hj)] |
| 140 | exact h j hj |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.Resolution.Blowups.PolynomialTransformIdeals.Construction |