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.Quotients.FiniteDescent.LineRigidityEq |
| 2 | |
| 3 | /-! # Line Rigidification At -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineRigidificationAt.Construction.LineRigidification |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Prescribing the fiber of a line-bundle isomorphism when global functions are unchanged. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | def endPullbackEquiv (f : X ⟶ Y) [IsIso f.appTop] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) : |
| 18 | End L.sheaf ≃+* End (L.pullback f).sheaf := |
| 19 | (LineEndRing.Construction.LineScalars.endRingEquiv L).symm.trans |
| 20 | ((asIso f.appTop).commRingCatIsoToRingEquiv.trans (LineEndRing.Construction.LineScalars.endRingEquiv (L.pullback f))) |
| 21 | |
| 22 | theorem endPullbackEquiv_apply (f : X ⟶ Y) [IsIso f.appTop] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (a : End L.sheaf) : |
| 23 | endPullbackEquiv f L a = (Scheme.Modules.pullback f).map a := by |
| 24 | obtain ⟨r, rfl⟩ := LineEndRing.Construction.LineScalars.scalar_surjective L a |
| 25 | change (LineEndRing.Construction.LineScalars.endRingEquiv (L.pullback f)) |
| 26 | (f.appTop ((LineEndRing.Construction.LineScalars.endRingEquiv L).symm ((LineEndRing.Construction.LineScalars.endRingEquiv L) r))) = _ |
| 27 | rw [RingEquiv.symm_apply_apply] |
| 28 | exact (ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar f L.sheaf r).symm |
| 29 | |
| 30 | theorem exists_iso (f : X ⟶ Y) [IsIso f.appTop] (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 31 | (e : L.sheaf ≅ M.sheaf) |
| 32 | (φ : (L.pullback f).sheaf ≅ (M.pullback f).sheaf) : |
| 33 | ∃ e' : L.sheaf ≅ M.sheaf, (Scheme.Modules.pullback f).mapIso e' = φ := by |
| 34 | change (Scheme.Modules.pullback f).obj L.sheaf ≅ (Scheme.Modules.pullback f).obj M.sheaf at φ |
| 35 | let d : End ((Scheme.Modules.pullback f).obj L.sheaf) := φ.hom ≫ (Scheme.Modules.pullback f).map e.inv |
| 36 | have : IsIso d := by dsimp [d]; infer_instance |
| 37 | let d₀ := (endPullbackEquiv f L).symm d |
| 38 | have hd : (Scheme.Modules.pullback f).map d₀ = d := |
| 39 | (endPullbackEquiv_apply f L d₀).symm.trans ((endPullbackEquiv f L).apply_symm_apply d) |
| 40 | have hunit : IsUnit d₀ := ((isUnit_iff_isIso d).mpr inferInstance).map |
| 41 | (endPullbackEquiv f L).symm.toMonoidHom |
| 42 | have : IsIso d₀ := (isUnit_iff_isIso d₀).mp hunit |
| 43 | refine ⟨asIso d₀ ≪≫ e, ?_⟩ |
| 44 | apply Iso.ext |
| 45 | change (Scheme.Modules.pullback f).map (d₀ ≫ e.hom) = φ.hom |
| 46 | rw [Functor.map_comp, hd] |
| 47 | dsimp only [d] |
| 48 | rw [Category.assoc, ← Functor.map_comp, e.inv_hom_id, |
| 49 | (Scheme.Modules.pullback f).map_id, Category.comp_id] |
| 50 | |
| 51 | theorem iso_unique (f : X ⟶ Y) [IsIso f.appTop] (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 52 | (e e' : L.sheaf ≅ M.sheaf) |
| 53 | (h : (Scheme.Modules.pullback f).mapIso e = (Scheme.Modules.pullback f).mapIso e') : e = e' := by |
| 54 | apply Iso.ext |
| 55 | apply (cancel_mono e.inv).mp |
| 56 | apply (endPullbackEquiv f L).injective |
| 57 | rw [endPullbackEquiv_apply, endPullbackEquiv_apply, Functor.map_comp, Functor.map_comp] |
| 58 | exact congrArg (fun a => a.hom ≫ (Scheme.Modules.pullback f).map e.inv) h |
| 59 | |
| 60 | theorem existsUnique_iso (f : X ⟶ Y) [IsIso f.appTop] (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 61 | (e : L.sheaf ≅ M.sheaf) |
| 62 | (φ : (L.pullback f).sheaf ≅ (M.pullback f).sheaf) : |
| 63 | ∃! e' : L.sheaf ≅ M.sheaf, (Scheme.Modules.pullback f).mapIso e' = φ := by |
| 64 | obtain ⟨e', he'⟩ := exists_iso f L M e φ |
| 65 | exact ⟨e', he', fun e'' he'' => iso_unique f L M e'' e' (he''.trans he'.symm)⟩ |
| 66 | |
| 67 | /-- An existing isomorphism of line bundles on a proper connected reduced |
| 68 | scheme can be uniquely normalized to any prescribed isomorphism at a rational point. -/ |
| 69 | theorem existsUnique_iso_at_rational_point {K : Type u} [Field K] |
| 70 | (A : Over (Spec (.of K))) [IsProper A.hom] [ConnectedSpace A.left] [IsReduced A.left] |
| 71 | (p : Spec (.of K) ⟶ A.left) (hp : p ≫ A.hom = 𝟙 _) |
| 72 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (e : L.sheaf ≅ M.sheaf) |
| 73 | (φ : (L.pullback p).sheaf ≅ (M.pullback p).sheaf) : |
| 74 | ∃! e' : L.sheaf ≅ M.sheaf, (Scheme.Modules.pullback p).mapIso e' = φ := by |
| 75 | have : IsIso A.hom.appTop := ProperFunctionsEq.Construction.ProperFunctions.isIso_appTop_of_section A p hp |
| 76 | have : IsIso (A.hom.appTop ≫ p.appTop) := by |
| 77 | rw [← Scheme.Hom.comp_appTop, hp, Scheme.Hom.id_appTop] |
| 78 | infer_instance |
| 79 | have : IsIso p.appTop := (isIso_comp_left_iff _ _).mp this |
| 80 | exact existsUnique_iso p L M e φ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineRigidificationAt.Construction.LineRigidification |