Logical emotion