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.Affine.OpenBoundaryTransport |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.MonomialTerminal |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialUnitGluing |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.CenterSmooth |
| 5 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 6 | |
| 7 | /-! # Monomial Boundary Atlas -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.MonomialBoundaryAtlas.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Native affine atlases carrying global labelled boundaries and the common monomial schedule faces. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | structure GlobalMonomialBoundaryAtlas {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) {β : Type} |
| 18 | (D : β → X.IdealSheafData) (L : List (Finset β)) where |
| 19 | indices : Type |
| 20 | opens : indices → X.affineOpens |
| 21 | cover : ⨆ i, (opens i).1 = ⊤ |
| 22 | equations : ∀ i, β → Γ(X, opens i) |
| 23 | component : ∀ i j, (D j).ideal (opens i) = Ideal.span {equations i j} |
| 24 | boundary : ∀ i, letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (opens i) |
| 25 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ (.of Γ(X, opens i)) (equations i) |
| 26 | faces : ∀ i, Boundary.Schedule.Construction.BoundaryFacesCover (equations i) L |
| 27 | |
| 28 | def GlobalMonomialBoundaryAtlas.ofAffineCover |
| 29 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) {β : Type} (D : β → X.IdealSheafData) |
| 30 | (L : List (Finset β)) (C : X.AffineOpenCover) [∀ i, Algebra ℂ (C.X i)] |
| 31 | (hstructure : ∀ i, C.f i ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (C.X i)) |
| 32 | (w : ∀ i, β → C.X i) |
| 33 | (hD : ∀ i j, (D j).comap (C.f i) = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {w i j})) |
| 34 | (hboundary : ∀ i, LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ (C.X i) (w i)) |
| 35 | (hfaces : ∀ i, Boundary.Schedule.Construction.BoundaryFacesCover (w i) L) : GlobalMonomialBoundaryAtlas f D L := by |
| 36 | let U (i : C.I₀) := Affine.OpenBoundaryTransport.Construction.specOpenImage (C.X i) (C.f i) |
| 37 | have hcover : ⨆ i, (U i).1 = ⊤ := by |
| 38 | simp only [U, Affine.OpenBoundaryTransport.Construction.specOpenImage_eq_opensRange] |
| 39 | exact C.openCover.iSup_opensRange |
| 40 | have hex (i : C.I₀) : |
| 41 | letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (U i) |
| 42 | ∃ v : β → Γ(X, U i), |
| 43 | (∀ j, (D j).ideal (U i) = Ideal.span {v j}) ∧ |
| 44 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ (.of Γ(X, U i)) v ∧ Boundary.Schedule.Construction.BoundaryFacesCover v L := |
| 45 | Affine.OpenBoundaryTransport.Construction.exists_native_affine_boundary_equations f (C.X i) (C.f i) (hstructure i) |
| 46 | D (w i) L (hD i) (hboundary i) (hfaces i) |
| 47 | choose v hv hb hf using hex |
| 48 | exact ⟨C.I₀, U, hcover, v, hv, hb, hf⟩ |
| 49 | |
| 50 | theorem exists_point_on_chosen_affine_spec |
| 51 | {X : Scheme} {ι : Type} (U : ι → X.affineOpens) (hcover : ⨆ i, (U i).1 = ⊤) (x : X) : |
| 52 | ∃ i, x ∈ Set.range (U i).2.fromSpec := by |
| 53 | let : ∀ i, IsOpenImmersion (U i).2.fromSpec := fun i => (U i).2.isOpenImmersion_fromSpec |
| 54 | have hx : x ∈ ⨆ i, (U i).1 := by rw [hcover]; trivial |
| 55 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 56 | refine ⟨i, ?_⟩ |
| 57 | change x ∈ (U i).2.fromSpec.opensRange |
| 58 | rw [(U i).2.opensRange_fromSpec] |
| 59 | exact hi |
| 60 | |
| 61 | def chosenAffineSpecCover {X : Scheme} {ι : Type} (U : ι → X.affineOpens) |
| 62 | (hcover : ⨆ i, (U i).1 = ⊤) : X.AffineOpenCover where |
| 63 | I₀ := ι |
| 64 | X i := Γ(X, U i) |
| 65 | f i := (U i).2.fromSpec |
| 66 | map_prop i := (U i).2.isOpenImmersion_fromSpec |
| 67 | idx x := (exists_point_on_chosen_affine_spec U hcover x).choose |
| 68 | covers x := (exists_point_on_chosen_affine_spec U hcover x).choose_spec |
| 69 | |
| 70 | theorem GlobalMonomialBoundaryAtlas.monomial_terminal |
| 71 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] {β : Type} [Fintype β] |
| 72 | (D : β → X.IdealSheafData) (L : List (Finset β)) (A : GlobalMonomialBoundaryAtlas f D L) |
| 73 | (a : β → ℕ) (b : ℕ) (hb : 0 < b) (hbound : ∀ S ∈ L, Boundary.MonomialSchedule.Construction.boundaryFaceWeight a S < b) : |
| 74 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (MixedBoundary.Construction.boundaryMonomialSheaf D a) (b - 1) = ⊤ := by |
| 75 | apply DifferentialUnitGluing.Construction.idealSheaf_eq_top_of_openCover _ (chosenAffineSpecCover A.opens A.cover).openCover |
| 76 | intro i |
| 77 | change A.indices at i |
| 78 | let : IsOpenImmersion (A.opens i).2.fromSpec := (A.opens i).2.isOpenImmersion_fromSpec |
| 79 | let : Algebra ℂ Γ(X, A.opens i) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 80 | let : Algebra.Smooth ℂ Γ(X, A.opens i) := (A.boundary i).smooth |
| 81 | have hterminal := (A.faces i).monomial_terminal (A.boundary i) a b hb hbound |
| 82 | have hJ : (MixedBoundary.Construction.boundaryMonomialSheaf D a).comap (A.opens i).2.fromSpec = |
| 83 | Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement (A.equations i) a}) := by |
| 84 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, |
| 85 | MixedBoundary.Construction.boundaryMonomialSheaf_local_equations D a (A.opens i) (A.equations i) (A.component i)] |
| 86 | exact DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_unit_on_affine f (MixedBoundary.Construction.boundaryMonomialSheaf D a) (b - 1) |
| 87 | (A.opens i).2.fromSpec (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f (A.opens i)).symm |
| 88 | (Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement (A.equations i) a}) hJ hterminal |
| 89 | |
| 90 | theorem idealSheaf_complex_center_smooth_on_affine_chart |
| 91 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) (U : X.affineOpens) |
| 92 | (h : letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U; Algebra.Smooth ℂ (Γ(X, U) ⧸ I.ideal U)) : |
| 93 | Smooth (I.subschemeCover.f U ≫ (I.subschemeι ≫ f)) := by |
| 94 | rw [← Category.assoc, Scheme.IdealSheafData.subschemeCover_map_subschemeι] |
| 95 | change Smooth (((Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.ideal U))) ≫ |
| 96 | U.2.isoSpec.inv) ≫ U.1.ι) ≫ f) |
| 97 | rw [Category.assoc] |
| 98 | change Smooth ((Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.ideal U))) ≫ U.2.fromSpec) ≫ f) |
| 99 | rw [Category.assoc, ← Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U, ← Spec.map_comp] |
| 100 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 101 | exact (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr h) |
| 102 | |
| 103 | theorem idealSheaf_complex_center_smooth_of_chosen_affine_cover |
| 104 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 105 | {ι : Type} (U : ι → X.affineOpens) (hcover : ⨆ i, (U i).1 = ⊤) |
| 106 | (h : ∀ i, letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (U i); Algebra.Smooth ℂ (Γ(X, U i) ⧸ I.ideal (U i))) : |
| 107 | Smooth (I.subschemeι ≫ f) := by |
| 108 | let : ∀ i, IsOpenImmersion (I.subschemeCover.f (U i)) := |
| 109 | fun i => I.subschemeCover.openCover.map_prop (U i) |
| 110 | have hsource : ⨆ i, (I.subschemeCover.f (U i)).opensRange = ⊤ := by |
| 111 | simp_rw [Scheme.IdealSheafData.opensRange_subschemeCover_map] |
| 112 | rw [← Scheme.Hom.preimage_iSup, hcover, Scheme.Hom.preimage_top] |
| 113 | let : IsZariskiLocalAtSource @Smooth := |
| 114 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 115 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @Smooth) |
| 116 | (fun i => (I.subschemeCover.f (U i)).opensRange) hsource |
| 117 | intro i |
| 118 | let : Smooth (I.subschemeCover.f (U i) ≫ (I.subschemeι ≫ f)) := |
| 119 | idealSheaf_complex_center_smooth_on_affine_chart f I (U i) (h i) |
| 120 | exact SupportedBlowupSmoothGluing.Construction.smooth_on_opensRange_of_open_immersion (I.subschemeι ≫ f) (I.subschemeCover.f (U i)) |
| 121 | |
| 122 | theorem GlobalMonomialBoundaryAtlas.intersection_smooth |
| 123 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) {β : Type} |
| 124 | (D : β → X.IdealSheafData) (L : List (Finset β)) (A : GlobalMonomialBoundaryAtlas f D L) |
| 125 | (C : Finset β) : Smooth ((GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf D C).subschemeι ≫ f) := by |
| 126 | apply idealSheaf_complex_center_smooth_of_chosen_affine_cover f _ A.opens A.cover |
| 127 | intro i |
| 128 | let : Algebra ℂ Γ(X, A.opens i) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 129 | rw [GlobalBoundary.Intersection.Construction.boundaryIntersectionSheaf_local_equations D C (A.opens i) (A.equations i) |
| 130 | (fun j _ => A.component i j)] |
| 131 | exact (A.boundary i).intersection_smooth C |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.MonomialBoundaryAtlas.Construction |