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.Blowup.ChartOverlap |
| 2 | import Mathlib.RingTheory.Ideal.Span |
| 3 | |
| 4 | /-! # Chart Overlap Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.ChartOverlapCover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every finite center frame supplies a common open refinement of any blowup chart. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 15 | |
| 16 | /-- Ratios of any finite generating family generate the unit ideal on every chart. -/ |
| 17 | theorem blowupChartRatio_span_top {ι : Type u} [Fintype ι] |
| 18 | (g : ι → I) (hgen : Ideal.span (Set.range (fun j => (g j).val)) = I) (a : I) : |
| 19 | Ideal.span (Set.range (fun j => ExceptionalIdeal.Construction.blowupChartRatio I a (g j))) = ⊤ := by |
| 20 | have ha : a.val ∈ Ideal.span (Set.range (fun j => (g j).val)) := by |
| 21 | rw [hgen] |
| 22 | exact a.property |
| 23 | obtain ⟨c, hc⟩ := Ideal.mem_span_range_iff_exists_fun.mp ha |
| 24 | have hone : ∑ j, Charts.Construction.blowupChartConstants I a (c j) * ExceptionalIdeal.Construction.blowupChartRatio I a (g j) = 1 := by |
| 25 | apply (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a).left |
| 26 | calc |
| 27 | Charts.Construction.blowupChartConstants I a a.val * |
| 28 | (∑ j, Charts.Construction.blowupChartConstants I a (c j) * ExceptionalIdeal.Construction.blowupChartRatio I a (g j)) = |
| 29 | ∑ j, Charts.Construction.blowupChartConstants I a (c j) * |
| 30 | (Charts.Construction.blowupChartConstants I a a.val * ExceptionalIdeal.Construction.blowupChartRatio I a (g j)) := by |
| 31 | exact (Finset.mul_sum Finset.univ |
| 32 | (fun j => Charts.Construction.blowupChartConstants I a (c j) * ExceptionalIdeal.Construction.blowupChartRatio I a (g j)) |
| 33 | (Charts.Construction.blowupChartConstants I a a.val)).trans |
| 34 | (Finset.sum_congr rfl (fun j _ => by ring)) |
| 35 | _ = ∑ j, Charts.Construction.blowupChartConstants I a (c j * (g j).val) := by |
| 36 | simp only [ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio, map_mul] |
| 37 | _ = Charts.Construction.blowupChartConstants I a a.val * 1 := by |
| 38 | rw [← map_sum, hc, mul_one (Charts.Construction.blowupChartConstants I a a.val)] |
| 39 | rw [Ideal.eq_top_iff_one, ← hone] |
| 40 | apply Ideal.sum_mem |
| 41 | intro j _ |
| 42 | exact Ideal.mul_mem_left _ _ (Ideal.subset_span ⟨j, rfl⟩) |
| 43 | |
| 44 | /-- A point where `b/a` is invertible lifts to the actual homogeneous overlap. -/ |
| 45 | theorem exists_blowupChartOverlap_prime (a b : I) (p : PrimeSpectrum (Charts.Construction.blowupChart I a)) |
| 46 | (hb : ExceptionalIdeal.Construction.blowupChartRatio I a b ∉ p.asIdeal) : |
| 47 | ∃ q : PrimeSpectrum (ChartOverlap.Construction.blowupChartOverlap I a b), |
| 48 | PrimeSpectrum.comap (ChartOverlap.Construction.blowupChartOverlapLeft I a b) q = p := by |
| 49 | let := (ChartOverlap.Construction.blowupChartOverlapLeft I a b).toAlgebra |
| 50 | let := ChartOverlap.Construction.blowupChartOverlapLeft_isLocalization I a b |
| 51 | have hdis : Disjoint (Submonoid.powers (ExceptionalIdeal.Construction.blowupChartRatio I a b) : Set (Charts.Construction.blowupChart I a)) |
| 52 | p.asIdeal := (Ideal.disjoint_powers_iff_notMem_of_isPrime _).mpr hb |
| 53 | have hQ := IsLocalization.isPrime_of_isPrime_disjoint |
| 54 | (Submonoid.powers (ExceptionalIdeal.Construction.blowupChartRatio I a b)) (ChartOverlap.Construction.blowupChartOverlap I a b) |
| 55 | p.asIdeal inferInstance hdis |
| 56 | refine ⟨⟨p.asIdeal.map (ChartOverlap.Construction.blowupChartOverlapLeft I a b), hQ⟩, ?_⟩ |
| 57 | apply PrimeSpectrum.ext |
| 58 | exact IsLocalization.under_map_of_isPrime_disjoint |
| 59 | (Submonoid.powers (ExceptionalIdeal.Construction.blowupChartRatio I a b)) (ChartOverlap.Construction.blowupChartOverlap I a b) |
| 60 | inferInstance hdis |
| 61 | |
| 62 | /-- Replacing the finite generating family loses no points: the actual |
| 63 | overlaps with the replacement charts jointly cover each original chart. -/ |
| 64 | theorem blowupChartOverlap_family_covers {ι : Type u} [Fintype ι] |
| 65 | (g : ι → I) (hgen : Ideal.span (Set.range (fun j => (g j).val)) = I) |
| 66 | (a : I) (p : PrimeSpectrum (Charts.Construction.blowupChart I a)) : |
| 67 | ∃ j, ∃ q : PrimeSpectrum (ChartOverlap.Construction.blowupChartOverlap I a (g j)), |
| 68 | PrimeSpectrum.comap (ChartOverlap.Construction.blowupChartOverlapLeft I a (g j)) q = p := by |
| 69 | have hex : ∃ j, ExceptionalIdeal.Construction.blowupChartRatio I a (g j) ∉ p.asIdeal := by |
| 70 | by_contra! h |
| 71 | have hle : Ideal.span (Set.range (fun j => ExceptionalIdeal.Construction.blowupChartRatio I a (g j))) ≤ p.asIdeal := by |
| 72 | apply Ideal.span_le.mpr |
| 73 | rintro _ ⟨j, rfl⟩ |
| 74 | exact h j |
| 75 | rw [blowupChartRatio_span_top I g hgen a] at hle |
| 76 | exact p.isPrime.ne_top (top_le_iff.mp hle) |
| 77 | obtain ⟨j, hj⟩ := hex |
| 78 | obtain ⟨q, hq⟩ := exists_blowupChartOverlap_prime I a (g j) p hj |
| 79 | exact ⟨j, q, hq⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.ChartOverlapCover.Construction |