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.Sequence |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.SequenceStepCountTransport |
| 3 | |
| 4 | /-! # Control Prefix -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ControlPrefix.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite actual permissible smooth blowup prefixes with an explicit endpoint, available before the order locus is resolved. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | inductive SmoothControlPrefix (b : ℕ) : |
| 15 | (X : Scheme) → (X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → X.IdealSheafData → |
| 16 | (Y : Scheme) → (Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → Y.IdealSheafData → Type 1 |
| 17 | | stop {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J : X.IdealSheafData} : |
| 18 | SmoothControlPrefix b X f J X f J |
| 19 | | blowup {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 20 | {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 21 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (hb : 0 < b) (hp : J ≤ I ^ b) |
| 22 | (hs : Smooth (I.subschemeι ≫ f)) (hbl : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)) |
| 23 | {Y : Scheme} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 24 | (tail : SmoothControlPrefix b (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 25 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI b) Y g K) : SmoothControlPrefix b X f J Y g K |
| 26 | |
| 27 | namespace SmoothControlPrefix |
| 28 | |
| 29 | variable {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 30 | {J : X.IdealSheafData} {K : Y.IdealSheafData} |
| 31 | |
| 32 | def toBase (P : Construction.SmoothControlPrefix b X f J Y g K) : Y ⟶ X := by |
| 33 | induction P with |
| 34 | | stop => exact 𝟙 _ |
| 35 | | blowup I hI _ _ _ _ _ ih => exact ih ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI |
| 36 | |
| 37 | theorem over (P : Construction.SmoothControlPrefix b X f J Y g K) : P.toBase ≫ f = g := by |
| 38 | induction P with |
| 39 | | stop => exact Category.id_comp _ |
| 40 | | blowup I hI hb hp hs hbl tail ih => |
| 41 | change (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ≫ _ = _ |
| 42 | rw [Category.assoc] |
| 43 | exact ih |
| 44 | |
| 45 | def stepCount (P : Construction.SmoothControlPrefix b X f J Y g K) : ℕ := by |
| 46 | induction P with |
| 47 | | stop => exact 0 |
| 48 | | blowup _ _ _ _ _ _ _ ih => exact ih + 1 |
| 49 | |
| 50 | def followsCenters (P : Construction.SmoothControlPrefix b X f J Y g K) : List X.IdealSheafData → Prop := by |
| 51 | induction P with |
| 52 | | stop => exact fun centers => centers = [] |
| 53 | | blowup I hI _ _ _ _ _ ih => |
| 54 | exact fun centers => ∃ rest, centers = I :: rest ∧ |
| 55 | ih (rest.map (fun L => L.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI))) |
| 56 | |
| 57 | def attach (P : Construction.SmoothControlPrefix b X f J Y g K) |
| 58 | (S : Global.MonomialSequence.Construction.SmoothFixedControlSequence b Y g K) : Global.MonomialSequence.Construction.SmoothFixedControlSequence b X f J := by |
| 59 | induction P with |
| 60 | | stop => exact S |
| 61 | | blowup I hI hb hp hs hbl tail ih => exact .blowup I hI hb hp hs hbl (ih S) |
| 62 | |
| 63 | theorem attach_stepCount (P : Construction.SmoothControlPrefix b X f J Y g K) |
| 64 | (S : Global.MonomialSequence.Construction.SmoothFixedControlSequence b Y g K) : (P.attach S).stepCount = P.stepCount + S.stepCount := by |
| 65 | induction P with |
| 66 | | stop => exact (Nat.zero_add _).symm |
| 67 | | blowup I hI hb hp hs hbl tail ih => |
| 68 | change (tail.attach S).stepCount + 1 = (tail.stepCount + 1) + S.stepCount |
| 69 | rw [ih] |
| 70 | omega |
| 71 | |
| 72 | theorem endpoint_smooth (P : Construction.SmoothControlPrefix b X f J Y g K) : Smooth g := by |
| 73 | induction P with |
| 74 | | stop => infer_instance |
| 75 | | blowup _ _ _ _ _ _ _ ih => exact ih |
| 76 | |
| 77 | instance toBase_isProper (P : Construction.SmoothControlPrefix b X f J Y g K) : IsProper P.toBase := by |
| 78 | induction P with |
| 79 | | stop => exact inferInstanceAs (IsProper (𝟙 _)) |
| 80 | | blowup I hI hb hp hs hbl tail ih => |
| 81 | let : IsProper tail.toBase := ih |
| 82 | exact inferInstanceAs (IsProper (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) |
| 83 | |
| 84 | theorem endpoint_integral (P : Construction.SmoothControlPrefix b X f J Y g K) [IsIntegral X] : IsIntegral Y := by |
| 85 | revert ‹IsIntegral X› |
| 86 | induction P with |
| 87 | | stop => intro h; exact h |
| 88 | | blowup _ _ _ _ _ _ _ ih => |
| 89 | intro _ |
| 90 | exact ih |
| 91 | |
| 92 | theorem endpoint_ideal_ne_bot (P : Construction.SmoothControlPrefix b X f J Y g K) (hJ : J ≠ ⊥) : K ≠ ⊥ := by |
| 93 | induction P with |
| 94 | | stop => exact hJ |
| 95 | | @blowup X hX hN f J I hI hb hp hs hbl Y g K tail ih => |
| 96 | exact ih (GlobalBlowup.Nonzero.Construction.globalBlowupControlledIdeal_ne_bot I J hI b hJ) |
| 97 | |
| 98 | end SmoothControlPrefix |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ControlPrefix.Construction |