Construct a category of schemes.
EXAMPLES:
sage: Schemes()
Category of Schemes
sage: Schemes(Spec(ZZ))
Category of schemes over Spectrum of Integer Ring
sage: Schemes(ZZ)
Category of schemes over Spectrum of Integer Ring
Bases: sage.categories.category.Category
The category of all abstract schemes.
EXAMPLES:
sage: Schemes()
Category of Schemes
Bases: sage.categories.category.HomCategory
EXAMPLES:
sage: Schemes().hom_category().extra_super_categories()
[]
sage: Schemes().hom_category().super_categories()
[Category of hom sets in Category of sets]
FIXME: what category structure is there on Homsets of schemes? The result above is wrong, and should be fixed during the next homsets overhaul.
EXAMPLES:
sage: Schemes().super_categories()
[Category of sets]
Bases: sage.categories.category_types.Category_over_base
The category of schemes over a given base scheme.
EXAMPLES:
sage: Schemes(Spec(ZZ))
Category of schemes over Spectrum of Integer Ring
TESTS:
sage: C = Schemes(ZZ)
sage: TestSuite(C).run()
EXAMPLES:
sage: Schemes(Spec(ZZ)).base_scheme()
Spectrum of Integer Ring
EXAMPLES:
sage: Schemes(Spec(ZZ)).super_categories()
[Category of Schemes]