Later, we give rules for knowing these judgments. Just as we said in
section 2.2, it should be noted that
is not a
proposition; it is not an expression that has a truth value. We are
saying what an ordered pair is rather than giving a property of it. So
the judgment
is giving the meaning of t and telling us that the
expression t is well-formed or meaningful. In other presentations of
predicate logic these judgments are incorporated into the syntax of terms, and
there is an algorithm to check that terms are meaningful before one considers
their truth. We want a more flexible approach so that typing judgments need
not be decidable.
We let
denote propositional variables, writing
,
for propositional function variables, writing
for T a type expression.
If
and
,
then P(t) is
an atomic formulaatomic formula in the context
with the variables occurring in t free; it is an
instanceinstance of P. Note, we abbreviate
by
.
If t is a variable, say x, then P(x) is an arbitrary
instance or arbitrary value of P with free variable x. A
propositional variable,
,
is also an atomic formula.
If F and G are formulas with free variables
respectively
in contexts
,
and if op is a connective and
a
quantifier, then
A formula is closed iff it has no free variables; such a formula is well-formed in an empty context, but its subformulas might only be well-formed in a context. A subformulasubformula G of a formula F is either an immediate subformula or a subformula of a subformula.