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.Global.CompanionTransform |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalSurface.BoundedSequence |
| 3 | |
| 4 | /-! # Companion Sequence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual global companion phases with separate residual and exceptional controls. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | inductive CompanionSequence.Construction.SmoothGlobalCompanionSequence (m b : ℕ) : |
| 15 | (X : Scheme) → (X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → X.IdealSheafData → X.IdealSheafData → Type 1 |
| 16 | | terminal {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {M J : X.IdealSheafData} |
| 17 | (hbound : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J m = ⊤) |
| 18 | (hdrop : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (M * J) (b - 1) ⊔ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (m - 1) = ⊤) : |
| 19 | SmoothGlobalCompanionSequence m b X f M J |
| 20 | | blowup {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 21 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {M J : X.IdealSheafData} |
| 22 | (hbound : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J m = ⊤) |
| 23 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (hM : M ≤ I ^ (b - m)) (hJ : J ≤ I ^ m) |
| 24 | (hs : Smooth (I.subschemeι ≫ f)) (hbl : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) |
| 25 | (tail : SmoothGlobalCompanionSequence m b (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 26 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I M hI (b - m)) (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI m)) : |
| 27 | SmoothGlobalCompanionSequence m b X f M J |
| 28 | |
| 29 | def MonomialSequence.Construction.SmoothFixedControlSequence.toCompanion |
| 30 | {m b : ℕ} (hm : 0 < m) (hmb : m < b) |
| 31 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {K : X.IdealSheafData} |
| 32 | (T : MonomialSequence.Construction.SmoothFixedControlSequence (m * (b - m)) X f K) |
| 33 | (J M : X.IdealSheafData) (hK : K = CompanionIdeal.Construction.globalCompanionIdeal J M m b) |
| 34 | (hbound : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J m = ⊤) : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J := by |
| 35 | revert hK hbound |
| 36 | revert J M |
| 37 | revert ‹Smooth f› |
| 38 | induction T with |
| 39 | | @terminal Y g hs L ht => |
| 40 | intro _ J M hK hb |
| 41 | have hc : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g (CompanionIdeal.Construction.globalCompanionIdeal J M m b) (m * (b - m) - 1) = ⊤ := hK ▸ ht |
| 42 | exact .terminal hb (CompanionIdeal.Construction.globalCompanionIdeal_terminal_residual_drop g J M m b hm hmb hb hc) |
| 43 | | @blowup Y hY hN g L I hI hpos hp hs hbl tail ih => |
| 44 | intro hg J M hK hb |
| 45 | let : Smooth g := hg |
| 46 | let : Smooth (I.subschemeι ≫ g) := hs |
| 47 | let π := GlobalBlowup.Data.Construction.globalBlowupToBase I hI |
| 48 | let : Smooth (π ≫ g) := hbl |
| 49 | obtain ⟨hJ, hM, _⟩ := CompanionIdeal.Construction.globalCompanionIdeal_smooth_center_permissible g I J M m b hm hmb (hK ▸ hp) |
| 50 | have hnew : GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I L hI (m * (b - m)) = |
| 51 | CompanionIdeal.Construction.globalCompanionIdeal (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI m) |
| 52 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I M hI (b - m)) m b := by |
| 53 | rw [hK] |
| 54 | exact CompanionTransform.Construction.globalBlowup_companion_transform I J M hI m b hJ hM |
| 55 | have hb' := OrderBoundPreservation.Construction.globalBlowup_preserves_differential_order_bound g I J hI m hJ hb |
| 56 | exact .blowup hb I hI hM hJ hs hbl |
| 57 | (ih (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI m) (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I M hI (b - m)) hnew hb') |
| 58 | |
| 59 | theorem CompanionSequence.Construction.exists_global_surface_companion_sequence |
| 60 | (m b : ℕ) (hm : 0 < m) (hmb : m < b) |
| 61 | (X : Scheme) [IsIntegral X] [CompactSpace X] (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 62 | (J M : X.IdealSheafData) (hbound : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J m = ⊤) |
| 63 | (hd : topologicalKrullDim X ≤ 2) : Nonempty (CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) := by |
| 64 | let c := m * (b - m) |
| 65 | have hc : 0 < c := Nat.mul_pos hm (by omega) |
| 66 | have he : c - 1 + 1 = c := Nat.sub_add_cancel hc |
| 67 | have hC := CompanionIdeal.Construction.globalCompanionIdeal_differential_bound f J M m b hmb hbound |
| 68 | have hC' : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (CompanionIdeal.Construction.globalCompanionIdeal J M m b) (c - 1 + 1) = ⊤ := by |
| 69 | rw [he] |
| 70 | exact hC |
| 71 | have hex := GlobalSurface.BoundedSequence.Construction.exists_global_surface_fixed_control_sequence X f (CompanionIdeal.Construction.globalCompanionIdeal J M m b) (c - 1) hd hC' |
| 72 | rw [he] at hex |
| 73 | obtain ⟨T⟩ := hex |
| 74 | exact ⟨T.toCompanion hm hmb J M rfl hbound⟩ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |