---
title: Hennessy–Milner Theorem
url: https://www.emergentmind.com/topics/hennessy-milner-theorem
type: topic
---

# Hennessy–Milner Theorem

The **Hennessy–Milner theorem** is the modal characterization result stating that, under a finiteness hypothesis, behavioral equivalence and logical indistinguishability coincide: two states are bisimilar if and only if they satisfy the same modal formulas. In its familiar classical form, the theorem is stated for image-finite Kripke models or image-finite labelled transition systems; in a more general form, modal equivalence coincides with bisimilarity on modally saturated models. The theorem is foundational because it identifies an exact correspondence between coinductive behavioral reasoning and modal specification, and recent work has analyzed that correspondence in settings ranging from second-order arithmetic and theorem proving to branching, quantitative, fuzzy, intuitionistic, and non-distributive semantics [2602.15409][2607.01970].

## 1. Classical statement and semantic setting

In the propositional modal setting formalized in second-order arithmetic, a Kripke model is \(M=(W,R,V)\), where \(W\subseteq \mathbb N\) is a nonempty set of worlds, \(R\subseteq W\times W\) is the accessibility relation, and \(V:W\times \mathrm{Fml}\to 2\) is a full valuation satisfying the recursive modal truth clauses. For pointed models \((M,w)\) and \((M',w')\), modal equivalence is the relation
\[
(M,w)\leftrightsquigarrow (M',w')
\]
meaning that for all modal formulas \(\varphi\),
\[
V(w,\varphi)=1 \iff V'(w',\varphi)=1.
\]
A bisimulation \(Z\subseteq W\times W'\) is defined by atomic agreement together with the usual forth and back conditions, and \((M,w)\,\underline{\xleftrightarrow{}\,(M',w')}\) means that some such \(Z\) contains \((w,w')\). The image-finite Hennessy–Milner theorem then states that for any two image-finite pointed models,
\[
(M,w)\leftrightsquigarrow (M',w')
\quad\text{if and only if}\quad
(M,w)\,\underline{\xleftrightarrow{}\,(M',w')}.
\]
The same source also states the standard saturated-model variant: for modally saturated pointed models, modal equivalence and bisimilarity again coincide [2607.01970].

In concurrency-theoretic form, the theorem is stated for labelled transition systems \( (S,L,\to) \), with \(s\xrightarrow{\mu}s'\) when \((s,\mu,s')\in\to\). Hennessy–Milner Logic uses formulas generated from `true`, `false`, conjunction, disjunction, and the modalities \(\langle \mu\rangle\varphi\) and \([\mu]\varphi\). For a state \(s\), its theory is
\[
\mathsf{theory}(s)=\{\varphi\mid s\models \varphi\},
\]
and theory equivalence is equality of these sets. The theorem is formalized as the extensional identity
\[
\mathsf{TheoryEq} = \mathsf{Bisimilarity}
\]
for image-finite LTSs, where image-finiteness means that for every state \(s\) and label \(\mu\), the set \(\mathsf{image}(s,\mu)=\{s'\mid s\xrightarrow{\mu}s'\}\) is finite [2602.15409].

## 2. Core notions and proof architecture

The easy direction is bisimulation invariance. In the Kripke presentation, if there is a bisimulation relating \(w\) and \(w'\), then \((M,w)\leftrightsquigarrow(M',w')\); the proof is by induction on formula complexity using only \(\mathrm{I}\Sigma^0_1\). In the LTS presentation, the corresponding lemma is that if \(R\) is a bisimulation and \(s_1 R s_2\), then every HML formula true at \(s_1\) is true at \(s_2\), with the diamond case handled by the forth clause and the box case by the back clause [2607.01970][2602.15409].

The converse direction is where image-finiteness enters decisively. In the Kripke proof, one defines the candidate bisimulation by modal equivalence itself,
\[
Z=\{(w_0,w_1)\in W\times W' : (M,w_0)\leftrightsquigarrow (M',w_1)\},
\]
and then verifies the forth and back clauses. Suppose \(w_0Zv_1\) and \(w_0Rv_0\). If no successor of \(w_1\) is modally equivalent to \(v_0\), then, because \(M'\) is image-finite, one can enumerate the finitely many successors \(v'_1,\dots,v'_n\) of \(w_1\), choose formulas \(\psi_i\) distinguishing \(v_0\) from each \(v'_i\), and form the single formula
\[
\Diamond(\psi_1\land\cdots\land\psi_n),
\]
which is true at \(w_0\) but false at \(w_1\), contradicting modal equivalence. The LTS proof uses the same finite-branching pattern: if \(s_1\xrightarrow{\mu}s_1'\) and no \(\mu\)-successor of \(s_2\) is theory equivalent to \(s_1'\), then one gathers finitely many distinguishing formulas \(\phi_1,\dots,\phi_n\) and uses
\[
\langle \mu\rangle(\phi_1\land\cdots\land\phi_n)
\]
to separate \(s_1\) from \(s_2\) [2607.01970][2602.15409].

The more general saturated-model form replaces finiteness by a compactness principle internal to modal theory. A model is modally saturated if whenever every finite subset of a set \(\Gamma\) of modal formulas is jointly possible at a successor, there is an actual successor satisfying all of \(\Gamma\). In the Kripke proof, if \(v_0\in w_0R\), one takes
\[
\Gamma=\mathrm{Th}_{\mathrm{ML}}(M,v_0),
\]
uses modal equivalence to show that every finite \(\Gamma_0\subseteq \Gamma\) is possible at \(w_1\), and then applies modal saturation to obtain a successor modally equivalent to \(v_0\). This yields the saturated-model theorem and explains why image-finite models are a special case: every image-finite model is modally saturated [2607.01970].

A standard misconception is that image-finiteness is merely a technical convenience. The more precise point is that finitary modal languages can only form finite conjunctions and disjunctions. Without image-finiteness, ordinary HML may fail to distinguish non-bisimilar states because an infinitary conjunction would be required to package all local counterexamples into one formula [2602.15409].

## 3. Formalization in second-order arithmetic and proof-theoretic strength

A recent reverse-mathematical analysis studies the theorem inside subsystems of second-order arithmetic. The base theory is \(\mathrm{RCA}_0\), described there as Robinson arithmetic plus \(\Sigma^0_1\)-induction and \(\Delta^0_1\)-comprehension, while \(\mathrm{ACA}_0\) is \(\mathrm{RCA}_0\) plus comprehension for all arithmetical formulas. Within this setting, formulas are coded as natural numbers and Kripke models are coded with domains \(W\subseteq \mathbb N\). The central result is
\[
\text{over } \mathrm{RCA}_0,\qquad
\text{Hennessy\textendash Milner theorem} \iff \mathrm{ACA}_0.
\]
More precisely, over \(\mathrm{RCA}_0\), the following are equivalent: \(\mathrm{ACA}_0\); the Hennessy–Milner theorem for modally saturated models; and the Hennessy–Milner theorem for image-finite models [2607.01970].

The forward implication \(\mathrm{ACA}_0\Rightarrow\) Hennessy–Milner uses arithmetical comprehension to form the set of modally equivalent pairs
\[
Z=\{(w_0,w_1)\in W\times W' : (M,w_0)\leftrightsquigarrow (M',w_1)\},
\]
since modal equivalence is expressible by a \(\Pi^0_1\) formula. Once \(Z\) exists as a set, the usual finite-branching or saturation argument shows that it is a bisimulation. The reverse implication is much subtler. Using the standard equivalence between \(\mathrm{ACA}_0\) and existence of the range of every injection \(f:\mathbb N\to\mathbb N\), the construction builds two image-finite Kripke models \(M\) and \(M'\) such that the distinguished roots are modally equivalent, but any bisimulation between them encodes the range of \(f\). Reading that range off from the bisimulation yields \(\mathrm{ACA}_0\) [2607.01970].

A technically distinctive point of this analysis is that bare \(\mathrm{RCA}_0\) cannot in general extend an assignment on atomic formulas to a full valuation on all modal formulas. The reversal therefore constructs the needed valuation explicitly in stages rather than appealing to a general valuation-extension theorem. The same paper proves that such a general extension principle would already imply \(\mathrm{ACA}_0\). This suggests a precise proof-theoretic moral: even for image-finite models, the existence of a bisimulation extracted from modal equivalence is not effectively available in the weak base theory [2607.01970].

## 4. Structural variants and generalizations

The theorem has been generalized by changing either the logic, the semantic structures, or the behavioral relation. In several cases the classical slogan “modal equivalence \(=\) bisimilarity” survives only after the notions on both sides are adjusted.

| Setting | Characterization | Source |
|---|---|---|
| Branching bisimulation with PHMLU | \(s \Rightarrow_{db} t \iff Th_p(s)\subseteq Th_p(t)\), yielding the ordinary branching theorem as the symmetric case | [2210.07380] |
| Generalized Synchronization Trees | GHML equivalence coincides with weak GST bisimulation on image-finite GSTs | [1709.00827] |
| Intuitionistic modal logic \(IK\) | On modally saturated birelational models, \(w\bisim_{IK}w' \iff w\equiv_{IK}w'\) | [2606.31879] |
| Fuzzy multimodal logics over Heyting algebras | Greatest weak bisimulation for plus/minus/all formulae coincides with greatest forward/backward/regular bisimulation under image-/domain-/degree-finiteness | [2502.10126] |
| Non-distributive modal logic on polarity-based semantics | Modal equivalence corresponds to simulations both ways, not to a single symmetric bisimulation relation | [2404.05574] |
| ATL with imperfect information | A full Hennessy–Milner theorem holds for common-knowledge semantics using history-based alternating bisimulation | [2006.15000] |

These extensions are not uniform. In the branching setting, the central move is from equality of theories to inclusion of positive theories. Because full HML has unrestricted negation, \(Th(s)\subseteq Th(t)\) collapses to \(Th(s)=Th(t)\); the directed theorem therefore uses positive fragments such as PHML and PHMLU, together with directed bisimulation and directed apartness. The resulting theorem is one-sided:
\[
Th_p(s)\subseteq Th_p(t)
\iff
s \Rightarrow t,
\]
and the classical two-sided theorem is recovered by symmetrization [2210.07380].

Other generalizations alter the semantic substrate more radically. For Generalized Synchronization Trees, the theorem is transported through a surrogate Kripke structure: GHML on a GST corresponds to ordinary HML on the surrogate, and weak GST bisimulation corresponds to ordinary bisimulation of the surrogate roots. For intuitionistic modal logic \(IK\), the correct structure is birelational, with an order \(\le\) and a modal relation \(R\); the paper defines IK-bisimulation so that the modal clause for \(\Box\) reflects the composite relation \(\le;R\), and then proves a Hennessy–Milner-style theorem on modally saturated birelational models [1709.00827][2606.31879].

The non-distributive and fuzzy settings show that the theorem can survive even when symmetry must be weakened or graded. In polarity-based semantics for non-distributive modal logic, the appropriate behavioral notion is not a single symmetric bisimulation but two simulations, one in each direction; on image-finite models, modal equivalence coincides with this derived bisimilarity. In fuzzy multimodal logics over a complete linearly ordered Heyting algebra, modal equivalence becomes graded:
\[
\bigwedge_{A\in\Psi} V_A(w)\leftrightarrow V_A'(w'),
\]
and the theorem identifies this greatest weak bisimulation with forward, backward, or regular bisimulation depending on the fragment and finiteness assumption [2404.05574][2502.10126].

## 5. Quantitative, algebraic, and specification-theoretic reformulations

A quantitative version replaces logical equivalence by equality of behavioral distance and logical distance. In a coalgebraic setting over a commutative unital quantale \(V\), formulas take values in \(V\), and one defines behavioral distance
\[
\bd_\alpha^F(x,y)
\]
and logical distance
\[
ld_\alpha^\Lambda(x,y).
\]
Adequacy always gives \(bd\le ld\), and the main quantitative Hennessy–Milner theorem gives the converse under conditions formulated in terms of \(\Lambda\)-Kantorovich functors, closure operators, and density. This yields
\[
ld_\alpha^\Lambda = bd_\alpha^F
\]
for systems including weighted, metric, ultrametric, and probabilistic transition systems, and in particular covers continuous probabilistic transition systems with tight Borel measures [2207.09187].

A related abstract reformulation uses Galois connections between sets of predicates and behavioral objects such as equivalence relations, preorders, pseudo-metrics, or directed pseudo-metrics. If \(\alpha\dashv\gamma\) is the Galois connection, \(c=\gamma\circ\alpha\) is the induced closure, and \(\lo\) is a logic function satisfying the compatibility condition
\[
\lo\circ c \sqsubseteq c\circ \lo,
\]
then the induced behavior function \(\be=\alpha\circ\lo\circ\gamma\) satisfies
\[
\alpha(\mu\lo)=\mu\be.
\]
In this framework, Hennessy–Milner theorems become fixpoint identities covering bisimilarity, simulation preorder, trace equivalence, bisimulation metrics, directed simulation metrics, and directed trace metrics [2207.05407].

Another line of work extends HML with greatest fixed points and changes the semantic target from state equivalence to specification equivalence. For Hennessy–Milner logic with greatest fixed points, the paper on specification theory proves that the \(\nu\)-calculus, finite nondeterministic acceptance automata, and finite disjunctive modal transition systems define exactly the same implementation classes. This is explicitly not the classical theorem “modal equivalence \(=\) bisimilarity”; rather, it is a specification-theoretic analogue in which logical and behavioral specifications coincide in implementation semantics [1306.0741].

A further generalization replaces one-step states by \(k\)-tuples. In \(k\)-quantifier logics, formulas are evaluated on \(k\)-pointed structures and quantifiers move between \(k\)-tuples via witness sets. The paper defines an associated bisimulation game and proves a finite-rank Ehrenfeucht–Fraïssé theorem together with a Hennessy–Milner theorem: on \(\mathcal L\)-saturated structures,
\[
(\mathfrak A,\alpha)\equiv_{\mathcal L}(\mathfrak B,\beta)
\Rightarrow
(\mathfrak A,\alpha)\sim_{\mathcal L}(\mathfrak B,\beta).
\]
This generalizes the saturated-model Hennessy–Milner pattern to a framework encompassing modal logic, monotone neighbourhood semantics, \(\mathrm{FO}^k\), and \(\mathrm C^k\) [2602.01216].

## 6. Formal verification, algorithmics, and practical use

The theorem has also become a formal and algorithmic object. In Lean’s CSLib, Hennessy–Milner Logic has been formalized with syntax, inductive satisfaction, denotational semantics, theory equivalence, and full metatheory. The final theorem is stated as equality of relations,
```lean
theorem theoryEq_eq_bisimilarity
  (lts : LTS State Label)
  [image_finite : ∀ s μ, Finite (lts.image s μ)] :
  TheoryEq lts = Bisimilarity lts
```
and the development is parametric over arbitrary transition systems using CSLib’s generic LTS interface. This places the theorem into reusable library infrastructure rather than as a one-off case study [2602.15409].

On the algorithmic side, the theorem’s existence claim has been turned into an optimization problem: given two non-bisimilar states in a finite LTS, compute a distinguishing HML formula. Computing a size-minimal distinguishing formula is NP-hard, and existence of a short distinguishing trace is NP-complete. By contrast, formulas of minimal observation depth, and even formulas with minimal observation depth together with recursively minimal negation depth, can be computed in polynomial time. The underlying finite-depth correspondence is the bounded version
\[
s\sim_k t \iff s\sim_{F_k} t,
\]
which yields distinguishing formulas exactly when \(k\)-bisimilarity fails [2307.05265].

Practical applications often use HML ideas without invoking the theorem itself. In formal verification of smart contracts, KindHML builds a transaction-labelled transition system for Solidity-like contracts and introduces a first-order HML-based logic with structured modalities, quantification, a past operator \(old\), and a predicate \(reverted\). The work does not state the classical Hennessy–Milner theorem and does not develop a bisimulation characterization; nevertheless, it explicitly uses HML as the conceptual basis for reasoning about finite-depth transactional behavior over labelled transition systems [2604.14038].

The theorem’s sensitivity to semantics is also visible in strategic logics. For ATL with imperfect information, a full Hennessy–Milner theorem is obtained only for the common-knowledge semantics, using a history-based alternating bisimulation and a four-player bisimulation game. The same paper shows that this is delicate in two senses: the theorem fails for the objective and subjective semantics, and deciding whether such a bisimulation exists between two finite imperfect-information concurrent game structures is undecidable [2006.15000].

Taken together, these developments show that the Hennessy–Milner theorem is not a single isolated equivalence but a template. In its classical form, it identifies the exact match between modal theories and bisimulation on image-finite or saturated structures. In later work, the same template is preserved, weakened, graded, or redirected according to the ambient logic and semantics: by passing from equality to inclusion of theories, from Boolean truth to quantale-valued distance, from Kripke models to polarity frames or GSTs, from states to \(k\)-tuples, or from theorem statements to machine-checked libraries and witness-generation algorithms.

Source: https://www.emergentmind.com/topics/hennessy-milner-theorem