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.AbelianModuli.HilbertConstruction.LineBundle.EndGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.OpenIsomorphismGluing |
| 3 | |
| 4 | /-! # End Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A line-bundle endomorphism is determined by its global scalar transfer. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem LineBundle.EndRecovery.pullbackModuleRestrictionMap_injective (f : X ⟶ Y) [IsOpenImmersion f] |
| 19 | (M N : Y.Modules) : Function.Injective (OpenPullback.ModuleValues.pullbackModuleRestrictionMap f (M := M) (N := N)) := by |
| 20 | intro φ ψ h |
| 21 | unfold OpenPullback.ModuleValues.pullbackModuleRestrictionMap at h |
| 22 | exact (cancel_epi ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app M)).mp |
| 23 | ((cancel_mono ((Scheme.Modules.restrictFunctorIsoPullback f).inv.app N)).mp |
| 24 | (by simpa only [Category.assoc] using h)) |
| 25 | |
| 26 | theorem LineBundle.EndRecovery.pullbackModuleRestrictionMap_global (f : X ⟶ Y) [IsOpenImmersion f] |
| 27 | {M N : Y.Modules} (φ : M ⟶ N) : |
| 28 | OpenPullback.ModuleValues.pullbackModuleRestrictionMap f ((Scheme.Modules.pullback f).map φ) = |
| 29 | (Scheme.Modules.restrictFunctor f).map φ := by |
| 30 | unfold OpenPullback.ModuleValues.pullbackModuleRestrictionMap |
| 31 | rw [← Category.assoc, ← (Scheme.Modules.restrictFunctorIsoPullback f).hom.naturality φ, |
| 32 | Category.assoc, (Scheme.Modules.restrictFunctorIsoPullback f).hom_inv_id_app, Category.comp_id] |
| 33 | |
| 34 | theorem LineBundle.EndRecovery.frameTransferEnd_injective {M N : X.Modules} |
| 35 | (e : Line.Bundles.structureModule X ≅ M) (d : Line.Bundles.structureModule X ≅ N) : |
| 36 | Function.Injective (Frame.EndTransfer.frameTransferEnd e d) := by |
| 37 | intro φ ψ h |
| 38 | apply LineBundle.EndScalars.framedEndScalar_injective e |
| 39 | exact (cancel_epi d.inv).mp ((cancel_mono d.hom).mp |
| 40 | (by simpa only [Frame.EndTransfer.frameTransferEnd, Category.assoc] using h)) |
| 41 | |
| 42 | theorem Line.Bundles.LineBundle.endTransfer_pullback (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) (i : LineBundle.EndGluing.LineEndFrameOpen L) : |
| 43 | (Scheme.Modules.pullback i.openSet.ι).map (L.endTransfer φ) = |
| 44 | Local.LineBundleEndTransfer.localLineEndTransfer i.openSet.ι φ i.frame := by |
| 45 | apply LineBundle.EndRecovery.pullbackModuleRestrictionMap_injective i.openSet.ι (Line.Bundles.structureModule X) (Line.Bundles.structureModule X) |
| 46 | rw [LineBundle.EndRecovery.pullbackModuleRestrictionMap_global, L.endTransfer_restrict] |
| 47 | |
| 48 | theorem Line.Bundles.LineBundle.endTransfer_injective (L : Line.Bundles.LineBundle X) : Function.Injective L.endTransfer := by |
| 49 | intro φ ψ h |
| 50 | apply Module.MapCoverEquality.moduleMap_eq_of_pullback_cover (LineBundle.EndGluing.lineEndFrameCover L) (LineBundle.EndGluing.lineEndFrameCover_covers L) |
| 51 | intro i |
| 52 | apply LineBundle.EndRecovery.frameTransferEnd_injective i.frame (Line.Bundles.structureModulePullbackIso i.openSet.ι).symm |
| 53 | exact (L.endTransfer_pullback φ i).symm.trans |
| 54 | ((congrArg ((Scheme.Modules.pullback i.openSet.ι).map) h).trans (L.endTransfer_pullback ψ i)) |
| 55 | |
| 56 | theorem Line.Bundles.LineBundle.endTransfer_isIso (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) [IsIso φ] : |
| 57 | IsIso (L.endTransfer φ) := by |
| 58 | apply (LineBundle.EndGluing.lineEndTransferData L φ).glue_isIso (LineBundle.EndGluing.lineEndFrameCover_covers L) |
| 59 | intro i |
| 60 | change IsIso (OpenPullback.ModuleValues.pullbackModuleRestrictionMap i.openSet.ι (Local.LineBundleEndTransfer.localLineEndTransfer i.openSet.ι φ i.frame)) |
| 61 | unfold OpenPullback.ModuleValues.pullbackModuleRestrictionMap Local.LineBundleEndTransfer.localLineEndTransfer Frame.EndTransfer.frameTransferEnd LineBundle.EndScalars.framedEndScalar |
| 62 | infer_instance |
| 63 | |
| 64 | def Line.Bundles.LineBundle.endScalar (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) : Γ(X, ⊤) := |
| 65 | Frame.Coordinates.structureModuleEndValue X (L.endTransfer φ) |
| 66 | |
| 67 | theorem Line.Bundles.LineBundle.endScalar_injective (L : Line.Bundles.LineBundle X) : Function.Injective L.endScalar := |
| 68 | (Global.Sections.structureModuleEndValue_injective X).comp L.endTransfer_injective |
| 69 | |
| 70 | theorem Line.Bundles.LineBundle.endScalar_isUnit (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) [IsIso φ] : IsUnit (L.endScalar φ) := |
| 71 | Global.Sections.structureModuleEnd_isIso_iff (L.endTransfer φ) |>.mp (L.endTransfer_isIso φ) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |