1 Introduction

The Mīmāṃsā is a philosophical school which originated in ancient India in the last centuries BCE and whose main focus was the exegesis of the prescriptive portions of the Vedas—the Sacred Texts of (what is now called) Hinduism. Together with Nyāya and Buddhist epistemology, Mīmāṃsā is one of the fundamental schools of Indian philosophy, and the only one centered on deontic concepts. In order to read the Vedas not as a religious text, but as a set of precepts, and to explain “what has to be done” in presence of seeminglyFootnote 1 conflicting obligations, Mīmāṃsā authors have thoroughly discussed and analyzed normative statements. They have proposed a rich body of deontic, hermeneutical and linguistic principles of interpretation, called nyāyas, which are so modern, rational, scientific, and systematic (Bathia 2010) that they are still applied in Indian jurisprudence, e.g. Katju (2006). Although not well known to the logic community, the resulting theories are rightly considered early deontic logic (Huisjes 1981).

Among the deontic nyāyas, some can be transformed into properties (Hilbert axioms) for the operators corresponding to the deontic concepts in Mīmāṃsā; this method led to the introduction of the non-normal dyadic deontic logic \(\mathsf {bMDL}\) (basic Mīmāṃsā deontic logic), which was used in Ciabattoni et al. (2015) to formally analyze a famous controversial passage in the Vedas. However, in the construction of \(\mathsf {bMDL}\) only nyāyas concerning the obligation operator were considered. Here we extend \(\mathsf {bMDL}\) with new operators for prohibitions and recommendations (or weak obligations); we call the resulting logic \(\mathsf {MD}+\). We extracted the properties for these operators from additional nyāyas that were translated from Sanskrit and interpreted only recently. Similar to the situation in Talmudic logic as investigated in Abraham et al. (2011), the Mīmāṃsā deontic operators are not interdefinable. Intuitively, the most evident difference between them is in the achievable results: obeying Vedic obligations yields good karma which leads to eternal happiness; in contrast, following Vedic recommendations yields only specific immediate results; finally, following Vedic prohibitions only prevents the accumulation of negative karma, see, e.g., Freschi (2012, (2017). However, the main difference between the two deontic concepts of prescription (vidhi in Sanskrit) and prohibition (niṡedha) is not properly dependent on the results of complying with commands or disregarding them. The conveyed idea (buddhi) at the base of the concept of obligation is “activation” or “being impelled to act”, while, in case of prohibition, it is “inhibition” or “being prevented from taking an action”, hence prescription and prohibition represent two genuinely different notions of duty, one irreducible to the other

Although specifically targeted at formalizing Mīmāṃsā reasoning, these operators can be applied in different contexts. For instance, in line with the argument for using deontic notions in the formalization of legal texts given in Jones and Sergot (1992), Royakkers (1998), obligations and prohibitions could be used for comparing moral and legal duties (see also Example 4 in Sect. 6), and the distinction between obligations and recommendations could be adapted for representing the difference between prescriptions to fulfil duties within mandatory terms and within indicative terms, in some legal frameworks.

Not all the nyāyas can be converted into Hilbert axioms though. Some of these offer indeed more general interpretative principles to resolve apparent contradictions in the Vedas; prominent examples of such nyāyas are gunapradhāna (also known as sāmānya-viśeṣa) and vikalpa, which are investigated in this paper. The vikalpa principle states that when there is a real conflict between obligations, any of the conflicting injunctions may be adopted as option: this principle is known in deontic logic as disjunctive response (Goble 2013) and is similar to the phenomenon of floating conclusions in nonmonotonic reasoning (Makinson and Schlechta 1991, see also Remark 7). Introduced by Śabara (3rd–5th c. CE), the gunapradhāna principle states that more specific rules override more generic ones; it is widely used, e.g., in Artificial Intelligence, where it is known as specificity principle, and in Law as the principle “Lex specialis derogat legi generali”. These principles are also used to capture defeasible reasoning in the context of non-monotonic logics (see e.g. Delgrande and Schaub 1997; Nute 2003; Hage 2003; Straßer and Antonelli 2016).

Different methods and systems have been introduced in the literature to deal with deontic conflict resolutions using specificity. Although some are close to ours [e.g. Horty’s syntactic approach in Horty (2012)], none of the various proposals can be used “out of the box” for representing Mīmāṃsā reasoning. Indeed they are either based on logics different from \(\mathsf {MD}+\) (e.g. Straßer and Arieli 2019), or are implemented within general frameworks that do not allow us to distinguish between Vedic commands and human deductions [e.g. the argumentation-based approach in Prakken and Sartor (1999), and Deontic Default logic in Horty (1993, (2012), see Remark 3], use explicit priorities among rules—which are not present in Mīmāṃsā–[e.g., Defeasible Deontic logic in Governatori and Rotolo (2004) and Input/Output logic in Makinson and van der Torre (2000)], or a different way to apply specificity [e.g. Horty’s approach (Horty 2012), see Example 2]. Due to its relevance to legal reasoning, a number of these approaches to conflict resolution have been applied in that area, and often implementations are available. Good recent overviews and comparisons are given, e.g., in Batsakis et al. (2018) and Calegari et al. (2019).

The aim of this article is to extend the basic deontic logic \(\mathsf {MD}+\) for obligations, prohibitions and recommendations with reasoning from deontic assumptions using specificity and vikalpa. We further explore the usefulness of the resulting system for the evaluation of different competing formalisations in Mīmāṃsā and beyond.

To this end we introduce a sequent-based approach to deal in \(\mathsf {MD}+\) with specificity and vikalpa as well as a system implementation. This work is a significantly extended version of the conference paper Ciabattoni et al. (2018), which only concerned obligations, and did not discuss potential applications.

Resolving conflicts using specificity, our calculus derives enforceable and applicable commands from the explicit prescriptions contained in the Vedas (śrauta in Sanskrit) and from a finite set of propositional facts.

The calculus presented here is also shown to satisfy vikalpa (disjunctive response). As, e.g., in Goble (2013), and van der Torre (1994), here we interpret the notion of a conditional obligation being more specific than another one as the conditions of the former implying those of the latter. Our calculus is built on the sequent calculus for the \(\Box \)-free fragment of \(\mathsf {bMDL}\) from Ciabattoni et al. (2015), which turns out to be the dyadic version of the non-normal deontic logic \(\mathsf {MD}\) considered, e.g., in Chellas (1980) (cf. Proposition 1 and Freschi et al. 2019), extended with new rules for recommendations and prohibitions. Additional rules to derive all possible prescriptions are defined using limited (downwards) monotonicity on the conditions of the (non-nested) prescriptions in the Vedas (prima-facie deontic statements) “up to conflicting deontic statements” relative to the given set of facts. These rules offer the technical advantage that the consequences of a set of prima-facie deontic statements can be constructed iteratively instead of by a fixed-point construction, as, e.g., in Horty (2012). Importantly, since the prima-facie injunctions are assumed to constitute a closed set, the additional rules contain statements expressing the underivability of a formula; these statements do not compromise the decidability of the system and do not affect its complexity, which remains PSPACE, i.e., as for deciding theoremhood in intuitionistic or many standard modal logics. The central technical result ensuring these properties is the cut elimination theorem (Theorem 2). Similar underivability statements are present, e.g., in the sequent calculi for non-monotonic (non-modal) logics of Bonatti and Olivetti (2002), but in contrast to that work here we do not need to develop a full-fledged calculus for these statements. Other sequent-based calculi capturing non-monotonicity in the context of normative reasoning have been developed and applied in deontic logics (e.g. Governatori and Rotolo 2006) and in argument-based systems (e.g. Straßer and Arieli 2019).

The design of our system is motivated by the particular interpretation given by most of Mīmāṃsā authors and made explicit by the later author Medhātithi (9–10th c. CE), that more specific śrauta precepts provide exceptions to more general ones and that the latter apply to all circumstances but those indicated in the exceptions (or implied by them). Apart from the nonmonotonic inferences from prima-facie to actual deontic statements, all derivations use the monotonic system \(\mathsf {MD}+\). Keeping the inferences of the logic at this level deductive (i.e., monotone) is inspired by the effort of Indian philosophers—in particular the Mīmāṃsā author Kumārila—to keep their arguments not defeasible “as much as possible”, see Taber (2004).

Applications of our system to Mīmāṃsā philosophy, and, more generally, to the formal interpretation of normative statements, e.g., in legal representation, are also provided. Prima-facie (śrauta) injunctions and statements about factual conditions can indeed give rise to many interpretations, each of which corresponds to a group of prima-facie commands and global assumptions about facts. For instance, in Sanskrit the same word is used both for “obligations” and “recommendations”, and the correct meaning has to be inferred by scholars of Indian philosophy. Our system can be used to derive a set of consequences for each of these groups. Using these consequences to compare the different interpretations, it is then possible to choose the most suitable one. In the case of Mīmāṃsā philosophy, one criterium which was heavily used in this comparison is to minimize applications of the vikalpa principle between prima-facie deontic statements; this is due to the fact that Mīmāṃsā authors considered applications of vikalpa to be “the last resort” and hence to be avoided as much as possible. In our system this criterium can be evaluated by checking how many of the prima-facie deontic statements are actually derivable. This check can be performed with the help of our Prolog implementation of the system, available at http://subsell.logic.at/bprover/deonticProver/version1.2/.

The rest of the paper is organized as follows: Sect. 2 recalls the base logic \(\mathsf {bMDL}\). The simplified set of sequent calculus rules, from Ciabattoni et al. (2018), to reason about obligations in presence of specificity is given in Sect. 3. The base logic is extended with prohibitions and recommendations in Sect. 4, and the complete set of rules for reasoning using specificity is introduced in Sect. 5. Consistency, decidability and complexity results for the system are presented in Sect. 5.1, while its potential use for Mīmāṃsā philosophy and beyond is described in Sect. 6. The technical proof of cut elimination is contained in the “Appendix”.

2 The base logic: \(\mathsf {bMDL}\)

Basic Mīmāṃsā Deontic Logic \(\mathsf {bMDL}\) was introduced in Ciabattoni et al. (2015) as a first step towards mapping the structural elements of the Mīmāṃsā deontic system onto a formal framework. The idea was to define a logical system following a bottom-up approach of extracting deontic principles from the Mīmāṃsā texts. The logic resulting from the analysis of circa 50 such principles extends the alethic system \(\mathsf {S4}\) with the following axiom schemata for the deontic operator \( \mathcal {O}( A / B )\), which intuitively reads as “A is obligatory under the condition B”:

  1. 1.

    \((\Box (A \rightarrow B ) \wedge \mathcal {O}( A / C ) ) \rightarrow \mathcal {O}(B / C)\).

  2. 2.

    \(\Box ( B \rightarrow \lnot A ) \rightarrow \lnot ( \mathcal {O}( A / C ) \wedge \mathcal {O}( B / C ))\).

  3. 3.

    \((\Box (( B \rightarrow C ) \wedge ( C \rightarrow B ) ) \wedge \mathcal {O}( A / B )) \rightarrow \mathcal {O}( A / C ) \).

Axioms (1)-(3) arise by rewriting some of the Mīmāṃsā deontic interpretative principles (nyāyas) as logic formulae, while the choice of modal logic \(\mathsf {S4}\) over \(\mathsf {S5}\) was suggested by some statements found in the texts as well as technical convenience, in particular the existence of cut-free sequent calculi. See Ciabattoni et al. (2017, (2015) for more details.

Note that deontic statements in Mīmāṃsā can also be analysed on a more detailed level in the context of specific sacrifices, taking into account the nature of the latter. Since here we are interested in the general properties of Mīmāṃsā reasoning, we do not consider this distinction and refer the reader to Freschi et al. (2019) for details.

Remark 1

\(\mathsf {bMDL}\) is weaker than most known deontic logics, e.g., the logics considered in von Wright (1964), von Wright (1965), Hansson (1969), van Fraassen (1972), Prakken and Sergot (1997), Goble (2019); in particular it has neither any deontic aggregation principles like \(\mathcal {O}(A/C) \wedge \mathcal {O}(B/C) \rightarrow \mathcal {O}(A \wedge B/C)\) nor any form of factual or deontic detachment, i.e., \(\mathcal {O}(A/B) \wedge B \rightarrow \mathcal {O}(A)\) and \(\mathcal {O}(A/B) \wedge \mathcal {O}(B/C) \rightarrow \mathcal {O}(A/C)\) respectively. In part this is due to our bottom-up methodology: so far indeed we have not found any mention of corresponding principles in the texts. However, the absence of (factual) detachment principles is also in line with the statement by one of the main authors of Mīmāṃsā, Prabhākara, that “A prescription regards what has to be done. But it does not say that it has to be done” (Brhatī I, 7th c. CE). We read this as stating that a prescription states what is obligatory under certain conditions, but not that this is unconditionally obligatory if these conditions hold.

Here for simplicity we only consider the box-free fragment of \(\mathsf {bMDL}\). Formally, the set of formulae is given by the grammar \(A ::= p \mid \bot \mid A \rightarrow A \mid \mathcal {O}(A / A)\). We treat the remaining propositional connectives \(\wedge ,\vee ,\lnot \) as defined by \(\{\bot ,\rightarrow \}\) in the usual way, i.e., \(\lnot A : \equiv A \rightarrow \bot \) as well as \(A \vee B : \equiv \lnot A \rightarrow B\) and \(A \wedge B : \equiv {\lnot (}\lnot A \vee \lnot B{)}\). We will show in Proposition 1 below that the box-free fragment of \(\mathsf {bMDL}\) coincides with the dyadic version of the logic \(\mathsf {MD}\) (see Chellas 1980) axiomatized as in Fig. 1

Fig. 1
figure 1

The modal part of a Hilbert-style system for dyadic \(\mathsf {MD}\)

Fig. 2
figure 2

The sequent calculus \(\mathsf {G}_{{\mathsf {MD}}}\) for dyadic \(\mathsf {MD}\)

In this paper we will consider an extension of a sequent calculus for this logic. Here, a sequent is a tuple of multisetsFootnote 2 of formulae, written as \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \). The rules of the base sequent calculus \(\mathsf {G}_{{\mathsf {MD}}}\) are given in Fig. 2, those of the calculus \(\mathsf {G}_{{\mathsf {bMDL}}}\) for \(\mathsf {bMDL}\) from Ciabattoni et al. (2015) in Fig. 3, where \(\varGamma ^\Box \) denotes \(\varGamma \) in which all formulae not of the form \(\Box A\) are deleted. As usual, a derivation is a finite labelled tree where every node is labelled with a sequent such that the labels of a node follow from the labels of its children using the rules of the calculus. In particular, the leaves are labelled with conclusions of the zero-premise rules \(\mathsf {init}\) or \(\bot _L\), see also Troelstra and Schwichtenberg (2000). For \(\mathsf {G}_{{}}\) one of \(\mathsf {G}_{{\mathsf {MD}}},\mathsf {G}_{{\mathsf {bMDL}}}\) we write \(\vdash _{\mathsf {G}_{{}}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) if there is a derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) in \(\mathsf {G}_{{}}\). The following proposition gives a proof-theoretic proof of the equivalence of the box-free fragment of \(\mathsf {bMDL}\) and \(\mathsf {MD}\). For the original proof using semantical methods, see Freschi et al. (2019).

Fig. 3
figure 3

The modal part of the sequent calculus \(\mathsf {G}_{{\mathsf {bMDL}}}\) for \(\mathsf {bMDL}\) from Ciabattoni et al. (2015)

Proposition 1

If \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) does not contain \(\Box \), then \(\vdash _{\mathsf {G}_{{\mathsf {MD}}}}\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) iff \(\vdash _{\mathsf {G}_{{\mathsf {bMDL}}}}\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \). Hence the box-free fragment of \(\mathsf {bMDL}\) is \(\mathsf {MD}\).

Proof

One direction of the equivalence follows from changing the rules of \(\mathsf {G}_{{\mathsf {bMDL}}}\) into the corresponding rules of \(\mathsf {G}_{{\mathsf {MD}}}\) possibly followed by the weakening rules \(\mathsf {W}_L,\mathsf {W}_R\). The other direction follows since a derivation in \(\mathsf {G}_{{\mathsf {MD}}}\) is a derivation in \(\mathsf {G}_{{\mathsf {bMDL}}}\) with the addition of the structural rules of weakening and contraction \(\mathsf {Con}_L,\mathsf {Con}_R\), which are admissible in \(\mathsf {G}_{{\mathsf {bMDL}}}\) (Ciabattoni et al. 2015, Lemma 1). Completeness and soundness of \(\mathsf {G}_{{\mathsf {MD}}}\) for \(\mathsf {MD}\) follow from general methods (e.g. in Lellmann and Pattinson 2013) for constructing sequent calculi from axioms and proving cut elimination.\(\square \)

Remark 2

Following Ciabattoni et al. (2018), in this paper we employ a mechanism for handling propositional facts that differs from that in Ciabattoni et al. (2015): whereas there we encoded such assumptions as boxed formulae in the conclusion of a derivation, here we treat them as leaves in a derivation. E.g., for deriving that the conditional obligation to not perform violence implies the conditional obligation to not kill from the assumption that killing implies violence, using the mechanism from Ciabattoni et al. (2015) we would try to derive the sequent \(\Box (\mathsf {kill}\rightarrow \mathsf {violence}), \mathcal {O}(\lnot \mathsf {violence}/C) {\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\lnot \mathsf {kill}/C)\) using only inital sequents at the leaves of the derivation. Here, instead we will try to derive the sequent \(\mathcal {O}(\lnot \mathsf {violence}/C) {\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\lnot \mathsf {kill}/C)\), where the non-logical axiom or ground sequent \(\mathsf {kill}{\mathop {\Rightarrow }\limits ^{}}\mathsf {violence}\) may occur at a leaf of the derivation (see Definition 1 below for the formal details). This has the welcome consequence that we can avoid the alethic modality \(\Box \) including any question about its axiomatisation, in line with the view that Mīmāṃsā authors did not distinguish between necessity and epistemic certainty.

3 Reasoning with more specific obligations in Mīmāṃsā

Here we continue the proof-theoretic approach initiated in Ciabattoni et al. (2015) to reproduce Mīmāṃsā reasoning in a formal framework.

Before considering the full language, we first illustrate the main ideas behind the sequent calculus approach to deal with specificity/gunapradhāna in the simplified context of Ciabattoni et al. (2018), i.e. using the (dyadic version of the) logic \(\mathsf {MD}\) with the obligation operator only.

Specificity is used in Mīmāṃsā to resolve apparent contradictions which may occur in the set of Vedic (śrauta) prescriptions or can be derived via the facts. For example, consider the śrauta injunctions: (a) You ought not to study the Vedas if you are a Śūdra (i.e., a member of the lower class), (b) Not studying the Vedas implies not performing the Agnihotra sacrifice, and (c) You ought to perform the Agnihotra if you are a chariot maker. The additional fact (d) A chariot maker is a Śūdra, (apparently) leads to the conflicting obligations that you ought to study the Vedas if you are a chariot maker and that at the same time you ought not to do so, as extensively discussed by the Mīmāṃsā author Jaimini (2nd c. BCE). The following example illustrates the way Mīmāṃsā authors reason to solve such kinds of conflicting obligations. Moreover it shows that inferences which aim to mimic Mīmāṃsā reasoning do not satisfy some of the principles identified as key properties of non-monotonic logics in Gabbay (1985).

Remark 3

A central feature of our calculus is the distinction between prima facie and derived obligations, needed for differentiating Vedic commands from human deductions. This distinction is instead missing in Deontic Default logic (Horty 2012), that also does not satisfy the Vikalpa principle.

From now on we will denote prima-facie obligations or deontic assumptions (śrauta obligations) with \(\mathcal {O}_{\mathsf {pf}}(A/B)\) to distinguish them from derived obligations (written \(\mathcal {O}(A/B)\)). Formally, the language of deontic assumptions is obtained from the language of \(\mathsf {MD}\) by replacing the operator \(\mathcal {O}\) with its prima-facie variant \(\mathcal {O}_{\mathsf {pf}}\).

Example 1

We formalize the above statements concerning the Agnihotra sacrifice as follows : (a) \(\mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {ved}/\mathtt {sdr})\), (b) \(\mathtt {agn}\rightarrow \mathtt {ved}\), (c) \(\mathcal {O}_{\mathsf {pf}}(\mathtt {agn}/\mathtt {chmk})\), and (d) \(\mathtt {chmk}\rightarrow \mathtt {sdr}\), where \(\mathtt {ved}\) denotes the act of studying the Vedas, \(\mathtt {agn}\) the performance of the Agnihotra sacrifice, \(\mathtt {sdr}\) the fact of being a Śūdra, and \(\mathtt {chmk}\) being a chariot maker. Using the monotonicity of the deontic operator in its first argument, from (b) and (c) we derive the obligation (e) \(\mathcal {O}(\mathtt {ved}/\mathtt {chmk})\) (“You ought to study the Vedas if you are a chariot maker”). On the other hand, if it were possible to use indiscriminately monotonicity in the second argument of the deontic operator, from (a) and (d) we would derive (f) \(\mathcal {O}(\lnot \mathtt {ved}/\mathtt {chmk})\) (“You ought not to study the Vedas if you are a chariot maker”), obtaining a conflict between (e) and (f).

By applying the specificity principle, we “limit” the monotonicity in the second argument of the operator; hence, following the above example, the derivation of (f) is blocked by the presence of the prima-facie obligation (c).

The derivations from prima-facie injunctions are non-monotonic, as adding more premisses can change the derived result. However, they do not satisfy for example cautious monotonicity (if \(\varGamma \vdash \varphi \) and \(\varGamma \vdash \psi \), then \(\varGamma , \varphi \vdash \psi \)), one of the crucial properties of non-monotonic logics. Indeed given the prima-facie injunctions \(\mathcal {O}_{\mathsf {pf}}(\mathtt {ved}/\top )\) and \(\mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {ved}/ \mathtt {sdr})\), both \(\mathcal {O}(\mathtt {ved}/\mathtt {tch})\) (“You ought to study the Vedas if you are a teacher”) and \(\mathcal {O}(\lnot \mathtt {ved}/\mathtt {tch}\wedge \mathtt {sdr})\) are derivable, but, if one of these conclusions is considered as a premiss, the result changes, i.e. \(\{\mathcal {O}_{\mathsf {pf}}(\mathtt {ved}/ \top ), \mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {ved}/ \mathtt {sdr}),\mathcal {O}_{\mathsf {pf}}(\mathtt {ved}/\mathtt {tch}) \} \nvdash \mathcal {O}(\lnot \mathtt {ved}/\mathtt {tch}\wedge \mathtt {sdr})\).

We extend below the sequent calculus \(\mathsf {G}_{{\mathsf {MD}}}\) for the logic \(\mathsf {MD}\) with special rules \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)},\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) to derive conditional obligations of the form \(\mathcal {O}(A{/}B)\) from prima-facie obligations (i.e. śrauta prescriptions) written as \(\mathcal {O}_{\mathsf {pf}}(C{/}D)\), adopting limited forms of monotonicity. (Sect. 3.1). The extension to the full language will be considered in Sect. 4.

3.1 Sequent calculus for specificity/gunapradhāna

In order to extend the sequent calculus for \(\mathsf {MD}\) to capture the specificity principle, loosely following Goble (2013), p. 281, we interpret the notion of specificity as entailment in the presence of (global) propositional assumptions. I.e., given a set \(\mathfrak {F}\) of propositional facts about the world we say that proposition A is at least as specific as proposition B, if \(\mathfrak {F}\) entails \(A \rightarrow B\). Given this interpretation, the specificity principle can be understood as limiting monotonicity of the operator \(\mathcal {O}\) in the second argument in the following sense. Given a list \(\mathfrak {L}\) of non-nested prima-facie obligations, and a proposition B, we should be licensed to infer the actual obligation \(\mathcal {O}(A/B)\) if

  1. (A)

    there is an injunction \(\mathcal {O}_{\mathsf {pf}}(A/D)\) in \(\mathfrak {L}\) which is applicable i.e. we can infer using \(\mathfrak {F}\) that \(B\rightarrow D\), and there is no \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) in \(\mathfrak {L}\) such that B is at least as specific as Y, Y is at least as specific as D, and the formulae A and X are inconsistent, i.e. we can infer \(\lnot (A \wedge X)\).

However, while this implements the notion that more specific śrauta obligations overrule less specific conflicting ones, this only resolves conflicts between propositions \(\mathcal {O}_{\mathsf {pf}}(G/H)\) and \(\mathcal {O}_{\mathsf {pf}}(I/J)\) in \(\mathfrak {L}\) for which the conditions are comparable in the sense that either H implies J or J implies H. Hence, to make the resulting theory consistent with \(\mathsf {MD}\), following the Mīmāṃsā reasoning in Example 1 we add a further condition stating that

  1. (B)

    there is no obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\in \mathfrak {L}\) such that B is at least as specific as Y, the enjoined A and X are inconsistent, and which is not overruled by a more specific obligation \(\mathcal {O}_{\mathsf {pf}}(E/F)\) from \(\mathfrak {L}\).

At this point, in order to make this intuition formally precise we need to take a fundamental design decision: given that our logic \(\mathsf {MD}\) includes monotonicity in the first argument, whenever we can derive an obligation \(\mathcal {O}(A/B)\), we should also be able to derive the obligation \(\mathcal {O}(A \vee C / B)\) as well. Given a list of prima-facie obligations, the question then essentially is whether we first eliminate all the conflicts from this list, and then saturate under monotonicity in the first argument (as, e.g., in the suggested procedure of removing conflicts from NDSICs in Libal and Pascucci 2019), or we first consider all the consequences of the original list under monotonicity, and then eliminate all the obligations which would yield a conflict. We clarify this with the following example.

Example 2

