Quiz. Term evaluation (FOL) [0014]
Quiz. Term evaluation (FOL) [0014]
Consider the following domain/universe of discourse, variable assignment, and interpretation:
- Universe \[ U \triangleq \{1, 2\} \]
- Variable assignment \[ \sigma \triangleq \{x\mapsto 2, y\mapsto 1\} \]
- Interpretation \[ \begin {align*} I & \triangleq \{a \mapsto 1, b \mapsto 2\} \\ I & \triangleq \{f(1, 1) \mapsto 2, f(1, 2) \mapsto 2, f(2, 1) \mapsto 1, f(2, 2) \mapsto 1\} \end {align*} \]
What is the evaluation of the following terms under the given interpretation and variable assignment?
- \(f(a, y)\)
- \(f(x, b)\)
- \(f(f(x, b), f(a, y))\)