Functorial subscheme structure on non-locally closed subsets
Statement
If we have a scheme and a locally closed subset of the underlying topological space, then there is a canonical way to put a scheme structure on it so that the inclusion map can be upgraded to a morphism of schemes with the map on the structure sheaves being surjective.
I think this is not true for e.g. finite disjoint unions of locally closed subsets (take the affine plane and the complement of the punctured axes); correct me if I am wrong.
However, in the example above there is a scheme structure on the subset under consideration. We just can not choose it compatibly with the scheme structure on the affine plane.
Which brings me to the question: are locally closed subsets somehow "the most general" class of subsets that can be functorially endowed with a scheme structure so that the inclusion map can be upgraded to a morphism of schemes with the map on the structure sheaves being surjective? Or are there more general subsets with this property?
EDIT: the examples given in the comments (at the time of the edit) are all monomorphisms in the category of schemes, I think. Is there an example that is not a monomorphism?
Posed by user138661 · ag.algebraic-geometry, schemes
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-331989.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-331989.lean
import Mathlib /-! # Functorial subscheme structure on non-locally closed subsets Source: https://mathoverflow.net/questions/331989 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_331989 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_331989