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.Tensor.FrameRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisSheafificationIsomorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstructedCompatibleFrames |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.OpenMapGluing |
| 5 | |
| 6 | /-! # Frame Recognition -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual tensor power of a sheaf with compatible rank-one frames is the sheaf with the powered frame cocycle. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 19 | variable {M N : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) (d : ℕ) (F : CompatibleSheaf.CompatibleSheafFrames (D.power d) N) |
| 20 | |
| 21 | def CompatibleSheaf.CompatibleSheafFrames.tensorBasisMap : PresheafModuleBasisMaps.PresheafModuleBasisMap (Module.OpenMapGluing.subordinateOpenBasis U) (TensorPower.Presheaf.tensorPowerPresheaf M d) N where |
| 22 | app V := (E.tensorComparison d F V.val (Classical.choose V.property) (Classical.choose_spec V.property)).toLinearMap |
| 23 | naturality V W h x := E.tensorComparison_restrict d F W.val V.val h |
| 24 | (Classical.choose V.property) (Classical.choose W.property) |
| 25 | (Classical.choose_spec V.property) (Classical.choose_spec W.property) x |
| 26 | |
| 27 | def CompatibleSheaf.CompatibleSheafFrames.tensorPowerIso (hU : ∀ x : X, ∃ i, x ∈ U i) : TensorPower.PowerSheaf.tensorPowerModule M d ≅ N := |
| 28 | (E.tensorBasisMap d F).sheafificationIso (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) |
| 29 | (fun V => (E.tensorComparison d F V.val (Classical.choose V.property) (Classical.choose_spec V.property)).bijective) |
| 30 | |
| 31 | def TensorPower.FrameRecognition.openFrameTensorPowerIso {κ : Type u} {V : κ → X.Opens} (C : OpenFrame.Transitions.OpenFrameTransitions V) |
| 32 | (hV : ∀ x : X, ∃ i, x ∈ V i) (k : ℕ) : |
| 33 | TensorPower.PowerSheaf.tensorPowerModule (OpenFrame.ModuleSheaf.openFrameModuleSheaf C) k ≅ OpenFrame.ModuleSheaf.openFrameModuleSheaf (C.power k) := |
| 34 | (ConstructedCompatibleFrames.openFrameSheafFrames C).tensorPowerIso k (ConstructedCompatibleFrames.openFrameSheafFrames (C.power k)) hV |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |