Term, Variable, and Constant

Context: FIT1058_MOC · what goes into a predicate’s argument slots · free vs bound variables · a predicate becomes a proposition once all free variables are assigned

Quick Revision

  • 🎯 Objective: the inputs a predicate consumes ➔ constant / variable / function-applied-to-terms.
  • 📦 Core Components: variable (domain-ranging) ➔ constant (fixed) ➔ term (recursive).
  • ⚡ Key Constraint: a predicate becomes a proposition only when every free variable is assigned or bound.

📝 Core

1. The Three Objects

  • Variable ➔ a name for an unspecified object from a domain.
  • Constant ➔ a specific value (, , Alan Turing).
  • Term ➔ a constant, a variable, or a function applied to (valid) terms (recursive).

2. Free vs Bound

  • Free ➔ no value yet, open to assignment ➔ a predicate with a free variable is not a proposition.
  • Bound ➔ captured by a quantifier ➔ no longer assignable.
  • Becomes a proposition ➔ when every free variable is assigned from its domain (or bound).

3. Type-Checking Terms

  • Domain fit ➔ a term must make sense in its argument’s domain.
  • Available functions only ➔ codomains must match the next argument’s domain (Function Composition of types).

Key identities:

⚖️ Core Decision Matrix

ObjectRanges / fixedQuantifiable?Role
variableranges over a domainyesassigned or bound
constantfixed objectnoa specific value
termnames an objectpredicate input
predicate applicationa statementhas a truth value

When It Flips: math favours single letters () because juxtaposition means multiplication (myVar reads as a product). Term ≠ formula: a term names an object; a predicate application is a statement.

📊 Exam Execution Trace

Manual Execution Trace

Classify expressions and variable occurrences:

Step / StateExpressionTerm?Variable status
0 (Init)
1term free
2not (unavailable fn)
3not (connective)
4 bound, free

⚠️ Common Mistakes

  • 💡 is not a term combines statements, not objects; and constants can’t be quantified (, are errors).

🧠 Active Recall