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.LocalSections |
| 2 | |
| 3 | /-! # From Open Frames -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenFrames |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual regular-function cocycle on an open cover constructs a line bundle, with its local trivializations proved from the explicit frame section maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} (D : OpenFrame.Transitions.OpenFrameTransitions U) |
| 16 | |
| 17 | theorem openFrameLocalSection_app_bijective (k : ι) (W : (U k).toScheme.Opens) : |
| 18 | Function.Bijective ((OpenFrame.LocalSections.openFrameLocalSection D k).app W) := by |
| 19 | let g := OpenFrame.SectionGenerators.openFrameGenerator D ((U k).ι ''ᵁ W) k (OpenFrame.LocalSections.openInclusionImage_le (U k) W) |
| 20 | have hg : Function.Bijective g := |
| 21 | ⟨OpenFrame.LocalFreeness.openFrameGenerator_injective D _ _ _, OpenFrame.LocalFreeness.openFrameGenerator_surjective D _ _ _⟩ |
| 22 | have he : (fun r : Γ((U k).toScheme, W) => (OpenFrame.LocalSections.openFrameLocalSection D k).app W r) = |
| 23 | fun r : Γ((U k).toScheme, W) => g (((U k).ι.appIso W).inv r) := |
| 24 | funext (OpenFrame.LocalSections.openFrameLocalSection_app D k W) |
| 25 | change Function.Bijective (fun r : Γ((U k).toScheme, W) => (OpenFrame.LocalSections.openFrameLocalSection D k).app W r) |
| 26 | exact (congrArg Function.Bijective he).mpr |
| 27 | (hg.comp (ConcreteCategory.bijective_of_isIso ((U k).ι.appIso W).inv)) |
| 28 | |
| 29 | instance openFrameLocalSection_isIso (k : ι) : IsIso (OpenFrame.LocalSections.openFrameLocalSection D k) := by |
| 30 | have (W : ((U k).toScheme.Opens)ᵒᵖ) : IsIso ((OpenFrame.LocalSections.openFrameLocalSection D k).mapPresheaf.app W) := |
| 31 | (ConcreteCategory.isIso_iff_bijective _).mpr (openFrameLocalSection_app_bijective D k W.unop) |
| 32 | have : IsIso (OpenFrame.LocalSections.openFrameLocalSection D k).mapPresheaf := NatIso.isIso_of_isIso_app _ |
| 33 | have : IsIso ((Scheme.Modules.toPresheaf (U k).toScheme).map (OpenFrame.LocalSections.openFrameLocalSection D k)) := this |
| 34 | exact isIso_of_reflects_iso (OpenFrame.LocalSections.openFrameLocalSection D k) (Scheme.Modules.toPresheaf (U k).toScheme) |
| 35 | |
| 36 | def lineBundleFromOpenFrames (hU : ∀ x : X, ∃ i, x ∈ U i) : Line.Bundles.LineBundle X where |
| 37 | sheaf := OpenFrame.ModuleSheaf.openFrameModuleSheaf D |
| 38 | locallyTrivial x := by |
| 39 | obtain ⟨i, hi⟩ := hU x |
| 40 | exact ⟨U i, hi, ⟨(Scheme.Modules.restrictFunctorIsoPullback (U i).ι).symm.app (OpenFrame.ModuleSheaf.openFrameModuleSheaf D) ≪≫ |
| 41 | (asIso (OpenFrame.LocalSections.openFrameLocalSection D i)).symm⟩⟩ |
| 42 | |
| 43 | def lineBundleFromOpenFrames_chartIso (hU : ∀ x : X, ∃ i, x ∈ U i) (i : ι) : |
| 44 | ((lineBundleFromOpenFrames D hU).pullback (U i).ι).sheaf ≅ Line.Bundles.structureModule (U i).toScheme := |
| 45 | (Scheme.Modules.restrictFunctorIsoPullback (U i).ι).symm.app (OpenFrame.ModuleSheaf.openFrameModuleSheaf D) ≪≫ |
| 46 | (asIso (OpenFrame.LocalSections.openFrameLocalSection D i)).symm |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenFrames |