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.PullbackIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.SectionCoordinateValues |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.EqualityAndPullbackValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstructedCompatibleFrames |
| 5 | |
| 6 | /-! # Pullback Section Zero -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackSectionZero |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual pullback of a section of a framed line bundle is zero |
| 13 | exactly when all of its pulled-back regular chart coefficients are |
| 14 | zero. This uses sheaf values, including nilpotent coefficients. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} {ι : Type u} {U : ι → Y.Opens} |
| 18 | variable (D : Transitions.OpenFrameTransitions U) (f : X ⟶ Y) |
| 19 | |
| 20 | theorem openFramePullbackSection_app_of_tuple |
| 21 | (s : Line.Bundles.structureModule Y ⟶ ModuleSheaf.openFrameModuleSheaf D) (i : ι) : |
| 22 | (PullbackSheafMap.openFramePullbackComparison D f).app (f ⁻¹ᵁ U i) |
| 23 | ((Ample.LineBundles.pullbackSection f s).app (f ⁻¹ᵁ U i) (1 : Γ(X, f ⁻¹ᵁ U i))) = |
| 24 | SectionGenerators.openFrameGenerator (D.pullback f) (f ⁻¹ᵁ U i) i le_rfl |
| 25 | (f.app (U i) (CoefficientSections.openFrameGlobalTupleMap D |
| 26 | (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D) s) i)) := by |
| 27 | rw [Section.EqualityAndPullbackValues.pullbackSection_value_on_preimage] |
| 28 | have h := congrArg (fun a : ModuleSheaf.openFrameModuleSheaf D ⟶ |
| 29 | (Scheme.Modules.pushforward f).obj (ModuleSheaf.openFrameModuleSheaf (D.pullback f)) => |
| 30 | a.app (U i) (s.app (U i) (1 : Γ(Y, U i)))) (PullbackIsomorphism.openFramePullbackComparison_unit D f) |
| 31 | change (PullbackSheafMap.openFramePullbackComparison D f).app (f ⁻¹ᵁ U i) |
| 32 | (((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ModuleSheaf.openFrameModuleSheaf D)).app |
| 33 | (U i) (s.app (U i) (1 : Γ(Y, U i)))) = |
| 34 | (PullbackSheafMap.openFramePullbackAdjoint D f).app (U i) (s.app (U i) (1 : Γ(Y, U i))) at h |
| 35 | rw [h, SectionCoordinateValues.openFrameSection_app_of_tuple] |
| 36 | exact PullbackGenerators.openFrameSectionPullback_generator D f (U i) i le_rfl _ |
| 37 | |
| 38 | theorem openFrame_pullbackSection_eq_zero_iff |
| 39 | (hU : ∀ y : Y, ∃ i, y ∈ U i) |
| 40 | (s : Line.Bundles.structureModule Y ⟶ ModuleSheaf.openFrameModuleSheaf D) : |
| 41 | Ample.LineBundles.pullbackSection f s = 0 ↔ ∀ i, f.app (U i) |
| 42 | (CoefficientSections.openFrameGlobalTupleMap D (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D) s) i) = 0 := by |
| 43 | constructor |
| 44 | · intro hs i |
| 45 | apply LocalFreeness.openFrameGenerator_injective (D.pullback f) (f ⁻¹ᵁ U i) i le_rfl |
| 46 | have h := openFramePullbackSection_app_of_tuple D f s i |
| 47 | rw [hs] at h |
| 48 | have hz : (0 : Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj (ModuleSheaf.openFrameModuleSheaf D)).app |
| 49 | (f ⁻¹ᵁ U i) (1 : Γ(X, f ⁻¹ᵁ U i)) = 0 := rfl |
| 50 | rw [hz, map_zero] at h |
| 51 | exact h.symm.trans (LocalFreeness.openFrameLocalEquiv (D.pullback f) (f ⁻¹ᵁ U i) i le_rfl).map_zero.symm |
| 52 | · intro hs |
| 53 | let c := PullbackSheafMap.openFramePullbackComparison D f |
| 54 | have : IsIso c := (PullbackIsomorphism.openFramePullbackIso D f hU).isIso_hom |
| 55 | apply (cancel_mono c).mp |
| 56 | rw [zero_comp] |
| 57 | apply Section.EqualityAndPullbackValues.moduleSection_eq_of_cover (ModuleSheaf.openFrameModuleSheaf (D.pullback f)) (fun i => f ⁻¹ᵁ U i) |
| 58 | (PulledBackFrameTransitions.OpenFrameTransitions.pullback_cover f hU) |
| 59 | intro i |
| 60 | change c.app (f ⁻¹ᵁ U i) ((Ample.LineBundles.pullbackSection f s).app (f ⁻¹ᵁ U i) |
| 61 | (1 : Γ(X, f ⁻¹ᵁ U i))) = 0 |
| 62 | rw [show c = PullbackSheafMap.openFramePullbackComparison D f from rfl, |
| 63 | openFramePullbackSection_app_of_tuple, hs i] |
| 64 | exact (LocalFreeness.openFrameLocalEquiv (D.pullback f) (f ⁻¹ᵁ U i) i le_rfl).map_zero |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackSectionZero |