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.UnitSequence |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.ProductPullback |
| 3 | |
| 4 | /-! # Global Unit Sequence Geometry -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Proper birational projective endpoints and exact total transforms for global unit sequences. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | def UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 15 | (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : Scheme := |
| 16 | match T with |
| 17 | | @UnitSequence.Construction.SmoothGlobalUnitSequence.terminal Y _ _ => Y |
| 18 | | @UnitSequence.Construction.SmoothGlobalUnitSequence.blowup _ _ _ _ _ _ _ _ _ _ _ _ tail => tail.endpoint |
| 19 | |
| 20 | def UnitSequence.Construction.SmoothGlobalUnitSequence.toBase {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 21 | (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : T.endpoint ⟶ X := |
| 22 | match T with |
| 23 | | @UnitSequence.Construction.SmoothGlobalUnitSequence.terminal Y _ _ => 𝟙 Y |
| 24 | | @UnitSequence.Construction.SmoothGlobalUnitSequence.blowup _ _ _ _ _ I hI _ _ _ _ _ tail => tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI |
| 25 | |
| 26 | def UnitSequence.Construction.SmoothGlobalUnitSequence.exceptionalProduct {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 27 | (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : T.endpoint.IdealSheafData := |
| 28 | match T with |
| 29 | | @UnitSequence.Construction.SmoothGlobalUnitSequence.terminal _ _ _ => ⊤ |
| 30 | | @UnitSequence.Construction.SmoothGlobalUnitSequence.blowup _ _ _ _ _ I hI b _ _ _ _ tail => |
| 31 | (I.comap (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) ^ b * tail.exceptionalProduct |
| 32 | |
| 33 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 34 | |
| 35 | instance UnitSequence.Construction.SmoothGlobalUnitSequence.toBase_isProper (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : IsProper T.toBase := by |
| 36 | induction T with |
| 37 | | @terminal Y g hs => exact inferInstanceAs (IsProper (𝟙 Y)) |
| 38 | | blowup I hI b hb hp hs hbl tail ih => |
| 39 | let : IsProper tail.toBase := ih |
| 40 | exact inferInstanceAs (IsProper (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) |
| 41 | |
| 42 | instance UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint_structure_smooth (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : Smooth (T.toBase ≫ f) := by |
| 43 | induction T with |
| 44 | | @terminal Y g hs => simpa only [UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint, UnitSequence.Construction.SmoothGlobalUnitSequence.toBase, Category.id_comp] using hs |
| 45 | | blowup I hI b hb hp hs hbl tail ih => |
| 46 | simpa only [UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint, UnitSequence.Construction.SmoothGlobalUnitSequence.toBase, Category.assoc] using ih |
| 47 | |
| 48 | theorem UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint_integral (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) [IsIntegral X] : |
| 49 | IsIntegral T.endpoint := by |
| 50 | revert ‹IsIntegral X› |
| 51 | induction T with |
| 52 | | terminal => intro h; exact h |
| 53 | | blowup I hI b hb hp hs hbl tail ih => intro _; exact ih |
| 54 | |
| 55 | theorem UnitSequence.Construction.SmoothGlobalUnitSequence.toBase_partialIso (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : |
| 56 | ∃ e : T.endpoint.PartialIso X, e.source.ι ≫ T.toBase = e.iso.hom ≫ e.target.ι := by |
| 57 | induction T with |
| 58 | | @terminal Y g hs => |
| 59 | refine ⟨Scheme.PartialIso.refl Y, ?_⟩ |
| 60 | change (⊤ : Y.Opens).ι ≫ 𝟙 Y = 𝟙 (⊤ : Y.Opens).toScheme ≫ (⊤ : Y.Opens).ι |
| 61 | simp only [Category.comp_id, Category.id_comp] |
| 62 | | blowup I hI b hb hp hs hbl tail ih => |
| 63 | obtain ⟨e, he⟩ := ih |
| 64 | obtain ⟨d, hd⟩ := GlobalBlowup.Data.Construction.globalBlowup_partialIso I hI |
| 65 | exact ⟨e.trans d, Sequence.Construction.compatible_partialIso_comp tail.toBase (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) e he d hd⟩ |
| 66 | |
| 67 | def UnitSequence.Construction.SmoothGlobalUnitSequence.endpointProjectivePresentation (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) |
| 68 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : Foundations.Scheme.SmoothProjective.ProjectivePresentation T.endpoint (T.toBase ≫ f) := by |
| 69 | induction T with |
| 70 | | terminal => simpa only [UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint, UnitSequence.Construction.SmoothGlobalUnitSequence.toBase, Category.id_comp] using P |
| 71 | | blowup I hI b hb hp hs hbl tail ih => |
| 72 | have Q := ih (GlobalBlowup.Projectivity.Construction.globalBlowupProjectivePresentation P I hI) |
| 73 | simpa only [UnitSequence.Construction.SmoothGlobalUnitSequence.endpoint, UnitSequence.Construction.SmoothGlobalUnitSequence.toBase, Category.assoc] using Q |
| 74 | |
| 75 | def UnitSequence.Construction.SmoothGlobalUnitSequence.endpointVariety (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) [IsIntegral X] |
| 76 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 77 | ⟨{ carrier := T.endpoint |
| 78 | structureMap := T.toBase ≫ f |
| 79 | projective := T.endpointProjectivePresentation P |
| 80 | smooth := inferInstance }, T.endpoint_integral⟩ |
| 81 | |
| 82 | theorem UnitSequence.Construction.SmoothGlobalUnitSequence.exceptionalProduct_eq_totalTransform (T : UnitSequence.Construction.SmoothGlobalUnitSequence X f J) : |
| 83 | T.exceptionalProduct = J.comap T.toBase := by |
| 84 | induction T with |
| 85 | | terminal => exact (Scheme.IdealSheafData.comap_id ⊤).symm |
| 86 | | @blowup Y hY hN g K I hI b hb hp hs hbl tail ih => |
| 87 | change (I.comap (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI)) ^ b * |
| 88 | tail.exceptionalProduct = K.comap (tail.toBase ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI) |
| 89 | rw [ih, Scheme.IdealSheafData.comap_comp, Scheme.IdealSheafData.comap_comp, |
| 90 | ← IdealSheaf.ProductPullback.Construction.idealSheaf_comap_pow, ← IdealSheaf.ProductPullback.Construction.idealSheaf_comap_mul, |
| 91 | GlobalControlled.Factorization.Construction.globalBlowup_controlledIdeal_factorization I K hI b hp] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |