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.ReferenceFamily.ReducedFrame |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Pullback.OpenFrameRestriction |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.RestrictionUnit |
| 4 | |
| 5 | /-! # Frame Over Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Global.FrameOverComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual restriction of a global frame agrees with the native |
| 14 | pullback frame, and remains the same under further open restriction. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {X : Scheme.{0}} {M : X.Modules} (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) |
| 19 | |
| 20 | def globalOpenFrame (U : X.Opens) : M.restrict U.ι ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule U.toScheme := |
| 21 | (Scheme.Modules.restrictFunctor U.ι).mapIso e ≪≫ Scheme.Modules.restrictUnitIso U.ι |
| 22 | |
| 23 | theorem globalOpenFrame_pullback (U : X.Opens) : |
| 24 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).symm.app M ≪≫ globalOpenFrame e U = |
| 25 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame U.ι e := by |
| 26 | apply Iso.ext |
| 27 | change (Scheme.Modules.restrictFunctorIsoPullback U.ι).inv.app M ≫ |
| 28 | (Scheme.Modules.restrictFunctor U.ι).map e.hom ≫ (Scheme.Modules.restrictUnitIso U.ι).hom = |
| 29 | (Scheme.Modules.pullback U.ι).map e.hom ≫ (SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso U.ι).hom |
| 30 | erw [← Category.assoc, ← (Scheme.Modules.restrictFunctorIsoPullback U.ι).inv.naturality e.hom, |
| 31 | Category.assoc, SheafCohomology.Projective.RestrictionUnit.restrictFunctorIsoPullback_inv_comp_restrictUnitIso] |
| 32 | rfl |
| 33 | |
| 34 | theorem factoredGlobalFrame {Y Z : Scheme.{0}} (f : Z ⟶ Y) (g : Y ⟶ X) : |
| 35 | RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame f g (RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame g e) = |
| 36 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame (f ≫ g) e := by |
| 37 | unfold RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame |
| 38 | erw [← RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame_comp f g e] |
| 39 | exact Iso.symm_self_id_assoc _ _ |
| 40 | |
| 41 | theorem pullbackGlobalFrame_transport {Y : Scheme.{0}} {f g : Y ⟶ X} (h : f = g) : |
| 42 | (Scheme.Modules.pullbackCongr h).app M ≪≫ RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame g e = |
| 43 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame f e := by |
| 44 | cases h |
| 45 | exact Iso.refl_trans _ |
| 46 | |
| 47 | theorem globalOpenFrame_restrict {U V : X.Opens} (h : V ≤ U) : |
| 48 | SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization h (globalOpenFrame e U) = globalOpenFrame e V := by |
| 49 | let a := (Scheme.Modules.restrictFunctorIsoPullback V.ι).symm.app M |
| 50 | have h₁ := RepresentationTheory.Theta.Geometric.OpenFramesFactored.restrictOpenFrame_as_factored M h (globalOpenFrame e U) |
| 51 | let b := (Scheme.Modules.pullbackCongr (X.homOfLE_ι h).symm).app M |
| 52 | have h₂ := congrArg (fun q : (Scheme.Modules.pullback U.ι).obj M ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme => |
| 53 | b ≪≫ RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame (X.homOfLE h) U.ι q) (globalOpenFrame_pullback e U) |
| 54 | have h₃ := congrArg (fun q => b ≪≫ q) (factoredGlobalFrame e (X.homOfLE h) U.ι) |
| 55 | have h₄ := pullbackGlobalFrame_transport e (X.homOfLE_ι h).symm |
| 56 | have h₅ := globalOpenFrame_pullback e V |
| 57 | apply Iso.ext |
| 58 | apply (cancel_epi a.hom).mp |
| 59 | exact congrArg Iso.hom (h₁.trans (h₂.trans (h₃.trans (h₄.trans h₅.symm)))) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | /-! The native over-site frame of a global line-sheaf isomorphism |
| 64 | is its original restricted sheaf map followed by the unit frame. -/ |
| 65 | |
| 66 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 67 | |
| 68 | theorem overFrame_precomp {X : Scheme.{0}} {M N : X.Modules} (U : X.Opens) |
| 69 | (e : M ≅ N) (f : N.restrict U.ι ≅ HilbertConstruction.Line.Bundles.structureModule U.toScheme) : |
| 70 | SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U ((Scheme.Modules.restrictFunctor U.ι).mapIso e ≪≫ f) = |
| 71 | (SheafOfModules.overFunctor X.ringCatSheaf U).mapIso e ≪≫ |
| 72 | SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso N U f := by |
| 73 | apply Iso.ext |
| 74 | apply (Scheme.Modules.overEquiv U).functor.map_injective |
| 75 | let F := (Scheme.Modules.overEquiv U).functor |
| 76 | let t := U.sheafOfModulesEquivOverUnit X.ringCatSheaf |
| 77 | let a := (Scheme.Modules.overFunctorEquiv U).app M ≪≫ (Scheme.Modules.restrictFunctor U.ι).mapIso e ≪≫ f ≪≫ t.symm |
| 78 | let b := (Scheme.Modules.overFunctorEquiv U).app N ≪≫ f ≪≫ t.symm |
| 79 | have ha : F.map (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U |
| 80 | ((Scheme.Modules.restrictFunctor U.ι).mapIso e ≪≫ f)).hom = a.hom := |
| 81 | (Scheme.Modules.overEquiv U).fullyFaithfulFunctor.map_preimage a.hom |
| 82 | have hb : F.map (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso N U f).hom = b.hom := |
| 83 | (Scheme.Modules.overEquiv U).fullyFaithfulFunctor.map_preimage b.hom |
| 84 | have hn : a.hom = F.map ((SheafOfModules.overFunctor X.ringCatSheaf U).map e.hom) ≫ b.hom := |
| 85 | (Category.assoc _ _ _).symm.trans |
| 86 | ((congrArg (fun a => a ≫ f.hom ≫ t.inv) |
| 87 | ((Scheme.Modules.overFunctorEquiv U).hom.naturality e.hom).symm).trans (Category.assoc _ _ _)) |
| 88 | exact ha.trans (hn.trans ((congrArg |
| 89 | (fun a => F.map ((SheafOfModules.overFunctor X.ringCatSheaf U).map e.hom) ≫ a) hb).symm.trans |
| 90 | (F.map_comp _ _).symm)) |
| 91 | |
| 92 | theorem globalOpenFrame_over {X : Scheme.{0}} {M : X.Modules} |
| 93 | (e : M ≅ HilbertConstruction.Line.Bundles.structureModule X) (U : X.Opens) : |
| 94 | SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U (globalOpenFrame e U) = |
| 95 | (SheafOfModules.overFunctor X.ringCatSheaf U).mapIso e ≪≫ |
| 96 | SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso (HilbertConstruction.Line.Bundles.structureModule X) U (Scheme.Modules.restrictUnitIso U.ι) := |
| 97 | overFrame_precomp U e (Scheme.Modules.restrictUnitIso U.ι) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Global.FrameOverComparison |