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.Divisors.LineBundles.Scheme.SchemeIdealModule |
| 2 | |
| 3 | /-! # Frames -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.Frames.Cycles.LineBundleConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: frames on sections of actual open subschemes |
| 11 | |
| 12 | These linear equivalences come from the line bundle's actual local sheaf |
| 13 | isomorphisms. They will allow transition functions to be compared on different |
| 14 | ambient opens without introducing a cohomological compatibility hypothesis. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable {X : Scheme.{0}} (M : X.Modules) (U : X.Opens) |
| 20 | |
| 21 | def structureModuleSectionToRing (W : U.toScheme.Opens) : |
| 22 | Γ(DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme, W) → Γ(X, U.ι ''ᵁ W) := fun r => r |
| 23 | |
| 24 | theorem structureModuleSectionToRing_smul (W : U.toScheme.Opens) |
| 25 | (r : Γ(X, U.ι ''ᵁ W)) (s : Γ(DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme, W)) : |
| 26 | structureModuleSectionToRing U W (((DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme).smul (U := W) r).hom s) = |
| 27 | r * structureModuleSectionToRing U W s := rfl |
| 28 | |
| 29 | /-- Restriction along an actual open-subscheme inclusion preserves the section scalar action. -/ |
| 30 | theorem openRestriction_smul (W : U.toScheme.Opens) |
| 31 | (r : Γ(X, U.ι ''ᵁ W)) (m : Γ(M, U.ι ''ᵁ W)) : |
| 32 | (M.smul (U := U.ι ''ᵁ W) r).hom m = |
| 33 | ((M.restrict U.ι).smul (U := W) (r : Γ(U.toScheme, W))).hom m := by |
| 34 | have h := ConcreteCategory.congr_hom |
| 35 | (Scheme.Modules.smul_restrictAppIso_inv U.ι M W r) m |
| 36 | rw [Scheme.Opens.ι_appIso] at h |
| 37 | exact h |
| 38 | |
| 39 | /-- A genuine sheaf trivialization gives a linear frame on every subopen's sections. -/ |
| 40 | def frameOnImage (e : M.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 41 | (W : U.toScheme.Opens) : |
| 42 | Γ(M, U.ι ''ᵁ W) ≃ₗ[Γ(X, U.ι ''ᵁ W)] Γ(X, U.ι ''ᵁ W) where |
| 43 | toFun m := e.hom.app W m |
| 44 | invFun r := e.inv.app W r |
| 45 | left_inv m := by |
| 46 | have h := congrArg (fun f : M.restrict U.ι ⟶ M.restrict U.ι => f.app W) e.hom_inv_id |
| 47 | exact ConcreteCategory.congr_hom h m |
| 48 | right_inv r := by |
| 49 | have h := congrArg (fun f : DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme ⟶ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme => |
| 50 | f.app W) e.inv_hom_id |
| 51 | exact ConcreteCategory.congr_hom h r |
| 52 | map_add' m n := (e.hom.app W).hom.map_add m n |
| 53 | map_smul' r m := by |
| 54 | change structureModuleSectionToRing U W (e.hom.app W (r • m)) = |
| 55 | r * structureModuleSectionToRing U W (e.hom.app W m) |
| 56 | exact (congrArg (structureModuleSectionToRing U W) |
| 57 | ((congrArg (e.hom.app W) (openRestriction_smul M U W r m)).trans |
| 58 | (e.hom.app_smul r m))).trans (structureModuleSectionToRing_smul U W r (e.hom.app W m)) |
| 59 | |
| 60 | /-- The frame coordinates commute with the actual restrictions of module sections. -/ |
| 61 | theorem frameOnImage_naturality |
| 62 | (e : M.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 63 | {V W : U.toScheme.Opens} (h : V ≤ W) (m : Γ(M, U.ι ''ᵁ W)) : |
| 64 | frameOnImage M U e V |
| 65 | (M.presheaf.map (homOfLE (U.ι.image_mono h)).op m) = |
| 66 | X.presheaf.map (homOfLE (U.ι.image_mono h)).op (frameOnImage M U e W m) := by |
| 67 | have hn := ConcreteCategory.congr_hom |
| 68 | (e.hom.mapPresheaf.naturality (homOfLE h).op) m |
| 69 | exact hn |
| 70 | |
| 71 | /-- Transport frame coordinates along equality of open subsets. -/ |
| 72 | def transportFrame {V W : X.Opens} (h : V = W) |
| 73 | (e : Γ(M, V) ≃ₗ[Γ(X, V)] Γ(X, V)) : |
| 74 | Γ(M, W) ≃ₗ[Γ(X, W)] Γ(X, W) := |
| 75 | h ▸ e |
| 76 | |
| 77 | /-- Naturality survives the canonical transports along equal open sets. -/ |
| 78 | theorem transportFrame_naturality {A B A' B' : X.Opens} |
| 79 | (hA : A = A') (hB : B = B') (h : B ≤ A) (h' : B' ≤ A') |
| 80 | (eA : Γ(M, A) ≃ₗ[Γ(X, A)] Γ(X, A)) |
| 81 | (eB : Γ(M, B) ≃ₗ[Γ(X, B)] Γ(X, B)) |
| 82 | (hn : ∀ m, eB (M.presheaf.map (homOfLE h).op m) = |
| 83 | X.presheaf.map (homOfLE h).op (eA m)) (m : Γ(M, A')) : |
| 84 | transportFrame M hB eB (M.presheaf.map (homOfLE h').op m) = |
| 85 | X.presheaf.map (homOfLE h').op (transportFrame M hA eA m) := by |
| 86 | subst A' |
| 87 | subst B' |
| 88 | exact hn m |
| 89 | |
| 90 | theorem image_preimage_subopen {V : X.Opens} (h : V ≤ U) : |
| 91 | U.ι ''ᵁ (U.ι ⁻¹ᵁ V) = V := by |
| 92 | simpa only [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι] |
| 93 | using inf_eq_right.mpr h |
| 94 | |
| 95 | /-- A local sheaf trivialization gives a frame on every smaller ambient open. -/ |
| 96 | def frameOnOpen (e : M.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 97 | (V : X.Opens) (h : V ≤ U) : Γ(M, V) ≃ₗ[Γ(X, V)] Γ(X, V) := |
| 98 | transportFrame M (image_preimage_subopen U h) (frameOnImage M U e (U.ι ⁻¹ᵁ V)) |
| 99 | |
| 100 | /-- Ambient-open frame coordinates commute with actual module restrictions. -/ |
| 101 | theorem frameOnOpen_naturality |
| 102 | (e : M.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 103 | {V W : X.Opens} (hVW : V ≤ W) (hWU : W ≤ U) |
| 104 | (m : Γ(M, W)) : |
| 105 | frameOnOpen M U e V (hVW.trans hWU) (M.presheaf.map (homOfLE hVW).op m) = |
| 106 | X.presheaf.map (homOfLE hVW).op (frameOnOpen M U e W hWU m) := by |
| 107 | exact transportFrame_naturality M |
| 108 | (image_preimage_subopen U hWU) (image_preimage_subopen U (hVW.trans hWU)) |
| 109 | (U.ι.image_mono (show U.ι ⁻¹ᵁ V ≤ U.ι ⁻¹ᵁ W from fun _ hx => hVW hx)) hVW |
| 110 | (frameOnImage M U e (U.ι ⁻¹ᵁ W)) (frameOnImage M U e (U.ι ⁻¹ᵁ V)) |
| 111 | (fun m => frameOnImage_naturality M U e |
| 112 | (show U.ι ⁻¹ᵁ V ≤ U.ι ⁻¹ᵁ W from fun _ hx => hVW hx) m) m |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.Frames.Cycles.LineBundleConstruction |