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.LineFrameAtlas |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoordinatesOnOpenSubschemes |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.PullbackCoherence |
| 4 | |
| 5 | /-! # Section Local Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SectionLocalFrames |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonvanishing section supplies an actual local sheaf frame whose |
| 12 | transition is the original regular ratio of sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {X : Scheme.{0}} {M : X.Modules} |
| 17 | |
| 18 | def sectionLocalFrame (s : HilbertConstruction.Line.Bundles.structureModule X ⟶ M) : LineFrameAtlas.LocalLineFrame M := by |
| 19 | have : IsIso (HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s) := |
| 20 | (HilbertConstruction.Local.CoordinateValues.restrictSection_isIso_iff (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s).mpr inferInstance |
| 21 | exact ⟨HilbertConstruction.Ample.LineBundles.sectionNonvanishing s, (asIso (HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s)).symm⟩ |
| 22 | |
| 23 | theorem sectionLocalFrame_one_image (s : HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 24 | (W : (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme.Opens) : |
| 25 | DivisorClass.Chern.FramesFrame.Construction.frameOnImage M (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) (sectionLocalFrame s).frame W |
| 26 | (s.app ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι ''ᵁ W) (1 : Γ(X, _))) = 1 := by |
| 27 | have : IsIso (HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s) := |
| 28 | (HilbertConstruction.Local.CoordinateValues.restrictSection_isIso_iff (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s).mpr inferInstance |
| 29 | have h := congrArg (fun a : HilbertConstruction.Line.Bundles.structureModule (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme ⟶ |
| 30 | HilbertConstruction.Line.Bundles.structureModule (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme => a.app W (1 : Γ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme, W))) |
| 31 | (IsIso.hom_inv_id (HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s)) |
| 32 | change (inv (HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s)).app W |
| 33 | ((HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s).app W (1 : Γ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme, W))) = |
| 34 | (1 : Γ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).toScheme, W)) at h |
| 35 | exact (congrArg (fun z => (inv (HilbertConstruction.Section.SectionRestriction.restrictSection (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s)).app W z) |
| 36 | (HilbertConstruction.Section.SectionRestriction.restrictSection_app_one (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι s W)).symm.trans h |
| 37 | |
| 38 | theorem transportFrame_section_one (s : HilbertConstruction.Line.Bundles.structureModule X ⟶ M) {U V : X.Opens} (h : U = V) |
| 39 | (e : Γ(M, U) ≃ₗ[Γ(X, U)] Γ(X, U)) (he : e (s.app U (1 : Γ(X, U))) = 1) : |
| 40 | DivisorClass.Chern.FramesFrame.Construction.transportFrame M h e (s.app V (1 : Γ(X, V))) = 1 := by |
| 41 | subst V |
| 42 | exact he |
| 43 | |
| 44 | theorem sectionLocalFrame_one (s : HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (W : X.Opens) |
| 45 | (hW : W ≤ HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : |
| 46 | (sectionLocalFrame s).coordinates W hW (s.app W (1 : Γ(X, W))) = 1 := |
| 47 | transportFrame_section_one s (DivisorClass.Chern.FramesFrame.Construction.image_preimage_subopen (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) hW) |
| 48 | (DivisorClass.Chern.FramesFrame.Construction.frameOnImage M (HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) (sectionLocalFrame s).frame ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι ⁻¹ᵁ W)) |
| 49 | (sectionLocalFrame_one_image s ((HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).ι ⁻¹ᵁ W)) |
| 50 | |
| 51 | theorem pullbackSection_subopen_isIso (s : HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 52 | (W : X.Opens) (hW : W ≤ HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) : IsIso (HilbertConstruction.Ample.LineBundles.pullbackSection W.ι s) := by |
| 53 | have h := HilbertConstruction.Frame.PullbackCoherence.pullbackSection_through_nonvanishing_isIso s (X.homOfLE hW) |
| 54 | exact (congrArg (fun f => IsIso (HilbertConstruction.Ample.LineBundles.pullbackSection f s)) (Scheme.homOfLE_ι X hW)).mp h |
| 55 | |
| 56 | theorem sectionLocalFrame_transition (s t : HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (W : X.Opens) |
| 57 | (hs : W ≤ HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) (ht : W ≤ HilbertConstruction.Ample.LineBundles.sectionNonvanishing t) : |
| 58 | ((sectionLocalFrame s).transition (sectionLocalFrame t) W hs ht : Γ(X, W)) = |
| 59 | W.topIso.hom ((X.homOfLE hs).appTop (HilbertConstruction.Section.Frames.sectionRatio s t)) := by |
| 60 | have : IsIso (HilbertConstruction.Ample.LineBundles.pullbackSection W.ι s) := pullbackSection_subopen_isIso s W hs |
| 61 | let e := (sectionLocalFrame s).coordinates W hs |
| 62 | let f := (sectionLocalFrame t).coordinates W ht |
| 63 | have hgen : f.symm 1 = t.app W (1 : Γ(X, W)) := by |
| 64 | apply f.injective |
| 65 | exact f.apply_symm_apply 1 |>.trans (sectionLocalFrame_one t W ht).symm |
| 66 | have hv := congrArg e (HilbertConstruction.CoordinatesOnOpenSubschemes.local_frameCoordinate_value_on_open W s t) |
| 67 | rw [e.map_smul, sectionLocalFrame_one s W hs, smul_eq_mul, mul_one] at hv |
| 68 | have hr := (HilbertConstruction.Frame.PullbackCoherence.sectionRatio_restrict s t (X.homOfLE hs)).trans |
| 69 | (HilbertConstruction.Frame.PullbackCoherence.frameCoordinate_pullbackCongr (Scheme.homOfLE_ι X hs) s t) |
| 70 | change e (f.symm 1) = _ |
| 71 | exact (congrArg e hgen).trans (hv.trans (congrArg (fun z => W.topIso.hom z) hr).symm) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SectionLocalFrames |