Modal Logic Foundations for Halachic Reasoning¶
Abstract¶
This document establishes the modal logic foundations for the Mistaber system. We present a Kripke semantics adapted for halachic reasoning, where possible worlds represent distinct halachic traditions (shitot) and the accessibility relation encodes authority inheritance. We prove that our accessibility relation forms a strict partial order (irreflexive, transitive, antisymmetric), ensuring the world structure is a directed acyclic graph (DAG). This foundation enables formal reasoning about how rulings propagate through chains of halachic authority while preserving the ability to override inherited positions.
1. Introduction¶
1.1 Motivation¶
Halachic discourse exhibits an inherent modal structure. Different halachic authorities (poskim) may reach different conclusions on the same question, yet these conclusions are not arbitrary---they exist within a structured space of tradition and inheritance. The Shulchan Aruch provides a baseline; the Rema glosses represent Ashkenazi tradition; later authorities inherit from and sometimes override their predecessors.
This structure maps naturally to modal logic's possible worlds semantics. Each halachic tradition constitutes a "world" where certain propositions hold. The relationship between traditions---who follows whom, who overrides whom---defines an accessibility relation between worlds.
1.2 Contribution¶
We provide:
- A formal Kripke frame โจ๐, ๐ โฉ for halachic traditions
- Proofs of the frame's structural properties (irreflexivity, transitivity, antisymmetry)
- A satisfaction relation adapted for halachic propositions
- Formal definitions linking modal operators to halachic concepts
2. Preliminaries¶
2.1 Standard Kripke Semantics¶
Definition 2.1 (Kripke Frame). A Kripke frame is a pair โจ๐, ๐ โฉ where: - ๐ is a non-empty set of possible worlds - ๐ โ ๐ ร ๐ is a binary accessibility relation
Definition 2.2 (Kripke Model). A Kripke model is a triple โจ๐, ๐ , ๐โฉ where: - โจ๐, ๐ โฉ is a Kripke frame - ๐: Prop โ ๐ซ(๐) is a valuation function assigning to each propositional variable the set of worlds where it is true
Definition 2.3 (Satisfaction Relation). The satisfaction relation โฉ is defined inductively: - ๐, ๐ค โฉ ๐ iff ๐ค โ ๐(๐) - ๐, ๐ค โฉ ยฌฯ iff ๐, ๐ค โฎ ฯ - ๐, ๐ค โฉ ฯ โง ฯ iff ๐, ๐ค โฉ ฯ and ๐, ๐ค โฉ ฯ - ๐, ๐ค โฉ โกฯ iff for all ๐ค' such that ๐ค๐ ๐ค', ๐, ๐ค' โฉ ฯ - ๐, ๐ค โฉ โฯ iff there exists ๐ค' such that ๐ค๐ ๐ค' and ๐, ๐ค' โฉ ฯ
2.2 Frame Correspondence¶
The properties of the accessibility relation determine the logic's axioms:
| Property | Definition | Corresponding Axiom |
|---|---|---|
| Reflexive | โ๐ค: ๐ค๐ ๐ค | T: โกฯ โ ฯ |
| Transitive | โ๐ค,๐ค',๐ค'': (๐ค๐ ๐ค' โง ๐ค'๐ ๐ค'') โ ๐ค๐ ๐ค'' | 4: โกฯ โ โกโกฯ |
| Symmetric | โ๐ค,๐ค': ๐ค๐ ๐ค' โ ๐ค'๐ ๐ค | B: ฯ โ โกโฯ |
3. Halachic Kripke Frames¶
3.1 World Structure¶
Definition 3.1 (Halachic World). A halachic world ๐ค โ ๐ represents a coherent halachic tradition characterized by: - A designated authority or school of thought - A set of normative positions (rulings) - Inheritance relationships to other traditions
In Mistaber, worlds are organized into three tiers:
Tier 1 (Foundation):
- base: Common ground from Shulchan Aruch
Tier 2 (Primary Authorities):
- mechaber: R' Yosef Karo's rulings (Sefardi tradition)
- rema: R' Moshe Isserles' glosses (Ashkenazi tradition)
- gra: Vilna Gaon's positions
Tier 3 (Derivative Traditions):
- ashk_mb: Ashkenazi following Mishnah Berurah
- ashk_ah: Ashkenazi following Aruch HaShulchan
- sefardi_yo: Sefardi following Yalkut Yosef
3.2 Accessibility as Inheritance¶
Definition 3.2 (Halachic Accessibility). For worlds ๐ค, ๐ค' โ ๐, we define ๐ค๐ ๐ค' (read: "๐ค is accessible from ๐ค'" or "๐ค inherits from ๐ค'") iff: - ๐ค recognizes ๐ค' as a parent authority - Rulings from ๐ค' propagate to ๐ค unless overridden
Remark. Our accessibility relation is the inverse of the typical temporal reading. If ๐ค๐ ๐ค', then ๐ค' is the parent (earlier authority) and ๐ค is the child (later tradition). This allows inheritance to flow from parent to child.
Definition 3.3 (World Declaration). In Mistaber, worlds are declared with the world/1 predicate and accessibility with accessible/2:
world(base).
world(mechaber).
world(rema).
accessible(mechaber, base). % mechaber inherits from base
accessible(rema, base). % rema inherits from base
3.3 Structural Properties¶
Theorem 3.1 (Irreflexivity). The halachic accessibility relation ๐ is irreflexive: $$โ๐ค โ ๐: ยฌ(๐ค๐ ๐ค)$$
Proof. A world cannot be its own authority source. Self-inheritance would create a logical paradox: a tradition would both define a ruling and inherit that ruling from itself. This is enforced by constraint:
The absence of stable models containing accessible(w, w) for any w follows from the integrity constraint. โก
Theorem 3.2 (Transitivity of Ancestorship). The transitive closure ๐ โบ of ๐ defines the ancestor relation: $$โ๐คโ, ๐คโ, ๐คโ โ ๐: (๐คโ๐ ๐คโ โง ๐คโ๐ โบ๐คโ) โ ๐คโ๐ โบ๐คโ$$
Proof. The transitive closure is computed explicitly:
ancestor(W_child, W_parent) :-
accessible(W_child, W_parent).
ancestor(W1, W3) :-
accessible(W1, W2),
ancestor(W2, W3).
By structural induction on derivation length, if ancestor(wโ, wโ) and ancestor(wโ, wโ) are derivable, then ancestor(wโ, wโ) is derivable. โก
Theorem 3.3 (Antisymmetry). The accessibility relation ๐ is antisymmetric: $$โ๐ค, ๐ค' โ ๐: (๐ค๐ ๐ค' โง ๐ค'๐ ๐ค) โ ๐ค = ๐ค'$$
Proof. We prove the contrapositive: if ๐ค โ ๐ค', then ยฌ(๐ค๐ ๐ค' โง ๐ค'๐ ๐ค).
Suppose for contradiction that ๐ค โ ๐ค' and both ๐ค๐ ๐ค' and ๐ค'๐ ๐ค. Then by transitivity, ๐ค๐ โบ๐ค. But this contradicts Theorem 3.1 (irreflexivity extends to transitive closure for DAGs). The constraint:
ensures no such pair exists in any stable model. โก
Corollary 3.4 (DAG Structure). The halachic world structure โจ๐, ๐ โฉ forms a directed acyclic graph (DAG).
Proof. Immediate from irreflexivity (Theorem 3.1) and acyclicity via antisymmetry (Theorem 3.3). A cycle ๐คโ โ ๐คโ โ ... โ ๐คโ โ ๐คโ would require ๐คโ๐ โบ๐คโ, violating irreflexivity. โก
4. Halachic Satisfaction¶
4.1 Propositions¶
Definition 4.1 (Halachic Proposition). A halachic proposition is one of:
- issur(๐, ๐, ๐): Action ๐ on food ๐ is forbidden at madrega ๐
- heter(๐, ๐): Action ๐ on food ๐ is permitted
- sakana(๐): Food ๐ presents health danger
- no_sakana(๐): Food ๐ presents no health danger
4.2 Local Assertion¶
Definition 4.2 (Assertion). A world ๐ค asserts proposition ฯ, written asserts(๐ค, ฯ), iff ฯ is a direct ruling of that tradition.
4.3 Holding Relation¶
Definition 4.3 (Holding). A proposition ฯ holds in world ๐ค, written holds(ฯ, ๐ค), iff:
1. ๐ค directly asserts ฯ, or
2. ฯ holds in some parent ๐ค' (where ๐ค๐
๐ค') and is not overridden in ๐ค
holds(Prop, W) :-
asserts(W, Prop),
world(W).
holds(Prop, W_child) :-
accessible(W_child, W_parent),
holds(Prop, W_parent),
not overridden(Prop, W_child).
4.4 Override Mechanism¶
Definition 4.4 (Override). A proposition ฯ is overridden in world ๐ค iff ๐ค explicitly replaces it:
Example 4.1 (Fish and Dairy). The Mechaber rules that fish with dairy is forbidden due to sakana. The Rema overrides this:
% Mechaber asserts sakana
asserts(mechaber, sakana(M)) :-
is_dag_chalav_mixture(M).
% Rema overrides
override(rema, sakana(M), no_sakana) :-
is_dag_chalav_mixture(M).
In rema and its descendants, holds(sakana(M), rema) is false for dag+chalav mixtures.
5. Modal Operators for Halacha¶
5.1 World-Relativized Operators¶
Definition 5.1 (World-Relativized Necessity). For world ๐ค: $$โก_๐ค ฯ \text{ holds iff } ฯ \text{ holds in } ๐ค \text{ and all worlds accessible from } ๐ค$$
In the halachic context, โก_๐ค ฯ means "ฯ is established throughout tradition ๐ค and all it inherits from."
Definition 5.2 (World-Relativized Possibility). For world ๐ค: $$โ_๐ค ฯ \text{ holds iff } ฯ \text{ holds in } ๐ค \text{ or some world accessible from } ๐ค$$
5.2 Cross-World Reasoning¶
Definition 5.3 (Universal Halachic Truth). A proposition ฯ is universally held iff: $$โ๐ค โ ๐: \text{holds}(ฯ, ๐ค)$$
Definition 5.4 (Machloket). A machloket (dispute) exists on ฯ between worlds ๐คโ and ๐คโ iff: $$\text{holds}(ฯ, ๐คโ) โง \text{holds}(ยฌฯ, ๐คโ)$$
6. Implementation Notes¶
6.1 ASP Encoding¶
The Kripke semantics is implemented in Answer Set Programming (Clingo):
File: mistaber/ontology/worlds/kripke_rules.lp
% Truth propagation
holds(Prop, W) :-
asserts(W, Prop),
world(W).
holds(Prop, W_child) :-
accessible(W_child, W_parent),
holds(Prop, W_parent),
not overridden(Prop, W_child).
% Override mechanism
overridden(Prop, W) :-
override(W, Prop, _).
% Transitive accessibility
accessible_transitive(W1, W2) :- accessible(W1, W2).
accessible_transitive(W1, W3) :-
accessible(W1, W2),
accessible_transitive(W2, W3).
6.2 World Declarations¶
File: mistaber/ontology/worlds/base.lp
6.3 Constraint Enforcement¶
File: mistaber/ontology/schema/constraints.lp
% Acyclicity constraint
ancestor(W1, W2) :- inherits(W1, W2).
ancestor(W1, W3) :- inherits(W1, W2), ancestor(W2, W3).
:- ancestor(W, W).
7. Related Work¶
The application of modal logic to normative systems has precedent in legal informatics (Bench-Capon & Coenen, 1992) and religious knowledge representation (Abraham et al., 2011). Our contribution extends this work by:
- Adapting Kripke semantics specifically for halachic authority hierarchies
- Formalizing the inheritance-with-override pattern common in halachic discourse
- Proving structural properties necessary for computational tractability
References¶
- Hughes, G.E., & Cresswell, M.J. (1996). A New Introduction to Modal Logic. Routledge.
- Kripke, S.A. (1963). Semantical Considerations on Modal Logic. Acta Philosophica Fennica, 16, 83-94.
- Blackburn, P., de Rijke, M., & Venema, Y. (2001). Modal Logic. Cambridge University Press.
- Bench-Capon, T.J.M., & Coenen, F.P. (1992). Isomorphism and Legal Knowledge Based Systems. Artificial Intelligence and Law, 1(1), 65-86.
- Abraham, M., Gabbay, D., & Schild, U. (2011). Analysis of the Talmudic Argumentum A Fortiori Inference Rule Using Matrix Abduction. Studia Logica.