Def. The fundamental concept is a proposition: a variable that can take on the values true, or false. PL is responsible for deciding the truth value of a proposition, and thus deals with the whole thing, under the assumption that it is true or false.
Def. A proposition which always true is a tautology, a proposition which is always false is a contradiction. We can build new propositions, out of old propositions, using logical operators, the simplest of which are unary, and consume one proposition, to return another.
Unary & Binary Operators:
The binary operator for implication, is tricky: the reason that false can imply true is based on the latin phrase, "ex falso quod libet", which means from false assumptions, anything follows, and the mathematical benefit is that this definition, unlocks proof by contradiction, as: .
Theorem: Let be propositions. Then:
: With these operators, we agree on the decreasing binding strength of the operators in the following sequence: .
: All higher order operators, of the form , can be constructed from the nand operator, denoted: ().
Def. The fundamental concept, a predicate, informally, is a proposition valued function of some variable(s). For instance is true or false depending on x.
Def. A predicate of two variables is a relation.
is a proposition for choices of , and similarly is such a proposition with a truth value dependent on , and . Predicate logic doesn't examine how predicates are composed, as that requires language for establishing the rules for combining and into a predicate. We also do not specify which set they come from, as we're building up to define the set as a concept, and thus can't make use of it prior.
We can still build predicates from given ones, i.e , and we can construct new propositions from predicates using quantifiers.
Def. Universal Quantifier ():
Def. Let be a predicate. Then , and this is defined to be true if is true independent of .
Def. Existential Quantifier: ():
Let be a predicate. Then
Corollary: .
If, for every , it is true that has some property, then it must not be true that there exists an which doesn't.
: Quantification allows for predicates of multiple variables: Given some predicate , then for fixed values of is a predicate of one variable, and we define . Now we can define
Here, is a bound variable, and is free.
: Order matters. is generically different from .
Consider the proposition expressing the existence of additive inverses in :
.
This states that for each , there exists a , such that , or . If we swap the quantifiers, i.e , what we're saying that for every , there is a such that , which is actually false, as if , meaning one can't work for even two 's, let alone every one.
Def. An axiomatic system is a finite sequence of propositions , called axioms.
Def. A proof of a proposition in an axiomatic system , is a finite sequence of propositions , such that for any , either:
(A) is a proposition from the list of axioms.
(T) is a tautology (always true).
(M) is true.
If proposition is provable within the system, , we say , or this sequence proves .
Consistency of axiomatic systems depends on there being propositions that weren't provable in the system, due to the issue of ex falso quodlibet, which allows us to prove anything, given the right false starting point, and the fact that things aren't provable relies on there being no contradictory axioms.