Example solution based on the novel ''Jane Eyre'': Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
== One formulae with two occurrences of variables == | == One formulae with two occurrences of variables == | ||
Formula: '''family-of(st.john, | Formula: '''family-of(st.john,x<sub>9</sub>) ∧ female(x<sub>8</sub>)''' | ||
<hr /> | <hr /> | ||
Back to the [[Assignmentsheet_Logic_Summer_Term_2013|assignment sheet of Chapter 2]]. | Back to the [[Assignmentsheet_Logic_Summer_Term_2013|assignment sheet of Chapter 2]]. | ||
== Interpretation of the formula == | |||
Given the model from the earlier tasks and the variable assignment function g, we can compute the truth of the formula as follows: | |||
{{DenL}}{{DenR}} |
Revision as of 22:40, 28 June 2013
Task 5: Variables
1. Provide a variable assignment function g which maps the variables x1, ..., x10 to members of your universe.
2. Provide one formula that contains two occurrences of variables.
3. Compute the truth value of this formula with respect to your assingment function g.
Variable assignment function
- g(x1) = JaneEyre
- g(x2) = JaneEyre
- g(x3) = MrRochester
- g(x4) = MrRochester
- g(x5) = BerthaMason
- g(x6) = St.John
- g(x7) = BerthaMason
- g(x8) = MrRochester
- g(x9) = JaneEyre
- g(x10) = JaneEyre
One formulae with two occurrences of variables
Formula: family-of(st.john,x9) ∧ female(x8)
Back to the assignment sheet of Chapter 2.
Interpretation of the formula
Given the model from the earlier tasks and the variable assignment function g, we can compute the truth of the formula as follows:
[[]]