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.ProtectedProjectiveEmbedding |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ProjectiveStrictTransform |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BaseCases |
| 4 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveSmoothTo |
| 5 | |
| 6 | /-! # Strong -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Strong.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Strong resolution of the frozen integral projective complex variety statement, with no restriction on dimension or codimension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | theorem resolution_of_singularities |
| 17 | (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] |
| 18 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : |
| 19 | letI : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 20 | ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : R.carrier ⟶ X), |
| 21 | π ≫ f = R.structureMap ∧ IsProper π ∧ |
| 22 | (∃ e : R.carrier.PartialIso X, |
| 23 | e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) ∧ |
| 24 | IsIso (π ∣_ f.smoothLocus) := by |
| 25 | let : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 26 | let : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 27 | let : IsClosedImmersion P.embedding := P.closedImmersion |
| 28 | let : Smooth (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase P.ambientDimension) := |
| 29 | ComplexGroups.HolomorphicAlgebraicity.ProjectiveSmoothTo.Constructions.ProjectiveSmooth.smooth_projectiveSpaceToBase P.ambientDimension |
| 30 | by_cases hker : P.embedding.ker = ⊥ |
| 31 | · let : IsIso P.embedding := IsClosedImmersion.isIso_iff_ker_eq_bot.mpr hker |
| 32 | let : Smooth f := P.over_base ▸ inferInstanceAs |
| 33 | (Smooth (P.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase P.ambientDimension)) |
| 34 | exact BaseCases.Construction.resolution_of_singularities_of_smooth X f P |
| 35 | · let : IsIntegral (Foundations.Scheme.ProjectiveSpace.projectiveSpace P.ambientDimension) := |
| 36 | ComplexGroups.HolomorphicAlgebraicity.ProjectiveSmoothTo.Constructions.ProjectiveSmooth.isIntegral_projectiveSpace P.ambientDimension |
| 37 | let O := AmbientOpenExtension.Construction.projectiveSmoothAmbientOpen f P |
| 38 | let : Nonempty (P.embedding ⁻¹ᵁ O).toScheme := ProjectiveStrictTransform.Construction.projectiveSmoothAmbientOpen_nonempty f P |
| 39 | let : Smooth ((P.embedding ⁻¹ᵁ O).ι ≫ (P.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase P.ambientDimension)) := by |
| 40 | rw [P.over_base] |
| 41 | change Smooth ((P.embedding ⁻¹ᵁ AmbientOpenExtension.Construction.projectiveSmoothAmbientOpen f P).ι ≫ f) |
| 42 | rw [AmbientOpenExtension.Construction.projectiveSmoothAmbientOpen_preimage] |
| 43 | exact ResolutionGeometry.Construction.smooth_on_smoothLocus X f P |
| 44 | obtain ⟨Y, p, ⟨Q⟩, hp, hO, hsm⟩ := ProtectedProjectiveEmbedding.Construction.exists_projective_smooth_embeddedStrictTransform |
| 45 | (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase P.ambientDimension) (GlobalBlowup.Projectivity.Construction.identityProjectivePresentation P.ambientDimension) |
| 46 | P.embedding hker O |
| 47 | let : IsProper p := hp |
| 48 | let : IsIso (p ∣_ O) := hO |
| 49 | have hover : (EmbeddedStrictTransform.Construction.embeddedStrictOpenMap p P.embedding O).imageι ≫ |
| 50 | (p ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase P.ambientDimension) = ProjectiveStrictTransform.Construction.projectiveStrictToBase f P p ≫ f := by |
| 51 | rw [← Category.assoc, ← EmbeddedStrictTransform.Construction.embeddedStrictToBase_over, Category.assoc, P.over_base] |
| 52 | rfl |
| 53 | let : Smooth (ProjectiveStrictTransform.Construction.projectiveStrictToBase f P p ≫ f) := hover ▸ hsm |
| 54 | let : IsIntegral (ProjectiveStrictTransform.Construction.projectiveStrictTransform f P p) := ProjectiveStrictTransform.Construction.projectiveStrictTransform_isIntegral f P p |
| 55 | let R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 56 | ⟨{ carrier := ProjectiveStrictTransform.Construction.projectiveStrictTransform f P p |
| 57 | structureMap := ProjectiveStrictTransform.Construction.projectiveStrictToBase f P p ≫ f |
| 58 | projective := ProjectiveStrictTransform.Construction.projectiveStrictTransformPresentation f P p Q |
| 59 | smooth := inferInstance }, inferInstance⟩ |
| 60 | exact ⟨R, ProjectiveStrictTransform.Construction.projectiveStrictToBase f P p, rfl, ProjectiveStrictTransform.Construction.projectiveStrictToBase_isProper f P p, |
| 61 | ProjectiveStrictTransform.Construction.projectiveStrictToBase_partialIso f P p, ProjectiveStrictTransform.Construction.projectiveStrictToBase_smoothLocus_isIso f P p⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Resolution.Blowups.Strong.Construction |