Consider the list containing exactly the two prima-facie obligations \(\mathcal {O}_{\mathsf {pf}}(A\wedge B / C)\) and \(\mathcal {O}_{\mathsf {pf}}(\lnot A / C)\). Since \(A\wedge B\) and \(\lnot A\) are inconsistent, the approach of ruling out conflicting obligations first and then saturating under monotonicity in the first argument would yield an empty set of obligations. In the second approach, instead, we first saturate under monotonicity, giving, e.g., the obligation \(\mathcal {O}((A \wedge B) \vee \lnot A / C)\), and only then rule out conflicts. Since \((A \wedge B) \vee \lnot A\) is contradicting neither \(A \wedge B\) nor \(\lnot A\), we thus would keep the obligation \(\mathcal {O}((A \wedge B) \vee \lnot A / C)\). Also, if we added the prima facie obligation \(\mathcal {O}_{\mathsf {pf}}(\lnot A / C \wedge D)\) we would get both \(\mathcal {O}( B / C \wedge D)\) and \(\mathcal {O}( \lnot A / C \wedge D)\), in contrast with the first approach which would first eliminate the assumption \(\mathcal {O}_{\mathsf {pf}}( A \wedge B/C)\) and hence would not yield \(\mathcal {O}(B / C \wedge D)\).

While both approaches have their uses, in this work we choose to follow the second one, because of two main reasons. It allows us to preserve the power of deontic assumptions (Śrauta obligations) as much as possible, by suspending only the part of an obligation which is in conflict with another one. Moreover, it naturally implements the Mīmāṃsā principle of vikalpa. Such a principle corresponds to the disjunctive response: given two incompatible prima-facie obligations \(\mathcal {O}_{\mathsf {pf}}(A/B)\) and \(\mathcal {O}_{\mathsf {pf}}(C/D)\), in a situation where both apply, i.e., where \(B \wedge D\) holds, one may choose which one to follow, corresponding to the obligation \(\mathcal {O}(A \vee C / B \wedge D)\). We now make this formally precise.

In the remainder of this paper we assume that \(\mathfrak {F}\) is a finite set of sequents containing only propositional variables, which is closed under cuts, i.e., whenever \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta , p\) and \(p, \varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi \) are in \(\mathfrak {F}\), then so is \(\varGamma , \varSigma {\mathop {\Rightarrow }\limits ^{}}\varDelta , \varPi \), and closed under contractions, i.e., whenever \(\varGamma , p, p {\mathop {\Rightarrow }\limits ^{}}\varDelta \) or \(\varGamma {\mathop {\Rightarrow }\limits ^{}}p, p, \varDelta \) are in \(\mathfrak {F}\), then so are \(\varGamma , p {\mathop {\Rightarrow }\limits ^{}}\varDelta \) and \(\varGamma {\mathop {\Rightarrow }\limits ^{}}p, \varDelta \) respectively. We call \(\mathfrak {F}\) the set of (propositional) facts. Note that, since every propositional formula is equivalent to a formula in conjunctive normal form and sequents containing only propositional variables correspond to clauses of a formula in conjunctive normal form, using this definition we can stipulate arbitrary propositional formulae as facts. We further assume a finite set \(\mathfrak {L}\) of non-nested deontic assumptions, i.e., a finite set \(\mathfrak {L}\) of formulae of the form \(\mathcal {O}_{\mathsf {pf}}(A/B)\) where A and B do not contain the \(\mathcal {O}\)-operator. We call these formulae prima-facie obligations.

Remark 4

The facts expressed by the sequnts in \(\mathfrak {F}\) are assumed to be true statements about the world: we do not consider the reliability of information conveyed by such statements. Indeed, in contrast with Nute (1997), we do not distinguish actual obligations—in force under conditions that are actually verified—from apparent obligations, which are in force given all we know about morally relevant circumstances, that is under conditions that are not necessarily verified, but only believed to be true.

To capture the intuition for the specificity principle given above in a well-behaved sequent system, we first need to make the notion of implication used there formally precise. In particular, we would like to define a notion of inference \(\vdash \) from the facts in \(\mathfrak {F}\) depending on the set \(\mathfrak {L}\), such that we can derive a sequent \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B)\) if and only if both of the following hold, corresponding to the conditions (A) and (B) above:

  • there is \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) such that \(\mathfrak {F}\vdash B {\mathop {\Rightarrow }\limits ^{}}D\) and \(\mathfrak {F}\vdash C {\mathop {\Rightarrow }\limits ^{}}A\) and for all \(\mathcal {O}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\) we have: ( \(\mathfrak {F}\nvdash B {\mathop {\Rightarrow }\limits ^{}}Y\) or \(\mathfrak {F}\nvdash Y {\mathop {\Rightarrow }\limits ^{}}D\) or \(\mathfrak {F}\nvdash X,A {\mathop {\Rightarrow }\limits ^{}}\))

  • for all \(\mathcal {O}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\) we have: \(\mathfrak {F}\nvdash B {\mathop {\Rightarrow }\limits ^{}}Y\) or \(\mathfrak {F}\nvdash X,A {\mathop {\Rightarrow }\limits ^{}}\;\) or there is a \(\mathcal {O}_{\mathsf {pf}}(E/F) \in \mathfrak {L}\) such that: (\(\mathfrak {F}\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \(\mathfrak {F}\vdash F {\mathop {\Rightarrow }\limits ^{}}Y\) and \(\mathfrak {F}\vdash E {\mathop {\Rightarrow }\limits ^{}}A\)).

To ensure that these conditions hold, we will simply turn them into premisses of the corresponding sequent rules. At first this might seem rather problematic, because we use underivability (\(\nvdash \)) to define derivability (\(\vdash \)). However, we will show below that the resulting notion of derivability is well-defined, using the technical tool of the cut elimination result.

Graphically, these two conditions can be visualised as in Fig. 4.

Fig. 4
figure 4

A graphical representation of the conditions for \(\mathcal {O}(A/B)\) being derivable. Areas can be taken as formulae with containment representing entailment, i.e., more specific formulae are contained in less specific ones

The first condition requires that the derivable obligation \(\mathcal {O}(A/B)\) is implied (via upward monotonicity on the first argument and downward monotonicity on the second argument) by a less specific deontic assumption \(\mathcal {O}_{\mathsf {pf}}(C/D)\in \mathfrak {L}\) and that there is no \(\mathcal {O}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\) conflicting with \(\mathcal {O}(A/B)\) which is more general than that and more specific than \(\mathcal {O}_{\mathsf {pf}}(C/D)\). This condition includes the choice mentioned above. Indeed, it requires that any \(\mathcal {O}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\), which is more specific than \(\mathcal {O}_{\mathsf {pf}}(C/D)\) and more general than \(\mathcal {O}(A/B)\), does not conflict with \(\mathcal {O}(A/B)\), instead of requiring that it does not conflict with \(\mathcal {O}_{\mathsf {pf}}(C/D)\). This means that the specificity principle is applied for resolving conflicts only after saturating the set of deontic assumptions under monotonicity.

The second condition models the fact that the conflicting prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) is overruled by the more specific prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(E/F)\) by stating that \(\mathfrak {F}\vdash E {\mathop {\Rightarrow }\limits ^{}}A\), i.e., that what is enjoined by \(\mathcal {O}_{\mathsf {pf}}(E/F)\) implies A. While this implies that E and X are inconsistent, one may wonder whether it is a too strong condition. In fact, as a consequence of our fundamental design decision to first saturate the set of prima-facie obligations under monotonicity, and then ruling out conflicts, the obvious alternative of only demanding X and E to be inconsistent would lead to conflicting obligations rather quickly. Conceptually, this is due to the fact that the more specific obligation \(\mathcal {O}_{\mathsf {pf}}(E/F)\) only suspends the part of the obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) which is in conflict with E, but does not cancel the obligation completely. So in particular, if this part is unrelated to A, then the part of \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) which conflicts with \(\mathcal {O}(A/B)\) will remain unsuspended, and hence we should not be able to derive the latter. For example, given the list \(\mathfrak {L}=\{\mathcal {O}_{\mathsf {pf}}(\lnot p / s), \mathcal {O}_{\mathsf {pf}}(p \wedge q/s), \mathcal {O}_{\mathsf {pf}}( \lnot q \wedge r/ t), \mathcal {O}_{\mathsf {pf}}(\lnot r/t) \}\), we would end up with the problematic situation of deriving both \(\mathcal {O}(q/s \wedge t)\), using \(\mathcal {O}_{\mathsf {pf}}(p \wedge q/s)\) as the main obligation, and \(\mathcal {O}(\lnot q/s \wedge t)\), using \(\mathcal {O}_{\mathsf {pf}}( \lnot q \wedge r/ t)\) as the main obligation. The stronger condition used above prevents this situation.

To turn these considerations into sequent rules (the rules \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}, \mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) in Definition 1 below), we convert every (meta-)conjunction and universal quantifier in this characterization into different premises, while (meta-)disjunctions and existential quantifiers yield a split into different rules. To write the rules in an economic way, we use the following notation.

Notation 1

If \(\mathcal {P}\) is a set of premisses, and \(S = \{ \mathcal {S}_1,\dots ,\mathcal {S}_n \}\) is a set of sets of premisses we write

e.g., we write

for the set containing the two rules

Note that we use set-theoretic notation for the sets of premisses, e.g., the rule above left has the two premisses \(X {\mathop {\Rightarrow }\limits ^{}}Y\) and \(\varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi \) and the conclusion C.

Since the rules now also will mention underivability, we further need to add a judgment for this to some of the sequents, written as \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}}\), with the intended meaning that the sequent is not derivable from the facts \(\mathfrak {F}\) and the prima-facie deontic statements \(\mathfrak {L}\) in the system \(\mathsf {G}_{{\mathsf {MD}}} \mathsf {cut}\), in the sense defined below (Definition 2). Thus we will obtain a set of rules \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) introducing a formula of the form \(\mathcal {O}(A/B)\) on the right hand side of the sequent. For technical reasons we will also add rules \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) introducing such a formula on the left hand side—these essentially follow from absorbing inferences using the axiom \((\mathsf {D})\) into the previous rule. We will show below, in the discussion of the full system, that their addition indeed is merely a technical convenience (see Lemma 1).

Remark 5

The formulae we want to infer might have nested deontic operators, setting the system apart from, e.g., the known systems of Input/Output logic (Makinson and van der Torre 2000). Indeed, they should capture key prescriptions like “under the condition of having to perform sacrifice \(\alpha \) under the conditions \(\beta \), you ought to do \(\gamma \)”. However, to ensure decidability of the system we do not permit nested obligations in the deontic assumptions.

Definition 1

Let \(\mathfrak {L}= \{ \mathcal {O}_{\mathsf {pf}}(A_1/B_1), \dots , \mathcal {O}_{\mathsf {pf}}(A_n/B_n)\}\) be a finite set of non-nested prima-facie obligation formulae and let \(\mathfrak {F}\) be a set of propositional sequents. The rules of \({\mathsf {ga}^{}}_\mathfrak {L}\) (for global assumptions from \(\mathfrak {L}\)) are given in Fig. 5. A proto-derivation with conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) in the system \(\mathsf {G}_{{\mathsf {MD}}} \) from assumptions \((\mathfrak {F},\mathfrak {L})\) is a finite labelled tree, where each internal node is labelled with a sequent, each leaf is labelled with an initial sequent, a sequent from \(\mathfrak {F}\), or an underivability statement \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} \varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi \), such that the label of every internal node is obtained from the labels of its children using the rules of \(\mathsf {G}_{{\mathsf {MD}}}\) or \({\mathsf {ga}^{}}_\mathfrak {L}\). The notion of a proto-derivation in the system  \(\mathsf {G}_{{\mathsf {MD}}} \mathsf {cut}\) is defined analogously, but also permitting applications of the cut rule

The depth of a proto-derivation is the depth of the underlying tree, i.e., the maximal length of a branch in the tree plus one.

Fig. 5
figure 5

The rules of \({\mathsf {ga}^{}}_\mathfrak {L}\) with \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\)

For future reference we divide the premisses of the rules in Fig. 5 into different blocks in the following way: the first two premisses, i.e., \(\{B {\mathop {\Rightarrow }\limits ^{}}D\}\) and \(\{C {\mathop {\Rightarrow }\limits ^{}}A\}\) together form the standard block, stating that the prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(C/D)\) potentially can be used to derive the conclusion \(\mathcal {O}(A/B)\). The following block

$$\begin{aligned} \left\{ \left[ \begin{array}{l} \left\{ (\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} B {\mathop {\Rightarrow }\limits ^{}}Y \right\} \\ \left\{ (\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} Y {\mathop {\Rightarrow }\limits ^{}}D\right\} \\ \left\{ (\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} X,A{\mathop {\Rightarrow }\limits ^{}}\;\right\} \end{array} \right] \mid \mathcal {O}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\right\} \end{aligned}$$

is called the not-excepted block, and states that the prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(C/D)\) is not overruled by another one which is at least as specific. The remaining premisses together form the no-active-conflict block, which states that there is no other conflicting prima-facie obligation which is not overruled by a more specific one. For every formula \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) the choices are divided into the no-conflict block, stating that there is no conflict between the prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) and the desired conclusion \(\mathcal {O}(A/B)\), and consisting of the underivability statements

$$\begin{aligned} (\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} B {\mathop {\Rightarrow }\limits ^{}}Y\quad \text { and }\quad (\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} X, A{\mathop {\Rightarrow }\limits ^{}}, \end{aligned}$$

and the override block, consisting of the remaining possible premisses

$$\begin{aligned} \left\{ \{ B {\mathop {\Rightarrow }\limits ^{}}F\} \cup \{ F {\mathop {\Rightarrow }\limits ^{}}Y \} \cup \{E, A {\mathop {\Rightarrow }\limits ^{}}\;\} \mid \mathcal {O}_{\mathsf {pf}}(E,F) \in \mathfrak {L}\right\} \end{aligned}$$

and stating that the prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) is overruled by another one which is at least as specific. The terminology for the rule \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) is analogous.

Definition 2

A proto-derivation in \(\mathsf {G}_{{\mathsf {MD}}} \) (in \(\mathsf {G}_{{\mathsf {MD}}} \mathsf {cut}\)) from \((\mathfrak {F},\mathfrak {L})\) is valid if for each of the underivability statements \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}} \varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi \), occurring as one of the leafs of that derivation, there is no valid proto-derivation of \(\varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi \) in \(\mathsf {G}_{{\mathsf {MD}}} \mathsf {cut}\) from \((\mathfrak {F},\mathfrak {L})\). In case there is such a valid proto-derivation we also write \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}}} }\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) and \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}}} \mathsf {cut}}\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) respectively.

Note that underivability statements are always evaluated in the system with the cut rule. Since the definition of a valid proto-derivation involves the notion of a valid proto-derivation itself, it is not immediately clear that this notion is well-defined. We will show in the discussion of the full system below (Corollary 1) that this is indeed the case. In particular, this along with the decidability result follows from the crucial cut elimination theorem, stating the redundancy of the cut rule:

Proposition 2

(Ciabattoni et al. 2018) For every \(\mathfrak {F},\mathfrak {L}\) and sequent \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) we have

$$\begin{aligned} (\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}}} \mathsf {cut}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \quad \text { if and only if }\quad (\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}}} } \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \;. \end{aligned}$$

Since this proposition is a special case of the more general result for the full system in Theorem 2 below we omit the proof.

Example 3

Consider the prima-facie obligations given by \(\mathfrak {L}= \{ \mathcal {O}_{\mathsf {pf}}(\mathtt {agn}/ \top ),\) \( \mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {agn}/\mathtt {sdr})\}\) (with \(\mathtt {agn}\), \(\mathtt {sdr}\) and \(\mathtt {tch}\) as in Example 1) and the set \(\mathfrak {F}= \emptyset \) of facts. Taking the formula \(\mathcal {O}_{\mathsf {pf}}(\mathtt {agn}/\top )\) as the formula \(\mathcal {O}_{\mathsf {pf}}(C/D)\) in the general scheme of Fig. 5, we obtain the rules in Fig. 6.

Fig. 6
figure 6

The rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) from Example 3

In particular, the sequent \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\mathtt {agn}/\mathtt {tch})\) would be derivable using, e.g., an instance of the rule

Similarly, taking the formula \(\mathcal {O}_{\mathsf {pf}}(C/D)\) to be \(\mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {agn}/\mathtt {sdr})\) we obtain, e.g.

which serves to derive the sequent \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\lnot \mathtt {agn}/ \mathtt {tch}\wedge \mathtt {sdr})\). Finally, using \({\mathsf {ga}^{}}_L\) with \(\mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {agn}/\mathtt {sdr})\) for the formula \(\mathcal {O}_{\mathsf {pf}}(C/D)\) yields a derivation of \(\mathcal {O}(\mathtt {agn}/ \mathtt {tch}\wedge \mathtt {sdr}){\mathop {\Rightarrow }\limits ^{}}\;\) and thus \(\;{\mathop {\Rightarrow }\limits ^{}}\lnot \mathcal {O}(\mathtt {agn}/ \mathtt {tch}\wedge \mathtt {sdr})\). Note that even for just two prima-facie obligations we obtain many (often redundant) rules.

4 Extending \(\mathsf {bMDL}\) with new deontic operators

The preliminary analysis of Mīmāṃsā reasoning purely in terms of obligations is rather simplistic, since it considers other deontic concepts such as prohibitions as defined notions. It turned out, indeed, that obligations and prohibitions are treated markedly differentFootnote 3 in Mīmāṃsā : on a “meta-logical” level, obeying a Vedic obligation gives positive results and disrespecting it implies just the lack of these results; conversely, the observance of a Vedic prohibition gives no result and the violation of it leads to a sanction (the accumulation of negative karma). Hence it is not enough to model prohibitions as negative obligations.

In addition the difference between prescriptions and prohibitions is not only on the results of obeying or disrespecting them; one of the most important differences is the idea at the base of those two deontic concepts, i.e. “activation” in case of injunctions and “inhibition” for prohibitions. To confirm such a distinction, let us consider the debate in Mīmāṃsā commentaries on the injunction not to eat kalajañja (probably a variety of garlic). If the command represents a prohibition, it means that, independently from the agents’ desires and motivations, the agents have the duty not to consume this product: in principle, even eating it by accident would constitute a violation. On the other hand, if the command is a negative obligation, the agents have the duty to choose to refrain from eating kalañja; hence, theoretically, if the agents decide to eat that vegetable, they are not compliant with the obligation, even if an external contingency prevents them from realizing their intentions. For these reasons, prescriptions and prohibitions should be considered as genuine deontic concepts: they cannot be deprived of their deontic content and reduced to instructions for obtaining desirable results or avoiding sanctions. Such an interpretation—that could be formally represented by a Kanger-Andersonian reduction—would be closer to the instrumental reading of commands given by the late author Maṇḍana Miśra (c. 8th century CE), which was in between the Mīmāṃsā and the Vedanta schools of Indian philosophy.

In this section we continue and refine the analysis of Mīmāṃsā reasoning in Ciabattoni et al. (2015) by extending the \(\Box \)-free fragment of the logic \(\mathsf {bMDL}\) with new operators for prohibitions and recommendations. We call the resulting logic \(\mathsf {MD}+\). As for the obligation operator \(\mathcal {O}\), axioms and rules for the new operators are extracted from the Mīmāṃsā nyāyas, that have been in the meanwhileFootnote 4 found in the texts, translated from Sanskrit, interpreted and abstracted.

Prohibitions are modeled in \(\mathsf {MD}+\) using the operator \(\mathcal {F}(A/B)\), to be read as “A is forbidden under the conditions B”. As in the case of obligations, prohibitions are better expressed by a dyadic operator. They can apply unconditionally to the person throughout her life (puruṣārtha), as in the Vedic command “one should not perform violence on any living being”, or be relative to a particular ritual context (kratvartha), as for the example “one should not utter the ‘ye yajāmahe’ mantra during the after-sacrifices” discussed in Jaimini’s Pūrva Mīmāmsā Sūtra (henceforth PMS).

A first natural property for prohibitions is expressed by the axiom \(\mathsf {D}_\mathcal {F}\)

$$\begin{aligned}\lnot (\mathcal {F}(A/B) \wedge \mathcal {F}(\lnot A/B))\end{aligned}$$

motivated by the consideration that, because of the “meaningfulness of Vedic commands” (in PMS 1.2.23) stating that no injunction can be meaningless or inapplicable, there is always a way to obey all needed commands and avoid sanctions; this would be impossible having the prohibition of an action and its negation under the same conditions. The downward monotonicity rule \((\mathsf {Mon}_\mathcal {F})\)

is justified by argumentations as the one in Medhātithi’s Manubhāṣya, where the prohibition to commit suicide (\(\mathcal {F}(\mathsf {suicide}/\top )\)) is derived from the more comprehensive prohibition to commit violence (\(\mathcal {F}(\mathsf {violence}/\top )\)), since there it is explicitly assumed that \(\mathsf {suicide} \rightarrow \mathsf {kill}\) and \(\mathsf {kill} \rightarrow \mathsf {violence}\).

Finally, the axiom \(\mathsf {D}_{\mathcal {O}\mathcal {F}}\)

$$\begin{aligned}\lnot (\mathcal {O}(A/B) \wedge \mathcal {F}(A/B))\end{aligned}$$

arises again from the nyāya about meaningfulness of commands, and from what is known as “ought implies can principle”, extracted from the discussion on the concept of adhikāra in Jaimini’s texts. According to this principle, a person who is prescribed to perform an action is assumed to have not only physical and economical capacities, but also the “practical” possibility to complete the action without undesirable consequences, like damages or sanctions. Therefore, performing a prescribed act can never lead to a sanction, hence it is impossible that the same act is prohibited.

Recommendations Besides the distinction between obligations and prohibitions, a more refined analysis should take into account the different notions of prescriptions used by Mīmāṃsā authors. Traditionally, rituals prescribed by the Vedas are distinguished into fixed (nitya), occasional (naimittika), and elective (kāmya); fixed ritual actions should be performed, in order to obtain the positive result of good karma, regularly throughout the whole life, occasional ones have similar properties, but should be carried out in special occasions, like the birth of a child, whilst the third kind includes rituals to be executed only in order to obtain a specific result. It has been noticed (Freschi et al. 2019) that, while the characteristics of the operator \(\mathcal {O}\) in \(\mathsf {bMDL}\) are well suited to describe fixed and occasional prescriptions, the elective rituals represent recommendations or instruction for achieving a result in a “Vedic” way, more than proper obligations. We call these weaker obligations recommendations and express them with the operator \(\mathcal {R}(./.)\). We model \(\mathcal {R}(./.)\) using the dyadic version of the modal logic \(\mathsf {MP}\), see, e.g., Chellas (1980), in line with the analysis in Freschi et al. (2019) where also the axioms for \(\mathcal {R}(./.)\) are motivated. Note that it might be possible for something to be obligatory and recommended at the same time, as, e.g., in the case of the Agnihotra sacrifice. Indeed, the sequence of actions constituting the Agnihotra ritual represents the content both of a fixed sacrifice (corresponding to obligations) and of an elective one (corresponding to recommendations). In other words, if the agents perform such a ritual perfectly, according to the stricter rules governing elective sacrifices, they are compliant both with the recommendation (hence obtaining the desired result) and with the obligation (fulfilling their duties).

The axiom

$$\begin{aligned} \lnot \mathcal {R}(\bot /A) \end{aligned}$$

guarantees that there are no self-contradictory recommendations, which represents a minimal condition for any Vedic instruction. Notice that it is weaker than \(\mathsf {D}_\mathcal {O}\) and \(\mathsf {D}_\mathcal {F}\), as, in contrast with obligations and prohibitions, it is possible to have two recommended rituals for getting the same result which cannot be performed at the same time. In those cases (e.g., in the case of the prescriptions of kāriri sacrifice and twelve-nights sacrifice for obtaining the rain, see, e.g., Freschi et al. 2019) Mīmāṃsā authors assume that one of the two sacrifices is enough to get the intended result, but both recommendations remain in force.

The rule

is justified by the following abstraction of the nyāyas in the Tantrarahasya IV.4.3.3 (see Freschi 2012):

if the accomplishment of X presupposes the accomplishment of Y, the obligation to perform X prescribes also Y.

Already mentioned in Ciabattoni et al. (2015) regarding obligations, this principle is suitable also for recommendations because, as noticed in Freschi et al. (2019), it is more about how Mīmāṃsā authors consider the relations among facts than about a specific kind of prescription.

The axioms and rules of all the operators in a Hilbert-style system are given in Fig. 7, and the corresponding sequent rules, obtained using the method in Lellmann and Pattinson (2013), are given in Fig. 8. Note that the resulting sequent calculus admits cut-elimination by construction and hence the resulting logic is consistent.

Fig. 7
figure 7

The Hilbert-style axiomatisations for prohibitions and weak obligations in \(\mathsf {MD}+\)

Fig. 8
figure 8

The sequent rules of \(\mathsf {G}_{{\mathsf {MD}+}}\) for the logic with prohibitions and recommendations

Permissions \(\mathsf {MD}+\) does not include an explicit operator for permissions: they are instead treated exclusively as explicit exceptions to obligations or to prohibitions, and hence considered only on the prima-facie level. This formalization is motivated by Mīmāṃsā authors’ interpretation, which assumes that “there cannot be a prescription prescribing a person to do something she is already inclined to do” (novelty nyāya in Jaimini’s PMS 1.2.19). Hence permissions, having the same linguistic form as prescriptions but conveying something that is naturally desired by anyone, are interpreted as exceptions to more general commands. For instance, the statement (in Śabara on PMS 10.7.28) “the five five-nailed animals can be eaten” is interpreted, at the prima-facie level, as the prohibition to eat meat plus the permission to eat five species of five-nailed animals (i.e., some species of wild rodents, wild boars, lizards, hares, and turtles).

5 Defeasible reasoning in Mīmāṃsā

We introduce a sequent calculus to reason in presence of specificity in the extended logic. In order to incorporate into our framework prohibitions, permissions as exceptions to prescriptions or prohibitions, and recommendations, we extend the list of deontic assumptions or prima-facie (śrauta) prescriptions to also include prima-facie prohibitions, prima-facie obligation-permissions (exceptions to obligations), prima-facie prohibition-permissions (exceptions to prohibitions) and prima-facie recommendations, denoted by the operators \(\mathcal {F}_{\mathsf {pf}}(./.)\), \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(./.)\), \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(./.)\) and \(\mathcal {R}_{\mathsf {pf}}(./.)\) respectively. Hence, the list \(\mathfrak {L}\) of prima-facie deontic statements now contains finitely many (non-nested) formulae of these forms. In particular, if \(\mathfrak {L}\) only contains prima-facie obligation formulae, we recover the simplified situation of Sect. 3. The construction of the global assumption rules then follows the same principle as before, incorporating specificity.

For the recommendations we need to make sure that we do not derive \(\mathcal {R}(A/B)\) with A equivalent to \(\bot \). In particular, following Freschi et al. (2019) we use the Mīmāṃsā reasoning that the Vedas do not recommend anything which is self-contradictory, to rule out prima-facie recommendations \(\mathcal {R}(A/D)\) where it follows from the facts that A implies \(\bot \). Hence we only need one global assumption rule of the form given in Fig. 9.

Fig. 9
figure 9

The global assumption rules for recommendations, based on the prima-facie recommendation \(\mathcal {R}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\)

Remark 6

Due to the presence in \(\mathsf {MD}+\) of axiom \(\mathsf {D}_{\mathcal {O}\mathcal {F}}\), the cases for the obligations and prohibitions are somewhat more complex than cases involving recommendations, as prima-facie obligations and prohibitions can overrule each others according to the specificity principle.

For the sake of an economical presentation we employ Notation 1 from Sect. 3.1. The rationale for the construction of the rules then is as follows:

  • Due to \(\mathsf {D}_\mathcal {O}\) (resp. \(\mathsf {D}_\mathcal {F}\)), more specific conflicting obligations (resp. prohibitions) overrule less specific obligations (resp. prohibitions).

  • Due to the interaction rule \(\mathsf {D}_{\mathcal {O}\mathcal {F}}\), more specific conflicting obligations overrule less specific prohibitions and vice versa.

  • Due to the interpretation of permissions as explicit exceptions to obligations or prohibitions, more specific obligation-permissions overrule less specific obligations, but have no relevance for prohibitions, and analogously for prohibition-permissions.

Right rules Following this, for obligations we obtain the following characterisation. An obligation \(\mathcal {O}(A/B)\) follows from a set \(\mathfrak {L}\) of śrauta deontic statements if there is a śrauta obligation \(\mathcal {O}_{\mathsf {pf}}(C/D)\) in \(\mathfrak {L}\) such that:

  • The assumption is applicable, because the condition B is at least as specific as D, i.e., \((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}D\).

  • A is entailed by C, i.e., \((\mathfrak {F},\mathfrak {L})\vdash C {\mathop {\Rightarrow }\limits ^{}}A\).

  • There is no more specific conflicting śrauta obligation or obligation-permission (\({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}\)), i.e., for every \(\mathcal {O}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\) or \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(X/Y) \in \mathfrak {L}\) we have (\((\mathfrak {F},\mathfrak {L}) \nvdash B {\mathop {\Rightarrow }\limits ^{}}Y\) or \((\mathfrak {F},\mathfrak {L}) \nvdash Y {\mathop {\Rightarrow }\limits ^{}}D\) or \((\mathfrak {F},\mathfrak {L}) \nvdash X,A {\mathop {\Rightarrow }\limits ^{}}\;\)).

  • There is no more specific conflicting śrauta prohibition, i.e., for every \(\mathcal {F}_{\mathsf {pf}}(X/Y) \in \mathfrak {L}\) we have (\((\mathfrak {F},\mathfrak {L}) \nvdash B {\mathop {\Rightarrow }\limits ^{}}Y\) or \((\mathfrak {F},\mathfrak {L}) \nvdash Y {\mathop {\Rightarrow }\limits ^{}}D\) or \((\mathfrak {F},\mathfrak {L}) \nvdash A {\mathop {\Rightarrow }\limits ^{}}X\)).

  • Every conflicting śrauta obligation is overruled by a more specific obligation, prohibition, or obligation-permission (\({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}\)) i.e., for every śrauta obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\) with \((\mathfrak {F},\mathfrak {L}) \vdash B {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L}) \vdash X,A {\mathop {\Rightarrow }\limits ^{}}\;\) there is a śrauta obligation \(\mathcal {O}_{\mathsf {pf}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y \) and \((\mathfrak {F},\mathfrak {L})\vdash E {\mathop {\Rightarrow }\limits ^{}}A\)) or there is a śrauta prohibition \(\mathcal {F}_{\mathsf {pf}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash \;{\mathop {\Rightarrow }\limits ^{}}A,E\)) or there is a śrauta permission \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y \) and \((\mathfrak {F},\mathfrak {L})\vdash E {\mathop {\Rightarrow }\limits ^{}}A\)).

  • Every conflicting śrauta prohibition is overruled by a more specific obligation, prohibition or prohibition-permission, i.e., for every śrauta prohibition \(\mathcal {F}_{\mathsf {pf}}(X/Y)\) with \((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash A {\mathop {\Rightarrow }\limits ^{}}X\) there is a śrauta obligation \(\mathcal {O}_{\mathsf {pf}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash E {\mathop {\Rightarrow }\limits ^{}}A\)) or there is a śrauta prohibition \(\mathcal {F}_{\mathsf {pf}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash \;{\mathop {\Rightarrow }\limits ^{}}A,E\)) or there is a śrauta permission \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash E{\mathop {\Rightarrow }\limits ^{}}A\)).

  • Every conflicting śrauta obligation-permission is overruled by a more specific obligation, i.e., for every śrauta obligation-permission \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(X/Y)\) with \((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash A,X {\mathop {\Rightarrow }\limits ^{}}\;\) there is a śrauta obligation \(\mathcal {O}_{\mathsf {pf}}(E/F)\) with (\((\mathfrak {F},\mathfrak {L})\vdash B {\mathop {\Rightarrow }\limits ^{}}F\) and \((\mathfrak {F},\mathfrak {L})\vdash F {\mathop {\Rightarrow }\limits ^{}}Y\) and \((\mathfrak {F},\mathfrak {L})\vdash E {\mathop {\Rightarrow }\limits ^{}}A\)).

The notion of being conflicting here is different, depending on the two conflicting statements. In particular, two obligations \(\mathcal {O}_{\mathsf {pf}}(A/B)\) and \(\mathcal {O}_{\mathsf {pf}}(C/D)\) are conflicting if what is obligatory, i.e., A and C, cannot be true at the same time. This is equivalent to stating that we can derive \(\lnot (A \wedge C)\), or equivalently the sequent \(A,C {\mathop {\Rightarrow }\limits ^{}}\;\) from the facts. In contrast, an obligation \(\mathcal {O}_{\mathsf {pf}}(A/B)\) conflicts with a prohibition \(\mathcal {F}_{\mathsf {pf}}(C/D)\) if following the obligation would necessarily violate the prohibition, or in other words if the implication \(A \rightarrow C\) follows from the facts, i.e., the sequent \(A {\mathop {\Rightarrow }\limits ^{}}C\) is derivable from the facts. Two prohibitions \(\mathcal {F}_{\mathsf {pf}}(A/B)\) and \(\mathcal {F}_{\mathsf {pf}}(C/D)\) then conflict if it is not possible to follow both. This means that the formula \(A \vee C\) resp. the sequent \(\;{\mathop {\Rightarrow }\limits ^{}}A,C\) follows from the facts. Finally, a prohibition-permission \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(A/B)\) conflicts with a prohibition \(\mathcal {F}_{\mathsf {pf}}(C/D)\) if the permitted A implies the forbidden C, i.e., if \(A \rightarrow C\) resp. the sequent \(A {\mathop {\Rightarrow }\limits ^{}}C\) is derivable.

Incorporating this rationale into the construction of the assumption right rule for obligations leads to the rules \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) for every formula \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) shown in Fig. 10.

Fig. 10
figure 10

The assumption right rule for obligations in presence of prohibitions and permissions

Similarly, using the above rationale to construct the assumption right rule for prohibitions yields the rule \(\mathcal {F}_R^{\mathcal {F}_{\mathsf {pf}}(C/D)}\) given in Fig. 11.

Left rules In order to obtain a cut-free system again we need to absorb cuts between the principal formulae of these two rules and the remaining rules into the rule set. In particular, saturating the rule set under cuts between the assumption right rule for obligations and the rule \(\mathsf {D}_{\mathcal {O}}\) and the interaction rule \(\mathsf {D}_{\mathcal {O}\mathcal {F}}\) respectively yields the rules \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) and \(\mathcal {F}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) shown in Figs. 12 and 13. Using these rules it is possible to derive an obligation and prohibition respectively on the left, from a prima-facie obligation \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\). Similarly, cuts between the assumption right rule for prohibitions and the rule \(\mathsf {D}_{\mathcal {F}}\) and the interaction rule \(\mathsf {D}_{\mathcal {O}\mathcal {F}}\) respectively yield the rules \(\mathcal {F}_L^{\mathcal {F}_{\mathsf {pf}}(C/D)}\) and \(\mathcal {O}_L^{\mathcal {F}_{\mathsf {pf}}(C/D)}\) shown in Figs. 14 and 15, respectively. Note that in the case where \(\mathfrak {L}\) contains only prima-facie obligation formulae we obtain exactly the rules of \({\mathsf {ga}^{}}_\mathfrak {L}\) in Fig. 5 of the previous section.

Again, for each of these rules we divide the premisses into the standard block consisting of the first two premisses, the not-excepted block, consisting of the underivability statements stating that there is no conflicting and at least as specific prima facie deontic statement, and the no-active-conflict block, consisting of the last three sets of premisses and stating that every conflicting prima-facie deontic statement is overruled by a more specific one. For every prima-facie deontic statement, the corresponding possible premisses in the no-active-conflict block again are divided into the no-conflict block consisting of the underivability premisses, and the override block, consisting of the premisses stating that the deontic statement is overridden.

Fig. 11
figure 11

The assumption right rule for prohibitions

Fig. 12
figure 12

The assumption left rule for obligations in presence of prohibitions and permissions

Fig. 13
figure 13

The derived left rule for prohibitions in presence of prohibitions and permissions

Fig. 14
figure 14

The assumption left rule for prohibitions

Fig. 15
figure 15

The new assumption left rule for obligations

Similarly to the simplified case without prohibitions and permissions, we use the following notation.

Definition 3

We write \( (\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) if there is a valid proto-derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) from \(\mathfrak {F}\) in the system \(\mathsf {G}_{{\mathsf {MD}+}}\) extended with the following global assumption rules for \(\mathfrak {L}\):

$$\begin{aligned} {\mathsf {ga}^{}}_\mathfrak {L}: = \left\{ \mathsf {op1}_s^{\mathsf {op2}(C/D)} \;\mid \; \begin{array}{c} \mathsf {op1} \in \{ \mathcal {O},\mathcal {F}\}, \; \mathsf {op2} \in \{ \mathcal {O}_{\mathsf {pf}}, \mathcal {F}_{\mathsf {pf}}\}, \\ \mathsf {op2}(C/D) \in \mathfrak {L},\; s \in \{ L, R \} \end{array} \right\} \;. \end{aligned}$$

The following lemma shows that the rules \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}, \mathcal {F}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}, \mathcal {F}_L^{\mathcal {F}_{\mathsf {pf}}(C/D)}\) and \(\mathcal {O}_L^{\mathcal {F}_{\mathsf {pf}}(C/D)}\) in the presence of the cut rule can be seen as a mere technical convenience, because they do not change the set of derivable sequents. However, in order to be able to perform automated reasoning in our system, we also would like to eliminate the cut rule itself, and the resulting system would not be complete without these rules.

Lemma 1

(Redundancy of the left rules) If there is a valid proto-derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\) from \((\mathfrak {F},\mathfrak {L})\), then there is a valid proto-derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) from \((\mathfrak {F},\mathfrak {L})\) in the system without the rules in Figs. 12, 13, 14 and 15.

Proof

We show how to replace every application of one of these rules by cuts and an application of \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) and \(\mathcal {F}_R^{\mathcal {F}_{\mathsf {pf}}(C/D)}\) respectively. So consider first an application of the rule \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) as in Fig. 12. From every premiss of the form \(\varGamma ,A {\mathop {\Rightarrow }\limits ^{}}\varDelta \) and \(\varSigma {\mathop {\Rightarrow }\limits ^{}}A, \varPi \) using weakening and the implication rules we obtain the corresponding premiss \(\varGamma {\mathop {\Rightarrow }\limits ^{}}A \rightarrow \bot , \varDelta \) and \(\varSigma , A \rightarrow \bot {\mathop {\Rightarrow }\limits ^{}}\varPi \), respectively. Further, from every underivability statement \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varGamma {\mathop {\Rightarrow }\limits ^{}}A, \varDelta \) we obtain the corresponding statement \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varGamma , A \rightarrow \bot {\mathop {\Rightarrow }\limits ^{}}\varDelta \), since if for the latter there were a valid proto-derivation, we could extend it to one of the former via:

Analogously, from every underivability statement \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varSigma , A {\mathop {\Rightarrow }\limits ^{}}\varPi \) we obtain the corresponding statement \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varSigma {\mathop {\Rightarrow }\limits ^{}}A \rightarrow \bot , \varPi \). Hence we have all the premisses necessary to apply the rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) with conclusion \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A \rightarrow \bot /B)\). From this we obtain the conclusion of the original application of the rule \(\mathcal {O}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) using cut on the conclusion of the rule \(\mathsf {D}_\mathcal {O}\) as follows:

The premisses are clearly derivable.

In a similar way we obtain the conclusion of an application of \(\mathcal {F}_L^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) from an application of \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) and a cut with the conclusion of the rule \(\mathsf {D}_{\mathcal {O}\mathcal {F}}\). The reasoning for the remaining rules is analogous.\(\square \)

The central technical result about the system stating elimination of the cut rule then follows a reasonably standard pattern of a cut elimination proof, but slightly adjusted to also accommodate for the underivability statements. The proof is detailed in the “Appendix”. In the following we write \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}}\) for the cut-free system, i.e., the calculus \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}}\) with the cut rule removed. Note that again in the cut-free calculus \(\mathsf {G}_{{\mathsf {MD}+}}\) the non-derivability statements range over the system with the cut rule.

Theorem 2

(Cut elimination) If \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}}\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \), then \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}}\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \).

Proof

See the “Appendix”. \(\square \)

From the cut elimination theorem we then obtain equivalence of the systems with and without the cut rule:

Proposition 3

For every \(\mathfrak {F},\mathfrak {L}\) we have

$$\begin{aligned} (\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \quad \text {if and only if} \quad (\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \;. \end{aligned}$$

Proof

The “only if” direction is the statement of the cut elimination theorem. The proof for the “if” direction is straightforward, since every rule in \(\mathsf {G}_{{\mathsf {MD}}}\) is also a rule in \(\mathsf {G}_{{\mathsf {MD}}}\mathsf {cut}\), and since the underivability statements range over the same system for valid proto-derivations in both systems.\(\square \)

5.1 Consequences of cut elimination

The Cut Elimination Theorem has a number of important consequences, in particular the fact that the notion of a valid proto-derivation is well-defined, consistency of the system, and a decidability and complexity result. The latter shows that despite the somewhat complicated shape of the assumption rules, reasoning in the calculus does not have a higher complexity than reasoning in standard modal logics such as \(\mathsf {K}\) or in intuitionistic logic.

The fact that valid proto-derivations are well-defined can be seen by considering the following alternative stratified definition.

Definition 4

A proto-derivation of rank n in \(\mathsf {G}_{{\mathsf {MD}+}}\) (in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\)) from \((\mathfrak {F},\mathfrak {L})\) with conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) is a proto-derivation in \(\mathsf {G}_{{\mathsf {MD}+}}\) (in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\)) from \((\mathfrak {F},\mathfrak {L})\) with conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) such that

  • every formula occurring in the proto-derivation has modal nesting depth at most n

  • every formula occurring in an underivability statement in the proto-derivation has modal nesting depth at most \(n-1\).

If n is a natural number, then a proto-derivation is n-valid if it is of rank n and for every \(k < n \), for none of the underivability statements occurring in it there is a k-valid proto-derivation in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\) from \((\mathfrak {F},\mathfrak {L})\).

Since the modal nesting depth of the formulae in the underivability statements in the rules of \({\mathsf {ga}^{}}_\mathfrak {L}\) is stricly lower than that of the formulae in the conclusion, the question whether a proto-derivation is n-valid only depends on k-validity for \(k < n\). Hence this definition is inductive and not circular. Using the Cut Elimination Theorem we obtain that it is equivalent to unrestricted validity of proto-derivations as follows.

Theorem 3

For every sequent \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) with modal nesting depth at most n there is a valid proto-derivation in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\) from \((\mathfrak {F},\mathfrak {L})\) with conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) if and only if there is a n-valid proto-derivation in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\) from \((\mathfrak {F},\mathfrak {L})\) with conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \).

Proof

By induction on n.

So suppose the statement holds for every \(k < n\). If there is a valid proto-derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) from \((\mathfrak {F},\mathfrak {L})\) in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\) with conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \), then by Cut Elimination (Theorem 2) there is a valid proto-derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) from \((\mathfrak {F},\mathfrak {L})\) in \(\mathsf {G}_{{\mathsf {MD}+}}\). Since none of the rules of \(\mathsf {G}_{{\mathsf {MD}+}}\) or \({\mathsf {ga}^{}}_\mathfrak {L}\) increases the modal nesting depth from conclusion to premiss(es), the maximal modal nesting depth of formulae occurring in this proto-derivation is n. Further, since the modal nesting depth of the formulae in the underivability statements in the rules \({\mathsf {ga}^{}}_\mathfrak {L}\) is strictly smaller than that of the conclusion, every formula occurring in an underivability statement in this proto-derivation has modal nesting depth at most \(n-1\). Hence the proto-derivation is of rank n. Since the modal nesting depth of the formulae in the underivability statements is at most \(n-1\), by induction hypothesis we obtain that for these there is no k valid proto-derivation for any \(k \le n-1\).

Hence the proto-derivation is n-valid. Conversely, if we have a n-valid proto-derivation, then again by induction hypothesis we obtain that for none of the underivability statements occurring in it there is a valid proto-derivation. Since a proto-derivation of rank n in particular is a proto-derivation, we obtain a valid proto-derivation for the same conclusion.\(\square \)

Well-definedness of the notion of a valid proto-derivation then follows immediately from the previous theorem together with the fact that n-validity is well-defined:

Corollary 1

(Well-definedness) The notion of a valid proto-derivation is well-defined. \(\square \)

As a second consequence of Cut Elimination we obtain that the rules \({\mathsf {ga}^{}}_\mathfrak {L}\) are compatible with the logic \(\mathsf {MD}+\) as given in Figs. 1 and 7 in the sense that they do not yield any conflicting obligations or prohibitions:

Theorem 4

(Consistency) For any \(\mathfrak {L}\) and \(\mathfrak {F}\) not containing the empty sequent, the consequences of \(\mathfrak {L}\) under \(\mathfrak {F}\) are consistent over \(\mathsf {MD}+\), i.e., \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\bot \). Hence in particular

  • there are no AB with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B) \wedge \mathcal {O}(\lnot A/B)\);

  • there are no AB with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {F}(A/B) \wedge \mathcal {F}(\lnot A/B)\);

  • there are no AB with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B) \wedge \mathcal {F}(A/B)\);

  • there is no B with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {R}(\bot /B)\).

Proof

By inspection it is clear that all the rules in the calculus \(\mathsf {G}_{{\mathsf {MD}+}}{\mathsf {ga}^{}}_\mathfrak {L}\) have the subformula property relative to \(\mathfrak {L}\) in the sense that every formula occurring in a premise of a rule, including the underivability statements, is a subformula of a formula occurring in its conclusion or in \(\mathfrak {L}\). Since the empty sequent is not in \(\mathfrak {F}\), and apart from \(\mathsf {W}_R\) there is no rule introducing \(\bot \) on the right hand side of a sequent, we cannot derive \(\;{\mathop {\Rightarrow }\limits ^{}}\bot \). The second statement follows from this using derivability of \(\mathcal {O}(A/B)\wedge \mathcal {O}(\lnot A/B) {\mathop {\Rightarrow }\limits ^{}}\;\) and the analogous sequents for the statements involving \(\mathcal {F}\) and \(\mathcal {R}\) together with the \(\mathsf {cut}\) rule.\(\square \)

The third major consequence of the Cut Elimination Theorem is that it permits the restriction of proof search to proto-derivations in the system without the cut rule. Using the (extended) subformula property of the rules of the cut-free system this yields a decision procedure for the logic. To make this precise, the derivability problem is given by the following:

figure a

We will show a decidability and complexity result via a natural implementation of backwards proof search on an alternating Turing machine (see Chandra et al. 1981 for details). As usual, for this we first eliminate the structural rules from the system.

Definition 5

The system \(\mathsf {G3}_{{\mathsf {MD}+}}\) is the system in Fig. 16, obtained from \(\mathsf {G}_{{\mathsf {MD}+}}\) by restricting initial sequents to atomic formulae, dropping the weakening and contraction rules, and absorbing weakening into the conclusion of the logical rules. Similarly, for a list \(\mathfrak {L}\) of prima-facie deontic statements, the rules \({\mathsf {ga}^{}}_\mathfrak {L}^*\) are the rules from \({\mathsf {ga}^{}}_\mathfrak {L}\) with weakening absorbed into the conclusion (only!). E.g., the rule \({\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}}^*\) has exactly the same premisses as the rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(C/D)}\) from Fig. 10, but the conclusion \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B), \varDelta \). A valid proto-derivation in \(\mathsf {G3}_{{\mathsf {MD}+}}\) from \((\mathfrak {F},\mathfrak {L})\) is defined as for \(\mathsf {G}_{{\mathsf {MD}+}}\) with the exception that leaves may also be labelled with sequents \(\varGamma , \varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi , \varDelta \), where \(\varSigma {\mathop {\Rightarrow }\limits ^{}}\varPi \in \mathfrak {F}\) and \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) is an arbitrary sequent. In particular, the underivability statements also range over \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\).

Fig. 16
figure 16

The system \(\mathsf {G3}_{{\mathsf {MD}+}}\) without the assumption rules

The following properties of the calculus are shown by standard methods.

Lemma 2

(Generalised initial sequents) The generalised initial sequent rule

is admissible in \(\mathsf {G3}_{{\mathsf {MD}+}}\).

Proof

By induction on the complexity of the formula A, using the rules \(\mathsf {Mon}_\mathcal {O}\), \(\mathsf {Mon}_\mathcal {F}\), \(\mathsf {Mon}_\mathcal {R}\) in case the outermost connective is one of \(\mathcal {O}, \mathcal {F}, \mathcal {R}\).\(\square \)

Lemma 3

(Invertibility of the propositional rules) The rules \(\rightarrow _R^*\) and \(\rightarrow _L^*\) are depth-preserving invertible in \(\mathsf {G3}_{{\mathsf {MD}+}}\), i.e., whenever there is a valid proto-derivation of their conclusion in \(\mathsf {G3}_{{\mathsf {MD}+}}\) with depth n from \((\mathfrak {F}, \mathfrak {L})\), then for each of the premisses there is a valid proto-derivation with depth n from \((\mathfrak {F}, \mathfrak {L})\) as well.

Proof

By induction on the depth of the valid proto-derivation. \(\square \)

Lemma 4

(Admissibility of weakening and contraction) The weakening and the contraction rules are depth-preserving admissible, i.e., whenever there are valid proto-derivations in \(\mathsf {G3}_{{\mathsf {MD}+}}\) of the premisses of these rules with depth n from \((\mathfrak {F}, \mathfrak {L})\), then there are valid proto-derivations of their conclusions with the same depth from \((\mathfrak {F}, \mathfrak {L})\) as well.

Proof

By induction on the depth of the valid proto-derivation, using Lemma 3 in case the contracted formula is a principal formula in a propositional rule. \(\square \)

Lemma 5

Let \(\mathfrak {F},\mathfrak {L}\) be finite lists of propositional facts and prima-facie deontic statements, respectively, and let \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) be a sequent. Then \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) if and only if \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G3}_{{\mathsf {MD}+}}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \).

Proof

Since the underivability statement range over the same system, we only need to show how to convert proto-derivations from one system to the other. For the “only if” direction, we replace applications of the weakening and contraction rules with invocations of Lemma 4, and simulate the generalised intitial sequents of \(\mathsf {G}_{{\mathsf {MD}+}}\) using Lemma 2. For the “if” direction, we make the absorbed weakening explicit using the rules \(\mathsf {W}_L, \mathsf {W}_R\).\(\square \)

Using the previous lemma, to solve the Mīmāṃsā derivability problem, it is then enough to perform backwards proof search in the system \(\mathsf {G3}_{{\mathsf {MD}+}}\) with the rules \({\mathsf {ga}^{}}_\mathfrak {L}^*\). Recall that for the assumption rules from Figs. 10, 11, 12, 13, 14 and 15 we divide the schematic premisses into blocks: the standard block contains the first two premisses; the not-excepted block contains the schematic premisses of the sets in the second and third line, i.e., all those underivability statements stating that the prima-facie deontic statement is not overridden by a more specific one; the no-active-conflict block contains the schematic premisses of the remaining sets. The premisses of the no-active-conflict blocks for each formula from \(\mathfrak {L}\) are further divided into the conflict block consisting of the first two premisses in the \(\left[ . \right] \) construct and the override block consisting of the remaining ones (which again depend on additional formulae from \(\mathfrak {L}\)).

Theorem 5

(Decidability and complexity) The Mīmāṃsā derivability problem using specificity is decidable in polynomial space.

Proof

The implementation of the decision procedure on an alternating Turing machine is shown as Algorithm 1. Intuitively, the algorithm makes existential guesses for the last applied rule, then makes universal choices to verify that every premiss is derivable.

figure b

Claim 1 Algorithm 1 terminates in polynomial time.

Suppose that n is the size of the input, i.e., the sum of the number of symbols in \(\mathfrak {F},\mathfrak {L}\) and \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \). Let the complexity of a sequent be the number of occurrences of propositional or modal connectives in it. Every application of a propositional rule removes a propositional connective by replacing a propositional formula with its immediate subformulae, and hence reduces the complexity of the sequents. Hence the number of such applications is bounded by the number of subformulae of the conclusion, \(\mathfrak {F}\) or \(\mathfrak {L}\), and thus bounded by n. Moreover, from the shape of the modal and assumption rules together with the fact that the assumptions in \(\mathfrak {L}\) do not contain nested modal operators it follows that each of the recursive calls in lines 11, 16, 19, 24 and 27 is on a sequent of strictly lower maximal nesting depth of the modal operators. Hence the maximal modal nesting depth of a sequent is bounded by the size n of the input as well, and the maximal number of formulae in a sequent is thus bounded by 2n. Due to the fact that there are only finitely many different rule schemes, all the existential and universal choices can be encoded by a suitable combination of a rule scheme, principal formula(e), or sequents of size bounded by 2n, consisting only of subformulae of the conclusion. This yields witnesses of size polynomial in n for each of the nondeterministic steps. Moreover, since each recursive call either reduces the complexity or decreases the maximal modal nesting depth, a run of the algorithm makes at most \(\mathcal {O}(n^2)\) recursive calls, after which it either accepts with lines 2 or 4 or rejects with line 31. Thus, the algorithm terminates after at most \(\mathcal {O}(n^2)\) steps.

Claim 2 Algorithm 1 accepts an input  \((\mathfrak {F},\mathfrak {L}),\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \)  if and only if  \( (\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \).

We show the claim by induction on the maximal modal nesting depth of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \). If \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \), then there is a valid proto-derivation for \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\). Hence by Cut Elimination (Theorem 2) and Lemma 5 there is a valid proto-derivation for \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) in \(\mathsf {G3}_{{\mathsf {MD}+}}\). By induction hypothesis we know that the algorithm rejects all the underivability statements occurring in this proto-derivation. Hence the existential and universal choices corresponding to the rules of the proto-derivation together with recursive calls of the algorithm witness that the algorithm accepts the input. Conversely, from an accepting run of the algorithm we obtain first a cut-free proto-derivation of \(\varGamma {\mathop {\Rightarrow }\limits ^{}}\varDelta \) in \(\mathsf {G3}_{{\mathsf {MD}+}}\) by applying the rules corresponding to the existential choices of the algorithm. Then by induction hypothesis we obtain that none of the underivability statements occurring in this proto-derivation are derivable in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\) from \((\mathfrak {F},\mathfrak {L})\), and hence the proto-derivation is valid. Now Lemma 5 yields a valid proto-derivation in \(\mathsf {G}_{{\mathsf {MD}+}}\) and hence in \(\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}\).

The two claims together show that Algorithm 1 decides the Mīmāṃsā derivability problem in alternating polynomial time, which is equivalent to polynomial space (Chandra et al. 1981).\(\square \)

A Prolog implementation of the decision procedure is available under http://subsell.logic.at/bprover/deonticProver/version1.2/.

6 Applications: deciding between different interpretations

Possible applications of the introduced system are provided by the problem of validating the interpretation or formalisation of a normative text, and in particular the related problem of deciding between different interpretations or formalisations. Both of these problems are of course common to many areas also outside of Indian Philosophy, including Legal Representation, see, e.g., Bartolini et al. (2018), Libal and Steen (2020). The main setting here is the following. Suppose that we are given a natural language text, e.g., a passage of a Mīmāṃsā text or a specific law or regulation, that we would like to formalize. Because of the ambiguity inherent in natural language as well as, e.g., certain difficulties of interpretation specific to Sanskrit we are almost guaranteed to obtain not a single formalisation, but a number of different competing ones. Hence we are faced with the task of deciding which of these is the most appropriate. One way of doing so is to consider the consequences of the different interpretations under an assumed system of background reasoning, in our case the logic \(\mathsf {MD}+\), and to compare them with respect to certain criteria. We will see a specific possible criterium used by Mīmāṃsā authors below, but in general such criteria would involve a basic sanity check in the form of consistency, or checking whether certain statements, which intuitively should hold, are derivable (compare, e.g., the quality assurance procedures in Libal and Steen 2020). Whenever the principles of the assumed background reasoning match the guiding principles of our system \(\mathsf {MD}+\), the decision procedure given above can be used to check the consequences of the different interpretations, and hence aid in comparing them. The general procedure is illustrated in Fig. 17. In view of the fact that in this article our main application is to Mīmāṃsā reasoning, in the figure the stage containing the different competing first formalisations is labelled the śrauta level, but it is worth noting again that the procedure itself in principle can be applied to any collection of normative statements, including regulations and laws, as long as the formal language and the assumed system of background reasoning match the ones considered here.

Fig. 17
figure 17

The procedure for deciding between different interpretations

Example 4

Suppose we encounter the following statements:

  1. 1.

    One should refrain from smoking in the presence of a baby.

  2. 2.

    Smoking in a bar incurs a sanction.

  3. 3.

    One may smoke if there is sufficient ventilation.

Further suppose that we have already established that the first of these should be read as an obligation, e.g., in a moral sense, whereas due to the mention of a sanction the second one should be read as a prohibition in the legal sense. The corresponding formalisation would be given by:

  1. 1.

    \(\mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {smoke} / \mathtt {baby})\)

  2. 2.

    \(\mathcal {F}_{\mathsf {pf}}(\mathtt {smoke}/\mathtt {bar})\)

For the third statement, however, it is not clear whether the “may” constitutes an exception to the moral kind of obligation of the first statement or to the legal kind of prohibition of the second. I.e., in the formal language of \(\mathsf {MD}+\) we could formalise this statement either as \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(\mathtt {smoke}/\mathtt {vent})\) or as \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(\mathtt {smoke}/\mathtt {vent})\).

A possible way to decide between these two interpretations is to consider the consequences together with the formalisations of the first two statements. In particular, under the interpretation as \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(\mathtt {smoke}/\mathtt {vent})\) and assuming our system of background reasoning, we obtain that \(\mathcal {O}(\lnot \mathtt {smoke} / \mathtt {baby} \wedge \mathtt {bar} \wedge \mathtt {vent})\) is not derivable, whereas \(\mathcal {F}(\mathtt {smoke} / \mathtt {baby} \wedge \mathtt {bar} \wedge \mathtt {vent})\) is, i.e., while it still incurs a legal sanction, from a moral point of view one need not refrain from smoking in the presence of a baby in a well-ventilated bar. In contrast, under the alternative interpretation as \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(\mathtt {smoke}/\mathtt {vent})\) we would derive \(\mathcal {O}(\lnot \mathtt {smoke} / \mathtt {baby} \wedge \mathtt {bar} \wedge \mathtt {vent})\), but would not derive \(\mathcal {F}(\mathtt {smoke} / \mathtt {baby} \wedge \mathtt {bar} \wedge \mathtt {vent})\). I.e., in the same situation smoking would not be illegal, but still morally objectionable. Checking these two possible sets of consequences either against our moral intuitions or against information on the legal aspects of smoking would provide us with a method for deciding which of the two possible interpretations of the permission statement would be more plausible.

Similarly to the previous example, we can also use the general procedure of Fig. 17 to decide about assumptions on the level of facts as follows.

Example 5

Suppose that we have a text stipulating that unjustified violence incurs certain sanctions, i.e., is explicitly forbidden. Hence \(\mathcal {F}_{\mathsf {pf}}(\mathtt {violence}/\top )\).

Further, suppose that we are interested in the status of suicide. Adding the seemingly plausible fact that suicide is unjustified violence, i.e., \(\mathtt {suicide} \rightarrow \mathtt {violence}\) to the factual assumptions would, in absence of any other prima-facie deontic statements, yield derivability of the formula \(\mathcal {F}(\mathtt {suicide}/\top )\). Thus, if we find evidence that (attempted) suicide is not forbidden, possibly because it does not incur any sanctions, we should conclude that the authors do not consider suicide to be a form of unjustified violence, and hence remove the corresponding factual assumption.

Note that in a certain sense the factual assumptions hence could also be used in a coarse (and perhaps oversimplified) representation of constitutive norms, see, e.g., Boella and van der Torre (2004).

6.1 The evaluation criterium of vikalpa

Coming back to Mīmāṃsā reasoning, it is interesting to note that the outlined procedure seems to be the method employed, in an informal manner, by various Mīmāṃsā authors to decide between different interpretations of deontic statements found in the Vedas. One particular decision criterium employed in this context is that of minimising instances of the so-called vikalpa principle. This principle was already stated explicitly in the founding text of the Mīmāṃsā school, the Pūrva Mīmāṃsā Sūtra of Jaimini, with the following English translation (and reformulation).

If a prescription enjoins X and a prohibition forbids one to perform the same act X under the same conditions, and no other interpretation is possible, the act X should be considered optional.

The problem with such optional acts lies in the fact that for the Mīmāṃsā authors if the act is optional, the deontic statement prescribing or prohibiting it would be superfluous in the sense of not being applicable. However, from their point of view the Vedas would not give superfluous information. Hence they see vikalpa as a very last resort, and strive to develop an interpretation of the Vedas which makes use of this device as little as possible.

In our formal framework the discussion around the vikalpa principle has two aspects. The first one is that we should be able to derive it in our system. Abstracting from the particular action X in the quote above, and concentrating on obligations only, this means that, for a set \(\mathfrak {L}= \{\mathcal {O}_{\mathsf {pf}}(a/b), \mathcal {O}_{\mathsf {pf}}(c/d) \}\) and facts \(\mathfrak {F}= \{ a,c {\mathop {\Rightarrow }\limits ^{}}\;\}\) establishing that a and c are not jointly possible, neither of the formulae \(\mathcal {O}(a/b \wedge d)\) and \(\mathcal {O}(c/ b \wedge d)\) should be derivable, because it should be considered optional whether a or c is performed. However, while it is optional which of the two is performed, it is still obligatory to perform one of them, hence the formula \(\mathcal {O}(a \vee c/b \wedge d)\) should be derivable.

Remark 7

It is worth noting that more than two millennia after its formulation by Jaimini this principle was also formulated in modern deontic logic and in nonmonotonic reasoning: In the former, it is known, e.g., under the name of disjunctive response, where from the two conflicting assumptions \(\mathcal {O}(a/c)\) and \(\mathcal {O}( b/c)\) we are able to derive at least the obligation of the disjunction \(\mathcal {O}(a \vee b/c)\), see Goble (2013); in the area of nonmonotonic reasoning it roughly corresponds to the phenomenon of floating conclusions for skeptical semantics, where in our example neither of the contents a and b of the two conflicting assumptions would be in all the extensions, but the formula \(a \vee b\) is, see Makinson and Schlechta (1991).

Generalising the above example to sets of obligations, and adding that all the enjoined acts should be possible by themselves and that the result should not be blocked by any obligation, prohibition, or permission outside the set, we can derive the vikalpa principle in our system:

Theorem 6

Let \(X = \{\mathcal {O}_{\mathsf {pf}}(A_1/B_1), \dots , \mathcal {O}_{\mathsf {pf}}(A_n/B_n)\} \subseteq \mathfrak {L}\) be a set such that

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A_i {\mathop {\Rightarrow }\limits ^{}}\;\) for every \(i \le n\).

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigvee _{i \le n}A_i,C {\mathop {\Rightarrow }\limits ^{}}\;\) for every \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\smallsetminus X\) with \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\).

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigvee _{i \le n}A_i {\mathop {\Rightarrow }\limits ^{}}C\) for every \(\mathcal {F}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\smallsetminus X\) with \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\).

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigvee _{i \le n}A_i,C {\mathop {\Rightarrow }\limits ^{}}\;\) for every \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(C/D) \in \mathfrak {L}\smallsetminus X\) with \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\).

Then \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\bigvee _{i\le n}A_i/ \bigwedge _{i\le n}B_i)\).

Proof

We show that we have all the premises to apply the rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(A_1/B_1)}\). From the propositional rules we obtain \( (\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A_1 {\mathop {\Rightarrow }\limits ^{}}\bigvee _{i\le n} A_i \) and \( (\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}B_1 \). Moreover, for every \(j \le n\) we obtain \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A_j,\bigvee _{i\le n} A_i {\mathop {\Rightarrow }\limits ^{}}\;\), since otherwise in particular we would have \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A_j,A_j {\mathop {\Rightarrow }\limits ^{}}\;\), and hence \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A_j {\mathop {\Rightarrow }\limits ^{}}\;\). Furthermore, by assumption, for every \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\smallsetminus X\) we have either \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\) or \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} C, \bigvee _{i\le n} A_i {\mathop {\Rightarrow }\limits ^{}}\;\). The analogous statement holds for every prima-facie deontic statement of the form \(\mathcal {F}_{\mathsf {pf}}(C/D)\) or \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(C/D)\). Now applying the rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(A_1/B_1)}\) yields \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\bigvee _{i\le n}A_i/\bigwedge _{i\le n}B_i)\).\(\square \)

It should be noted that for the statement of the theorem it is not relevant whether the \(A_i\) from the set X are jointly possible or not, only that their disjunction \(\bigvee _{i\le m} A_i\) is not blocked by any C from outside that set. In particular, it also applies to the case where the \(A_i\) are not jointly possible. Thus, our system as described indeed satisfies the disjunctive response resp. vikalpa. The corresponding statement for prohibitions is shown completely analogously, using the rule \(\mathcal {F}_R^{\mathcal {F}_{\mathsf {pf}}(A_1/B_1)}\) instead of \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(A_1/B_1)}\):

Theorem 7

Let \(X = \{\mathcal {F}_{\mathsf {pf}}(A_1/B_1), \dots , \mathcal {F}_{\mathsf {pf}}(A_n/B_n)\} \subseteq \mathfrak {L}\) be a set such that

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \; {\mathop {\Rightarrow }\limits ^{}}A_i\) for every \(i \le n\).

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} C {\mathop {\Rightarrow }\limits ^{}}\bigwedge _{i \le n}A_i\) for every \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\smallsetminus X\) with \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\).

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \; {\mathop {\Rightarrow }\limits ^{}}\bigwedge _{i \le n}A_i,C\) for every \(\mathcal {F}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\smallsetminus X\) with \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\).

  • \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} C {\mathop {\Rightarrow }\limits ^{}}\bigwedge _{i \le n}A_i\) for every \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(C/D) \in \mathfrak {L}\smallsetminus X\) with \((\mathfrak {F},\mathfrak {L})\vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \bigwedge _{i\le n} B_i {\mathop {\Rightarrow }\limits ^{}}D\).

Then \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(\bigwedge _{i\le n}A_i/ \bigwedge _{i\le n}B_i)\).

The previous theorems show that in our system we can use the fundamental principle of vikalpa to obtain derived deontic statements from conflicting prima-facie statements. But how can we evaluate different interpretations with respect to minimising the number of applications of this principle? At this point it is important to note that what should be minimised is not the number of applications of the vikalpa principle to different derived formulae, but to prima-facie deontic statements, since only superfluousness of the latter is problematic. The general idea then is that a prima-facie deontic statement \(\mathcal {O}_{\mathsf {pf}}(a/b)\) or \(\mathcal {F}_{\mathsf {pf}}(a/b)\) is involved in an application of the vikalpa principle with another prima-facie deontic statement in a context given by \((\mathfrak {L},\mathfrak {F})\) exactly when the corresponding formula \(\mathcal {O}(a/b)\) or \(\mathcal {F}(a/b)\) is not derivable from \((\mathfrak {L},\mathfrak {F})\). Hence given such a context we can use the decision procedure of Algorithm 1 to identify exactly those prima-facie deontic statements involved in applications of the problematic principle. Apart from providing us with the number of possibly problematic prima-facie formulae, this method has the additional benefit that it explicitly gives these problematic formulae, hence yielding clues as to which parts of the interpretation could be changed in order to avoid applications of the vikalpa principle. Note that this amounts to a form of inconsistency checking using the formalisation of a text similar to that used in Libal and Norotná (2020) for finding and correcting inconsistencies in legal texts This general idea for identifying applications of the vikalpa principle is made formally precise in the following two propositions.

Proposition 4

Let \(\mathcal {O}_{\mathsf {pf}}(A/B) \in \mathfrak {L}\). Then \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B)\) holds if and only if at least one of the following holds:

  • There is a \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A,C {\mathop {\Rightarrow }\limits ^{}}\;\) and \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}B \leftrightarrow D\); or

  • There is a \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(C/D) \in \mathfrak {L}\) with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A,C {\mathop {\Rightarrow }\limits ^{}}\;\) and \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}B \leftrightarrow D\); or

  • There is a \(\mathcal {F}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} A {\mathop {\Rightarrow }\limits ^{}}C\) and \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}B \leftrightarrow D\).

Proof

Using cut elimination and a close inspection of the rules, the only way in which the sequent \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B)\) could be derived is via an instance of the assumption rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(E/F)}\) for some \(\mathcal {O}_{\mathsf {pf}}(E/B) \in \mathfrak {L}\). From this the “if” part follows directly, since in case one of the three conditions hold, not all of the underivability statements in the not-excepted block hold. For the “only if” direction, suppose that \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B)\) holds. Then in particular, the sequent \(\;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B)\) is not derivable via the specific rule \(\mathcal {O}_R^{\mathcal {O}_{\mathsf {pf}}(A/B)}\). Since the premisses of this rule in the standard block are

$$\begin{aligned} B {\mathop {\Rightarrow }\limits ^{}}B \quad \text { and }\quad A {\mathop {\Rightarrow }\limits ^{}}A \end{aligned}$$

which are initial sequents, some of the premisses in the not-excepted block or in the no-active-conflict block must not hold. However, since the formula \(\mathcal {O}_{\mathsf {pf}}(A/B)\) is in \(\mathfrak {L}\) and overrules any conflicting formula from \(\mathfrak {L}\) (since both \(B {\mathop {\Rightarrow }\limits ^{}}B\) and \(B {\mathop {\Rightarrow }\limits ^{}}Y\) are derivable for any conflicting obligation \(\mathcal {O}_{\mathsf {pf}}(X/Y)\), prohibition \(\mathcal {F}(X/Y)\), or permission for which \(B {\mathop {\Rightarrow }\limits ^{}}Y\) is derivable), all of the premisses in the no-active-conflict block do hold. Hence some of the premisses in the not-excepted block hold, which means that there is a formula \(\mathcal {O}_{\mathsf {pf}}(X/Y)\), \(\mathcal {F}_{\mathsf {pf}}(X/Y)\) or \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(X/Y)\) from \(\mathfrak {L}\) satisfying the conditions given in the statement of the proposition.\(\square \)

The analogous proposition for prohibitions is proved in the same way:

Proposition 5

Let \(\mathcal {F}_{\mathsf {pf}}(A/B) \in \mathfrak {L}\). Then \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {F}(A/B)\) holds if and only if at least one of the following holds:

  • There is a \(\mathcal {F}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}A,C\) and \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}B \leftrightarrow D\); or

  • There is a \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(C/D) \in \mathfrak {L}\) with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} C {\mathop {\Rightarrow }\limits ^{}}A\) and \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}B \leftrightarrow D\); or

  • There is a \(\mathcal {O}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) with \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} C {\mathop {\Rightarrow }\limits ^{}}A\) and \((\mathfrak {F},\mathfrak {L}) \vdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}B \leftrightarrow D\).

\(\square \)

Using these propositions we can now formally evaluate an interpretation given by a list \(\mathfrak {L}\) of prima-facie deontic statements and a set \(\mathfrak {F}\) of propositional facts with respect to the criterion of minimising the number of instances of vikalpa among the prima-facie deontic statements as follows: For every prima-facie statement \(\mathcal {O}_{\mathsf {pf}}(A/B) \in \mathfrak {L}\) and for every \(\mathcal {F}_{\mathsf {pf}}(C/D) \in \mathfrak {L}\) check whether \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {O}(A/B)\) and \((\mathfrak {F},\mathfrak {L})\nvdash _{\mathsf {G}_{{\mathsf {MD}+}}\mathsf {cut}} \;{\mathop {\Rightarrow }\limits ^{}}\mathcal {F}(C/D)\) respectively, and return all those formulae for which this holds.

The implementation available under http://subsell.logic.at/bprover/deonticProver/version1.2/ includes this check together with the possibility of automatically generating alternative formalisations by systematically reinterpreting the deontic operators, e.g., by rewriting prohibitions as negative obligations.

The following Mīmāṃsā example arises from the consideration that recommendations and obligations are expressed by the same Sanskrit word: vidhi. Therefore in absence of further discriminating elements the classification of a command could be based on the principle of avoiding vikalpa as much as possible, as shown in the following example.

Example 6

Consider the following simplified interpretation of part of the debate about the Satī sacrificeFootnote 5, discussed in depth in Brick (2010):

  1. (i)

    “When a woman’s husband has died, she should perform the Satī sacrifice by ascending the funeral pyre after him.” \(\mathcal {O}_{\mathsf {pf}}(\mathtt {sat}{\overline{\mathtt {\i }}}/\mathtt {widow})\).

  2. (ii)

    “Every rite which is violence itself is forbidden, therefore the Satī sacrifice for widows is forbidden” \(\mathcal {F}_{\mathsf {pf}}(\mathtt {sat}{\overline{\mathtt {\i }}}/\mathtt {widow})\).

None of these injunctions is derivable in the logic, therefore, under this interpretation, the Satī sacrifice should be considered optional. However some Mīmāṃsā authors propose to interpret the injunction (i) as the recommendation \(\mathcal {R}_{\mathsf {pf}}(\mathtt {sat}{\overline{\mathtt {\i }}}/\mathtt {widow})\), conditioned by a general woman’s desire of positive karma for her husband and herself. This explanation should be preferred as not giving rise to cases of vikalpa: the sacrifice remains forbidden, but a woman can chose to perform it for obtaining a desired result; i.e., both \(\mathcal {F}(\mathtt {sat}{\overline{\mathtt {\i }}}/\mathtt {widow})\) and \(\mathcal {R}(\mathtt {sat}{\overline{\mathtt {\i }}}/\mathtt {widow})\) are derivable in the logic.

Another example of how the mechanism can be used for choosing between conflicting interpretations is given by the discussion about permissions: even if they do not appear as operators in \(\mathsf {MD}+\), reading a prima-facie permission as an exception to a prohibition (\({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}\)) or to an obligation (\({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}\)) affects the derivability of the other prescriptions.

Example 7

Consider the following situation which abstracts part of the discussion in Kumārila’s Tantravārttika on 1.3.3-4:

  1. (i)

    “During a particular sacrifice it is forbidden to eat” \(\mathcal {F}_{\mathsf {pf}}(\mathtt {eat}/\mathtt {sacr})\).

  2. (ii)

    “In the second part of this sacrifice it is also obligatory (rewarded with good karma) not to eat” \(\mathcal {O}_{\mathsf {pf}}(\lnot \mathtt {eat}/\mathtt {sacr\_IIpart})\).

  3. (ii)

    “In the second part of this sacrifice it is also permitted to eat”.

If the permission is considered as an exception to the obligation and formalized as \({\mathcal {P}^{\mathcal {O}}_{\mathsf {pf}}}(\mathtt {eat}/\mathtt {sacr\_IIpart})\), then it blocks the derivation of \(\mathcal {O}(\lnot \mathtt {eat}/\mathtt {sacr\_IIpart})\) in the logic. Hence, to ensure that the maximum number of śrauta injunctions are derivable in the logic (i.e. the instances of vikalpa are minimized) the permission should be interpreted as an exception to the first prohibition—since, intuitively, \(\mathtt {sacr\_IIpart}\rightarrow \mathtt {sacr}\)—and formalized as \({\mathcal {P}^{\mathcal {F}}_{\mathsf {pf}}}(\mathtt {eat}/\mathtt {sacr\_IIpart})\). Under this interpretation, eating is forbidden only in the other parts of the sacrifice (\(\mathcal {F}_{\mathsf {pf}}(\mathtt {eat}/\mathtt {sacr})\) is derivable and \(\mathcal {F}_{\mathsf {pf}}(\mathtt {eat}/\mathtt {sacr\_IIpart})\) is not), but it remains obligatory not to eat in the second part (\(\mathcal {O}(\lnot \mathtt {eat}/\mathtt {sacr\_IIpart})\) is derivable).

7 Conclusion

Focusing on the specificity principle, we have explored connections between the Mīmāṃsā school of Indian philosophy and symbolic deontic logic. We have first extended the basic logic of Mīmāṃsā in Ciabattoni et al. (2015) with new operators for prohibitions and recommendations whose properties have been extracted from the Mīmāṃsā texts. The paper’s main result is a sequent-based system to reason in this logic using specificity/gunapradhāna; some of its properties have been investigated and its potential use as a tool for Mīmāṃsā philosophy as well as to aid formalisation tasks, e.g., in Legal Representation, have been explored.

Future research directions include the extension of the system to deal with further Mīmāṃsā rules (nyāyas) to avoid contradictions; we are planning to work on those just discovered in Kumārila’s Tantravārttika on 3.3.14 (balābala-adhikaraṇa) which comprise a prioritisation of rules based on an existing hierarchy of sources (e.g. a Vedic prescription defeats a contradictory prescription in the ‘traditional texts based on the Vedas’), and on the criteria of invalidating as few injunctions as possible.

From the technical side, we plan to investigate the system’s semantics, to abstract and generalize it to work for base deontic logics other than \(\mathsf {MD}+\) and to further explore its use in other fields, in particular Legal Representation and Reasoning, in detail.

Apart from the technical content, this paper illustrates some of the vast potential for cross-fertilisation between Mīmāṃsā and deontic logic. This enterprise is the subject of ongoing work in collaboration with Sanskritists and experts of Indian philosophy.