Questions: Substitution and Instantiation in Predicate Logic

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

We want to substitute y for x in the formula ∃y (y > x), writing φ[y/x]. Naive substitution produces ∃y (y > y). What went wrong?

AOnly constants may be substituted for variables — substituting a variable for a variable is always invalid
BThe free variable y in the substituted term was captured by the quantifier ∃y in the formula, producing a formula with a completely different meaning
CUniversal instantiation applies only to ∀, so this substitution requires a different rule
DThe substitution is valid — ∃y (y > y) is logically equivalent to ∃y (y > x)
Question 2 Multiple Choice

From ∀x P(x), which of the following instantiations are valid under universal instantiation?

AOnly P(a) for a specific constant a — universal instantiation works only for constants
BOnly P(x) — reinstantiating the same variable is the safe choice
CP(a) or P(b) for constants, but not P(f(a,b)) for complex terms
DP(t) for any term t in the domain — constants, variables, or complex function expressions
Question 3 True / False

Capture-avoiding substitution is only necessary when the substituted term is a variable; substituting a constant never causes variable capture.

TTrue
FFalse
Question 4 True / False

The formula φ[t/x] usually has the same logical meaning as φ, just with t appearing where x was.

TTrue
FFalse
Question 5 Short Answer

What is 'variable capture' in predicate logic substitution, and how does capture-avoiding substitution prevent it? Use an example.

Think about your answer, then reveal below.