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.ControlPrefix.FixedLabels |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.IncidenceControlPrefix |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.HomogenizedTransform |
| 4 | |
| 5 | /-! # Homogenized Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Prefixes at different controls can record literally the same blowups at every stage. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | inductive Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (b c : ℕ) : |
| 18 | {X Y : Scheme} → {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} → {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} → |
| 19 | {J L : X.IdealSheafData} → {K M : Y.IdealSheafData} → |
| 20 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K → Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix c X f L Y g M → Prop |
| 21 | | stop {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J L : X.IdealSheafData} : |
| 22 | SameBlowups b c (.stop : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J X f J) |
| 23 | (.stop : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix c X f L X f L) |
| 24 | | blowup {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 25 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 26 | {J L : X.IdealSheafData} {K M : Y.IdealSheafData} |
| 27 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (hb : 0 < b) (hc : 0 < c) |
| 28 | (hp : J ≤ I ^ b) (hq : L ≤ I ^ c) |
| 29 | (hs : Smooth (I.subschemeι ≫ f)) (hbl : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) |
| 30 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 31 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI b) Y g K} |
| 32 | {Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix c (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 33 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I L hI c) Y g M} |
| 34 | (tail : SameBlowups b c P Q) : |
| 35 | SameBlowups b c (.blowup I hI hb hp hs hbl P) (.blowup I hI hc hq hs hbl Q) |
| 36 | |
| 37 | variable {b c : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 38 | {J L : X.IdealSheafData} {K M : Y.IdealSheafData} |
| 39 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K} {Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix c X f L Y g M} |
| 40 | |
| 41 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups.toBase_eq (h : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups b c P Q) : P.toBase = Q.toBase := by |
| 42 | induction h with |
| 43 | | stop => rfl |
| 44 | | blowup I hI hb hc hp hq hs hbl tail ih => exact congrArg (fun r => r ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ih |
| 45 | |
| 46 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups.stepCount_eq (h : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups b c P Q) : P.stepCount = Q.stepCount := by |
| 47 | induction h with |
| 48 | | stop => rfl |
| 49 | | blowup I hI hb hc hp hq hs hbl tail ih => exact congrArg (fun a : ℕ => a + 1) ih |
| 50 | |
| 51 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups.uniformBoundaryCompatible (h : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups b c P Q) : |
| 52 | ∀ (β : Type) [Fintype β] (D : β → X.IdealSheafData), |
| 53 | P.uniformBoundaryCompatible β D → Q.uniformBoundaryCompatible β D := by |
| 54 | induction h with |
| 55 | | stop => intro β _ D hD; exact hD |
| 56 | | blowup I hI hb hc hp hq hs hbl tail ih => |
| 57 | intro β _ D hD |
| 58 | exact ⟨hD.1, ih (Option β) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) hD.2⟩ |
| 59 | |
| 60 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups.canonicalBoundary (h : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups b c P Q) : |
| 61 | ∀ (β : Type) (D : β → X.IdealSheafData), HEq (P.canonicalBoundary D) (Q.canonicalBoundary D) := by |
| 62 | induction h with |
| 63 | | stop => intro β D; rfl |
| 64 | | blowup I hI hb hc hp hq hs hbl tail ih => |
| 65 | intro β D |
| 66 | exact ih (Option β) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) |
| 67 | |
| 68 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups.boundaryAtLength (h : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups b c P Q) (β : Type) (D : β → X.IdealSheafData) |
| 69 | (N : ℕ) (hP : P.stepCount = N) (hQ : Q.stepCount = N) : |
| 70 | P.boundaryAtLength D N hP = Q.boundaryAtLength D N hQ := |
| 71 | ControlPrefix.FixedLabels.Construction.relabelBoundaryByLength_eq_of_heq hP hQ _ _ (h.canonicalBoundary β D) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! A recorded prefix for a homogenized comparison ideal gives the same actual blowups for the original ideal. -/ |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 78 | |
| 79 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_homogenized_interval_same_blowups |
| 80 | {n : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 81 | {L : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f L Y g K) : |
| 82 | ∀ [Smooth f] (J : X.IdealSheafData), J ≤ L → L ≤ Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n → |
| 83 | ∃ (J' : Y.IdealSheafData) (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g J'), |
| 84 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (n + 1) (n + 1) P Q ∧ |
| 85 | (letI : Smooth g := P.endpoint_smooth; J' ≤ K ∧ K ≤ Global.Homogenization.Construction.smoothHomogenizedIdealSheaf g J' n) := by |
| 86 | induction P with |
| 87 | | stop => |
| 88 | intro _ J hJL hLH |
| 89 | exact ⟨J, .stop, .stop, hJL, hLH⟩ |
| 90 | | @blowup X hX hNX f L I hI hb hp hs hbl Y g K tail ih => |
| 91 | intro hf J hJL hLH |
| 92 | let : Smooth f := hf |
| 93 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) := hbl |
| 94 | obtain ⟨hJ, hle, hupp⟩ := Global.HomogenizedTransform.Construction.global_homogenized_interval_preserved f I J L hI n hJL hLH hp |
| 95 | obtain ⟨J', Q, same, hnext⟩ := ih (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI (n + 1)) hle hupp |
| 96 | exact ⟨J', .blowup I hI hb hJ hs hbl Q, .blowup I hI hb hb hp hJ hs hbl same, hnext⟩ |
| 97 | |
| 98 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_homogenized_interval_terminal_prefix |
| 99 | {n : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 100 | {L : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f L Y g K) |
| 101 | (J : X.IdealSheafData) (hJL : J ≤ L) (hLH : L ≤ Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) |
| 102 | (ht : letI : Smooth g := P.endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤) : |
| 103 | ∃ (J' : Y.IdealSheafData) (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g J'), |
| 104 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (n + 1) (n + 1) P Q ∧ |
| 105 | (letI : Smooth g := Q.endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g J' n = ⊤) := by |
| 106 | let : Smooth g := P.endpoint_smooth |
| 107 | obtain ⟨J', Q, same, hle, hupp⟩ := P.exists_homogenized_interval_same_blowups J hJL hLH |
| 108 | exact ⟨J', Q, same, (Global.Homogenization.Construction.smooth_homogenized_interval_tangent_eq g J' K n hle hupp).symm.trans ht⟩ |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Resolution.Blowups |