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.EndRingEquivalence |
| 2 | |
| 3 | /-! # End Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Endomorphisms of line bundles commute with pullback through the map on global scalars. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | theorem Line.Bundles.LineBundle.globalModuleScalar_endScalar (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) : |
| 18 | Global.ModuleScalars.globalModuleScalar L.sheaf (L.endScalar φ) = φ := |
| 19 | L.endScalar_injective (L.endScalar_globalModuleScalar (L.endScalar φ)) |
| 20 | |
| 21 | theorem Line.Bundles.LineBundle.endScalar_pullback (f : Y ⟶ X) (L : Line.Bundles.LineBundle X) (φ : End L.sheaf) : |
| 22 | (L.pullback f).endScalar ((Scheme.Modules.pullback f).map φ) = f.appTop (L.endScalar φ) := by |
| 23 | have h := congrArg (fun ψ => (L.pullback f).endScalar ((Scheme.Modules.pullback f).map ψ)) |
| 24 | (Line.Bundles.LineBundle.globalModuleScalar_endScalar L φ) |
| 25 | rw [Global.ScalarBaseChange.globalModuleScalar_pullback] at h |
| 26 | exact h.symm.trans ((L.pullback f).endScalar_globalModuleScalar _) |
| 27 | |
| 28 | theorem Line.Bundles.LineBundle.endPullback_injective_of_globalFunctions (f : Y ⟶ X) (L : Line.Bundles.LineBundle X) |
| 29 | (hf : Function.Injective f.appTop) : |
| 30 | Function.Injective (fun φ : End L.sheaf => (Scheme.Modules.pullback f).map φ) := by |
| 31 | intro φ ψ h |
| 32 | apply L.endScalar_injective |
| 33 | apply hf |
| 34 | exact (Line.Bundles.LineBundle.endScalar_pullback f L φ).symm.trans |
| 35 | ((congrArg (L.pullback f).endScalar h).trans (Line.Bundles.LineBundle.endScalar_pullback f L ψ)) |
| 36 | |
| 37 | theorem Line.Bundles.LineBundle.endPullback_surjective_of_globalFunctions (f : Y ⟶ X) (L : Line.Bundles.LineBundle X) |
| 38 | (hf : Function.Surjective f.appTop) : |
| 39 | Function.Surjective (fun φ : End L.sheaf => (Scheme.Modules.pullback f).map φ) := by |
| 40 | intro ψ |
| 41 | obtain ⟨r, hr⟩ := hf ((L.pullback f).endScalar ψ) |
| 42 | refine ⟨Global.ModuleScalars.globalModuleScalar L.sheaf r, ?_⟩ |
| 43 | change (Scheme.Modules.pullback f).map (Global.ModuleScalars.globalModuleScalar L.sheaf r) = ψ |
| 44 | rw [Global.ScalarBaseChange.globalModuleScalar_pullback, hr] |
| 45 | exact Line.Bundles.LineBundle.globalModuleScalar_endScalar (L.pullback f) ψ |
| 46 | |
| 47 | def Line.Bundles.LineBundle.endPullbackRingEquiv (f : Y ⟶ X) (L : Line.Bundles.LineBundle X) |
| 48 | (hf : Function.Bijective f.appTop) : End L.sheaf ≃+* End (L.pullback f).sheaf := |
| 49 | RingEquiv.ofBijective (LineBundle.EndRing.moduleFunctorEndRingHom (Scheme.Modules.pullback f) L.sheaf) |
| 50 | ⟨Line.Bundles.LineBundle.endPullback_injective_of_globalFunctions f L hf.1, |
| 51 | Line.Bundles.LineBundle.endPullback_surjective_of_globalFunctions f L hf.2⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |