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.EndRing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ScalarBaseChange |
| 3 | |
| 4 | /-! # End Ring Equivalence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The endomorphism ring of any line bundle is the ring of global regular functions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {M N : X.Modules} |
| 17 | |
| 18 | theorem LineBundle.EndRingEquivalence.framedEndScalar_globalModuleScalar (e : Line.Bundles.structureModule X ≅ M) (r : Γ(X, ⊤)) : |
| 19 | LineBundle.EndScalars.framedEndScalar e (Global.ModuleScalars.globalModuleScalar M r) = Global.ModuleScalars.globalModuleScalar (Line.Bundles.structureModule X) r := by |
| 20 | unfold LineBundle.EndScalars.framedEndScalar |
| 21 | rw [← Category.assoc, ← Global.ModuleScalars.globalModuleScalar_natural r e.hom, Category.assoc, |
| 22 | e.hom_inv_id, Category.comp_id] |
| 23 | |
| 24 | theorem LineBundle.EndRingEquivalence.frameTransferEnd_globalModuleScalar (e : Line.Bundles.structureModule X ≅ M) |
| 25 | (d : Line.Bundles.structureModule X ≅ N) (r : Γ(X, ⊤)) : |
| 26 | Frame.EndTransfer.frameTransferEnd e d (Global.ModuleScalars.globalModuleScalar M r) = Global.ModuleScalars.globalModuleScalar N r := by |
| 27 | unfold Frame.EndTransfer.frameTransferEnd |
| 28 | rw [LineBundle.EndRingEquivalence.framedEndScalar_globalModuleScalar, ← Category.assoc, |
| 29 | ← Global.ModuleScalars.globalModuleScalar_natural r d.inv, Category.assoc, d.inv_hom_id, Category.comp_id] |
| 30 | |
| 31 | theorem Line.Bundles.LineBundle.endTransfer_globalModuleScalar (L : Line.Bundles.LineBundle X) (r : Γ(X, ⊤)) : |
| 32 | L.endTransfer (Global.ModuleScalars.globalModuleScalar L.sheaf r) = Global.ModuleScalars.globalModuleScalar (Line.Bundles.structureModule X) r := by |
| 33 | apply Module.MapCoverEquality.moduleMap_eq_of_pullback_cover (LineBundle.EndGluing.lineEndFrameCover L) (LineBundle.EndGluing.lineEndFrameCover_covers L) |
| 34 | intro i |
| 35 | dsimp only [LineBundle.EndGluing.lineEndFrameCover] |
| 36 | rw [L.endTransfer_pullback] |
| 37 | change Frame.EndTransfer.frameTransferEnd i.frame (Line.Bundles.structureModulePullbackIso i.openSet.ι).symm |
| 38 | ((Scheme.Modules.pullback i.openSet.ι).map (Global.ModuleScalars.globalModuleScalar L.sheaf r)) = |
| 39 | (Scheme.Modules.pullback i.openSet.ι).map (Global.ModuleScalars.globalModuleScalar (Line.Bundles.structureModule X) r) |
| 40 | rw [Global.ScalarBaseChange.globalModuleScalar_pullback, Global.ScalarBaseChange.globalModuleScalar_pullback, LineBundle.EndRingEquivalence.frameTransferEnd_globalModuleScalar] |
| 41 | |
| 42 | theorem Line.Bundles.LineBundle.endScalar_globalModuleScalar (L : Line.Bundles.LineBundle X) (r : Γ(X, ⊤)) : |
| 43 | L.endScalar (Global.ModuleScalars.globalModuleScalar L.sheaf r) = r := by |
| 44 | rw [Line.Bundles.LineBundle.endScalar, L.endTransfer_globalModuleScalar, Global.ModuleScalars.globalModuleScalar_structure_value] |
| 45 | |
| 46 | theorem Line.Bundles.LineBundle.endScalar_surjective (L : Line.Bundles.LineBundle X) : Function.Surjective L.endScalar := |
| 47 | fun r => ⟨Global.ModuleScalars.globalModuleScalar L.sheaf r, L.endScalar_globalModuleScalar r⟩ |
| 48 | |
| 49 | def Line.Bundles.LineBundle.endScalarRingEquiv (L : Line.Bundles.LineBundle X) : End L.sheaf ≃+* Γ(X, ⊤) := |
| 50 | RingEquiv.ofBijective L.endScalarRingHom ⟨L.endScalar_injective, L.endScalar_surjective⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |