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.GlobalBlowup.ProjectiveMap |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.ProductCharts |
| 3 | |
| 4 | /-! # Projective Embedding -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.ProjectiveEmbedding.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed embedding of the global blowup into a product with complex projective space. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X : Scheme} {n : ℕ} {e : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n} [IsClosedImmersion e] |
| 15 | variable {I : X.IdealSheafData} (Q : ProjectiveMap.Construction.ProjectiveCenterEquations e I) |
| 16 | variable [IsIntegral X] [IsLocallyNoetherian X] (hI : I ≠ ⊥) |
| 17 | variable (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 18 | |
| 19 | /-- Pair the global coordinate map with the original blowup projection. -/ |
| 20 | def globalBlowupProjectiveEmbedding : |
| 21 | Data.Construction.globalBlowup I hI ⟶ pullback (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension) f := |
| 22 | pullback.lift (ProjectiveMap.Construction.globalBlowupProjectiveMap Q hI f) (Data.Construction.globalBlowupToBase I hI) |
| 23 | (ProjectiveMap.Construction.globalBlowupProjectiveMap_over Q hI f) |
| 24 | |
| 25 | theorem globalBlowupProjectiveEmbedding_fst : |
| 26 | globalBlowupProjectiveEmbedding Q hI f ≫ pullback.fst _ _ = ProjectiveMap.Construction.globalBlowupProjectiveMap Q hI f := |
| 27 | pullback.lift_fst _ _ _ |
| 28 | |
| 29 | theorem globalBlowupProjectiveEmbedding_snd : |
| 30 | globalBlowupProjectiveEmbedding Q hI f ≫ pullback.snd _ _ = Data.Construction.globalBlowupToBase I hI := |
| 31 | pullback.lift_snd _ _ _ |
| 32 | |
| 33 | omit [IsIntegral X] [IsLocallyNoetherian X] [LocallyOfFiniteType f] in |
| 34 | theorem projectiveCenterChartMap_over_affine (i : Fin (n + 1)) : |
| 35 | ProjectiveMap.Construction.projectiveCenterChartMap Q f i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension = |
| 36 | ReesGrading.Construction.affineBlowupToSpec (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i)) ≫ |
| 37 | (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i).2.fromSpec ≫ f := by |
| 38 | rw [ProjectiveMap.Construction.projectiveCenterChartMap, ReesProjectiveCoordinates.Construction.reesProjectiveCoordinateMap_over, Affine.ComplexNaturality.Construction.affineComplexScalars_spec] |
| 39 | |
| 40 | omit [IsIntegral X] [IsLocallyNoetherian X] [LocallyOfFiniteType f] in |
| 41 | theorem projectiveCenterChartMap_pair_closed (i : Fin (n + 1)) : |
| 42 | IsClosedImmersion (pullback.lift (ProjectiveMap.Construction.projectiveCenterChartMap Q f i) |
| 43 | (ReesGrading.Construction.affineBlowupToSpec (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i))) |
| 44 | (projectiveCenterChartMap_over_affine Q f i)) := by |
| 45 | apply (Relative.ProductCharts.Construction.pair_isClosedImmersion_iff_of_base_eq (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension) |
| 46 | (ProjectiveMap.Construction.projectiveCenterChartMap Q f i) (ReesGrading.Construction.affineBlowupToSpec (I.ideal (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i))) |
| 47 | (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f (ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e i)) |
| 48 | (ReesProjectiveCoordinates.Construction.reesProjectiveCoordinateMap_over _ (Affine.ComplexNaturality.Construction.affineComplexScalars f _) _ |
| 49 | (ProjectiveMap.Construction.projectiveCenterChartGenerator_span Q i)) |
| 50 | (projectiveCenterChartMap_over_affine Q f i)).mp |
| 51 | exact ReesProjectiveCoordinates.Construction.reesProjectiveCoordinateMap_pair_isClosedImmersion _ _ _ _ |
| 52 | |
| 53 | /-- The global product map is a closed immersion, checked on the actual |
| 54 | base-change charts of its target. -/ |
| 55 | theorem globalBlowupProjectiveEmbedding_isClosedImmersion : |
| 56 | IsClosedImmersion (globalBlowupProjectiveEmbedding Q hI f) := by |
| 57 | let p := Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase Q.dimension |
| 58 | let U := ClosedProjectiveIdealGenerators.Construction.closedProjectiveAffineOpen e |
| 59 | let j := fun i : Fin (n + 1) => Relative.ProductCharts.Construction.relativeProductChartMap p f (U i).2.fromSpec |
| 60 | let : ∀ i, IsOpenImmersion (U i).2.fromSpec := fun i => |
| 61 | IsAffineOpen.isOpenImmersion_fromSpec (U i).2 |
| 62 | let : ∀ i, IsOpenImmersion (j i) := fun i => |
| 63 | Relative.ProductCharts.Construction.relativeProductChartMap_isOpenImmersion p f (U i).2.fromSpec |
| 64 | have hrange (i : Fin (n + 1)) : (j i).opensRange = pullback.snd p f ⁻¹ᵁ (U i).1 := by |
| 65 | have h := SupportedBlowupSmoothGluing.Construction.opensRange_of_open_pullback (j i) (pullback.snd p ((U i).2.fromSpec ≫ f)) |
| 66 | (pullback.snd p f) (U i).2.fromSpec (Relative.ProductCharts.Construction.relativeProductChart_isPullback p f (U i).2.fromSpec) |
| 67 | exact h.trans (congrArg (fun V : X.Opens => pullback.snd p f ⁻¹ᵁ V) |
| 68 | (U i).2.opensRange_fromSpec) |
| 69 | let C : (pullback p f).OpenCover := Scheme.Cover.mkOfCovers (Fin (n + 1)) |
| 70 | (fun i => pullback p ((U i).2.fromSpec ≫ f)) j (by |
| 71 | intro z |
| 72 | have hz : pullback.snd p f z ∈ ⨆ i, (U i).1 := by |
| 73 | rw [ProjectiveMap.Construction.closedProjectiveAffineOpen_iSup] |
| 74 | trivial |
| 75 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hz |
| 76 | refine ⟨i, ?_⟩ |
| 77 | change z ∈ (j i).opensRange |
| 78 | rw [hrange] |
| 79 | exact hi) (fun i => inferInstanceAs (IsOpenImmersion |
| 80 | (Relative.ProductCharts.Construction.relativeProductChartMap p f (U i).2.fromSpec))) |
| 81 | apply IsZariskiLocalAtTarget.of_openCover C |
| 82 | intro i |
| 83 | change Fin (n + 1) at i |
| 84 | change IsClosedImmersion (pullback.snd (globalBlowupProjectiveEmbedding Q hI f) (j i)) |
| 85 | let l := pullback.lift (ProjectiveMap.Construction.projectiveCenterChartMap Q f i) (ReesGrading.Construction.affineBlowupToSpec (I.ideal (U i))) |
| 86 | (projectiveCenterChartMap_over_affine Q f i) |
| 87 | let : IsClosedImmersion l := projectiveCenterChartMap_pair_closed Q f i |
| 88 | have hcomp : l ≫ j i = Data.Construction.globalBlowupChart I hI (U i) ≫ globalBlowupProjectiveEmbedding Q hI f := by |
| 89 | apply pullback.hom_ext |
| 90 | · rw [Category.assoc, Relative.ProductCharts.Construction.relativeProductChartMap_fst, pullback.lift_fst, |
| 91 | Category.assoc, globalBlowupProjectiveEmbedding_fst, ProjectiveMap.Construction.globalBlowupProjectiveMap_chart] |
| 92 | · rw [Category.assoc, Relative.ProductCharts.Construction.relativeProductChartMap_snd, pullback.lift_snd_assoc, |
| 93 | Category.assoc, globalBlowupProjectiveEmbedding_snd, Data.Construction.globalBlowupChart_over] |
| 94 | have houter : IsPullback (l ≫ pullback.snd p ((U i).2.fromSpec ≫ f)) |
| 95 | (Data.Construction.globalBlowupChart I hI (U i)) (U i).2.fromSpec |
| 96 | (globalBlowupProjectiveEmbedding Q hI f ≫ pullback.snd p f) := by |
| 97 | rw [pullback.lift_snd, globalBlowupProjectiveEmbedding_snd] |
| 98 | exact (MapGluing.Construction.globalBlowup_affineSpec_isPullback I hI (U i)).flip |
| 99 | have hleft := houter.of_right hcomp (Relative.ProductCharts.Construction.relativeProductChart_isPullback p f (U i).2.fromSpec).flip |
| 100 | rw [← hleft.flip.isoPullback_inv_snd] |
| 101 | infer_instance |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.ProjectiveEmbedding.Construction |