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.OpenFrame.AdjointUniqueness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenFrames |
| 3 | |
| 4 | /-! # Pullback Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The explicit pulled-back transition sheaf is canonically isomorphic to the actual sheaf pullback, by the proved universal property of its local frame images. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} {ι : Type u} {U : ι → Y.Opens} (D : Transitions.OpenFrameTransitions U) (f : X ⟶ Y) |
| 17 | variable (hU : ∀ y : Y, ∃ i, y ∈ U i) |
| 18 | |
| 19 | include hU in |
| 20 | theorem openFramePullbackAdjoint_injective (N : X.Modules) : |
| 21 | Function.Injective (fun φ : ModuleSheaf.openFrameModuleSheaf (D.pullback f) ⟶ N => |
| 22 | PullbackSheafMap.openFramePullbackAdjoint D f ≫ (Scheme.Modules.pushforward f).map φ) := by |
| 23 | intro φ ψ h |
| 24 | exact (AdjointUniqueness.openFrameAdjointLift_unique D f hU _ φ rfl).trans |
| 25 | (AdjointUniqueness.openFrameAdjointLift_unique D f hU _ ψ h.symm).symm |
| 26 | |
| 27 | theorem openFramePullbackComparison_unit : |
| 28 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ModuleSheaf.openFrameModuleSheaf D) ≫ |
| 29 | (Scheme.Modules.pushforward f).map (PullbackSheafMap.openFramePullbackComparison D f) = PullbackSheafMap.openFramePullbackAdjoint D f := |
| 30 | (Adjunction.homEquiv_unit _ _ _ (PullbackSheafMap.openFramePullbackComparison D f)).symm.trans |
| 31 | (PullbackSheafMap.openFramePullbackComparison_adjoint D f) |
| 32 | |
| 33 | def openFramePullbackInverse : |
| 34 | ModuleSheaf.openFrameModuleSheaf (D.pullback f) ⟶ (Scheme.Modules.pullback f).obj (ModuleSheaf.openFrameModuleSheaf D) := |
| 35 | AdjointLift.openFrameAdjointLift D f hU ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ModuleSheaf.openFrameModuleSheaf D)) |
| 36 | |
| 37 | theorem openFramePullbackComparison_inverse : |
| 38 | PullbackSheafMap.openFramePullbackComparison D f ≫ openFramePullbackInverse D f hU = 𝟙 _ := by |
| 39 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 40 | rw [Adjunction.homEquiv_unit, Adjunction.homEquiv_unit, Functor.map_comp, ← Category.assoc, |
| 41 | openFramePullbackComparison_unit] |
| 42 | exact (AdjointRecovery.openFrameAdjointLift_spec D f hU _).trans |
| 43 | (by |
| 44 | rw [(Scheme.Modules.pushforward f).map_id] |
| 45 | exact (Category.comp_id ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ModuleSheaf.openFrameModuleSheaf D))).symm) |
| 46 | |
| 47 | theorem openFramePullbackInverse_comparison : |
| 48 | openFramePullbackInverse D f hU ≫ PullbackSheafMap.openFramePullbackComparison D f = 𝟙 _ := by |
| 49 | apply openFramePullbackAdjoint_injective D f hU |
| 50 | change PullbackSheafMap.openFramePullbackAdjoint D f ≫ (Scheme.Modules.pushforward f).map |
| 51 | (openFramePullbackInverse D f hU ≫ PullbackSheafMap.openFramePullbackComparison D f) = |
| 52 | PullbackSheafMap.openFramePullbackAdjoint D f ≫ (Scheme.Modules.pushforward f).map (𝟙 _) |
| 53 | have hm := (congrArg (fun a => PullbackSheafMap.openFramePullbackAdjoint D f ≫ a) |
| 54 | ((Scheme.Modules.pushforward f).map_comp (openFramePullbackInverse D f hU) (PullbackSheafMap.openFramePullbackComparison D f))).trans |
| 55 | (Category.assoc _ _ _).symm |
| 56 | have he := AdjointRecovery.openFrameAdjointLift_spec D f hU |
| 57 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ModuleSheaf.openFrameModuleSheaf D)) |
| 58 | exact hm.trans ((congrArg (fun a => a ≫ (Scheme.Modules.pushforward f).map (PullbackSheafMap.openFramePullbackComparison D f)) he).trans |
| 59 | ((openFramePullbackComparison_unit D f).trans (by |
| 60 | rw [(Scheme.Modules.pushforward f).map_id] |
| 61 | exact (Category.comp_id (PullbackSheafMap.openFramePullbackAdjoint D f)).symm))) |
| 62 | |
| 63 | def openFramePullbackIso : |
| 64 | (Scheme.Modules.pullback f).obj (ModuleSheaf.openFrameModuleSheaf D) ≅ ModuleSheaf.openFrameModuleSheaf (D.pullback f) where |
| 65 | hom := PullbackSheafMap.openFramePullbackComparison D f |
| 66 | inv := openFramePullbackInverse D f hU |
| 67 | hom_inv_id := openFramePullbackComparison_inverse D f hU |
| 68 | inv_hom_id := openFramePullbackInverse_comparison D f hU |
| 69 | |
| 70 | def lineBundleFromOpenFrames_pullbackIso : |
| 71 | ((LineBundle.FromOpenFrames.lineBundleFromOpenFrames D hU).pullback f).sheaf ≅ |
| 72 | (LineBundle.FromOpenFrames.lineBundleFromOpenFrames (D.pullback f) (PulledBackFrameTransitions.OpenFrameTransitions.pullback_cover f hU)).sheaf := |
| 73 | openFramePullbackIso D f hU |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackIsomorphism |