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.ChartGeneratorComparison |
| 2 | import Mathlib.Tactic.Ring |
| 3 | |
| 4 | /-! # Divided Comparison Congruence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.DividedComparisonCongruence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Comparison maps remain congruent on blowup ratios after their coefficient differences are divided by the exceptional parameter. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | theorem blowupChart_congruence_of_divided_constants |
| 15 | {R : Type u} [CommRing R] {S : Type v} [CommRing S] (I : Ideal R) (a : I) |
| 16 | (f g : Blowup.Charts.Construction.blowupChart I a →+* S) (T : Ideal S) |
| 17 | (hregular : IsRegular (f (Blowup.Charts.Construction.blowupChartConstants I a a.val))) |
| 18 | (u : Sˣ) (hu : g (Blowup.Charts.Construction.blowupChartConstants I a a.val) = f (Blowup.Charts.Construction.blowupChartConstants I a a.val) * u) |
| 19 | (hdiff : ∀ r : R, ∃ d ∈ T, |
| 20 | g (Blowup.Charts.Construction.blowupChartConstants I a r) - f (Blowup.Charts.Construction.blowupChartConstants I a r) = f (Blowup.Charts.Construction.blowupChartConstants I a a.val) * d) : |
| 21 | ∀ x : Blowup.Charts.Construction.blowupChart I a, g x - f x ∈ T := by |
| 22 | let α := f (Blowup.Charts.Construction.blowupChartConstants I a a.val) |
| 23 | have huT : (u : S) - 1 ∈ T := by |
| 24 | obtain ⟨d, hd, he⟩ := hdiff a.val |
| 25 | have he' : (u : S) - 1 = d := by |
| 26 | apply hregular.left |
| 27 | change α * ((u : S) - 1) = α * d |
| 28 | calc |
| 29 | _ = g (Blowup.Charts.Construction.blowupChartConstants I a a.val) - f (Blowup.Charts.Construction.blowupChartConstants I a a.val) := by rw [hu]; dsimp [α]; ring |
| 30 | _ = _ := he |
| 31 | exact he' ▸ hd |
| 32 | have hratios (b : I) : g (ExceptionalIdeal.Construction.blowupChartRatio I a b) - f (ExceptionalIdeal.Construction.blowupChartRatio I a b) ∈ T := by |
| 33 | obtain ⟨d, hd, he⟩ := hdiff b.val |
| 34 | have hf := congrArg f (ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio I a b) |
| 35 | have hg := congrArg g (ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio I a b) |
| 36 | simp only [map_mul] at hf hg |
| 37 | have hv : (u : S) * g (ExceptionalIdeal.Construction.blowupChartRatio I a b) - f (ExceptionalIdeal.Construction.blowupChartRatio I a b) = d := by |
| 38 | apply hregular.left |
| 39 | change α * ((u : S) * g (ExceptionalIdeal.Construction.blowupChartRatio I a b) - f (ExceptionalIdeal.Construction.blowupChartRatio I a b)) = α * d |
| 40 | calc |
| 41 | _ = g (Blowup.Charts.Construction.blowupChartConstants I a a.val) * g (ExceptionalIdeal.Construction.blowupChartRatio I a b) - |
| 42 | f (Blowup.Charts.Construction.blowupChartConstants I a a.val) * f (ExceptionalIdeal.Construction.blowupChartRatio I a b) := by rw [hu]; dsimp [α]; ring |
| 43 | _ = _ := by rw [hf, hg, he] |
| 44 | have hm : (u : S) * (g (ExceptionalIdeal.Construction.blowupChartRatio I a b) - f (ExceptionalIdeal.Construction.blowupChartRatio I a b)) ∈ T := by |
| 45 | have he' : (u : S) * (g (ExceptionalIdeal.Construction.blowupChartRatio I a b) - f (ExceptionalIdeal.Construction.blowupChartRatio I a b)) = |
| 46 | d - ((u : S) - 1) * f (ExceptionalIdeal.Construction.blowupChartRatio I a b) := by rw [← hv]; ring |
| 47 | rw [he'] |
| 48 | exact T.sub_mem hd (T.mul_mem_right _ huT) |
| 49 | exact (Ideal.unit_mul_mem_iff_mem T u.isUnit).mp hm |
| 50 | let Q := Ideal.Quotient.mk T |
| 51 | have hq : Q.comp g = Q.comp f := by |
| 52 | apply Blowup.ChartGeneratorComparison.Construction.blowupChart_hom_ext_of_constants_ratios I a |
| 53 | · intro r |
| 54 | apply Ideal.Quotient.eq.mpr |
| 55 | obtain ⟨d, hd, he⟩ := hdiff r |
| 56 | rw [he] |
| 57 | exact T.mul_mem_left _ hd |
| 58 | · intro b |
| 59 | exact Ideal.Quotient.eq.mpr (hratios b) |
| 60 | intro x |
| 61 | exact Ideal.Quotient.eq.mp (RingHom.congr_fun hq x) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Resolution.Blowups.DividedComparisonCongruence.Construction |