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.FormalGeometry.Completion.Proper.GlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TorsionLine |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullback |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionBase |
| 5 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 6 | import Mathlib.AlgebraicGeometry.Geometrically.Integral |
| 7 | |
| 8 | /-! # Ample Pullback Detection -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.AmplePullbackDetection |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A map from a proper integral geometric scheme is constant if it pulls |
| 15 | an ample line bundle back to the trivial bundle. -/ |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | |
| 23 | namespace Construction |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y : Scheme.{u}} |
| 28 | [IsIntegral X] (p : X ⟶ Spec (CommRingCat.of K)) [IsProper p] |
| 29 | |
| 30 | theorem properIntegral_constant_of_trivial_ample_pullback |
| 31 | (e : Spec (CommRingCat.of K) ⟶ X) (he : e ≫ p = 𝟙 _) |
| 32 | (f : X ⟶ Y) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (hL : L.IsAmple) |
| 33 | (hf : (L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : f = p ≫ e ≫ f := by |
| 34 | let x : X := Classical.choice inferInstance |
| 35 | obtain ⟨n, _hn, s, hx, hs⟩ := (L.isAmple_iff_tensorPower.mp hL).2 (f x) |
| 36 | let P := (L.tensorPower n).pullback f |
| 37 | let ep : P.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 38 | Quotients.FiniteDescent.TensorPullback.Construction.TensorPullbackMap.iso f L n ≪≫ (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerFunctor X n).mapIso hf ≪≫ AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitIso X n |
| 39 | let ep1 : (P.tensorPower 1).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 40 | ((P.tensorPower_isTensorPower 1).unique (AbelianModuli.HilbertConstruction.Tensor.Powers.isTensorPower_one P.sheaf)).some ≪≫ ep |
| 41 | let t := AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s |
| 42 | have ht : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t = f ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := |
| 43 | Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange.nonvanishing_pullback f (L.tensorPower n) s |
| 44 | have htx : x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t := ht.symm ▸ hx |
| 45 | have : IsProper (Over.mk p).hom := inferInstanceAs (IsProper p) |
| 46 | have : ConnectedSpace (Over.mk p).left := inferInstanceAs (ConnectedSpace X) |
| 47 | have : IsReduced (Over.mk p).left := inferInstanceAs (IsReduced X) |
| 48 | have : IsIso t := Quotients.FiniteDescent.TorsionLine.Construction.TorsionLineBundle.isIso_of_nonempty_nonvanishing |
| 49 | (Over.mk p) P 1 (by omega) ep1 t ⟨x, htx⟩ |
| 50 | have htop : f ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s = ⊤ := ht.symm.trans (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing_of_isIso t) |
| 51 | let U := AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 52 | have : IsAffine U.toScheme := hs |
| 53 | have hrange : Set.range f ⊆ Set.range U.ι := by |
| 54 | rintro y ⟨z, rfl⟩ |
| 55 | rw [Scheme.Opens.range_ι] |
| 56 | have hz : z ∈ f ⁻¹ᵁ U := by rw [htop]; trivial |
| 57 | exact hz |
| 58 | let g := IsOpenImmersion.lift U.ι f hrange |
| 59 | have hg : g ≫ U.ι = f := IsOpenImmersion.lift_fac U.ι f hrange |
| 60 | have h := congrArg (fun a : X ⟶ U.toScheme => a ≫ U.ι) |
| 61 | (Proper.GlobalFunctions.Construction.properIntegral_to_affine_constant p e he g) |
| 62 | simpa only [Category.assoc, hg] using h |
| 63 | |
| 64 | theorem groupHom_eq_one_of_trivial_ample_pullback |
| 65 | {A B : Over (Spec (CommRingCat.of K))} [GrpObj A] [GrpObj B] |
| 66 | [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 67 | (f : A ⟶ B) [IsMonHom f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) (hL : L.IsAmple) |
| 68 | (hf : (L.pullback f.left).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) : f = 1 := by |
| 69 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 70 | have h := properIntegral_constant_of_trivial_ample_pullback A.hom |
| 71 | (MonObj.one (X := A)).left (MonObj.one (X := A)).w f.left L hL hf |
| 72 | have hunit : (MonObj.one (X := A)).left ≫ f.left = (MonObj.one (X := B)).left := |
| 73 | congrArg Over.Hom.left (IsMonHom.one_hom f) |
| 74 | apply Over.OverMorphism.ext |
| 75 | change f.left = A.hom ≫ (MonObj.one (X := B)).left |
| 76 | simpa only [hunit] using h |
| 77 | |
| 78 | end Construction |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.AmplePullbackDetection |