Hostname: page-component-89b8bd64d-nlwjb Total loading time: 0 Render date: 2026-05-11T09:00:25.497Z Has data issue: false hasContentIssue false

Human Emotion Verification by Action Languages via Answer Set Programming

Published online by Cambridge University Press:  11 May 2026

ANDREAS BRÄNNSTRÖM
Affiliation:
Department of Computing Science, Umeå Universitet, Umeå, Sweden (e-mails: andreas.brannstrom@umu.se, juan.carlos.nieves@umu.se)
JUAN CARLOS NIEVES
Affiliation:
Department of Computing Science, Umeå Universitet, Umeå, Sweden (e-mails: andreas.brannstrom@umu.se, juan.carlos.nieves@umu.se)
Rights & Permissions [Opens in a new window]

Abstract

In this paper, we introduce the action language C-MT (Mind Transition Language), built on top of answer set programs and transition systems to represent how human mental states evolve in response to sequences of observable actions. Drawing on well-established psychological theories, such as the Appraisal Theory of Emotion, we formalize mental states, such as emotions, as multi-dimensional configurations. To enable controlled agent behavior and limit undesirable effects such as undue psychological influence, we introduce a novel causal rule, forbids to cause, together with constructs tailored to mental state dynamics. These allow the specification of valid transitions as constraints and invariance properties, which are rigorously evaluated over trajectories in transition systems. The framework supports reasoning about and comparing different dynamics of mental change under varying constraints. We apply the action language to design models for emotion verification.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Fig 1. In ${\mathcal{C}}_{MT}$, available sequences of actions and states (trajectories) in the “physical” state space are constrained by the actions’ influence on the “mental” state space.

Figure 1

Fig 2. Conceptual framework.

Figure 2

Table 1. Hedonic emotion regulation as basis for principles of change

Figure 3

Table 2. Utilitarian emotion regulation as basis for principles of change

Figure 4

Fig 3. Emotion states following the appraisal theory of emotion (Roseman 1996). Each emotion state is here expressed by an intuitive “emotion” label on top, and an appraisal configuration consisting of a set of variable: value pairs below. The variables are: ne = need consistency, go = goal consistency, ac = accountable, co = control potential. The values are: l = low, h = high, u = undecided, o = other, s = self, e = environment.

Figure 5

Listing 1. Integrity Constraints for Hedonic Emotion Regulation.

Figure 6

Listing 2. Integrity Constraints for Utilitarian Emotion Regulation.

Figure 7

Table 3. Sample trajectories: HER. Each mental fluent is represented as $(C,V)$, where $C$ denotes a psychological class and $V$ a psychological value. Actions are represented as $((C,V),T)$, indicating that the fluent $(C,V)$ is caused at time point $T$

Figure 8

Table 4. Sample trajectories: UER (Comparison with Table 3: HER). Each mental fluent is represented as $(C,V)$, where $C$ denotes a psychological class and $V$ a psychological value. Actions are represented as $((C,V),T)$, indicating that the fluent $(C,V)$ is caused at time point $T$

Figure 9

Table 5. Sample trajectories: UER. Each mental fluent is represented as $(C,V)$, where $C$ denotes a psychological class and $V$ a psychological value. Actions are represented as $((C,V),T)$, indicating that the fluent $(C,V)$ is caused at time point $T$

Figure 10

Fig 4. Emotional reachability: Counting generated trajectories (HER and UER based) between each initial configuration and each goal configuration, considering the 16 emotions of AE-theory. The vertical axis represents the number of initial configurations with reachability to a specific goal configuration. The horizontal axis represents goal configurations, which are labeled by emotion to provide intuition.

Figure 11

Fig 5. Reachability: HER.

Figure 12

Fig 6. Reachability: UER.

Figure 13

Table 6. Emotional priority: HER

Figure 14

Table 7. Emotional priority: UER

Figure 15

Fig 7. Emotional priority: HER.

Figure 16

Fig 8. Emotional priority: UER.