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.CompatibleFrameLocal |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.OpenMapGluing |
| 3 | |
| 4 | /-! # Image Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible images of actual local frames determine a unique module-sheaf morphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 17 | variable {M N : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) (F : CompatibleFrameLocal.CompatibleFrameImages D N) |
| 18 | |
| 19 | def CompatibleFrameLocal.CompatibleFrameImages.basisMap : Module.MapBasisExtension.ModuleBasisMap (Module.OpenMapGluing.subordinateOpenBasis U) M N where |
| 20 | app V := F.localMap E V.val (Classical.choose V.property) (Classical.choose_spec V.property) |
| 21 | naturality V W h x := F.localMap_restrict E W.val V.val h |
| 22 | (Classical.choose V.property) (Classical.choose W.property) |
| 23 | (Classical.choose_spec V.property) (Classical.choose_spec W.property) x |
| 24 | |
| 25 | def CompatibleFrameLocal.CompatibleFrameImages.glue (hU : ∀ x : X, ∃ i, x ∈ U i) : M ⟶ N := |
| 26 | (F.basisMap E).extend (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) |
| 27 | |
| 28 | theorem CompatibleFrameLocal.CompatibleFrameImages.glue_app (hU : ∀ x : X, ∃ i, x ∈ U i) (V : X.Opens) (i : ι) (hi : V ≤ U i) (x : Γ(M, V)) : |
| 29 | (F.glue E hU).app V x = F.localMap E V i hi x := by |
| 30 | let W : Module.OpenMapGluing.SubordinateOpenIndex U := ⟨V, i, hi⟩ |
| 31 | exact ((F.basisMap E).extend_app (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) W x).trans |
| 32 | (LinearMap.congr_fun (F.localMap_independent E V (Classical.choose W.property) i |
| 33 | (Classical.choose_spec W.property) hi) x) |
| 34 | |
| 35 | theorem CompatibleFrameLocal.CompatibleFrameImages.glue_frame (hU : ∀ x : X, ∃ i, x ∈ U i) (V : X.Opens) (i : ι) (hi : V ≤ U i) (r : Γ(X, V)) : |
| 36 | (F.glue E hU).app V (E.frame V i hi r) = r • F.value V i hi := by |
| 37 | exact (F.glue_app E hU V i hi _).trans |
| 38 | (congrArg (fun a : Γ(X, V) => a • F.value V i hi) ((E.frame V i hi).symm_apply_apply r)) |
| 39 | |
| 40 | theorem CompatibleFrameLocal.CompatibleFrameImages.glue_unique (hU : ∀ x : X, ∃ i, x ∈ U i) (φ : M ⟶ N) |
| 41 | (hφ : ∀ (V : X.Opens) (i : ι) (hi : V ≤ U i) (r : Γ(X, V)), |
| 42 | φ.app V (E.frame V i hi r) = r • F.value V i hi) : φ = F.glue E hU := by |
| 43 | apply Module.BasisIsomorphisms.moduleMap_eq_of_basis (Module.OpenMapGluing.subordinateOpenBasis U) (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) |
| 44 | intro V |
| 45 | obtain ⟨i, hi⟩ := V.property |
| 46 | apply ConcreteCategory.hom_ext |
| 47 | intro x |
| 48 | obtain ⟨r, rfl⟩ := (E.frame V.val i hi).surjective x |
| 49 | exact (hφ V.val i hi r).trans (F.glue_frame E hU V.val i hi r).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |