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.CompatibleFrameComparisons |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstructedCompatibleFrames |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.OpenMapGluing |
| 4 | |
| 5 | /-! # Frame Recognition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compatible actual local frames with the same cocycle determine a global sheaf isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 18 | variable {M N : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) (F : CompatibleSheaf.CompatibleSheafFrames D N) |
| 19 | |
| 20 | def CompatibleSheaf.CompatibleSheafFrames.comparisonBasisMap : Module.MapBasisExtension.ModuleBasisMap (Module.OpenMapGluing.subordinateOpenBasis U) M N where |
| 21 | app V := (E.comparison F V.val (Classical.choose V.property) (Classical.choose_spec V.property)).toLinearMap |
| 22 | naturality V W h x := E.comparison_restrict F W.val V.val h |
| 23 | (Classical.choose V.property) (Classical.choose W.property) |
| 24 | (Classical.choose_spec V.property) (Classical.choose_spec W.property) x |
| 25 | |
| 26 | def CompatibleSheaf.CompatibleSheafFrames.iso (hU : ∀ x : X, ∃ i, x ∈ U i) : M ≅ N := |
| 27 | (E.comparisonBasisMap F).extendIso (Module.OpenMapGluing.subordinateOpenBasis U) (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) |
| 28 | (fun V => (E.comparison F V.val (Classical.choose V.property) (Classical.choose_spec V.property)).bijective) |
| 29 | |
| 30 | theorem CompatibleSheaf.CompatibleSheafFrames.iso_app (hU : ∀ x : X, ∃ i, x ∈ U i) |
| 31 | (V : X.Opens) (i : ι) (hi : V ≤ U i) (x : Γ(M, V)) : |
| 32 | (E.iso F hU).hom.app V x = E.comparison F V i hi x := by |
| 33 | let W : Module.OpenMapGluing.SubordinateOpenIndex U := ⟨V, i, hi⟩ |
| 34 | have he := (E.comparisonBasisMap F).extend_app (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) W x |
| 35 | exact he.trans (congrArg (fun e : Γ(M, V) ≃ₗ[Γ(X, V)] Γ(N, V) => e x) |
| 36 | (E.comparison_independent F V (Classical.choose W.property) i (Classical.choose_spec W.property) hi)) |
| 37 | |
| 38 | def Sheaf.FrameRecognition.openFrameSheafRecognitionIso {κ : Type u} {V : κ → X.Opens} (C : OpenFrame.Transitions.OpenFrameTransitions V) |
| 39 | {P : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames C P) (hV : ∀ x : X, ∃ i, x ∈ V i) : |
| 40 | OpenFrame.ModuleSheaf.openFrameModuleSheaf C ≅ P := |
| 41 | (ConstructedCompatibleFrames.openFrameSheafFrames C).iso E hV |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |