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.OpenPullback.FrameEquivalence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.EndRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames |
| 4 | |
| 5 | /-! # Local Linear Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.LocalLinearFrames |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A global section gives an actual linear frame on every open contained in its nonvanishing locus. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | theorem openPullbackModuleEquiv_global_apply (f : X ⟶ Y) [IsOpenImmersion f] |
| 20 | {M N : Y.Modules} (φ : M ⟶ N) [IsIso ((Scheme.Modules.pullback f).map φ)] |
| 21 | (V : Y.Opens) (hV : V ≤ f.opensRange) (x : Γ(M, V)) : |
| 22 | OpenPullback.FrameEquivalence.openPullbackModuleEquiv f (asIso ((Scheme.Modules.pullback f).map φ)) V hV x = φ.app V x := by |
| 23 | have h₁ := OpenPullback.ModuleValues.openPullbackModuleValue_restriction f ((Scheme.Modules.pullback f).map φ) V hV |
| 24 | have h₂ := congrArg (fun a => OpenModule.MapValues.openModuleMapValue f a V hV) (LineBundle.EndRecovery.pullbackModuleRestrictionMap_global f φ) |
| 25 | have h₃ := OpenModule.MapValues.openModuleMapValue_from_global f φ V hV |
| 26 | exact LinearMap.congr_fun (h₁.symm.trans (h₂.trans h₃)) x |
| 27 | |
| 28 | def sectionLocalFrameEquiv {M : X.Modules} (s : Line.Bundles.structureModule X ⟶ M) |
| 29 | (V : X.Opens) (hV : V ≤ Ample.LineBundles.sectionNonvanishing s) : Γ(X, V) ≃ₗ[Γ(X, V)] Γ(M, V) := by |
| 30 | have : IsIso ((Scheme.Modules.pullback (Ample.LineBundles.sectionNonvanishing s).ι).map s) := |
| 31 | (Nonvanishing.isIso_pullbackSection_iff (Ample.LineBundles.sectionNonvanishing s).ι s).mp inferInstance |
| 32 | exact OpenPullback.FrameEquivalence.openPullbackModuleEquiv (Ample.LineBundles.sectionNonvanishing s).ι |
| 33 | (asIso ((Scheme.Modules.pullback (Ample.LineBundles.sectionNonvanishing s).ι).map s)) V |
| 34 | (by simpa only [(Ample.LineBundles.sectionNonvanishing s).opensRange_ι] using hV) |
| 35 | |
| 36 | theorem sectionLocalFrameEquiv_apply {M : X.Modules} (s : Line.Bundles.structureModule X ⟶ M) |
| 37 | (V : X.Opens) (hV : V ≤ Ample.LineBundles.sectionNonvanishing s) (r : Γ(X, V)) : |
| 38 | sectionLocalFrameEquiv s V hV r = s.app V r := by |
| 39 | have : IsIso ((Scheme.Modules.pullback (Ample.LineBundles.sectionNonvanishing s).ι).map s) := |
| 40 | (Nonvanishing.isIso_pullbackSection_iff (Ample.LineBundles.sectionNonvanishing s).ι s).mp inferInstance |
| 41 | exact openPullbackModuleEquiv_global_apply (Ample.LineBundles.sectionNonvanishing s).ι s V |
| 42 | (by simpa only [(Ample.LineBundles.sectionNonvanishing s).opensRange_ι] using hV) r |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.LocalLinearFrames |