A (well-formed) logical formula is valid if it is true under every model. Else it is invalid.
More causally, if a formula is always true, it is valid. If it false for even a single case, it is invalid
Definition
Validity ^definition
A well-formed formula in a formal language is valid if it is true under every model. In that case, we write:
Else, it is non-valid or invalid. Equivalently, it is invalid if there exists a model, which does not satisfy :
In Propositional Logic
In propositional logic, a proposition is valid if:
- It is a tautology, that is, true under every valuation
- Equivalently, its corresponding truth table has a column of True’s
In Predicate Logic
In predicate logic, validity is much harder to prove. Because a model in predicate logic is a combination of a universe and interpretation, to show a formula is valid, we must show that it holds for every universe and every interpretation.
Obviously, that’s not easy. So we check if if the negat#todo
Theorems
T1: In propositional logic, a formula is valid iff its negation is unsatisfiable
Under propositional logic, we have:
- The expression on the left hand side of the iff says that is valid by definition.
- The expression on the RHS says is unsatisfiable
In plain English, to show that is valid, we can equivalently show that any model that makes false also makes false true. That is, it would have to be some crazy model.
Examples
Examples: Predicate Logic
- is valid
Non-examples: Predicate Logic
- is invalid
- However, its converse, is valid
(Equivalent to )