A proposition is a statement that is either true or false. For example, the statement “The sky is blue” is a proposition. “True” or “false” is considered the truth value of the proposition. In the case of “The sky is blue”, the truth value is “true”. In the case of “The sky is green”, the truth value is “false”.
The truth value “true” is represented by true in Java, True in Python, and
\(\top\)
in formal logic. The truth value “false” is represented by false in Java, False in Python, and \(\bot\)
in formal logic.