A distributed system has nonempty sets of requests RRR, servers SSS, and replicas PPP. Let H(r,s,p)H(r,s,p)H(r,s,p) mean that server sss can handle request rrr using replica ppp. Its advertised guarantee is:
Thus, each request has a suitable server, and that server works with every replica. Negate the entire guarantee, rather than merely replacing its last statement with a negative statement.
Complete the following equivalent negation using only the words some and every:
There is request such that, for server, there is replica for which that server cannot handle that request.
Unlock full course notes by signing up
Audit a proof procedure's guarantees
A consistent propositional knowledge base KKK is processed by a sound proof procedure. The procedure is not assumed complete. For an arbitrary sentence HHH, select every statement guaranteed by these assumptions.
Check substitutions before applying a rule
A rule engine compares pairs of predicate expressions. A unifier is a substitution for variables that makes both expressions identical. For each independent case, enter yes if a unifier exists and no otherwise.
Uppercase XXX and YYY are variables; lowercase aaa and bbb are distinct constants. The symbols fff and ggg are distinct unary function symbols, and PPP is a binary predicate. Within a row, repeated occurrences of a variable refer to the same variable. Substitutions do not carry between rows.
Use ordinary syntactic unification over finite terms, including the occurs check. No additional equations identify different constants or function symbols.
When a new observation destroys every model
A service-monitoring agent uses five atoms: PPP means the primary service is available, BBB means the backup is available, AAA means a request is accepted, LLL means a log is written, and MMM means maintenance is active. Its original knowledge base is:
The agent then receives the additional observation MMM. Count the assignments to the five stored atoms that satisfy the original knowledge base and the updated knowledge base, giving each count as an exact integer to zero decimal places. Finally, answer true or false: under classical semantic entailment, does the updated knowledge base entail a fresh proposition NNN that appears in none of its sentences?
Trace simultaneous rule updates
A monitoring agent represents status flags by propositional atoms AAA through III. Initially, only AAA and BBB are recorded as facts. Its knowledge base also contains the following rules:
Each is a definite Horn rule: a conjunction of positive atoms implies one positive atom. Use synchronous forward chaining. Round 0 contains the initial facts. In each later round, evaluate all rule antecedents using only the facts available at the end of the previous round, then add all newly supported conclusions simultaneously. Retain earlier facts and stop when no new atom is added.