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.Frames |
| 2 | |
| 3 | /-! # Frame Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: transition units compatible with all ambient-open restrictions |
| 13 | |
| 14 | The units are computed from the genuine linear frames of module sections. |
| 15 | Their restriction law is proved using the naturality of those frames. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | namespace LineBundle.FrameComparison.Cycles.LineBundleConstruction |
| 21 | |
| 22 | variable {R S M N : Type*} [CommRing R] [CommRing S] |
| 23 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module S N] |
| 24 | |
| 25 | theorem rankOneLinearEquiv_apply (e : R ≃ₗ[R] R) (r : R) : e r = r * e 1 := by |
| 26 | simpa only [smul_eq_mul, mul_one] using e.map_smul r 1 |
| 27 | |
| 28 | /-- An automorphism of a free rank-one module is multiplication by this unit. -/ |
| 29 | def rankOneLinearEquivUnit (e : R ≃ₗ[R] R) : Rˣ where |
| 30 | val := e 1 |
| 31 | inv := e.symm 1 |
| 32 | val_inv := by rw [← rankOneLinearEquiv_apply, e.symm_apply_apply] |
| 33 | inv_val := by rw [← rankOneLinearEquiv_apply, e.apply_symm_apply] |
| 34 | |
| 35 | theorem rankOneLinearEquivUnit_trans (e f : R ≃ₗ[R] R) : |
| 36 | rankOneLinearEquivUnit (e.trans f) = rankOneLinearEquivUnit e * rankOneLinearEquivUnit f := by |
| 37 | apply Units.ext |
| 38 | exact rankOneLinearEquiv_apply f (e 1) |
| 39 | |
| 40 | /-- Transition coordinates with `e(m) = g(e,f) * f(m)`. |
| 41 | Thus the generator belonging to `f` is `g(e,f)` times the generator belonging to `e`. -/ |
| 42 | def frameTransitionUnit (e f : M ≃ₗ[R] R) : Rˣ := |
| 43 | rankOneLinearEquivUnit (f.symm.trans e) |
| 44 | |
| 45 | theorem frameTransitionUnit_coordinates (e f : M ≃ₗ[R] R) (m : M) : |
| 46 | e m = (frameTransitionUnit e f : R) * f m := by |
| 47 | have h := rankOneLinearEquiv_apply (f.symm.trans e) (f m) |
| 48 | change e m = e (f.symm 1) * f m |
| 49 | simpa only [LinearEquiv.trans_apply, f.symm_apply_apply, mul_comm] using h |
| 50 | |
| 51 | theorem frameTransitionUnit_cocycle (e f g : M ≃ₗ[R] R) : |
| 52 | frameTransitionUnit e f * frameTransitionUnit f g = frameTransitionUnit e g := by |
| 53 | unfold frameTransitionUnit |
| 54 | rw [mul_comm, ← rankOneLinearEquivUnit_trans] |
| 55 | congr 1 |
| 56 | ext r |
| 57 | simp |
| 58 | |
| 59 | /-- Compatibility of the frames with a restriction map forces compatibility of units. -/ |
| 60 | theorem frameTransitionUnit_map (τ : R →+* S) (φ : M → N) |
| 61 | (e f : M ≃ₗ[R] R) (e' f' : N ≃ₗ[S] S) |
| 62 | (he : ∀ m, e' (φ m) = τ (e m)) (hf : ∀ m, f' (φ m) = τ (f m)) : |
| 63 | Units.map τ.toMonoidHom (frameTransitionUnit e f) = frameTransitionUnit e' f' := by |
| 64 | apply Units.ext |
| 65 | change τ (e (f.symm 1)) = e' (f'.symm 1) |
| 66 | have hm : φ (f.symm 1) = f'.symm 1 := by |
| 67 | apply f'.injective |
| 68 | rw [hf, f.apply_symm_apply, map_one, f'.apply_symm_apply] |
| 69 | rw [← he, hm] |
| 70 | |
| 71 | end LineBundle.FrameComparison.Cycles.LineBundleConstruction |
| 72 | |
| 73 | variable {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 74 | |
| 75 | /-- The chosen actual sheaf frame, evaluated on any smaller ambient open. -/ |
| 76 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.sectionFrame (x : X) (W : X.Opens) (h : W ≤ L.trivializingOpen x) : |
| 77 | Γ(L.sheaf, W) ≃ₗ[Γ(X, W)] Γ(X, W) := |
| 78 | LineBundle.Frames.Cycles.LineBundleConstruction.frameOnOpen L.sheaf (L.trivializingOpen x) (L.trivialization x) W h |
| 79 | |
| 80 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.sectionFrame_naturality (x : X) {V W : X.Opens} |
| 81 | (hVW : V ≤ W) (hW : W ≤ L.trivializingOpen x) (m : Γ(L.sheaf, W)) : |
| 82 | L.sectionFrame x V (hVW.trans hW) (L.sheaf.presheaf.map (homOfLE hVW).op m) = |
| 83 | X.presheaf.map (homOfLE hVW).op (L.sectionFrame x W hW m) := |
| 84 | LineBundle.Frames.Cycles.LineBundleConstruction.frameOnOpen_naturality L.sheaf (L.trivializingOpen x) (L.trivialization x) hVW hW m |
| 85 | |
| 86 | /-- Actual transition functions as units of the original scheme's section rings. -/ |
| 87 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn (x y : X) (W : X.Opens) |
| 88 | (hx : W ≤ L.trivializingOpen x) (hy : W ≤ L.trivializingOpen y) : |
| 89 | Γ(X, W)ˣ := |
| 90 | LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit (L.sectionFrame x W hx) (L.sectionFrame y W hy) |
| 91 | |
| 92 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn_cocycle (x y z : X) (W : X.Opens) |
| 93 | (hx : W ≤ L.trivializingOpen x) (hy : W ≤ L.trivializingOpen y) |
| 94 | (hz : W ≤ L.trivializingOpen z) : |
| 95 | L.ambientTransitionOn x y W hx hy * L.ambientTransitionOn y z W hy hz = |
| 96 | L.ambientTransitionOn x z W hx hz := |
| 97 | LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_cocycle _ _ _ |
| 98 | |
| 99 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn_restrict (x y : X) {V W : X.Opens} |
| 100 | (hVW : V ≤ W) (hx : W ≤ L.trivializingOpen x) (hy : W ≤ L.trivializingOpen y) : |
| 101 | Units.map (X.presheaf.map (homOfLE hVW).op).hom.toMonoidHom |
| 102 | (L.ambientTransitionOn x y W hx hy) = |
| 103 | L.ambientTransitionOn x y V (hVW.trans hx) (hVW.trans hy) := |
| 104 | LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_map (X.presheaf.map (homOfLE hVW).op).hom |
| 105 | (L.sheaf.presheaf.map (homOfLE hVW).op) |
| 106 | (L.sectionFrame x W hx) (L.sectionFrame y W hy) |
| 107 | (L.sectionFrame x V (hVW.trans hx)) (L.sectionFrame y V (hVW.trans hy)) |
| 108 | (L.sectionFrame_naturality x hVW hx) (L.sectionFrame_naturality y hVW hy) |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! # LineBundleCycles: actual rank-one frame comparisons under identity, transport, and four-frame composition -/ |
| 113 | |
| 114 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 115 | |
| 116 | namespace LineBundle.FrameComparison.Cycles.LineBundleConstruction |
| 117 | |
| 118 | variable {R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 119 | [AddCommGroup N] [Module R N] |
| 120 | |
| 121 | theorem frameTransitionUnit_self (e : M ≃ₗ[R] R) : frameTransitionUnit e e = 1 := by |
| 122 | apply Units.ext |
| 123 | exact e.apply_symm_apply 1 |
| 124 | |
| 125 | theorem frameTransitionUnit_precompose (e : M ≃ₗ[R] N) (f g : N ≃ₗ[R] R) : |
| 126 | frameTransitionUnit (e.trans f) (e.trans g) = frameTransitionUnit f g := by |
| 127 | apply Units.ext |
| 128 | change f (e (e.symm (g.symm 1))) = f (g.symm 1) |
| 129 | rw [e.apply_symm_apply] |
| 130 | |
| 131 | theorem frameTransitionUnit_four (e f g h : M ≃ₗ[R] R) : |
| 132 | frameTransitionUnit e f * frameTransitionUnit f g = |
| 133 | frameTransitionUnit e h * frameTransitionUnit h g := |
| 134 | (frameTransitionUnit_cocycle e f g).trans (frameTransitionUnit_cocycle e h g).symm |
| 135 | |
| 136 | end LineBundle.FrameComparison.Cycles.LineBundleConstruction |
| 137 | |
| 138 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn_self {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 139 | (x : X) (W : X.Opens) (hW : W ≤ L.trivializingOpen x) : L.ambientTransitionOn x x W hW hW = 1 := |
| 140 | LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_self _ |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.Divisors.LineBundles |