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