Hegel's logic and philosophy of mind