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.HomImageRestriction |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.RestrictedHomTransport |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.PullbackHomGluing |
| 4 | |
| 5 | /-! # Pullback Hom Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.PullbackHomRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Internal-Hom sections restrict by the same canonical transport that |
| 12 | appears in the faithful-flat descent matching equations. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 23 | |
| 24 | def pullbackHomOnImageEquiv : |
| 25 | ((Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) ≃ |
| 26 | Γ(InternalHom.Construction.moduleInternalHom M N, f ''ᵁ (⊤ : X.Opens)) := |
| 27 | (Iso.homCongr ((Scheme.Modules.restrictFunctorIsoPullback f).app M).symm |
| 28 | ((Scheme.Modules.restrictFunctorIsoPullback f).app N).symm).trans (HomOnOpenImages.Construction.moduleHomOnImageEquiv f M N) |
| 29 | |
| 30 | variable {Z : Scheme.{u}} (g : Y ⟶ Z) [IsOpenImmersion g] (L K : Z.Modules) |
| 31 | |
| 32 | theorem pullbackHomOnImageEquiv_transport |
| 33 | (b : (Scheme.Modules.pullback g).obj L ⟶ (Scheme.Modules.pullback g).obj K) : |
| 34 | pullbackHomOnImageEquiv (f ≫ g) L K (ModuleHomTransport.Construction.moduleHomTransport g b f (f ≫ g) rfl) = |
| 35 | (InternalHom.Construction.moduleInternalHom L K).presheaf.map (HomImageRestriction.Construction.compositeImageInclusion f g).op |
| 36 | (pullbackHomOnImageEquiv g L K b) := |
| 37 | (congrArg (HomOnOpenImages.Construction.moduleHomOnImageEquiv (f ≫ g) L K) (RestrictedHomTransport.Construction.restriction_compare_transport f g b)).trans |
| 38 | (HomImageRestriction.Construction.moduleHomOnImageEquiv_comp f g L K _) |
| 39 | |
| 40 | def transportImageInclusion (q : X ⟶ Z) [IsOpenImmersion q] (hq : f ≫ g = q) : |
| 41 | q ''ᵁ (⊤ : X.Opens) ⟶ g ''ᵁ (⊤ : Y.Opens) := by |
| 42 | cases hq |
| 43 | exact HomImageRestriction.Construction.compositeImageInclusion f g |
| 44 | |
| 45 | theorem pullbackHomOnImageEquiv_transport_eq |
| 46 | (b : (Scheme.Modules.pullback g).obj L ⟶ (Scheme.Modules.pullback g).obj K) |
| 47 | (q : X ⟶ Z) [IsOpenImmersion q] (hq : f ≫ g = q) : |
| 48 | pullbackHomOnImageEquiv q L K (ModuleHomTransport.Construction.moduleHomTransport g b f q hq) = |
| 49 | (InternalHom.Construction.moduleInternalHom L K).presheaf.map (transportImageInclusion f g q hq).op |
| 50 | (pullbackHomOnImageEquiv g L K b) := by |
| 51 | cases hq |
| 52 | exact pullbackHomOnImageEquiv_transport f g L K b |
| 53 | |
| 54 | theorem presheaf_section_cast_map {W : Scheme.{u}} (F : TopCat.Presheaf AddCommGrpCat W) |
| 55 | {U V U' V' : W.Opens} (hU : U = U') (hV : V = V') (i : V ⟶ U) (i' : V' ⟶ U') |
| 56 | (a : F.obj (op U)) : |
| 57 | Equiv.cast (congrArg (fun V : W.Opens => (F.obj (op V) : Type u)) hV) (F.map i.op a) = |
| 58 | F.map i'.op (Equiv.cast (congrArg (fun U : W.Opens => (F.obj (op U) : Type u)) hU) a) := by |
| 59 | cases hU |
| 60 | cases hV |
| 61 | have hi : i = i' := Subsingleton.elim _ _ |
| 62 | cases hi |
| 63 | rfl |
| 64 | |
| 65 | theorem pullbackHomOnOpenEquiv_restrict {W : Scheme.{u}} (L K : W.Modules) |
| 66 | {U V : W.Opens} (h : V ≤ U) |
| 67 | (b : (Scheme.Modules.pullback U.ι).obj L ⟶ (Scheme.Modules.pullback U.ι).obj K) : |
| 68 | PullbackHomGluing.Construction.pullbackHomOnOpenEquiv L K V |
| 69 | (ModuleHomTransport.Construction.moduleHomTransport U.ι b (W.homOfLE h) V.ι (W.homOfLE_ι h)) = |
| 70 | (InternalHom.Construction.moduleInternalHom L K).presheaf.map (homOfLE h).op (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv L K U b) := by |
| 71 | have hm := pullbackHomOnImageEquiv_transport_eq (W.homOfLE h) U.ι L K b V.ι (W.homOfLE_ι h) |
| 72 | have he := congrArg (Equiv.cast (congrArg |
| 73 | (fun Q : W.Opens => (Γ(InternalHom.Construction.moduleInternalHom L K, Q) : Type u)) V.ι_image_top)) hm |
| 74 | have hc := presheaf_section_cast_map (InternalHom.Construction.moduleInternalHom L K).presheaf U.ι_image_top V.ι_image_top |
| 75 | (transportImageInclusion (W.homOfLE h) U.ι V.ι (W.homOfLE_ι h)) (homOfLE h) |
| 76 | (pullbackHomOnImageEquiv U.ι L K b) |
| 77 | exact he.trans hc |
| 78 | |
| 79 | end Construction |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.PullbackHomRestriction |