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.LineBundle.OpenRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.FrameComparison |
| 3 | |
| 4 | /-! # Open Frames -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenFrames.Cycles.LineBundleConstruction |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: actual section frames under open immersion |
| 14 | |
| 15 | The genuine section and scalar isomorphisms transport a frame of the |
| 16 | original sheaf to its restriction. Both restriction maps and transition |
| 17 | units commute with this construction. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | variable {X Y : Scheme} (f : Y ⟶ X) [IsOpenImmersion f] (M : X.Modules) |
| 23 | |
| 24 | /-- Transport a section frame through the actual open-immersion section isomorphisms. -/ |
| 25 | def openImmersionSectionFrame (W : Y.Opens) |
| 26 | (e : Γ(M, f ''ᵁ W) ≃ₗ[Γ(X, f ''ᵁ W)] Γ(X, f ''ᵁ W)) : |
| 27 | Γ(M.restrict f, W) ≃ₗ[Γ(Y, W)] Γ(Y, W) where |
| 28 | toFun m := (f.appIso W).hom (e ((M.restrictAppIso f W).hom m)) |
| 29 | invFun r := (M.restrictAppIso f W).inv (e.symm ((f.appIso W).inv r)) |
| 30 | left_inv m := by |
| 31 | dsimp only |
| 32 | rw [Iso.hom_inv_id_apply, e.symm_apply_apply, Iso.hom_inv_id_apply] |
| 33 | right_inv r := by |
| 34 | dsimp only |
| 35 | rw [Iso.inv_hom_id_apply, e.apply_symm_apply, Iso.inv_hom_id_apply] |
| 36 | map_add' m n := by simp only [map_add] |
| 37 | map_smul' r m := by |
| 38 | have h := ConcreteCategory.congr_hom (Scheme.Modules.smul_restrictAppIso_hom f M W r) m |
| 39 | change (M.restrictAppIso f W).hom (r • m) = |
| 40 | ((f.appIso W).inv r) • (M.restrictAppIso f W).hom m at h |
| 41 | rw [h, e.map_smul] |
| 42 | change (f.appIso W).hom ((f.appIso W).inv r * e ((M.restrictAppIso f W).hom m)) = _ |
| 43 | rw [map_mul, Iso.inv_hom_id_apply] |
| 44 | rfl |
| 45 | |
| 46 | /-- The transported frames preserve compatibility with genuine module restrictions. -/ |
| 47 | theorem openImmersionSectionFrame_naturality {V W : Y.Opens} (h : V ≤ W) |
| 48 | (eW : Γ(M, f ''ᵁ W) ≃ₗ[Γ(X, f ''ᵁ W)] Γ(X, f ''ᵁ W)) |
| 49 | (eV : Γ(M, f ''ᵁ V) ≃ₗ[Γ(X, f ''ᵁ V)] Γ(X, f ''ᵁ V)) |
| 50 | (he : ∀ m, eV (M.presheaf.map (homOfLE (f.image_mono h)).op m) = |
| 51 | X.presheaf.map (homOfLE (f.image_mono h)).op (eW m)) |
| 52 | (m : Γ(M.restrict f, W)) : |
| 53 | openImmersionSectionFrame f M V eV ((M.restrict f).presheaf.map (homOfLE h).op m) = |
| 54 | Y.presheaf.map (homOfLE h).op (openImmersionSectionFrame f M W eW m) := by |
| 55 | change (f.appIso V).hom (eV ((M.restrictAppIso f V).hom _)) = _ |
| 56 | rw [Scheme.Modules.map_restrictAppIso_hom_apply, he] |
| 57 | exact ConcreteCategory.congr_hom (f.appIso_hom_naturality (homOfLE h).op) _ |
| 58 | |
| 59 | /-- Actual transition units pull back by the scalar isomorphism. -/ |
| 60 | theorem openImmersionSectionFrame_transition (W : Y.Opens) |
| 61 | (e e' : Γ(M, f ''ᵁ W) ≃ₗ[Γ(X, f ''ᵁ W)] Γ(X, f ''ᵁ W)) : |
| 62 | FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit (openImmersionSectionFrame f M W e) |
| 63 | (openImmersionSectionFrame f M W e') = |
| 64 | Units.map (f.appIso W).hom.hom.toMonoidHom (FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit e e') := by |
| 65 | apply Units.ext |
| 66 | change (f.appIso W).hom |
| 67 | (e ((M.restrictAppIso f W).hom ((M.restrictAppIso f W).inv |
| 68 | (e'.symm ((f.appIso W).inv 1))))) = |
| 69 | (f.appIso W).hom (e (e'.symm 1)) |
| 70 | rw [Iso.inv_hom_id_apply, map_one] |
| 71 | |
| 72 | end AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenFrames.Cycles.LineBundleConstruction |
| 73 | |
| 74 | namespace AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenFrames.Cycles.SchemeLineBundle |
| 75 | |
| 76 | /-! |
| 77 | # LineBundleCycles: compare original frames with frames of the restricted line bundle |
| 78 | |
| 79 | The actual section identifications compare the original algebraic atlas |
| 80 | with the restricted sheaf's independently chosen atlas. Their mixed units |
| 81 | satisfy restriction and change-of-frame identities in the actual section rings. |
| 82 | -/ |
| 83 | |
| 84 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 85 | |
| 86 | variable {X Y : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 87 | (f : Y ⟶ X) [IsOpenImmersion f] |
| 88 | |
| 89 | local notation "M" => L.restrictToOpen f |
| 90 | |
| 91 | /-- The original frame, transported to sections of the actual restricted sheaf. -/ |
| 92 | def _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionFrame (i : X) (W : Y.Opens) |
| 93 | (hi : f ''ᵁ W ≤ L.trivializingOpen i) : |
| 94 | Γ((M).sheaf, W) ≃ₗ[Γ(Y, W)] Γ(Y, W) := |
| 95 | LineBundleConstruction.openImmersionSectionFrame f L.sheaf W (L.sectionFrame i (f ''ᵁ W) hi) |
| 96 | |
| 97 | theorem _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionFrame_naturality (i : X) {V W : Y.Opens} |
| 98 | (hVW : V ≤ W) (hi : f ''ᵁ W ≤ L.trivializingOpen i) (m : Γ((M).sheaf, W)) : |
| 99 | L.openSectionFrame f i V ((f.image_mono hVW).trans hi) |
| 100 | ((M).sheaf.presheaf.map (homOfLE hVW).op m) = |
| 101 | Y.presheaf.map (homOfLE hVW).op (L.openSectionFrame f i W hi m) := |
| 102 | LineBundleConstruction.openImmersionSectionFrame_naturality f L.sheaf hVW _ _ |
| 103 | (L.sectionFrame_naturality i (f.image_mono hVW) hi) m |
| 104 | |
| 105 | /-- The transported transition is the actual scalar pullback of the original unit. -/ |
| 106 | theorem _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionFrame_transition (i j : X) (W : Y.Opens) |
| 107 | (hi : f ''ᵁ W ≤ L.trivializingOpen i) (hj : f ''ᵁ W ≤ L.trivializingOpen j) : |
| 108 | FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit (L.openSectionFrame f i W hi) (L.openSectionFrame f j W hj) = |
| 109 | Units.map (f.appIso W).hom.hom.toMonoidHom |
| 110 | (L.ambientTransitionOn i j (f ''ᵁ W) hi hj) := |
| 111 | LineBundleConstruction.openImmersionSectionFrame_transition f L.sheaf W _ _ |
| 112 | |
| 113 | /-- A regular unit comparing an original frame with a native restricted-sheaf frame. -/ |
| 114 | def _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openMixedTransitionOn (i : X) (j : Y) (W : Y.Opens) |
| 115 | (hi : f ''ᵁ W ≤ L.trivializingOpen i) (hj : W ≤ (M).trivializingOpen j) : |
| 116 | Γ(Y, W)ˣ := |
| 117 | FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit (L.openSectionFrame f i W hi) ((M).sectionFrame j W hj) |
| 118 | |
| 119 | theorem _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openMixedTransitionOn_restrict (i : X) (j : Y) |
| 120 | {V W : Y.Opens} (hVW : V ≤ W) |
| 121 | (hi : f ''ᵁ W ≤ L.trivializingOpen i) (hj : W ≤ (M).trivializingOpen j) : |
| 122 | Units.map (Y.presheaf.map (homOfLE hVW).op).hom.toMonoidHom |
| 123 | (L.openMixedTransitionOn f i j W hi hj) = |
| 124 | L.openMixedTransitionOn f i j V ((f.image_mono hVW).trans hi) (hVW.trans hj) := |
| 125 | FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_map (Y.presheaf.map (homOfLE hVW).op).hom |
| 126 | ((M).sheaf.presheaf.map (homOfLE hVW).op) _ _ _ _ |
| 127 | (L.openSectionFrame_naturality f i hVW hi) ((M).sectionFrame_naturality j hVW hj) |
| 128 | |
| 129 | /-- Actual original, restricted, and mixed transitions form a commuting square. -/ |
| 130 | theorem _root_.OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openMixedTransitionOn_square (i j : X) (k l : Y) |
| 131 | (W : Y.Opens) |
| 132 | (hi : f ''ᵁ W ≤ L.trivializingOpen i) (hj : f ''ᵁ W ≤ L.trivializingOpen j) |
| 133 | (hk : W ≤ (M).trivializingOpen k) (hl : W ≤ (M).trivializingOpen l) : |
| 134 | L.openMixedTransitionOn f i k W hi hk * (M).ambientTransitionOn k l W hk hl = |
| 135 | Units.map (f.appIso W).hom.hom.toMonoidHom |
| 136 | (L.ambientTransitionOn i j (f ''ᵁ W) hi hj) * |
| 137 | L.openMixedTransitionOn f j l W hj hl := by |
| 138 | rw [← L.openSectionFrame_transition f i j W hi hj] |
| 139 | exact (FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_cocycle _ _ _).trans (FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_cocycle _ _ _).symm |
| 140 | |
| 141 | end AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenFrames.Cycles.SchemeLineBundle |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI |