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.MixedBoundary.Equations |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.OptionalBoundaryLabels |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Mixed.CenterPartialLabels |
| 4 | |
| 5 | /-! # Partial Label Transform -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exact mixed transforms for partially retained labels and arbitrary unit factors. -/ |
| 12 | |
| 13 | universe u v t |
| 14 | |
| 15 | theorem PartialLabelTransform.Construction.blowupMixedBoundaryFamily_pullbackLabels |
| 16 | {R : Type u} [CommRing R] {ι : Type v} {κ : Type t} |
| 17 | (I : Ideal R) (a : I) (w : κ → R) (G : Finset κ) (hw : ∀ j ∈ G, w j ∈ I) |
| 18 | (r : ι → Option κ) (v u : ι → R) |
| 19 | (hv : ∀ j, v j = u j * (match r j with | none => 1 | some s => w s)) |
| 20 | (F : Finset ι) (hF : ∀ j, j ∈ F ↔ ∃ s ∈ G, r j = some s) |
| 21 | (hvI : ∀ j ∈ F, v j ∈ I) (j : Option ι) : |
| 22 | Equations.Construction.blowupMixedBoundaryFamily I a F v hvI j = |
| 23 | (match j with | none => 1 | some i => Blowup.Charts.Construction.blowupChartConstants I a (u i)) * |
| 24 | (match OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel r j with |
| 25 | | none => 1 | some s => Equations.Construction.blowupMixedBoundaryFamily I a G w hw s) := by |
| 26 | classical |
| 27 | cases j with |
| 28 | | none => exact (one_mul (Blowup.Charts.Construction.blowupChartConstants I a a.val)).symm |
| 29 | | some j => |
| 30 | cases hrj : r j with |
| 31 | | none => |
| 32 | have hj : j ∉ F := by simp only [hF j, hrj, reduceCtorEq, and_false, exists_false, not_false_eq_true] |
| 33 | have hvj : v j = u j := by simpa only [hrj, mul_one] using hv j |
| 34 | simp only [Equations.Construction.blowupMixedBoundaryFamily, dite_eq_right hj, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, |
| 35 | hrj, Option.map_none, hvj] |
| 36 | exact (mul_one (Blowup.Charts.Construction.blowupChartConstants I a (u j))).symm |
| 37 | | some s => |
| 38 | have hjmem : j ∈ F ↔ s ∈ G := by |
| 39 | simp only [hF j, hrj, Option.some.injEq] |
| 40 | constructor |
| 41 | · rintro ⟨s', hs', he⟩ |
| 42 | exact he.symm ▸ hs' |
| 43 | · intro hs |
| 44 | exact ⟨s, hs, rfl⟩ |
| 45 | have hvj : v j = u j * w s := by simpa only [hrj] using hv j |
| 46 | by_cases hs : s ∈ G |
| 47 | · have hj := hjmem.mpr hs |
| 48 | simp only [Equations.Construction.blowupMixedBoundaryFamily, dite_eq_left hj, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, |
| 49 | hrj, Option.map_some, dite_eq_left hs] |
| 50 | apply (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular I a).left |
| 51 | change Blowup.Charts.Construction.blowupChartConstants I a a.val * ExceptionalIdeal.Construction.blowupChartRatio I a ⟨v j, hvI j hj⟩ = |
| 52 | Blowup.Charts.Construction.blowupChartConstants I a a.val * |
| 53 | (Blowup.Charts.Construction.blowupChartConstants I a (u j) * ExceptionalIdeal.Construction.blowupChartRatio I a ⟨w s, hw s hs⟩) |
| 54 | rw [ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio] |
| 55 | change Blowup.Charts.Construction.blowupChartConstants I a (v j) = Blowup.Charts.Construction.blowupChartConstants I a a.val * |
| 56 | (Blowup.Charts.Construction.blowupChartConstants I a (u j) * ExceptionalIdeal.Construction.blowupChartRatio I a ⟨w s, hw s hs⟩) |
| 57 | rw [hvj, map_mul] |
| 58 | rw [mul_left_comm (Blowup.Charts.Construction.blowupChartConstants I a a.val), ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio] |
| 59 | · have hj : j ∉ F := fun h => hs (hjmem.mp h) |
| 60 | simp only [Equations.Construction.blowupMixedBoundaryFamily, dite_eq_right hj, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, |
| 61 | hrj, Option.map_some, dite_eq_right hs, hvj, map_mul] |
| 62 | |
| 63 | theorem CenterCharts.Construction.HasMixedBoundaryCenterCharts.pullbackLabels |
| 64 | {k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R] |
| 65 | {ι : Type v} {κ : Type t} {I : Ideal R} {w : κ → R} {G : Finset κ} |
| 66 | (h : CenterCharts.Construction.HasMixedBoundaryCenterCharts k R I w G) |
| 67 | (r : ι → Option κ) (hr : ∀ i j s, r i = some s → r j = some s → i = j) |
| 68 | (v u : ι → R) (hu : ∀ j, IsUnit (u j)) |
| 69 | (hv : ∀ j, v j = u j * (match r j with | none => 1 | some s => w s)) |
| 70 | (F : Finset ι) (hF : ∀ j, j ∈ F ↔ ∃ s ∈ G, r j = some s) : |
| 71 | CenterCharts.Construction.HasMixedBoundaryCenterCharts k R I v F := by |
| 72 | intro p hp |
| 73 | obtain ⟨C⟩ := h p hp |
| 74 | exact ⟨C.pullbackLabels r hr v u hu hv F hF⟩ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary |