Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Scheme obtained by gluing two other schemes """
#******************************************************************************* # Copyright (C) 2006 William Stein # Distributed under the terms of the GNU General Public License (GPL) # http://www.gnu.org/licenses/ #*******************************************************************************
r""" INPUT:
- ``f`` - open immersion from a scheme U to a scheme X
- ``g`` - open immersion from U to a scheme Y
OUTPUT: The scheme obtained by gluing X and Y along the open set U.
.. note::
Checking that `f` and `g` are open immersions is not implemented. """ raise TypeError("f (=%s) must be a scheme morphism"%f) raise TypeError("g (=%s) must be a scheme morphism"%g) raise ValueError("f (=%s) and g (=%s) must have the same domain"%(f,g))
self.__f.codomain(), self.__g.codomain(), self.__f.domain())
|