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.Local |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ChartFlatBaseChange |
| 3 | |
| 4 | /-! # Reduced Global Blowup Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ReducedGlobalBlowupLift.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Regular principal native generators persist on smaller affine opens without integrality. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem affineRestriction_flat {X : Scheme} {U V : X.affineOpens} (hVU : V ≤ U) : |
| 17 | (Blowup.Functor.Construction.affineRestriction hVU).Flat := by |
| 18 | have h : V.1 ≤ (𝟙 X) ⁻¹ᵁ U.1 := hVU |
| 19 | have hf := Scheme.Hom.flat_appLE (𝟙 X) U.2 V.2 h |
| 20 | have hOp : V.1 ≤ U.1 := hVU |
| 21 | have he : Scheme.Hom.appLE (𝟙 X) U.1 V.1 h = X.presheaf.map (homOfLE hOp).op := by |
| 22 | change (𝟙 Γ(X, U) ≫ X.presheaf.map (homOfLE hOp).op) = X.presheaf.map (homOfLE hOp).op |
| 23 | exact Category.id_comp _ |
| 24 | rw [he] at hf |
| 25 | exact hf |
| 26 | |
| 27 | theorem affineRestriction_regular {X : Scheme} {U V : X.affineOpens} (hVU : V ≤ U) |
| 28 | (r : Γ(X, U)) (hr : IsRegular r) : IsRegular (Blowup.Functor.Construction.affineRestriction hVU r) := by |
| 29 | let : Algebra Γ(X, U) Γ(X, V) := (Blowup.Functor.Construction.affineRestriction hVU).toAlgebra |
| 30 | let : Module.Flat Γ(X, U) Γ(X, V) := affineRestriction_flat hVU |
| 31 | exact ChartFlatBaseChange.Construction.flat_algebraMap_regular r hr |
| 32 | |
| 33 | theorem regular_principal_generators_within |
| 34 | {X : Scheme} (I : X.IdealSheafData) |
| 35 | (hlocal : ∀ x : X, ∃ U : X.affineOpens, x ∈ U.1 ∧ |
| 36 | ∃ r : Γ(X, U), IsRegular r ∧ I.ideal U = Ideal.span {r}) |
| 37 | (O : X.Opens) (x : X) (hx : x ∈ O) : |
| 38 | ∃ U : X.affineOpens, x ∈ U.1 ∧ U.1 ≤ O ∧ |
| 39 | ∃ r : Γ(X, U), IsRegular r ∧ I.ideal U = Ideal.span {r} := by |
| 40 | obtain ⟨U, hxU, r, hr, hgen⟩ := hlocal x |
| 41 | obtain ⟨W, hW, hxW, hsub⟩ := exists_isAffineOpen_mem_and_subset (U := U.1 ⊓ O) (x := x) ⟨hxU, hx⟩ |
| 42 | let V : X.affineOpens := ⟨W, hW⟩ |
| 43 | have hVU : V ≤ U := hsub.trans inf_le_left |
| 44 | exact ⟨V, hxW, hsub.trans inf_le_right, Blowup.Functor.Construction.affineRestriction hVU r, |
| 45 | affineRestriction_regular hVU r hr, Locally.PrincipalIdealSheaf.Construction.principal_idealSheaf_restrict I hVU r hgen⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! Actual global blowup lifts from reduced sources with regular local center generators. -/ |
| 50 | |
| 51 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 52 | |
| 53 | theorem exists_local_globalBlowup_lift_of_regular_generators |
| 54 | {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 55 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (q : Y ⟶ X) |
| 56 | (hlocal : ∀ y : Y, ∃ U : Y.affineOpens, y ∈ U.1 ∧ |
| 57 | ∃ r : Γ(Y, U), IsRegular r ∧ (I.comap q).ideal U = Ideal.span {r}) (y : Y) : |
| 58 | ∃ W : Y.affineOpens, y ∈ W.1 ∧ |
| 59 | ∃ l : Spec Γ(Y, W) ⟶ GlobalBlowup.Data.Construction.globalBlowup I hI, l ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI = W.2.fromSpec ≫ q := by |
| 60 | obtain ⟨U, hU, hqy, _⟩ := exists_isAffineOpen_mem_and_subset (U := ⊤) (x := q y) trivial |
| 61 | let A : X.affineOpens := ⟨U, hU⟩ |
| 62 | obtain ⟨W, hyW, hWA, r, hr, he⟩ := regular_principal_generators_within (I.comap q) |
| 63 | hlocal (q ⁻¹ᵁ A.1) y hqy |
| 64 | let φ := (q.appLE A.1 W.1 hWA).hom |
| 65 | have hgen : (I.ideal A).map φ = Ideal.span {r} := |
| 66 | (IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le I q A W hWA).symm.trans he |
| 67 | let a : (I.ideal A).map φ := ⟨r, hgen ▸ Ideal.mem_span_singleton_self r⟩ |
| 68 | refine ⟨W, hyW, Blowup.BlowupLift.Construction.affineBlowupLift (I.ideal A) φ a hgen hr ≫ GlobalBlowup.Data.Construction.globalBlowupChart I hI A, ?_⟩ |
| 69 | rw [Category.assoc, GlobalBlowup.Data.Construction.globalBlowupChart_over, ← Category.assoc, Blowup.BlowupLift.Construction.affineBlowupLift_over] |
| 70 | exact IsAffineOpen.SpecMap_appLE_fromSpec q A.2 W.2 hWA |
| 71 | |
| 72 | theorem existsUnique_globalBlowup_lift_of_regular_generators |
| 73 | {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] [IsReduced Y] |
| 74 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (q : Y ⟶ X) |
| 75 | (hdense : Dense ((q ⁻¹ᵁ I.support.compl : Y.Opens) : Set Y)) |
| 76 | (hlocal : ∀ y : Y, ∃ U : Y.affineOpens, y ∈ U.1 ∧ |
| 77 | ∃ r : Γ(Y, U), IsRegular r ∧ (I.comap q).ideal U = Ideal.span {r}) : |
| 78 | ∃! l : Y ⟶ GlobalBlowup.Data.Construction.globalBlowup I hI, l ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI = q := by |
| 79 | choose W hW l hl using exists_local_globalBlowup_lift_of_regular_generators I hI q hlocal |
| 80 | let : ∀ y, IsOpenImmersion (W y).2.fromSpec := fun y => (W y).2.isOpenImmersion_fromSpec |
| 81 | let C : Y.OpenCover := Scheme.Cover.mkOfCovers Y (fun y => Spec Γ(Y, W y)) |
| 82 | (fun y => (W y).2.fromSpec) (by |
| 83 | intro y |
| 84 | refine ⟨y, ?_⟩ |
| 85 | change y ∈ (W y).2.fromSpec.opensRange |
| 86 | rw [(W y).2.opensRange_fromSpec] |
| 87 | exact hW y) (fun _ => inferInstance) |
| 88 | have hcompat (y z : C.I₀) : pullback.fst (C.f y) (C.f z) ≫ l y = pullback.snd (C.f y) (C.f z) ≫ l z := by |
| 89 | let : IsOpenImmersion (C.f y) := C.map_prop y |
| 90 | let : IsOpenImmersion (C.f z) := C.map_prop z |
| 91 | let t := pullback.fst (C.f y) (C.f z) ≫ C.f y |
| 92 | let : IsReduced (pullback (C.f y) (C.f z)) := isReduced_of_isOpenImmersion t |
| 93 | apply GlobalBlowup.Local.Construction.globalBlowup_hom_ext_of_dense_complement I hI (t ≫ q) |
| 94 | (hdense.preimage t.isOpenEmbedding.isOpenMap) |
| 95 | · exact (Category.assoc _ _ _).trans |
| 96 | ((congrArg (fun u => pullback.fst (C.f y) (C.f z) ≫ u) (hl y)).trans |
| 97 | (Category.assoc _ _ _).symm) |
| 98 | · exact (Category.assoc _ _ _).trans |
| 99 | ((congrArg (fun u => pullback.snd (C.f y) (C.f z) ≫ u) (hl z)).trans |
| 100 | ((pullback.condition_assoc (f := C.f y) (g := C.f z) q).symm.trans (Category.assoc _ _ _).symm)) |
| 101 | let g := C.glueMorphisms l hcompat |
| 102 | have hg : g ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI = q := by |
| 103 | apply C.hom_ext |
| 104 | intro y |
| 105 | rw [← Category.assoc, C.ι_glueMorphisms l hcompat y] |
| 106 | exact hl y |
| 107 | exact ⟨g, hg, fun a ha => GlobalBlowup.Local.Construction.globalBlowup_hom_ext_of_dense_complement I hI q hdense a g ha hg⟩ |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Resolution.Blowups.ReducedGlobalBlowupLift.Construction |