Questions: Formulas and Well-Formed Expressions

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Why is a recursive definition of well-formed formulas (wffs) necessary, rather than simply providing a comprehensive list of valid formulas?

AListing all valid formulas is possible in principle but the list would be very long, so recursion is used for convenience
BThe recursive definition enables structural induction and makes semantics compositional — the meaning of any compound formula is determined by the meanings of its parts and their connective
CA recursive definition allows logic to handle self-referential formulas and circular definitions
DListing all valid formulas would produce ambiguous parsings, whereas recursion avoids this
Question 2 Multiple Choice

In the formula ∀x (P(x) → Q(x, y)), which correctly describes the variable occurrences?

ABoth x and y are bound, since the entire formula is governed by ∀x
Bx is bound (governed by ∀x throughout its scope) and y is free (no quantifier governs y)
Cx is free in the antecedent P(x) and bound in the consequent Q(x, y)
Dy is bound because it appears within the scope of ∀x, which governs the whole subformula
Question 3 True / False

Every theorem about all well-formed formulas can in principle be proved by structural induction, because the recursive definition of wffs specifies exactly the construction cases that must be handled.

TTrue
FFalse
Question 4 True / False

In the formula ∀x (P(x) → Q(x, y)), both x and y are bound variables, since x appears under the quantifier ∀x which governs the entire formula.

TTrue
FFalse
Question 5 Short Answer

Explain why the recursive definition of wffs is described as 'the contract between syntax and semantics.' What would be lost without a recursive definition?

Think about your answer, then reveal below.