logic

noun

1.
the branch of philosophy that analyzes inference
2.
reasoned and reasonable judgment
3.
the principles that guide reasoning within a given field or situation
4.
the system of operations performed by a computer that underlies the machine's representation of logical operations