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.MonomialSequence |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.Projectivity |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 4 | |
| 5 | /-! # Sequence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual proper birational morphisms and smooth projective endpoints of finite global control sequences. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem Sequence.Construction.compatible_partialIso_comp {Z Y X : Scheme} (ψ : Z ⟶ Y) (π : Y ⟶ X) |
| 16 | (e : Z.PartialIso Y) (he : e.source.ι ≫ ψ = e.iso.hom ≫ e.target.ι) |
| 17 | (d : Y.PartialIso X) (hd : d.source.ι ≫ π = d.iso.hom ≫ d.target.ι) : |
| 18 | (e.trans d).source.ι ≫ (ψ ≫ π) = (e.trans d).iso.hom ≫ (e.trans d).target.ι := by |
| 19 | have he' : e.IsOver (ψ ≫ π) π := by |
| 20 | change e.iso.hom ≫ e.target.ι ≫ π = e.source.ι ≫ ψ ≫ π |
| 21 | simpa only [Category.assoc] using (congrArg (fun g => g ≫ π) he).symm |
| 22 | have hd' : d.IsOver π (𝟙 X) := by |
| 23 | simpa only [Scheme.PartialIso.IsOver, Category.comp_id] using hd.symm |
| 24 | have h := he'.trans hd' |
| 25 | simpa only [Scheme.PartialIso.IsOver, Category.comp_id] using Eq.symm h |
| 26 | |
| 27 | open OAI.AlgebraicGeometry.Resolution.Blowups.Global.MonomialSequence.Construction.SmoothFixedControlSequence |
| 28 | |
| 29 | def MonomialSequence.Construction.SmoothFixedControlSequence.endpoint {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 30 | (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : Scheme := |
| 31 | match s with |
| 32 | | @terminal _ Y _ _ _ _ => Y |
| 33 | | @blowup _ _ _ _ _ _ _ _ _ _ _ _ tail => tail.endpoint |
| 34 | |
| 35 | def MonomialSequence.Construction.SmoothFixedControlSequence.toBase {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 36 | (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : s.endpoint ⟶ X := |
| 37 | match s with |
| 38 | | @terminal _ Y _ _ _ _ => 𝟙 Y |
| 39 | | @blowup _ _ _ _ _ _ I hI _ _ _ _ tail => tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI |
| 40 | |
| 41 | def MonomialSequence.Construction.SmoothFixedControlSequence.terminalIdeal {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 42 | (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : s.endpoint.IdealSheafData := |
| 43 | match s with |
| 44 | | @terminal _ _ _ _ K _ => K |
| 45 | | @blowup _ _ _ _ _ _ _ _ _ _ _ _ tail => tail.terminalIdeal |
| 46 | |
| 47 | variable {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 48 | |
| 49 | instance MonomialSequence.Construction.SmoothFixedControlSequence.toBase_isProper (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : IsProper s.toBase := by |
| 50 | induction s with |
| 51 | | @terminal Y _ _ _ _ => exact inferInstanceAs (IsProper (𝟙 Y)) |
| 52 | | blowup I hI hb hperm hsmooth hblowup tail ih => |
| 53 | let : IsProper tail.toBase := ih |
| 54 | exact inferInstanceAs (IsProper (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) |
| 55 | |
| 56 | instance MonomialSequence.Construction.SmoothFixedControlSequence.endpoint_structure_smooth (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : Smooth (s.toBase ≫ f) := by |
| 57 | induction s with |
| 58 | | @terminal _ g hs _ _ => simpa only [MonomialSequence.Construction.SmoothFixedControlSequence.endpoint, MonomialSequence.Construction.SmoothFixedControlSequence.toBase, Category.id_comp] using hs |
| 59 | | blowup I hI hb hperm hsmooth hblowup tail ih => |
| 60 | simpa only [MonomialSequence.Construction.SmoothFixedControlSequence.endpoint, MonomialSequence.Construction.SmoothFixedControlSequence.toBase, Category.assoc] using ih |
| 61 | |
| 62 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.endpoint_integral (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) [IsIntegral X] : |
| 63 | IsIntegral s.endpoint := by |
| 64 | revert ‹IsIntegral X› |
| 65 | induction s with |
| 66 | | @terminal Y _ _ _ _ => intro hY; exact hY |
| 67 | | blowup I hI hb hperm hsmooth hblowup tail ih => |
| 68 | intro _ |
| 69 | exact ih |
| 70 | |
| 71 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.toBase_partialIso (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : |
| 72 | ∃ e : s.endpoint.PartialIso X, e.source.ι ≫ s.toBase = e.iso.hom ≫ e.target.ι := by |
| 73 | induction s with |
| 74 | | @terminal Y g hs K ht => |
| 75 | refine ⟨Scheme.PartialIso.refl Y, ?_⟩ |
| 76 | change (⊤ : Y.Opens).ι ≫ 𝟙 Y = 𝟙 (⊤ : Y.Opens).toScheme ≫ (⊤ : Y.Opens).ι |
| 77 | simp only [Category.comp_id, Category.id_comp] |
| 78 | | blowup I hI hb hperm hsmooth hblowup tail ih => |
| 79 | obtain ⟨e, he⟩ := ih |
| 80 | obtain ⟨d, hd⟩ := GlobalBlowup.Data.Construction.globalBlowup_partialIso I hI |
| 81 | exact ⟨e.trans d, Sequence.Construction.compatible_partialIso_comp tail.toBase (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) e he d hd⟩ |
| 82 | |
| 83 | def MonomialSequence.Construction.SmoothFixedControlSequence.endpointProjectivePresentation (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) |
| 84 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : Foundations.Scheme.SmoothProjective.ProjectivePresentation s.endpoint (s.toBase ≫ f) := by |
| 85 | induction s with |
| 86 | | terminal => simpa only [MonomialSequence.Construction.SmoothFixedControlSequence.endpoint, MonomialSequence.Construction.SmoothFixedControlSequence.toBase, Category.id_comp] using P |
| 87 | | blowup I hI hb hperm hsmooth hblowup tail ih => |
| 88 | have Q := ih (GlobalBlowup.Projectivity.Construction.globalBlowupProjectivePresentation P I hI) |
| 89 | simpa only [MonomialSequence.Construction.SmoothFixedControlSequence.endpoint, MonomialSequence.Construction.SmoothFixedControlSequence.toBase, Category.assoc] using Q |
| 90 | |
| 91 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.terminal_differential_ideal (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : |
| 92 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (s.toBase ≫ f) s.terminalIdeal (b - 1) = ⊤ := by |
| 93 | induction s with |
| 94 | | @terminal Y g _ K ht => |
| 95 | change Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (𝟙 Y ≫ g) K (b - 1) = ⊤ |
| 96 | exact (DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr (𝟙 Y ≫ g) g |
| 97 | (Category.id_comp g) K (b - 1)).trans ht |
| 98 | | @blowup Y _ _ g K I hI hb hperm hsmooth hblowup tail ih => |
| 99 | let : Smooth ((tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ≫ g) := by |
| 100 | rw [Category.assoc] |
| 101 | exact MonomialSequence.Construction.SmoothFixedControlSequence.endpoint_structure_smooth tail |
| 102 | change Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf ((tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ≫ g) |
| 103 | tail.terminalIdeal (b - 1) = ⊤ |
| 104 | exact (DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr |
| 105 | ((tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ≫ g) |
| 106 | (tail.toBase ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ g)) (Category.assoc _ _ _) |
| 107 | tail.terminalIdeal (b - 1)).trans ih |
| 108 | |
| 109 | def MonomialSequence.Construction.SmoothFixedControlSequence.endpointVariety (s : MonomialSequence.Construction.SmoothFixedControlSequence b X f J) [IsIntegral X] |
| 110 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 111 | ⟨{ carrier := s.endpoint |
| 112 | structureMap := s.toBase ≫ f |
| 113 | projective := s.endpointProjectivePresentation P |
| 114 | smooth := inferInstance }, s.endpoint_integral⟩ |
| 115 | |
| 116 | theorem MonomialSequence.Construction.SmoothFixedControlSequence.terminalIdeal_eq_top_control_one (s : MonomialSequence.Construction.SmoothFixedControlSequence 1 X f J) : |
| 117 | s.terminalIdeal = ⊤ := by |
| 118 | have h := s.terminal_differential_ideal |
| 119 | change Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (s.toBase ≫ f) s.terminalIdeal 0 = ⊤ at h |
| 120 | rwa [Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf_zero] at h |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |