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.AffineOpen.TensorBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorFiniteCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.Frames |
| 4 | |
| 5 | /-! # Bundle Section Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BundleSectionBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Flat affine base change commutes with global sections of a line bundle on a quasi-compact scheme with affine diagonal. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] [CompactSpace X] |
| 18 | [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 19 | |
| 20 | theorem flat_lineBundleTensorComparison_isIso |
| 21 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 22 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 23 | [Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g)] : |
| 24 | IsIso ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H L.sheaf).app (.op ⊤)) := by |
| 25 | obtain ⟨k, U, hAff, hFrame, hCover⟩ := L.exists_finite_affine_frames |
| 26 | let V : ULift.{u} (Fin k) → X.Opens := fun i => U i.down |
| 27 | have hU : iSup V = ⊤ := by |
| 28 | apply top_unique |
| 29 | intro x _ |
| 30 | obtain ⟨i, hi⟩ := hCover x |
| 31 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 32 | have hlocal (i : Pairwise (ULift.{u} (Fin k))) : |
| 33 | IsIso ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H L.sheaf).app (.op ((Pairwise.diagram V).obj i))) := by |
| 34 | cases i with |
| 35 | | single i => |
| 36 | exact AffineOpen.TensorBaseChange.affineFrame_moduleTensorComparison_isIso H L.sheaf (U i.down) (hAff i.down) (hFrame i.down).some |
| 37 | | pair i j => |
| 38 | exact AffineOpen.TensorBaseChange.affineFrame_moduleTensorComparison_isIso H L.sheaf (U i.down ⊓ U j.down) |
| 39 | ((hAff i.down).inf (hAff j.down)) (L.frameRestrict inf_le_left (hFrame i.down).some) |
| 40 | exact HilbertConstruction.Module.TensorFiniteCover.baseChangeModuleTensorComparison_isIso_of_finite_cover H L.sheaf V hU hlocal |
| 41 | |
| 42 | theorem flat_lineBundleTensorComparison_bijective |
| 43 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 44 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 45 | [Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g)] : |
| 46 | Function.Bijective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H L.sheaf).app (.op ⊤)) := by |
| 47 | exact (ConcreteCategory.isIso_iff_bijective _).mp (flat_lineBundleTensorComparison_isIso H L) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BundleSectionBaseChange |