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.Affine.ModuleGlobalSectionsIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.Quasicoherence |
| 4 | |
| 5 | /-! # Module Frame From Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleFrameFromSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual basis of global sections of a quasicoherent module on an affine scheme constructs a genuine sheaf frame. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {X : Scheme.{u}} (M : X.Modules) |
| 15 | |
| 16 | def moduleFrameSection (e : Γ(M, ⊤) ≃ₗ[Γ(X, ⊤)] Γ(X, ⊤)) : Line.Bundles.structureModule X ⟶ M := |
| 17 | (Global.Sections.moduleSectionHomEquiv M).symm (e.symm 1) |
| 18 | |
| 19 | theorem moduleFrameSection_apply (e : Γ(M, ⊤) ≃ₗ[Γ(X, ⊤)] Γ(X, ⊤)) (r : Γ(X, ⊤)) : |
| 20 | (moduleFrameSection M e).app ⊤ r = e.symm r := by |
| 21 | have h : (moduleFrameSection M e).app ⊤ (1 : Γ(X, ⊤)) = e.symm 1 := |
| 22 | (Global.Sections.moduleSectionHomEquiv M).apply_symm_apply (e.symm 1) |
| 23 | calc |
| 24 | (moduleFrameSection M e).app ⊤ r = (moduleFrameSection M e).app ⊤ (r • (1 : Γ(X, ⊤))) := by |
| 25 | rw [smul_eq_mul, mul_one] |
| 26 | _ = r • (moduleFrameSection M e).app ⊤ (1 : Γ(X, ⊤)) := |
| 27 | (moduleFrameSection M e).app_smul r (1 : Γ(X, ⊤)) |
| 28 | _ = r • e.symm 1 := congrArg (fun z : Γ(M, ⊤) => r • z) h |
| 29 | _ = e.symm r := (e.symm.map_smul r 1).symm.trans (congrArg e.symm (mul_one r)) |
| 30 | |
| 31 | def affineModuleFrameFromSections [IsAffine X] [M.IsQuasicoherent] |
| 32 | (e : Γ(M, ⊤) ≃ₗ[Γ(X, ⊤)] Γ(X, ⊤)) : M ≅ Line.Bundles.structureModule X := by |
| 33 | let φ := moduleFrameSection M e |
| 34 | have : (Line.Bundles.structureModule X).IsQuasicoherent := (Line.Bundles.LineBundle.trivial X).isQuasicoherent |
| 35 | have hΓ : IsIso (φ.val.app (.op (⊤ : X.Opens))) := by |
| 36 | rw [ConcreteCategory.isIso_iff_bijective] |
| 37 | change Function.Bijective (fun r : Γ(X, ⊤) => φ.app ⊤ r) |
| 38 | have h : (fun r : Γ(X, ⊤) => φ.app ⊤ r) = e.symm := funext (moduleFrameSection_apply M e) |
| 39 | rw [h] |
| 40 | exact e.symm.bijective |
| 41 | have := ModuleGlobalSectionsIsomorphism.affineModule_isIso_of_globalSections_isIso φ hΓ |
| 42 | exact (asIso φ).symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleFrameFromSections |