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.HomOnOpenImages |
| 2 | |
| 3 | /-! # Hom Image Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.HomImageRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a local module morphism restricts its internal-Hom |
| 10 | section on the corresponding open image. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 21 | variable [IsOpenImmersion f] [IsOpenImmersion g] (L M : Z.Modules) |
| 22 | |
| 23 | def compositeRestrictedModuleHom (b : L.restrict g ⟶ M.restrict g) : |
| 24 | L.restrict (f ≫ g) ⟶ M.restrict (f ≫ g) := |
| 25 | (Scheme.Modules.restrictFunctorComp f g).hom.app L ≫ |
| 26 | (Scheme.Modules.restrictFunctor f).map b ≫ (Scheme.Modules.restrictFunctorComp f g).inv.app M |
| 27 | |
| 28 | def compositeImageInclusion : (f ≫ g) ''ᵁ (⊤ : X.Opens) ⟶ g ''ᵁ (⊤ : Y.Opens) := |
| 29 | homOfLE ((Scheme.Hom.comp_image f g ⊤).le.trans (g.image_mono le_top)) |
| 30 | |
| 31 | theorem moduleHomOnImageEquiv_comp (b : L.restrict g ⟶ M.restrict g) : |
| 32 | HomOnOpenImages.Construction.moduleHomOnImageEquiv (f ≫ g) L M (compositeRestrictedModuleHom f g L M b) = |
| 33 | (InternalHom.Construction.moduleInternalHom L M).presheaf.map (compositeImageInclusion f g).op |
| 34 | (HomOnOpenImages.Construction.moduleHomOnImageEquiv g L M b) := by |
| 35 | apply InternalHomRestriction.Construction.localLinearHomRestrict_injective (f ≫ g) L M ⊤ |
| 36 | rw [HomOnOpenImages.Construction.moduleHomOnImageEquiv_restrict] |
| 37 | apply Subtype.ext |
| 38 | apply NatTrans.ext |
| 39 | funext W |
| 40 | apply AddCommGrpCat.ext |
| 41 | intro m |
| 42 | let V := W.unop.left |
| 43 | let a := HomOnOpenImages.Construction.moduleHomOnImageEquiv g L M b |
| 44 | let j₁ := (f ≫ g).opensFunctor.map W.unop.hom ≫ compositeImageInclusion f g |
| 45 | let j₂ := g.opensFunctor.map (f ''ᵁ V).leTop |
| 46 | have hV : (f ≫ g) ''ᵁ V = g ''ᵁ (f ''ᵁ V) := Scheme.Hom.comp_image f g V |
| 47 | have hc := HomOnOpenImages.Construction.internalHom_coordinate_transport L M a (leOfHom j₁) (leOfHom j₂) hV |
| 48 | have hb := HomOnOpenImages.Construction.moduleHomOnImageEquiv_coordinate g L M b (f ''ᵁ V) |
| 49 | change a.val.app (op (Over.mk j₂)) = b.app (f ''ᵁ V) at hb |
| 50 | change M.presheaf.map (eqToHom hV).op |
| 51 | (b.app (f ''ᵁ V) (L.presheaf.map (eqToHom hV.symm).op m)) = |
| 52 | a.val.app (op (Over.mk j₁)) m |
| 53 | have hv := ConcreteCategory.congr_hom hc m |
| 54 | change a.val.app (op (Over.mk j₁)) m = |
| 55 | M.presheaf.map (eqToHom hV).op |
| 56 | (a.val.app (op (Over.mk j₂)) (L.presheaf.map (eqToHom hV.symm).op m)) at hv |
| 57 | exact (hv.trans (congrArg (fun q => M.presheaf.map (eqToHom hV).op |
| 58 | (q (L.presheaf.map (eqToHom hV.symm).op m))) hb)).symm |
| 59 | |
| 60 | end Construction |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.HomImageRestriction |