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.OpenModule.MapRefinement |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.EndRecovery |
| 3 | |
| 4 | /-! # Map Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.MapGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible maps between canonical module pullbacks glue on an open cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type v} (U : ι → X.Opens) (M N : X.Modules) |
| 17 | |
| 18 | structure OpenPullbackModuleMaps where |
| 19 | localMap : ∀ i, (Scheme.Modules.pullback (U i).ι).obj M ⟶ |
| 20 | (Scheme.Modules.pullback (U i).ι).obj N |
| 21 | agree : ∀ i j (V : X.Opens) (hi : V ≤ U i) (hj : V ≤ U j), |
| 22 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap hi) (localMap i) = |
| 23 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap hj) (localMap j) |
| 24 | |
| 25 | namespace OpenPullbackModuleMaps |
| 26 | |
| 27 | variable {U M N} (D : OpenPullbackModuleMaps U M N) |
| 28 | |
| 29 | def restrictionData : Module.OpenMapGluing.OpenCoverModuleMaps U M N where |
| 30 | localMap i := ModuleValues.pullbackModuleRestrictionMap (U i).ι (D.localMap i) |
| 31 | agree i j V hi hj := by |
| 32 | have hi' : V ≤ (U i).ι.opensRange := by rwa [(U i).opensRange_ι] |
| 33 | have hj' : V ≤ (U j).ι.opensRange := by rwa [(U j).opensRange_ι] |
| 34 | have hV : V ≤ V.ι.opensRange := by rw [V.opensRange_ι] |
| 35 | exact (ModuleValues.openPullbackModuleValue_restriction (U i).ι (D.localMap i) V hi').trans |
| 36 | ((OpenModule.MapRefinement.openPullbackModuleValue_refine hi (D.localMap i)).symm.trans |
| 37 | ((congrArg (fun φ => ModuleValues.openPullbackModuleValue V.ι φ V hV) (D.agree i j V hi hj)).trans |
| 38 | ((OpenModule.MapRefinement.openPullbackModuleValue_refine hj (D.localMap j)).trans |
| 39 | (ModuleValues.openPullbackModuleValue_restriction (U j).ι (D.localMap j) V hj').symm))) |
| 40 | |
| 41 | def glue (hU : ∀ x : X, ∃ i, x ∈ U i) : M ⟶ N := D.restrictionData.glue hU |
| 42 | |
| 43 | theorem glue_pullback (hU : ∀ x : X, ∃ i, x ∈ U i) (i : ι) : |
| 44 | (Scheme.Modules.pullback (U i).ι).map (D.glue hU) = D.localMap i := by |
| 45 | apply LineBundle.EndRecovery.pullbackModuleRestrictionMap_injective (U i).ι M N |
| 46 | rw [LineBundle.EndRecovery.pullbackModuleRestrictionMap_global] |
| 47 | exact D.restrictionData.glue_restrict hU i |
| 48 | |
| 49 | theorem glue_unique (hU : ∀ x : X, ∃ i, x ∈ U i) (φ : M ⟶ N) |
| 50 | (hφ : ∀ i, (Scheme.Modules.pullback (U i).ι).map φ = D.localMap i) : φ = D.glue hU := by |
| 51 | apply Module.MapCoverEquality.moduleMap_eq_of_pullback_cover U hU |
| 52 | intro i |
| 53 | exact (hφ i).trans (D.glue_pullback hU i).symm |
| 54 | |
| 55 | theorem existsUnique_glue (hU : ∀ x : X, ∃ i, x ∈ U i) : |
| 56 | ∃! φ : M ⟶ N, ∀ i, (Scheme.Modules.pullback (U i).ι).map φ = D.localMap i := |
| 57 | ⟨D.glue hU, D.glue_pullback hU, D.glue_unique hU⟩ |
| 58 | |
| 59 | end OpenPullbackModuleMaps |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.MapGluing |