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.Picard.Homomorphisms.GlobalHomSections |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.InternalHomRestriction |
| 3 | |
| 4 | /-! # Local Hom Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.LocalHomSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local sections of internal Hom are morphisms of the actual module |
| 11 | sheaves restricted to that open subscheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X : Scheme.{u}} (M N : X.Modules) |
| 22 | |
| 23 | def moduleHomOnOpenEquiv (U : X.Opens) : |
| 24 | (M.restrict U.ι ⟶ N.restrict U.ι) ≃ Γ(InternalHom.Construction.moduleInternalHom M N, U) := |
| 25 | (GlobalHomSections.Construction.moduleHomGlobalSectionEquiv (M.restrict U.ι) (N.restrict U.ι)).trans |
| 26 | ((InternalHomRestriction.Construction.localLinearHomRestrictEquiv U.ι M N ⊤).symm.trans |
| 27 | (Equiv.cast (congrArg (fun V : X.Opens => (Γ(InternalHom.Construction.moduleInternalHom M N, V) : Type u)) U.ι_image_top))) |
| 28 | |
| 29 | theorem moduleHomSection_transport (b : M ⟶ N) (U V : X.Opens) (h : U = V) : |
| 30 | (Equiv.cast (congrArg (fun W : X.Opens => (Γ(InternalHom.Construction.moduleInternalHom M N, W) : Type u)) h)) |
| 31 | ((InternalHom.Construction.moduleInternalHom M N).presheaf.map U.leTop.op (GlobalHomSections.Construction.moduleHomGlobalSection M N b)) = |
| 32 | (InternalHom.Construction.moduleInternalHom M N).presheaf.map V.leTop.op (GlobalHomSections.Construction.moduleHomGlobalSection M N b) := by |
| 33 | cases h |
| 34 | rfl |
| 35 | |
| 36 | theorem moduleHomOnOpenEquiv_restrict (b : M ⟶ N) (U : X.Opens) : |
| 37 | moduleHomOnOpenEquiv M N U ((Scheme.Modules.restrictFunctor U.ι).map b) = |
| 38 | (InternalHom.Construction.moduleInternalHom M N).presheaf.map U.leTop.op (GlobalHomSections.Construction.moduleHomGlobalSection M N b) := by |
| 39 | apply (moduleHomOnOpenEquiv M N U).symm.injective |
| 40 | rw [Equiv.symm_apply_apply] |
| 41 | change (Scheme.Modules.restrictFunctor U.ι).map b = |
| 42 | GlobalHomSections.Construction.moduleHomOfGlobalSection (M.restrict U.ι) (N.restrict U.ι) |
| 43 | (InternalHomRestriction.Construction.localLinearHomRestrict U.ι M N ⊤ |
| 44 | ((Equiv.cast (congrArg (fun V : X.Opens => (Γ(InternalHom.Construction.moduleInternalHom M N, V) : Type u)) |
| 45 | U.ι_image_top)).symm |
| 46 | ((InternalHom.Construction.moduleInternalHom M N).presheaf.map U.leTop.op (GlobalHomSections.Construction.moduleHomGlobalSection M N b)))) |
| 47 | have hc : ((Equiv.cast (congrArg (fun W : X.Opens => (Γ(InternalHom.Construction.moduleInternalHom M N, W) : Type u)) |
| 48 | U.ι_image_top)).symm |
| 49 | ((InternalHom.Construction.moduleInternalHom M N).presheaf.map U.leTop.op (GlobalHomSections.Construction.moduleHomGlobalSection M N b))) = |
| 50 | (InternalHom.Construction.moduleInternalHom M N).presheaf.map (U.ι ''ᵁ ⊤).leTop.op (GlobalHomSections.Construction.moduleHomGlobalSection M N b) := |
| 51 | moduleHomSection_transport M N b U (U.ι ''ᵁ ⊤) U.ι_image_top.symm |
| 52 | rw [hc] |
| 53 | apply Scheme.Modules.hom_ext |
| 54 | intro V |
| 55 | ext s |
| 56 | rfl |
| 57 | |
| 58 | end Construction |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.LocalHomSections |