Deontic logic (brief)
What it is
Deontic logic is the logic of obligation (O), permission (P) and prohibition (F). Modern work starts with von Wright (1951). Standard Deontic Logic (SDL) is the modal logic KD: O is a normal modal operator, P = ¬O¬, F = O¬, and the axiom D (Op → Pp) says what is obligatory is permitted. It matters to us because our effects (permit, forbid, duty) look deontic, and because its paradoxes show what goes wrong when these words are given a naive logic.
Model
- Entities: propositions (states of affairs or actions), not structured entities.
- Rule forms: formulas with O, P, F; conditional obligations O(q | p).
- Combining: logical consequence. Conflicts (Op and O¬p) are inconsistent in SDL because of axiom D.
Formal semantics and what is proved
- Kripke semantics: Op is true if p holds in every "ideal" world. SDL is decidable (as a normal modal logic, satisfiability is PSPACE-complete in general for K-like logics; check the exact class for KD before quoting).
- Known paradoxes:
- Ross (1941): "you must post the letter" implies "you must post it or burn it". Closure under consequence lets permission and obligation spread to things nobody meant.
- Free choice permission: "you may have coffee or tea" should mean you may have coffee and you may have tea. SDL does not give that.
- Good Samaritan (Prior 1958): "you must help the robbed man" implies "the man must be robbed".
- Chisholm (1963), contrary-to-duty: "you must go; if you go you must tell them; if you do not go you must not tell them; you do not go." SDL cannot represent the four sentences consistently and independently.
- Responses: dyadic deontic logic, input/output logic (Makinson and van der Torre 2000), defeasible deontic logic (Governatori and others). Propositional defeasible logic has linear complexity (Maher 2001), and is used in LegalRuleML-style compliance checking.
Purpose and use case
Not built in.
Uncertainty
None in the standard systems.
History and state
Temporal deontic logics exist (obligations with deadlines).
What we can reuse
- A warning list. Our effects should not be modal operators closed under logical consequence. A permission should be for a concrete (person, action, asset, use case, form) tuple, never derived from a weaker formula. This avoids Ross and free choice by construction.
- Contrary-to-duty structure for duties: "if the duty to cite was not met, then the release is withdrawn" is a separate rule triggered by the violation, as in ODRL's remedy and consequence.
- Defeasible logic as evidence that exceptions plus priorities can stay linear-time.
What it lacks for us
- No entities, no forms, no combining algorithm a security engineer would accept, no tooling.
Key references
- von Wright, "Deontic Logic", Mind 1951. https://doi.org/10.1093/mind/LX.237.1
- McNamara, Van De Putte, "Deontic Logic", Stanford Encyclopedia of Philosophy. https://plato.stanford.edu/entries/logic-deontic/
- Chisholm, "Contrary-to-duty imperatives and deontic logic", Analysis 1963. https://doi.org/10.1093/analys/24.2.33
- Makinson, van der Torre, "Input/output logics", Journal of Philosophical Logic 2000. https://doi.org/10.1023/A:1004748624537
- Maher, "Propositional defeasible logic has linear complexity", TPLP 2001. https://doi.org/10.1017/S1471068401001168