An affine scheme is a isomorphic to

(SpecA,OSpecA)(\operatorname{Spec}A,\mathcal O_{\operatorname{Spec}A})

for some AA. Here SpecA\operatorname{Spec}A is the with its , and OSpecA\mathcal O_{\operatorname{Spec}A} is its . The ring is recovered from global sections:

Γ(SpecA,OSpecA)A.\Gamma(\operatorname{Spec}A,\mathcal O_{\operatorname{Spec}A})\cong A.

For example, if kk is a field, Speck\operatorname{Spec}k is a one-point affine scheme whose local ring is kk. The Speck[x]\operatorname{Spec}k[x] is another affine scheme, but it contains more than the familiar kk-valued points: it also has points corresponding to other prime ideals, including a . General are assembled by gluing affine schemes along open subsets.