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.DivisorClass.Chern.Line.Bundles |
| 2 | |
| 3 | /-! # Scheme Ideal Module -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! # LineBundleCycles: actual algebraic line bundles on arbitrary schemes -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | /-- A genuine module sheaf locally isomorphic to the structure sheaf. |
| 16 | No cycle, Chern class, or compatibility assertion enters the data. -/ |
| 17 | structure SchemeLineBundle (X : Scheme.{0}) where |
| 18 | sheaf : X.Modules |
| 19 | locallyTrivial : ∀ x : X, ∃ U : X.Opens, x ∈ U ∧ |
| 20 | Nonempty (sheaf.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 21 | |
| 22 | namespace SchemeLineBundle |
| 23 | |
| 24 | variable {X : Scheme.{0}} (L : SchemeLineBundle X) |
| 25 | |
| 26 | def trivializingOpen (x : X) : X.Opens := (L.locallyTrivial x).choose |
| 27 | |
| 28 | theorem mem_trivializingOpen (x : X) : x ∈ L.trivializingOpen x := (L.locallyTrivial x).choose_spec.1 |
| 29 | |
| 30 | def trivialization (x : X) : |
| 31 | L.sheaf.restrict (L.trivializingOpen x).ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule (L.trivializingOpen x).toScheme := |
| 32 | (L.locallyTrivial x).choose_spec.2.some |
| 33 | |
| 34 | def trivializationOn (x : X) (W : X.Opens) (h : W ≤ L.trivializingOpen x) : |
| 35 | L.sheaf.restrict W.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule W.toScheme := |
| 36 | DivisorClass.Chern.Line.Bundles.Construction.restrictTrivialization (L.trivialization x) h |
| 37 | |
| 38 | def trivial (X : Scheme.{0}) : SchemeLineBundle X where |
| 39 | sheaf := DivisorClass.Chern.Line.Bundles.Construction.structureModule X |
| 40 | locallyTrivial x := ⟨⊤, by trivial, ⟨Scheme.Modules.restrictUnitIso (⊤ : X.Opens).ι⟩⟩ |
| 41 | |
| 42 | def ofPresentation {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle X) : |
| 43 | SchemeLineBundle X.carrier := ⟨L.sheaf, L.locallyTrivial⟩ |
| 44 | |
| 45 | end SchemeLineBundle |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! The actual ideal module of a scheme morphism is the kernel of the |
| 50 | structure-module map to the pushforward structure module. -/ |
| 51 | |
| 52 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 53 | |
| 54 | variable {X Z : Scheme.{0}} (f : Z ⟶ X) |
| 55 | |
| 56 | def schemeStructurePushforwardOne : |
| 57 | ((Scheme.Modules.pushforward f).obj (DivisorClass.Chern.Line.Bundles.Construction.structureModule Z)).sections := |
| 58 | PresheafOfModules.sectionsMk (fun U => (1 : Γ(Z, f ⁻¹ᵁ U.unop))) (fun {_ _} i => by |
| 59 | change (Z.presheaf.map ((TopologicalSpace.Opens.map f.base).map i.unop).op) 1 = 1 |
| 60 | exact map_one _) |
| 61 | |
| 62 | def schemeStructurePushforwardMap : DivisorClass.Chern.Line.Bundles.Construction.structureModule X ⟶ |
| 63 | (Scheme.Modules.pushforward f).obj (DivisorClass.Chern.Line.Bundles.Construction.structureModule Z) := |
| 64 | (SheafOfModules.unitHomEquiv |
| 65 | ((Scheme.Modules.pushforward f).obj (DivisorClass.Chern.Line.Bundles.Construction.structureModule Z))).symm (schemeStructurePushforwardOne f) |
| 66 | |
| 67 | theorem schemeStructurePushforwardMap_one (U : X.Opens) : |
| 68 | (schemeStructurePushforwardMap f).app U (1 : Γ(X, U)) = (1 : Γ(Z, f ⁻¹ᵁ U)) := by |
| 69 | have h := (SheafOfModules.unitHomEquiv |
| 70 | ((Scheme.Modules.pushforward f).obj (DivisorClass.Chern.Line.Bundles.Construction.structureModule Z))).apply_symm_apply |
| 71 | (schemeStructurePushforwardOne f) |
| 72 | exact congrArg (fun s => s.val (.op U)) h |
| 73 | |
| 74 | theorem schemeStructurePushforwardMap_apply (U : X.Opens) (r : Γ(X, U)) : |
| 75 | (schemeStructurePushforwardMap f).app U r = f.app U r := by |
| 76 | have h := (schemeStructurePushforwardMap f).app_smul r (1 : Γ(X, U)) |
| 77 | change (schemeStructurePushforwardMap f).app U (r * (1 : Γ(X, U))) = |
| 78 | r • (schemeStructurePushforwardMap f).app U (1 : Γ(X, U)) at h |
| 79 | rw [mul_one, schemeStructurePushforwardMap_one] at h |
| 80 | exact h.trans (mul_one (f.app U r)) |
| 81 | |
| 82 | def schemeIdealModule : X.Modules := kernel (schemeStructurePushforwardMap f) |
| 83 | |
| 84 | def schemeIdealModuleInclusion : schemeIdealModule f ⟶ DivisorClass.Chern.Line.Bundles.Construction.structureModule X := |
| 85 | kernel.ι (schemeStructurePushforwardMap f) |
| 86 | |
| 87 | theorem schemeIdealModuleInclusion_structureMap : |
| 88 | schemeIdealModuleInclusion f ≫ schemeStructurePushforwardMap f = 0 := kernel.condition _ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles |