Kelsenean Deontic Logic
Kelsenean Deontic Logic
Kelsenean Deontic Logic
E. Schweighofer (Ed.)
© 2021 The authors and IOS Press.
This article is published online with Open Access by IOS Press and distributed under the terms
of the Creative Commons Attribution Non-Commercial License 4.0 (CC BY-NC 4.0).
doi:10.3233/FAIA210330
1. Introduction
We develop a framework for deontic logic that combines violation and causality. Roughly
speaking, an action is obligatory if refraining from performing it causes a violation. Our
approach is inspired by the theory of norms developed by H. Kelsen, one of the most
important legal scholars of the 20th century, in his “Pure Theory of Law,” introduced
in [1] and expanded in [2] (English translations in [3] and [4], respectively). According
to Kelsen, obligations and prohibitions are mere reflexes of sanction-norms: “the legal
order [. . . ] prohibits a certain behavior by attaching to it a sanction or [. . . ] it commands
a behavior by attaching a sanction to the opposite behavior” [4, p. 55]. This idea may
be connected to the reduction of deontic logic to alethic modal logic as proposed by
Anderson [5], though the latter does not refer to the work of Kelsen (which at that time
was only available in German, and usually only known to legal theorists).
Here we use a reduction à la Anderson, but depart from it in two respects. First,
we model the connection between a sanction (actually, a violation) and its triggering
condition as a causal relationship, rather than as a necessity relationship, as proposed
in, e.g., [6]. The necessity connection is usually understood as a strict implication which
is known to generate counter-intuitive inferences, such as Ross’s paradox [7]. It also
satisfies the reflexivity postulate (“If A then A”), which is often regarded as inappropriate
for causal reasoning. Furthermore, Anderson’s reduction is usually worked out within a
possible worlds semantics, which is not compatible with Kelsen’s view that norms do
not bear a truth-value (see [8]). Second, in Anderson’s perspective the same sanction is
the consequent of each norm. In our approach instead different unlawful facts may lead
to different violations. In this regard our approach corresponds to the working of legal
and moral systems, where distinct unlawful or immoral acts lead to distinct sanctions
or disvalues. This feature of our framework enables us to address contrary-to-duty CTD
obligations, i.e., obligations which are applicable only if other obligations are violated.
We can represent the original obligation by a norm linking the (prohibited) fact f1 to
a violation v1 , and the CTD obligation by a second norm linking the accomplishment
of f1 in combination with a further fact f2 to an additional violation v2 . The first norm
142 A. Ciabattoni et al. / A Kelsenian Deontic Logic
expresses the obligation of ¬ f1 (e.g., the obligation not to kill, in Forrester’s famous
paradox [9]), while the second norm expresses the prohibition of f2 , when f1 is the case
(the prohibition to be cruel, when killing). Hence we model CTD obligations by making
the complement of their content into an aggravating circumstance, as in legal codes.
Before presenting our formal framework, we clarify some ideas about sanction and
violation. Neither Kelsen nor Anderson claimed that every action for which a sanction is
foreseen will necessarily be followed by an action of coercive enforcement by the state
(forced execution, fine, detention, etc.), nor even by the pronouncement of a sanction
by a competent authority. Once the condition for the sanction is realised, what neces-
sarily happens is that (for Kelsen) the sanction is authorised and thus can legitimately
be applied through the appropriate legal process, or (for Anderson) that something un-
wanted has happened. Hence we will model legal norms as connecting unlawful facts to
violations, rather than to sanctions.
The paper is organised as follows. Sect. 2 presents the norms we deal with, which
causally link (unlawful) states of affairs to violations, and the logic to reason about them.
The latter is a simplified version of input-output logic [10], where part of the norma-
tive system (regulative norms) has only a propositional constant on the right hand side.
In Sect. 3 we discuss the notion of illicit, which is used to define contextual and non-
contextual duties. In accordance with Kelsen’s view that a normative system can be con-
flicting, Sect. 4 introduces the notion of (un-)obeyable system. The resulting logic of
duties is analysed in Sect. 5, using as benchmarks well known properties and paradoxes
from the deontic logic literature. Sect. 6 pinpoints a selection of topics for future research.
2. The violation logic
We introduce the base violation logic that will be used in this paper, starting with its
language.
Each violation atom denotes a particular violation or offence (or, following Kelsen,
the authorisation to enact a specific sanction [4, 108ff]). Norms consist in causal-like
connections, denoted by the ⇒ symbol. They link factual circumstances to violations
(regulative or violation norms) or Boolean antecedents to conclusions other than viola-
tions (constitutive or counts-as norms).
Definition 2 (Norms and Norm codes). A norm code is a finite set of:
Example 1 (Auto code). A norm code capturing simple road traffic rules is:
Speed ⇒ v1 Red ∧ ¬Stop ⇒ v2
Dark ∧ ¬LightsOn ⇒ v3 BrokenLights ⇒ v4
Phone ∧ Drive ⇒ v5 BrokenFrontLights ⇒ BrokenLights
BrokenBackLights ⇒ BrokenLights Fog ∧ ¬LightsOn ⇒ v6
Note that in our example different norms establish different violations. This feature
is meant to capture the fact that unlawful or immoral situations may trigger distinct re-
A. Ciabattoni et al. / A Kelsenian Deontic Logic 143
sponses by a legal and moral system. Such responses have to be added up to determine
how the situation is assessed by the system (expanding the generated violations makes
things worse). Our approach does not exclude that distinct facts may lead to the same
violation. However, in this case the normative system would generate a single violation,
whenever one, some, or all such norms are triggered. For instance, the violation v4 may
be triggered in two ways (via BrokenFrontLights or via BrokenBackLights). Should dis-
tinct fines be applied for broken front lights and broken back lights (to be added up when
both are the case), different violations would be triggered by each of them.
We introduce our violation logic, that specifies a causal-like entailment for norms,
in the spirit of Kelsen (who calls this entailment “imputation”, see [4, 76ff]).
Although causal relations satisfy most of the rules for classical entailment, their
distinctive feature is that they are irreflexive, that is, they do not satisfy A ⇒ A. Actually,
the above relation corresponds to the “basic reusable” input-output logic (out4 ) from
[10]. It is also closely related to Bochman’s causal calculus [11], see Remark 1. The
semantics for the violation logic is essentially the one for out4 . It is “operational”, and
takes the form of a set of procedures yielding outputs for inputs. Roughly speaking, to
determine if formula A is in the output set, one considers in turn each maximal consistent
extension of the input set that is closed under the norms, and checks if it contains A. If
the answer is “yes”, then A is in the output. This semantics fits Kelsen’s idea that norms
do not bear a truth-value and that logic cannot add new norms to a code N [12, Ch. 50],
but rather identifies the input-output connections established by N, which are the object
of “rules (propositions) of law” (in German Rechtssätze)−see [4, p. 72] and [12, Ch. 49].
3. From illicits to duties
In Kelsen’s legal theory sanction norms (violation norms, in our framework) have a foun-
dational status. Other normative notions are derivative. Every behaviour that may trigger
a sanction against its author is a delict (Unrecht) and every delict is the content of the
obligation that the delict does not take place [2, p. 39]. Here we prefer to speak of an
illicit, rather than of a delict, to cover all elements (not only actions) that contribute to the
triggering of a sanction. Elementary illicits represent the minimal conditions that lead to
a violation, and elementary duties apply to their negations.
Definition 4 (Elementary Illicit and Duty). A conjunction of literals {l1 , . . . , ln } is an
elementary illicit relatively to a norm code N if and only if (iff) there is a v ∈ V such that:
1. {l1 , . . . , ln } ⇒ v; 2. no proper subset of {l1 , . . . , ln } satisfies condition 1.
A proposition A is (the content of) an elementary duty, relatively to a norm code N,
iff A ≡ ¬B and B is an elementary illicit relatively to N.
144 A. Ciabattoni et al. / A Kelsenian Deontic Logic
To develop a deontic logic we introduce the idea of generalized illicit, which covers
all possible conditions that may minimally lead to a disjunction of violations.
The rationale behind this notion is to ensure that the generalised illicit is not only
a sufficient, but also a necessary condition for the disjunction of the violations to take
place. Condition 2. makes A the weakest formula leading to the violations in question.
This will be the key element to the solution of the deontic paradoxes in Sect. 5.2.
Example 3. Consider again Ex. 1. The generalized illicits w.r.t. {v4 } and {v1 , v5 } are:
BrokenFrontLights ∨ BrokenBackLights and Speed ∨ (Phone ∧ Drive), respectively. Note
that BrokenFrontLights alone is not a generalized illicits as it is not the only possible
way of triggering the violation v4 (i.e., condition 2. in Def. 5 fails).
Generalised illicts have the following logical properties: they are reducible to a dis-
junction of elementary illicits, and their disjunction constitutes a new generalised illict.
Proof. Let L1 , . . . Ln be all possible elementary illicits relative to N w.r.t. the violations
v ∈ S ⊆ V . L1 ∨ . . . ∨ Ln is a generalized illicit w.r.t. S. Condition 1 of Def. 5 is satisfied.
Indeed, if Li ⇒ v ∈ S, then by (Weakening) Li ⇒ S, and by (Or) L1 ∨ . . . ∨ Ln ⇒ S.
As for condition 2, assume there is a boolean formula B such that L1 ∨ . . . ∨ Ln |= B
and B ⇒ S. Assume w.l.o.g. that B is in disjunctive normal form, say B := N1 ∨· · ·∨Nm .
By (Strenghtening) and the assumption N1 ∨ · · · ∨ Nm ⇒ S it follows that Ni ⇒ S,
for all i = 1, . . . , m. Being the Li ’s all the elementary illicits triggering the violations in S
(and hence representing minimal conditions to trigger them), for each Ni there are some
literals {L1 , . . . Ln } which are included in the literals of Ni . Hence B |= L1 ∨ . . . ∨ Ln .
Remark 1. Out4 [10], and hence our violation logic, differ from the causal calculus
in [11] by the presence in the latter of axiom f ⇒ f . This axiom would create the fol-
lowing counter-intuitive situation when considering the corresponding obligations. From
A ⇒ B follows A∧¬B ⇒ f .1 Now, by (Weakening), for any violation v, A∧¬B ⇒ v (using
the fact that f |= v), which leads to ON (¬A ∨ B), for any constitutive norm A ⇒ B.
Here we focus on the illicits that are not settled by the context (entailed by it), so
that their happening is contingent on the choice (deliberation) of the involved agent.
(Cut), A ∧ ¬B ⇒ f .
146 A. Ciabattoni et al. / A Kelsenian Deontic Logic
Example 6 (Forrester paradox [9]). Consider the following premises: (1) You should
not kill (2) If you kill, you should kill gently, (3) You kill. In Standard Deontic Logic
SDL [13] (1)-(3) entail that you should both kill and not kill. By considering under what
circumstance obligations (1) and (2) would be violated we have the violation norms
Kill ⇒ v1 Kill ∧ ¬KillGently ⇒ v2
where KillGently ⇒ Kill. In context {}, O¬Kill holds, in context {Kill}, OKillGently.
Example 7 (Chisholm paradox [14]). It consists of: (1) You ought to go to the assistance
of your neighbours; (2) If you go you ought to tell them that you are coming; but (3) If
you do not go then you ought not to tell them that you are coming; and (4) You do not go.
SDL [13] entails that both you ought and you ought not to tell your neighbours that you
are coming. In our framework the norms involved in this scenario are formalised as:
¬Go ⇒ v1 Go ∧ ¬TellGo ⇒ v2 ¬Go ∧ TellGo ⇒ v3
In context {}, OGo holds, in context {¬Go}, O¬TellGo.
Remark 3. Some c-illicit A relative to a norm code N and context C1 , might not be a
c-illicit relative to a superset C2 of C1 that is consistent with A and such that C2 |= ∨S,
for any (sub)set S of the violations in N. E.g., put N = {A ∧ B ⇒ v1 , D ∧ E ⇒ v2 }; A ∧ B
is a c-illicit in context C1 := {E}, but not in C2 := {A, E} (condition 2 in Def. 8 fails).
The following property, connecting violations entailed by contexts and duties, will
be useful in Sect.5.2.
Proof. By Def. 6 each ¬Ai is a generalized illicit relative to N and by Prop. 1 a disjunc-
tion of elementary illicits (minimal formulas that trigger violations). If there exists S s.t.
C ⇒ S, there are generalized illicits ¬A1 , . . . ¬Am such that C |= ¬A1 ∨ · · · ∨ ¬Am .
Absolutely unobeyable codes are rare, as they involve norms that always establish
sanctions. A weaker and more common notion is that of contextual unobeyability. A
code N is unobeyable in a context C iff C entails that that a disjunction of alternative
violations will be committed, not specifying which ones will be. Thus, the agent faces a
predicament: possible violations can only be avoided by incurring in other violations.
A. Ciabattoni et al. / A Kelsenian Deontic Logic 147
Example 10 (from the Book of the Judges). Jephthah promised to God that if he was
given victory in a battle he would sacrifice (kill and dedicate to God) the first human
being that he encountered coming home. After winning the battle, he first encountered his
daughter (rather than an animal, as he may have assumed). Thus, he faced a hard choice:
either violate his promise to God, or violate the moral prohibition to kill his daughter. We
can model this situation through the code N = {Win(j) ∧ Encounter(j,d) ∧ ¬Kill(j,d) ⇒
v1 ; Kill(j,d) ⇒ v2 }, which is unobeyable in context C = {Win(j), Encounter( j, d)}.
Note that in a context of unobeyability, the agent has the duty to prevent each fact
causing a new violation. However, he has no contextual duty to prevent the tautological
disjunction of all such facts (i.e. to realise the contradictory conjunction of them). In fact
such a disjunction is not a c-illicit, being entailed by the context (Remark 2). Thus, in
the above example, in context C Jephthah has duties OKill( j, d) and O¬Kill( j, d), but
no duty O(Kill( j, d) ∧ ¬Kill( j, d)).
5. The logic of duties
In this section we analyse the logic(s) of the ON and O(N,C) modalities. We consider the
main principles discussed in the deontic logic literature, and check whether they hold.
We also use some of the best known deontic paradoxes as benchmarks.
5.1. Properties of duties
For ease of readability, we consider first the version of a given property for noncontextual
duty (i.e. unary obligation), when available.
Extensionality For non-contextual duty it takes the form (RE) “If A ≡ B, then ON (A) ≡
ON (B)”. There are two versions for conditional duty: “If ∧C ≡ ∧C , then O(N,C) (A) ≡
O(N,C ) (A)” and “If A ≡ B, then O(N,C) (A) ≡ O(N,C) (B)”. All versions trivially hold.
Remark 4. The logic of ON duties contains the non-normal modal logic EC [16]. EC is
obtained by adding the C axiom (ON A ∧ ON B) → ON (A ∧ B) to the system E of so-called
classical modal logic, consisting of the sole rule of extensionality (RE).
148 A. Ciabattoni et al. / A Kelsenian Deontic Logic
Monotonicity wrt context It is the analog of the “Strengthening of the antecedent” prin-
ciple in conditional logic. It fails in its usual form “If O(N,C) (A), and C ⊆ C then
O(N,C ) (A)”, as hinted in Remark 3. The following counter-example shows that its failure
is in line with the idea that in the context of deliberation one puts aside the moral status
of the facts which are settled. Let N = {¬A ⇒ v1 }. We have O(N,0) / A, while O(N,{¬A}) A
no longer holds due to the failure of (the first half of) condition 3 in Def. 8.
Factual detachment (= detachment via modus ponens [17]) In our framework it might
be expressed as: If O(N,C) (A → B) then O(N,C∪{A}) B, for A a conjunction of liter-
als. It holds under the hypotheses: (∗) C ∪ {A} |= ¬A1 ∨ · · · ∨ ¬An , for all duties
ON A1 , . . . , ON An , and (∗∗) there is no formula D weaker than ¬B s.t. A ∧ D |= ¬B. We
show that ¬B is a c-illicit in context C ∪ {A} so that O(N,C∪{A}) B. By O(N,C) (A → B) fol-
lows that there is S ⊆ V s.t. (C ∪ {A ∧ ¬B}) ⇒ S, that is (C ∪ {A} ∪ {¬B}) ⇒ S.
Hence Def. 8.1 holds for ¬B relative to C ∪ {A}. Condition 2 follows from the fact that
if there is a D weaker than ¬B such that (C ∪ {A} ∪ {D }) ⇒ S, then A ∧ ¬B is not
a c-illicit (C ∪ {A ∧ D } ⇒ S and from ¬B |= D follows A ∧ ¬B |= A ∧ D , and from
(∗∗) that A ∧ D |= A ∧ ¬B) contradicting the hypothesis. Condition 3 also holds: the hy-
pothesis (∗) guarantees by Lemma 1 that (C ∪ {A}) ⇒ V , where V is the set of all
violations, and hence (C ∪ {A}) ⇒ S; C ∪ {A} |= B follows from C |= A → B.
It has often been argued that CTDs involve different senses of “ought”, and that a
fully adequate treatment of them must be able to capture those nuances. In our analysis
of contextual duties we have focused on deliberative duties, where one puts aside the
moral or legal status of the facts which are taken as settled and one must decide what
to do. Our framework allows, however, a finer-grained analysis of duties –to be left to
future work– which could not only shed more light on the various paradoxes, but also
capture different types of “ought”-statements. Among them, we plan to investigate con-
textual (evaluative) duties that are appropriate for what is commonly referred to as the
“context of judgement” [24,25], where one assesses the moral or legal status of settled
facts through backward looking or post-eventum judgments [26, p. 157].
Furthermore, our logic is an ought-to-be deontic logic, as obligations may cover any
cause of violations. We plan to develop an ought-to-do deontic logic, reflecting Kelsen’s
notion of a delict, by carving out agentive elements within illicits and “plugging” in a
suitable logic of action in our base logic. Other topics for future research include the
question of extending the framework to support defeasible reasoning, reasoning about
exceptions, and the question of how to axiomatise and automatise the logic.2
References
[1] Kelsen H. Reine Rechtslehre Einleitung in die rechtswissenschaftliche Problematik. Mohr Siebeck;
1934.
[2] Kelsen H. Reine Rechtslehre. Franz Deuticke; 1960.
[3] Kelsen H. Introduction to the Problems of Legal Theory. Clarendon; 1992.
[4] Kelsen H. The Pure Theory of Law. University of California Press; 1967.
[5] Anderson AR. The Logic of Norms. Logique et Analyse. 1958;1:84–91.
[6] Wang PH. Anderson’s reduction and Kelsen’s Normativism. In: Pluralism and Law. Proceedings of the
20th IVR World Congress 2001. Vol. 4: Legal Reasoning. Franz Steiner Verlag; 2001. p. 104–110.
[7] Ross WD. Foundations of Ethics. Clarendon; 1939.
[8] Kelsen H. General Theory of Norms. Oxford University Press; 1990.
[9] Forrester JW. Gentle Murder, or the adverbial Samaritan. J of Philosophy. 1984;(81):193–197.
[10] Makinson D, van der Torre LWN. Input/Output Logics. J Phil Log. 2000;29(4):383–408.
[11] Bochman A. On Laws and Counterfactuals in Causal Reasoning. In: Proc. 16 Intern. Conf. on Principles
of Knowledge Representation and Reasoning (KR 2018); 2018. p. 494–503.
[12] Kelsen H. General Theory of Norms. Clarendon; 1991.
[13] von Wright GH. Deontic logic. Mind. 1951;60(237):1–15.
[14] Chisholm RM. Contrary-to-Duty Imperatives and Deontic Logic. Analysis. 1963;24:33–6.
[15] Kelsen H. On the pure theory of law. Israel Law Review. 1966:193–215.
[16] Chellas B. Modal Logic. Cambridge University Press; 1980.
[17] Greenspan PS. Conditional Oughts and Hypothetical Imperatives. Journal of Philosophy.
1975;72(10):259–276.
[18] Makinson D, van der Torre LWN. Constraints for Input/Output Logics. J Phil Log. 2001;30(2):155–185.
[19] Ross A. Imperatives and Logic. Theoria. 1941;7(1):53.
[20] Broome J. Rationality through Reasoning. West Sussex, U: Wiley-Blackwell; 2013.
[21] Parent X, van der Torre LWN. ”Sing and Dance!” - Input/Output Logics without Weakening. In: Cariani
F, et Al, editors. DEON 2014, Proceedings. vol. 8554 of LNCS. Springer; 2014. p. 149–165.
[22] Horty J. Moral Dilemmas and Nonmonotonic Logic. Journal of Philosophical Logic. 1994;23(1):35–65.
[23] Hansen J. Imperatives and Deontic logic. University of Leipzig; 2008.
[24] Thomason RH. In: Hilpinen R, editor. Deontic Logic and the Role of Freedom in Moral Deliberation.
Dordrecht: Springer Netherlands; 1981. p. 177–186.
[25] Asher N, Bonevac D. Prima Facie Obligation. Stud Logica. 1996;57(1):19–45.
[26] Hare R. The Language of Morals. Clarendon; 1991.
2 G. Sartor has been supported by the H2020 ERC Project “CompuLaw” (G.A. 833647), A. Ciabattoni and