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.Pointed.TangentPrefixDescent |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.EtalePullbackExistence |
| 3 | |
| 4 | /-! # Terminal Source Prefix Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Over the initial order complement, equal-length permissible programs have a common actual restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_endpointIso_of_terminal_source |
| 15 | {n : ℕ} {X Y Z : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] |
| 16 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {h : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 17 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {L : Z.IdealSheafData} |
| 18 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K) (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Z h L) |
| 19 | (hN : P.stepCount = Q.stepCount) (ht : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n = ⊤) : |
| 20 | ∃ e : Z ≅ Y, P.EtaleComparison Q (𝟙 X) e.hom ∧ |
| 21 | ∀ r : Z ⟶ Y, P.EtaleComparison Q (𝟙 X) r → r = e.hom := by |
| 22 | apply P.exists_endpointIso_of_pointed_tangent Q hN |
| 23 | intro x hx |
| 24 | rw [ht, Scheme.IdealSheafData.support_top] at hx |
| 25 | exact False.elim hx |
| 26 | |
| 27 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_common_program_of_terminal_source |
| 28 | {n : ℕ} {X X' Y Y' : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {f' : X' ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 29 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g' : Y' ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 30 | {J : X.IdealSheafData} {J' : X'.IdealSheafData} {K : Y.IdealSheafData} {K' : Y'.IdealSheafData} |
| 31 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K) (P' : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X' f' J' Y' g' K') |
| 32 | (hN : P.stepCount = P'.stepCount) |
| 33 | {S : Scheme} [IsIntegral S] [IsLocallyNoetherian S] |
| 34 | (v : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth v] (L : S.IdealSheafData) |
| 35 | (ht : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf v L n = ⊤) |
| 36 | (a : S ⟶ X) (b : S ⟶ X') [Etale a] [Etale b] |
| 37 | (haf : a ≫ f = v) (hbf : b ≫ f' = v) (haJ : J.comap a = L) (hbJ : J'.comap b = L) : |
| 38 | ∃ (W : Scheme) (w : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : W.IdealSheafData) |
| 39 | (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) S v L W w M) (r : W ⟶ Y) (s : W ⟶ Y'), |
| 40 | P.EtaleComparison R a r ∧ P'.EtaleComparison R b s := by |
| 41 | obtain ⟨Z, z, B, R, r, hr⟩ := P.exists_etale_pullback S v L a haf haJ |
| 42 | obtain ⟨Z', z', B', R', r', hr'⟩ := P'.exists_etale_pullback S v L b hbf hbJ |
| 43 | have hcount : R.stepCount = R'.stepCount := |
| 44 | (hr.stepCount_eq P R a r).symm.trans (hN.trans (hr'.stepCount_eq P' R' b r')) |
| 45 | obtain ⟨e, he, _⟩ := R.exists_endpointIso_of_terminal_source R' hcount ht |
| 46 | have hcomp := hr.comp P R a r R' (𝟙 S) e.hom he |
| 47 | rw [Category.id_comp] at hcomp |
| 48 | exact ⟨Z', z', B', R', e.hom ≫ r, r', hcomp, hr'⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups |