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.GroundPoleLine |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PoleIdealEq |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleRestrictionIs |
| 4 | |
| 5 | /-! # Ground Pole Eq -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundPoleEq.Construction.GroundPoleSection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical pole-divisor section is nonvanishing precisely on the regular locus. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {X : Scheme.{u}} [IsIntegral X] |
| 18 | variable (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] (r : X.functionField) |
| 19 | |
| 20 | theorem restrict_eq_frameMap (U : X.Opens) : |
| 21 | (Scheme.Modules.restrictFunctor U.ι).map (GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r) = |
| 22 | Quotients.FiniteDescent.FractionalIdealFrame.Construction.FractionalIdealFrames.frameMap (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r) U 1 |
| 23 | (fun _ => Quotients.FiniteDescent.InverseIdealEq.Construction.InverseIdeal.one_mem _) := by |
| 24 | rfl |
| 25 | |
| 26 | theorem pullback_isIso_of_regular (U : X.Opens) |
| 27 | (h : ∀ x : U, ∃ a : X.presheaf.stalk x, algebraMap _ X.functionField a = r) : |
| 28 | IsIso ((Scheme.Modules.pullback U.ι).map (GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r)) := by |
| 29 | apply (AbelianModuli.HilbertConstruction.Power.Nonvanishing.isIso_restrict_map_iff U.ι _).mp |
| 30 | rw [restrict_eq_frameMap] |
| 31 | have hgen (x : U) : Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r x = |
| 32 | Submodule.span (X.presheaf.stalk x) {(1 : X.functionField)} := by |
| 33 | change Quotients.FiniteDescent.InverseIdealEq.Construction.InverseIdeal.module (Quotients.FiniteDescent.DenominatorIdealEq.Construction.DenominatorIdeal.ideal r) = _ |
| 34 | rw [(Quotients.FiniteDescent.PoleIdealEq.Construction.PoleIdeal.denominator_eq_top r).mpr (h x), Quotients.FiniteDescent.PoleIdealEq.Construction.PoleIdeal.inverse_top] |
| 35 | apply Scheme.Modules.Hom.isIso_iff_isIso_app.mpr |
| 36 | intro V |
| 37 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 38 | exact Quotients.FiniteDescent.FractionalIdealFrame.Construction.FractionalIdealFrames.multiply_bijective (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r) |
| 39 | (U.ι_image_le V) 1 (fun x => Quotients.FiniteDescent.InverseIdealEq.Construction.InverseIdeal.one_mem _) one_ne_zero hgen |
| 40 | |
| 41 | theorem ideal_eq_top_of_app_isIso (U : X.affineOpens) [Nonempty U.1] |
| 42 | (a : Γ(X, U)) (ha : (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a}) |
| 43 | [IsIso ((GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r).app U.1)] : |
| 44 | (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = ⊤ := by |
| 45 | let q : X.functionField := (X.germToFunctionField U.1 a)⁻¹ |
| 46 | let t : Γ((GroundPoleLine.Construction.GroundPoleLineBundle.lineBundle f r).sheaf, U.1) := ⟨fun _ => q, by |
| 47 | intro x |
| 48 | rw [Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.generator r U a ha x] |
| 49 | exact Submodule.mem_span_singleton_self _⟩ |
| 50 | obtain ⟨s, hs⟩ := ((ConcreteCategory.isIso_iff_bijective |
| 51 | ((GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r).app U.1)).mp inferInstance).2 t |
| 52 | change Γ(X, U.1) at s |
| 53 | have hs' := congrFun (congrArg Subtype.val hs) ⟨inferInstance⟩ |
| 54 | change X.germToFunctionField U.1 s * 1 = q at hs' |
| 55 | rw [mul_one] at hs' |
| 56 | have hne : X.germToFunctionField U.1 a ≠ 0 := by |
| 57 | simpa only [map_zero] using (X.germToFunctionField_injective U.1).ne |
| 58 | (Quotients.FiniteDescent.DenominatorLine.Construction.DenominatorLineBundle.generator_ne_zero r U a ha) |
| 59 | have hu : IsUnit a := isUnit_iff_exists_inv.mpr ⟨s, by |
| 60 | apply X.germToFunctionField_injective U.1 |
| 61 | rw [map_mul, map_one, hs'] |
| 62 | exact mul_inv_cancel₀ hne⟩ |
| 63 | rw [ha, Ideal.span_singleton_eq_top.mpr hu] |
| 64 | |
| 65 | theorem mem_nonvanishing_of_regular (x : X) |
| 66 | (h : ∃ a : X.presheaf.stalk x, algebraMap _ X.functionField a = r) : |
| 67 | x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r) := by |
| 68 | obtain ⟨a, ha⟩ := h |
| 69 | obtain ⟨U, hxU, s, hs⟩ := X.presheaf.exists_germ_eq a |
| 70 | change X.Opens at U |
| 71 | have : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 72 | have hr : X.germToFunctionField U s = r := by |
| 73 | rw [← X.algebraMap_germ_eq_germToFunctionField hxU s, hs, ha] |
| 74 | have hreg (y : U) : ∃ b : X.presheaf.stalk y, algebraMap _ X.functionField b = r := |
| 75 | ⟨X.presheaf.germ U y y.2 s, (X.algebraMap_germ_eq_germToFunctionField y.2 s).trans hr⟩ |
| 76 | have := pullback_isIso_of_regular f r U hreg |
| 77 | exact TopologicalSpace.Opens.mem_sSup.mpr ⟨U, |
| 78 | (AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_iff U.ι _).mpr inferInstance, hxU⟩ |
| 79 | |
| 80 | theorem mem_nonvanishing_iff_regular (x : X) : |
| 81 | x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r) ↔ |
| 82 | ∃ a : X.presheaf.stalk x, algebraMap _ X.functionField a = r := by |
| 83 | constructor |
| 84 | · intro hx |
| 85 | obtain ⟨V, hV, hxV⟩ := TopologicalSpace.Opens.mem_sSup.mp hx |
| 86 | change X.Opens at V |
| 87 | have : IsIso ((Scheme.Modules.pullback V.ι).map (GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r)) := |
| 88 | (AbelianModuli.HilbertConstruction.Section.Nonvanishing.isIso_pullbackSection_iff V.ι _).mp hV |
| 89 | obtain ⟨U, hxU, hUV, a, ha⟩ := GroundDenominator.Construction.GroundDenominatorNeighborhood.exists_principal_le f r V ⟨x, hxV⟩ |
| 90 | have : Nonempty U.1 := ⟨⟨x, hxU⟩⟩ |
| 91 | change (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a} at ha |
| 92 | have := Quotients.FiniteDescent.ModuleRestrictionIs.Construction.ModuleRestriction.isIso_app (GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r) V U.1 hUV |
| 93 | have ht := ideal_eq_top_of_app_isIso f r U a ha |
| 94 | apply (Quotients.FiniteDescent.PoleIdealEq.Construction.PoleIdeal.denominator_eq_top r).mp |
| 95 | rw [← Quotients.FiniteDescent.DenominatorStalkIs.Construction.DenominatorStalk.map_stalk r U ⟨x, hxU⟩, ht, Ideal.map_top] |
| 96 | · exact mem_nonvanishing_of_regular f r x |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundPoleEq.Construction.GroundPoleSection |