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.ProtectedPatternChart |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonHeads |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonFactorizationTo |
| 4 | |
| 5 | /-! # Pattern Comparison Head Center -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A common actual program transfers the coordinate model's first-center alternative to the global center on the chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.head_center_dichotomy_of_pattern_comparison |
| 16 | {X Y V W S T : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 17 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {v : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {w : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 18 | {s : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {t : T ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 19 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 20 | {A : S.IdealSheafData} {B : T.IdealSheafData} |
| 21 | (C : X.IdealSheafData) (hC : C ≠ ⊥) (hp : J ≤ C ^ 1) |
| 22 | (hs : Smooth (C.subschemeι ≫ f)) (hbl : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase C hC ≫ f)) |
| 23 | (tail : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix 1 (GlobalBlowup.Data.Construction.globalBlowup C hC) (GlobalBlowup.Data.Construction.globalBlowupToBase C hC ≫ f) |
| 24 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal C J hC 1) Y g K) |
| 25 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix 1 V v L W w M) (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix 1 S s A T t B) |
| 26 | (j : S ⟶ X) (r : T ⟶ Y) (a : S ⟶ V) (u : T ⟶ W) |
| 27 | (hglobal : (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.blowup |
| 28 | C hC (by decide) hp hs hbl tail).EtaleComparison R j r) |
| 29 | (hmodel : Q.EtaleComparison R a u) (hpattern : Q.UnitUntilWhole) : |
| 30 | C.comap j = J.comap j ∨ C.comap j = ⊤ := by |
| 31 | obtain ⟨hS, hNS, E, hE, hbE, hpE, hsE, hblE, rest, heR⟩ := |
| 32 | hglobal.exists_blowup C hC (by decide) hp hs hbl tail R j r |
| 33 | let : IsIntegral S := hS |
| 34 | let : IsLocallyNoetherian S := hNS |
| 35 | subst R |
| 36 | obtain ⟨_, _, hJA, hCE, _⟩ := (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.etaleComparison_blowup_iff |
| 37 | C hC (by decide) hp hs hbl tail E hE hbE hpE hsE hblE rest j r).mp hglobal |
| 38 | cases Q with |
| 39 | | stop => exact False.elim hmodel |
| 40 | | blowup D hD hbD hpD hsD hblD modelTail => |
| 41 | obtain ⟨_, _, hLA, hDE, _⟩ := (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.etaleComparison_blowup_iff |
| 42 | D hD hbD hpD hsD hblD modelTail E hE hbE hpE hsE hblE rest a u).mp hmodel |
| 43 | rcases hpattern with hwhole | ⟨hempty, _⟩ |
| 44 | · left |
| 45 | exact hCE.trans (hDE.symm.trans ((congrArg (fun I => I.comap a) hwhole).trans (hLA.trans hJA.symm))) |
| 46 | · right |
| 47 | exact hCE.trans (hDE.symm.trans ((congrArg (fun I => I.comap a) hempty).trans |
| 48 | (Scheme.IdealSheafData.comap_top a))) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups |