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.SheafCohomology.Projective.OverScalarRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | |
| 4 | /-! # Over Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OverSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The nonvanishing open of a section from its coordinate on an over-site. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 16 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.OverScalarRestriction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.OverSectionLocus |
| 21 | |
| 22 | variable {X : Scheme.{u}} {M : X.Modules} |
| 23 | |
| 24 | theorem coordinate_eq (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (U : X.Opens) |
| 25 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 26 | (r : Γ(X, U)) |
| 27 | (h : e.hom.val.app (.op (Over.mk (𝟙 U))) (s.app U (1 : Γ(X, U))) = r) : |
| 28 | s.over U ≫ e.hom = |
| 29 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r := by |
| 30 | apply _root_.SheafOfModules.hom_ext |
| 31 | ext V |
| 32 | have hn := PresheafOfModules.naturality_apply (s.over U ≫ e.hom).val |
| 33 | (Over.homMk V.unop.hom : V.unop ⟶ Over.mk (𝟙 U)).op (1 : Γ(X, U)) |
| 34 | change e.hom.val.app V (s.app V.unop.left (X.presheaf.map V.unop.hom.op 1)) = |
| 35 | X.presheaf.map V.unop.hom.op |
| 36 | (e.hom.val.app (.op (Over.mk (𝟙 U))) (s.app U (1 : Γ(X, U)))) at hn |
| 37 | rw [map_one, h] at hn |
| 38 | change e.hom.val.app V (s.app V.unop.left (1 : Γ(X, V.unop.left))) = |
| 39 | 1 * X.presheaf.map V.unop.hom.op r |
| 40 | simpa only [one_mul] using hn |
| 41 | |
| 42 | theorem isIso_over_iff (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (U : X.Opens) : |
| 43 | IsIso (s.over U) ↔ IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ι s) := by |
| 44 | rw [AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_iff] |
| 45 | let F := (Scheme.Modules.overEquiv U).functor |
| 46 | let e := Scheme.Modules.overFunctorEquiv U ≪≫ Scheme.Modules.restrictFunctorIsoPullback U.ι |
| 47 | rw [← isIso_iff_of_reflects_iso (s.over U) F] |
| 48 | have h : F.map (s.over U) ≫ (e.app M).hom = |
| 49 | (e.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)).hom ≫ (Scheme.Modules.pullback U.ι).map s := |
| 50 | e.hom.naturality s |
| 51 | exact (isIso_comp_right_iff _ (e.app M).hom).symm.trans |
| 52 | ((congrArg IsIso h).to_iff.trans (isIso_comp_left_iff (e.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)).hom _)) |
| 53 | |
| 54 | local instance (Y : Scheme.{u}) : |
| 55 | ∀ V, IsMulCommutative (Y.ringCatSheaf.obj.obj V) := fun V => by |
| 56 | change IsMulCommutative (Y.presheaf.obj V) |
| 57 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 58 | |
| 59 | theorem scalar_isIso_iff (U : X.Opens) (r : Γ(X, U)) : |
| 60 | IsIso (SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r) ↔ |
| 61 | IsUnit r := by |
| 62 | rw [← isUnit_iff_isIso] |
| 63 | exact MulEquiv.isUnit_map (f := |
| 64 | (SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEndRingEquiv |
| 65 | X.ringCatSheaf U).toMulEquiv) |
| 66 | |
| 67 | theorem restrict_coordinate (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (U : X.Opens) |
| 68 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 69 | (r : Γ(X, U)) |
| 70 | (h : s.over U ≫ e.hom = |
| 71 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r) |
| 72 | {V : X.Opens} (hV : V ≤ U) : |
| 73 | s.over V ≫ |
| 74 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 75 | X.ringCatSheaf M U e (Over.mk (homOfLE hV))).hom = |
| 76 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf V |
| 77 | (X.presheaf.map (homOfLE hV).op r) := by |
| 78 | apply _root_.SheafOfModules.hom_ext |
| 79 | apply PresheafOfModules.hom_ext |
| 80 | intro W |
| 81 | apply ModuleCat.hom_ext |
| 82 | apply LinearMap.ext |
| 83 | intro a |
| 84 | change Γ(X, W.unop.left) at a |
| 85 | have hh := congrArg (fun q => q.val.app (.op ((Over.map (homOfLE hV)).obj W.unop))) h |
| 86 | have ha := ConcreteCategory.congr_hom hh |
| 87 | (show ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).over U).val.obj |
| 88 | (.op ((Over.map (homOfLE hV)).obj W.unop)) from a) |
| 89 | change e.hom.val.app (.op ((Over.map (homOfLE hV)).obj W.unop)) |
| 90 | (s.app W.unop.left a) = |
| 91 | a * X.presheaf.map W.unop.hom.op (X.presheaf.map (homOfLE hV).op r) |
| 92 | rw [← X.presheaf.map_comp_apply] |
| 93 | exact ha |
| 94 | |
| 95 | theorem nonvanishing (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (U : X.Opens) |
| 96 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 97 | (r : Γ(X, U)) |
| 98 | (h : s.over U ≫ e.hom = |
| 99 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r) : |
| 100 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ⊓ U = X.basicOpen r := by |
| 101 | have hiso {V : X.Opens} (hV : V ≤ U) : |
| 102 | IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.ι s) ↔ IsUnit (X.presheaf.map (homOfLE hV).op r) := by |
| 103 | rw [← isIso_over_iff] |
| 104 | let eV := SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 105 | X.ringCatSheaf M U e (Over.mk (homOfLE hV)) |
| 106 | rw [← isIso_comp_right_iff (s.over V) eV.hom, restrict_coordinate s U e r h hV] |
| 107 | exact scalar_isIso_iff V _ |
| 108 | apply le_antisymm |
| 109 | · intro x hx |
| 110 | obtain ⟨V, hV, hxV⟩ := Opens.mem_sSup.mp hx.1 |
| 111 | change X.Opens at V |
| 112 | have : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.ι s) := hV |
| 113 | let W := V ⊓ U |
| 114 | have hWU : W ≤ U := inf_le_right |
| 115 | have hw : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection W.ι s) := by |
| 116 | have hh := AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_comp_iff V.ι |
| 117 | (X.homOfLE (show W ≤ V from inf_le_left)) s |
| 118 | have hh' := hh.mp inferInstance |
| 119 | rw [X.homOfLE_ι] at hh' |
| 120 | exact hh' |
| 121 | have hb := X.basicOpen_of_isUnit ((hiso hWU).mp hw) |
| 122 | rw [X.basicOpen_res] at hb |
| 123 | have hxW : x ∈ W := ⟨hxV, hx.2⟩ |
| 124 | exact (show x ∈ W ⊓ X.basicOpen r from hb.symm ▸ hxW).2 |
| 125 | · let V := X.basicOpen r |
| 126 | have hV : V ≤ U := X.basicOpen_le r |
| 127 | have hu : IsUnit (X.presheaf.map (homOfLE hV).op r) := |
| 128 | X.toLocallyRingedSpace.toRingedSpace.isUnit_res_basicOpen r |
| 129 | exact le_inf (le_sSup ((hiso hV).mpr hu)) hV |
| 130 | |
| 131 | end Construction.OverSectionLocus |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OverSection |