Logical and information functions