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.Local.LineBundleEndValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapCoverEquality |
| 3 | |
| 4 | /-! # End Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Glue the frame-independent local scalar of a line-bundle endomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} |
| 17 | |
| 18 | structure LineBundle.EndGluing.LineEndFrameOpen (L : Line.Bundles.LineBundle X) where |
| 19 | openSet : X.Opens |
| 20 | frame : Line.Bundles.structureModule openSet.toScheme ≅ (Scheme.Modules.pullback openSet.ι).obj L.sheaf |
| 21 | |
| 22 | def LineBundle.EndGluing.lineEndFrameCover (L : Line.Bundles.LineBundle X) : LineBundle.EndGluing.LineEndFrameOpen L → X.Opens := |
| 23 | LineBundle.EndGluing.LineEndFrameOpen.openSet |
| 24 | |
| 25 | theorem LineBundle.EndGluing.lineEndFrameCover_covers (L : Line.Bundles.LineBundle X) (x : X) : |
| 26 | ∃ i : LineBundle.EndGluing.LineEndFrameOpen L, x ∈ LineBundle.EndGluing.lineEndFrameCover L i := by |
| 27 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 28 | exact ⟨⟨U, e.symm⟩, hx⟩ |
| 29 | |
| 30 | def LineBundle.EndGluing.lineEndTransferData (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) : |
| 31 | Module.OpenMapGluing.OpenCoverModuleMaps (LineBundle.EndGluing.lineEndFrameCover L) (Line.Bundles.structureModule X) (Line.Bundles.structureModule X) where |
| 32 | localMap i := OpenPullback.ModuleValues.pullbackModuleRestrictionMap i.openSet.ι (Local.LineBundleEndTransfer.localLineEndTransfer i.openSet.ι φ i.frame) |
| 33 | agree i j V hi hj := by |
| 34 | change V ≤ i.openSet at hi |
| 35 | change V ≤ j.openSet at hj |
| 36 | let f : V.toScheme ⟶ i.openSet.toScheme := X.homOfLE hi |
| 37 | let g : V.toScheme ⟶ j.openSet.toScheme := X.homOfLE hj |
| 38 | have : IsOpenImmersion f := inferInstanceAs (IsOpenImmersion (X.homOfLE hi)) |
| 39 | have : IsOpenImmersion g := inferInstanceAs (IsOpenImmersion (X.homOfLE hj)) |
| 40 | have hfi : f ≫ i.openSet.ι = V.ι := X.homOfLE_ι hi |
| 41 | have hgj : g ≫ j.openSet.ι = V.ι := X.homOfLE_ι hj |
| 42 | have hiV : V ≤ (f ≫ i.openSet.ι).opensRange := by |
| 43 | intro x hx |
| 44 | change ∃ y : V.toScheme, (f ≫ i.openSet.ι) y = x |
| 45 | exact ⟨⟨x, hx⟩, congrArg (fun k : V.toScheme ⟶ X => k ⟨x, hx⟩) hfi⟩ |
| 46 | have hjV : V ≤ (g ≫ j.openSet.ι).opensRange := by |
| 47 | intro x hx |
| 48 | change ∃ y : V.toScheme, (g ≫ j.openSet.ι) y = x |
| 49 | exact ⟨⟨x, hx⟩, congrArg (fun k : V.toScheme ⟶ X => k ⟨x, hx⟩) hgj⟩ |
| 50 | have hiR : V ≤ i.openSet.ι.opensRange := by rwa [i.openSet.opensRange_ι] |
| 51 | have hjR : V ≤ j.openSet.ι.opensRange := by rwa [j.openSet.opensRange_ι] |
| 52 | have H : Local.LineBundleEndValues.localLineEndValue i.openSet.ι φ i.frame V hiR = |
| 53 | Local.LineBundleEndValues.localLineEndValue j.openSet.ι φ j.frame V hjR := |
| 54 | (Local.LineBundleEndValues.localLineEndValue_comp f i.openSet.ι φ i.frame V hiV).symm.trans |
| 55 | ((Local.LineBundleEndValues.localLineEndValue_congr (hfi.trans hgj.symm) φ |
| 56 | (Local.TensorPowerValues.refinedPullbackFrame f i.openSet.ι i.frame) (Local.TensorPowerValues.refinedPullbackFrame g j.openSet.ι j.frame) |
| 57 | V hiV hjV).trans |
| 58 | (Local.LineBundleEndValues.localLineEndValue_comp g j.openSet.ι φ j.frame V hjV)) |
| 59 | exact (Local.LineBundleEndValues.localLineEndValue_restriction i.openSet.ι φ i.frame V hiR).trans |
| 60 | (H.trans (Local.LineBundleEndValues.localLineEndValue_restriction j.openSet.ι φ j.frame V hjR).symm) |
| 61 | |
| 62 | def Line.Bundles.LineBundle.endTransfer (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) : End (Line.Bundles.structureModule X) := |
| 63 | (LineBundle.EndGluing.lineEndTransferData L φ).glue (LineBundle.EndGluing.lineEndFrameCover_covers L) |
| 64 | |
| 65 | theorem Line.Bundles.LineBundle.endTransfer_restrict (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) |
| 66 | (i : LineBundle.EndGluing.LineEndFrameOpen L) : |
| 67 | (Scheme.Modules.restrictFunctor i.openSet.ι).map (L.endTransfer φ) = |
| 68 | OpenPullback.ModuleValues.pullbackModuleRestrictionMap i.openSet.ι (Local.LineBundleEndTransfer.localLineEndTransfer i.openSet.ι φ i.frame) := |
| 69 | (LineBundle.EndGluing.lineEndTransferData L φ).glue_restrict (LineBundle.EndGluing.lineEndFrameCover_covers L) i |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |