This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Social Practices: a Complete Formalization

\nameF.P.M. Dignum \emaildignum@cs.umu.se
\addrUmeå University & Utrecht University
Umeå, Sweden & Utrecht, The Netherlands
Abstract

Multi-agent models are a suitable starting point to model complex social interactions. However, as the complexity of the systems increase, we argue that novel modeling approaches are needed that can deal with inter-dependencies at different levels of society, where many heterogeneous parties (software agents, robots, humans) are interacting and reacting to each other. In this paper, we present a formalization of a social framework for agents based on the concept of Social Practices as high level specifications of normal (expected) behavior in a given social context. We argue that social practices facilitate the practical reasoning of agents in standard social interactions. Thus they can support deliberations for complex situations just like conventions and norms. However, they also come with a social context that gives handles for social planning and deliberation in top of the normal functional deliberation. The main goal of this paper is to give a formalization of social practices that can be used as a basis for implementations and defining precise structures within which social learning can take place.

1 Introduction and Motivation

Interactions do not exist in a vacuum, but are surrounded by many social and physical constructs that shape and constrain that interaction [1]. Understanding and modeling the context of interactions is essential in the design of systems that are both realistic and computationally feasible. In fact, if context is not properly considered “the patterns and the outcomes of the interactions are inherently unpredictable, and predicting the behavior of the overall system based on its constituent components is extremely difficult (sometimes impossible) because of the high likelihood of emergent (and unwanted) behavior” [25]. E.g. imagine the situation that normally Fred takes the children to school on the way to work and his wife Sonja picks up her colleague and goes to work in a different direction. On a day that Fred has an important presentation to give in the morning, Sonja might decide to take the children to school in order to give Fred more time and peace of mind for his presentation. Even though it might not be the most cost effective solution, given the social context, it is the best overall behavior. It also has effect on the relation between Fred and Sonja and future interactions. In human societies, we use social practices as means to cope with uncertainty of outcome of interaction. Interactions are embedded in a broad network of societal and institutional contexts, and social practices provide means to deal with this complexity. Endowing agents with means to represent and reason with social practices will enable smooth, flexible, context-aware human-agent interaction.

Applied to human-agent interactions, such as companion robots, human-agent-robot teamwork, or persuasive applications, social practices can simplify and guide the deliberation of the agent in complex contexts. In these domains, the agent is expected to support the user but there are no predefined protocols or fixed objectives, so agent actions must be based on a close observation of the situation and evaluation of possible user aims, and reaction to user actions and environment changes. This is exactly the reason for social practices in human interactions. Social practices refer to everyday practices and the way these are typically performed by (most of) the members in the society. Although conventions and norms have similar aims as social practices, we will show that for the kind of applications where the human-agent interaction does not consist of a single action or action sequence, social practices provide an added value. Even though the subject of emergence and evolution of social practices is an important one, there is very little formal theory available on this aspect and thus for simplicity in this paper we assume social practices to be given and fixed. I.e. we will not elaborate on how the practice come to be, or how they are maintained and shared. Our conceptual agent architecture therefore takes a set of social practices as given, and the focus is on how the agent uses practices in its deliberation and planning. However, in the discussion section we will sketch some possible ways in which the framework for social practices as we will develop it in this paper can be made more dynamic.

In the core of this paper, we present a formalization of the theory of social practices as proposed in [37, 33] to be used as basis for a cognitive architecture. Our approach can be seen as a middle way between using fixed interaction scripts and full free deliberation reactive to user and environment sensing. We build on the concept of landmark [17] in the sense, that social practices enable the specification of possible (abstract) plans without needing to represent every single component of the interaction. An agent will adopt a social practice, based on its evaluation of the context, and ‘fill-in the gaps’, using its own capabilities and according to its own intentions. We provide a logic semantics for social practices, based on modalities to represent expectation, capability, roles, norms and contexts.

The objective of this paper is to provide a first step towards an architecture for social intelligent agents that use social contexts as the main starting point for interaction. In particular, we describe a formal specification of the constructs needed to represent and reason with social practices, such that it fulfils the objectives of the agent, without needing to represent every possible aspect of the interaction, or path in a protocol.

In the next section we will give some more background on social practice theory and also will discuss how social practices relate to other social concepts such as conventions and norms. In section 3 we describe the main characteristics of social practices, translating from the rather vague notions used in social science to more concrete concepts more akin to computer science applications. In section 4 we develop the formal logic necessary to formalize all aspects of social practices as given in section 3. Then we can start to give a formal account of all the elements of social practices in section 5. In section 6 we show how this formalization can be used by an agent to deliberate about a social practice and use it for guiding its behavior. In section 7 we discuss the use of the framework as a structure that can be used as a basis for emerging and maintaining social practices and we finish with some conclusions and future work.

2 Background

Social practice theory comes forth from a variety of different disciplines. It started from philosophical sociology with proponents like Bourdieu [3] and Giddens [21]. Later on Reckwitz and Shove [33, 37] have expanded on these ideas and also Schatzki [35] made some valuable contributions. An important claim that all these people make is that important features of human life should be understood in terms of organized constellations of interacting persons. Thus people are not just creating these practices, but our deliberations are also based on the fact that most of our life is shaped by social practices. Thus we use social practices to categorize situations and decide upon ways of behaviour based on social practices. The main intuition behind this is that our life is quite cyclic in that many activities come back with a certain regularity. We have meals every day, go to work on Monday until Friday, go to the supermarket once a week, etc. These so-called Patterns of Life ([26]) can be exploited to create standard situations and expectations. It makes sense to categorize recurrent situations as social practices with a kind of standard behaviour for each of them. We will discuss some background and related work from both social science on social practices and in the subsequent section from computer science on structures that seem related or might be used to represent social practices.

2.1 Social Practice Theory

Social practices are defined as accepted ways of doing things, contextual and materially mediated, that are shared between actors and routinized over time [33]. They can be seen as patterns which can be filled in by a multitude of single and often unique actions. Through (joint) performance, the patterns provided by the practice are filled out and reproduced.

According to [33, 37] a social practice consists of three parts:

  • Material: covers all physical aspects of the performance of a practice, including the human body (relates to physical aspects of a situation).

  • Meaning: refers to the issues which are considered to be relevant with respect to that material, i.e. understandings, beliefs and emotions (relates to social aspects of a situation).

  • Competence: refers to skills and knowledge which are required to perform the practice (relates to the notion of deliberation about a situation).

The material for taking the children to school would be the route between home and school, the car used (is it a big or small one), the time being in the morning, the parents and children,the school bags, etc.
The competences denote kinds of activities that can be expected from the participants. They do not dictate a complete workflow or script for the social practice, but rather indicate expected actions at points in time. E.g. the children have to put on their coats and get their school bags before getting in the car. But putting on coats might not be needed in summer time. The individuals participating in the social practice are free to act in any way that conforms to the practice, and even to violate it if they wish. So, taking the children to school means that the children have to get in the car before driving to school. The exact route to school might differ depending on traffic. Also the conversations in the car are completely “free”. The activities also encompass the expected competencies of the actors involved. E.g. we expect that the parents know how to drive a car.
The meaning of a social practice couples the interaction perspective of it with the social perspective of the practice. E.g. letting the oldest child sit in front or the one who has her birthday indicates the special position and responsibilities of that child. Singing some songs with the children in the car might also help bonding with the children and facilitate later chores.

From the above description it can already be seen that social practices are more encompassing than conventions and norms. Conventions focus on the strategic advantage that an individual gets by conforming to the convention. The reason to follow a convention is that if all parties involved comply a kind of optimal coordination is reached. I.e. if we all drive on the left side of the road traffic will be more smooth than when everyone chooses the side to drive on freely. Thus conventions focus on the actual actions being performed and how they optimize the coordination. Social practices do not necessarily optimize the coordination. Because they indicate a type of expected actions and interactions given a social and physical context they will smoothen the coordination. However, this is not necessarily the optimal way the coordination could have been done. E.g. if we go to a presentation we sit down as soon as we see chairs standing in rows in the room. However, we could also keep standing (as is often done outside).

Social practices are different from norms. Norms are also applicable in certain situations and for particular people (or roles) and they also create expectations (nl. that the norm is followed). However, norms usually dictate a very specific behaviour rather than creating a set of loosely couple expectations as is the case for social practices. E.g. if the norm states that a car has to stop for a red light, it gives a very specific directive. If a norm is more abstract (like “drive carefully”) then we need to translate this into concrete norms for specific situations. This is different from saying that some parts of a situation are governed by the norm and others are still free of the normative influence. Basically, when specifying the norm one indicates exactly when the norm is applicable rather than general situations for which the norm can be applied in some part.

The resources describe the physical and social setting in which the practice takes place. Therefore it is the cognitive trigger of the practice and can also be used to check which objects and people are available to peform the expected actions within the social practice. Likewise the activities indicate which actions and action patterns are available for the planning of the individuals participating in the social practice. The meaning of a practice is related to the social perspective as it indicates the social affect and purpose of a social practice given that it is performed in a certain way. E.g. taking the children to school in a big SUV might signal the wealth or status (or stupidity) of the parents. Using the bike can signal the environmental consciousness of the parents. Also actions within a practice can get a specific social interpretation. E.g. asking a question during a lecture on a difficult topic can indicate interest and showing effort to learn. This might lead to more support from a lecturer later during the course. Given the above descriptions of social practices one can summarize the purpose of them for individuals (informally) as follows:

Perceive(resources)Expect(activities)Expect(competencies)Perceive(resources)\Rightarrow Expect(activities)\wedge Expect(competencies)
Done(activities)physical(postconditions)social(postconditions)Done(activities)\Rightarrow physical(postconditions)\wedge social(postconditions)

Given a certain situation that is perceived in which the social practice is activated, the social practice now triggers expectations that the activities of that social practice will be executed. This implies that we assume a certain competence of all the people involved in the social practice (e.g. a parent can drive a car). After the activities have been executed, we do not just assume the postconditions of the actions hold, but also assume that certain social effects have been achieved according to the “meaning” of the practice. Thus the social practice allows us to make a whole set of assumptions and have expectations that could otherwise not be readily made or would take a lot of effort to derive.

The dynamic nature of social practices is emphasized by Shove [37]: Each time it is used, elements of the practice, including know-how, meanings and purposes, are reconfigured and adapted. Therefore the use of social practices includes a constant learning of the individuals using the social practice in ever changing contexts. In this way social practices guide the learning process of agents in a natural way. In [37] the social aspect of social practices is emphasized by giving the social practice center stage in interactions and letting individuals be supporters of the social practice. It shows that social practices are shared (social) concepts that also exist outside individuals. The mere fact that they are shared and jointly created and maintained means that individuals playing a role in a social practice will expect certain behavior and reactions of the other participants in the social practice. Thus it is this aspect that makes the social practices so suitable for use in individual deliberation in social situations. In section 6 we will show how this can be done in our framework.

2.2 Related Work from Computer Science

In this section, we discuss several existing frameworks in computer science that seem related to the concept of social practices and show why they are not suitable or too limited to be used directly.
One framework that seems very close to social practices is the notion of scripts.However, social practices are not just mere scripts in the sense of [31]. Practices are more flexible than the classical frames defined by scripts in that they can be extended and changed by learning and the ”slots” only need to be filled in as far as they are needed to determine a course of action. Using these structures changes planning in many common situations to pattern recognition and filling in parameters. They support, rather than restrict deliberation about behaviour. E.g. the social practice of “going to work” incorporates usual means of transport that can be used, timing constraints, weather and traffic conditions, etc. So, normally you take a car to work, but if the weather is exceptionally bad the social practice does not force the default action, but rather gives input for deliberation about a new plan in this situation and take a bus or train (or even stay home). So, social practices can be seen as a kind of flexible script. Moreover, scripts do not incorporate any social meaning for the activities performed in them as social practices do provide.

2.2.1 Agent Programming

Multi-agent programming languages such as 2APL support the implementation of individual agents that can perform high-level reasoning and deliberation about their information (i.e., beliefs) and objectives (i.e., goals to achieve) in order to decide what actions to perform [8]. In order to reach its goals, an agent adopts plans. 2APL provides programming constructs to implement beliefs, goals, actions, plans, events, and three different types of rules that can be applied to generate plans. In particular, 2APL provides planning goal rules that implement practical reasoning rules that can be used to generate plans for achieving goals and practical reasoning rules, which can be used to expand abstract plans to concrete sequences of actions and to rewrite plans to cope with unforeseen circumstances [7].

A possible way to represent the top level planning goal rules for a family taking children to school scenario as indicated in the introduction is:

Goal: in-school(children)
GP/PR rules:
in-school(children) <- frost | start(car,electric);
                               in-car(children,parent);
                               drive(school)
in-school(children) <-       | in-car(children,parent);
                               drive(school)
drive(school) <- late | drive(quick);park(close-school)
drive(school) <-      | drive(careful);park(safe)

The first rule states that whenever the precondition “frost” holds, the goal
“in-school(children)” can be dealt with by the “plan”:
“start(car,electric);in-car(children,parent); drive(school)”.
The second rule states that “in-school(children)” can alternatively be handled by the plan
“in-car(children,parent); drive(school)”.
This specification makes use of the fact that in 2APL, rules are tried in order, and the first one that is applicable is executed. Thus the agent first checks whether there was frost that night and in case there is, it will start the car using an external electric connection and get the kids in the car and drive to school afterwards. If there was no frost, the condition of the first rule does not apply and the agent follows the second rule: ”in-car(children,parent); drive(school)”. A similar process appears for the “drive(school)” rules. It first checks the time. If they are late he will drive quick and park close to school. If they are not late, it will try the second rule and drive carefully and park safely.

A problem with this approach is that if the first rule fails during the execution of the plan, e.g. because the cable cannot be attached, the agent will try the next rule and start putting the kids in the car, even though the car did no start yet (and will not start on the battery). This can be avoided by explicitly indicating a precondition to be true or false in order to distinguish the different cases, as in the following two rules:

in-school(children) <- frost | start(car,electric);
                               in-car(children,parent);
                               drive(school)
in-school(children) <- not(frost)|in-car(children,parent);
                                  drive(school)

However, if in this situation the plan associated with the first rule fails, the second rule is not applicable because there is frost. In this situation, the agent would just stop, without getting the cildren to school, as it has no applicable plan to follow. Moreover, in the case of conditions involving several criteria, the number of rules would quickly increase such that the different combinations of conditions could be represented.

We are not claiming that the above cases could not in some way be represented in 2APL. However, the example highlights two aspects that are interrelated and mingled in the 2APL representation. The conditions of the rules function as a precondition of the plan in the rule. However, the same conditions are also used for rule selection. The latter necessitates the constructions shown above but can also lead to (unexpected) difficulties as indicated.

By using the idea of social practice we distinguish conditions that are needed for rule selection and preconditions of plans. Thus we do not incorporate the conditions in all the rules, but are checking the context conditions of the social practice first and given those conditions select a subset of the rules that are relevant for the situation. Thus the deliberation is no longer purely goal driven, but is goal plus context driven. This will lead to a more natural specification and (through the modularization of rules based on context) to a more efficient deliberation.

2.2.2 Case-Based Reasoning

Whereas agent programming follows a goal-based approach for selecting actions, Case-Based Reasoning (CBR) is an example of reactive deliberation. CBR uses previous cases (or situations) as the basis for the selection of the next action [34]. The general cycle of CBR follows the following steps:

  1. 1.

    problem formulation

  2. 2.

    retrieve

  3. 3.

    reuse

  4. 4.

    revise

  5. 5.

    retain

The first step is to formulate the problem. This is important because the way a problem is formulated will determine the query on the case-base, through which the most relevant case is eventually selected. In our scenario this might lead to the following (simplified) problem formulation:

frost = no
time = 8:30
car(fuel) = 10L
traffic = high
temperature = 6C
...

For simplicity, we use here a very simple attribute-value structure, but more complex structures can also be used. With this formulation the case-base is searched for a similar situation. The likelihood of finding a case exactly like the current situation is minimal. Thus one needs some metrics in order to find the most ‘similar’ case. Without getting into details, we just point to some difficult aspects here. Suppose there is an almost identical case except that the time is 8:50 (you are late). Could we use that case as a basis for the current course of action? So, even if the case in the case-base differs in only one parameter it might lead to a quite different course of action.

Given a case from the case-base that is close to the present situation, it has to be checked whether the plan for that situation can be used as it is or should be adjusted. E.g. if in the case from the case-base the first step would be to start driving very quick we can now relax and drive more carefull. Although for humans it is reasonably obvious how to make such a revision of the plan it is more difficult to find an algorithm that could calculate the necessary adjustments automatically. Finally, the system should decide whether the present case and its course of action are sufficiently different from the cases in the case base to warrant adding it (in the right place).

Intuitively the example makes clear that even in simple scenarios like taking the children to school there are many parameters that potentially influence the course of action and even small differences can have big consequences for the course of action to be followed. Thus one needs to have a very large case base to cover all relevant cases such that an appropriate course of action is followed in each situation. In many domains (like crisis management) such a large case base cannot easily be assembled nor is it possible to construct one on the fly, because the consequences of errors are too big to allow for a gradually improving system.

2.2.3 Work Practice Simulation

Another approach relevant to social deliberation is that advocated by the Brahms platform [38]. Brahms is a multi-agent, rule-based, activity programming language. The Brahms language allows for the representation of situated activities of agents in a geographical model of the world. Situated activities are actions that happen in the context of a specific situation, thus their execution is constrained not only by the reasoning capabilities of an agent, but also by the agent’s beliefs of the external world, such as where the agent is located, the state of the world at that location and elsewhere, located artefacts, activities of other agents, or communication with other agents and artefacts.

The philosophy of Brahms comes from the realization that work practices in organizations differ from the work flows as described and prescribed by the organization. If it is recognized that ultimately employee behaviours, rather than management practices, are the key to success in organizations [5], then these practices should be described as agent behaviours rather than the official (goal directed) plans. Within Brahms a work practice is defined as the (collaborative) performance of collective situated activities of a group of people who collaborate and communicate, while performing these activities synchronously or asynchronously, by making use of knowledge previously gained through experience in performing similar activities. Differences between formal plans and the work practice can lead to unforeseen results and render organizational plans useless.

The Brahms modelling language is geared towards modelling people’s activity behaviour [38]. The Brahms framework consists of several interrelated models. Of particular relevance for this paper is the Activity Model that defines the behaviour of agents and objects by means of activities and workframes. Brahms has an activity-based subsumption architecture by which an agent’s activities can be decomposed into sub-activities. Activities can be interrupted and resumed, just as humans can multi-task by switching between different activities. Workframes control when activities are executed based on the beliefs of the agent, and on facts in the world. However, as in CBR, workframes require the full instantiation of all its preconditions in order to be applied.

Our scenario could be modelled through the use of several workframes. One for starting the car, one for getting the children in the car, one for driving to school and one for parking the car. By giving the starting the car framework a high priority it will try to execute first. Thus if the preconditions of the workframe are fulfilled (which will include the presence or absence of frost) it will start the car using the start motor and normal battery. If the workframe cannot be executed the one with the next highest priority will be executed, etc. If during the starting of the car it is discovered that there was frost and the car does not start the framework for starting the car on an external electric supply is automatically fired and the start car workframe is interrupted. This makes the Brahms framework quite flexible. However, it has the same problem as the 2APL framework in that the context and preconditions of the workframes are mixed. Moreover, the agents also do not have a learning capability that might lead to a priority adjustment of workframes after the (failed) execution of activities.

2.2.4 Agent organizations

A last approach very relevant for social deliberation is the use of explicit agent organizations. See [16] for a good description. Agent organizations also decsribe a context in which the agents are operating and which guarantees certain behavior. However, agent oragnizations do not specify the “materials” used in their operation as do social practices. I.e. organizations do not specify specific times, places and objects available in the context of an interaction. The agent organization can be seen as a top-down abstract (social) structure within which agents operate, while a social practice is an emerging abstraction from the actual repeated interactions that agents perform. Having said this, there are many similarities between elements of social practices and agent organizations as well. Both have a kind of expected workflow, roles and meanings of actions in that context. We will later on use these similarities in the more formal definitions of social practices and also point out where the exact diferences lay.

2.2.5 Conclusions

It has become clear that, although there are several techniques from AI and computer science that seem appropriate to model social practices, they all fall short. Thus in the rest of this paper we investigate what are the main characteristics of social practices that need to be modeled, how they can be made more precise and create a formalization that can be used for implementing social practices.

3 Characteristics of Social Practices

As we have stated in the previous section, in Social Sciences, social practices are defined on the basis of materials, meanings and competences [24]. Although social practices provide a handle for modelling the deliberation of socially intelligent agents because they seem to combine the elements that we require for socially intelligent behaviour, they are a relatively novel and not precisely defined concept from sociology that cannot be easily formalized in one step without making many implicit assumptions. Therefore we first make a step to get the notions involved in social practices more concrete. We are aware that such a step can already exclude some features that people might consider crucial for social practice theory. However, by making this step explicit, we can more easily adapt the concrete structure and add other elements or change them based on the experiences. The following is an adaptation of an initial conceptualization of social practices, as introduced in [19]:
Context

  • Roles describe the competencies and expectations about certain types of actors [39]. Thus a parent is expected to be able to drive the car to school and/or work.

  • Actors are all people and autonomous systems involved, that have capability to reason and (inter)act. This indicates the agents that are expected to fulfill a part in the practice.

  • Resources are objects that are used by the actions in the practice such as car, coats, school bags, etc. So, they are assumed to be available both for standard actions and for the planning within the practice.

  • Affordances are the properties of the context that permit social actions and depend on the match between context conditions and actor characteristics [20].E.g. a sweater might be used (sometimes) as a coat because it also affords warmth.

  • Places indicates where all objects and actors are usually located relatively to each other, in space or time: The car is in the garage, school bags in the rooms of the children or in the corridor, etc.

Meaning

  • Purpose determines the social interpretation of actions and of certain physical situations. E.g. the purpose of taking the children to school is that they can learn (or just to avoid a possible penalty for keeping children out of school)

  • Promotes indicates the values that are promoted (or demoted, by promoting the opposite) by the social practice. Driving carefully promote the value of universalism, because you take care of all passenger’s safety and the safety of other road users.

  • Counts-as are rules of the type ”X counts as Y in C” linking brute facts (X) and institutional facts (Y) in the context (C) [36]. E.g., in a voting place, filling out a ballot counts as a vote.

Expectations

  • Plan patterns describe usual patterns of actions [4] defined by the landmarks that are expected to occur.

  • Norms describe the rules of (expected) behavior within the practice. They are decribed as deontic rules using obligations, prohibitions and permissions.

  • Strategies indicate possible trigger-action combinations that can be performed at any time within the practice. Not all strategies need to be performed! They are meant as potential courses of action, whenever the trigger is satisfied. Strategies are specified as AIC statements. E.g. once all children are in the car the parent starts off for school.

  • Start condition, or trigger, indicating how the social practice starts. At 8:30 the social practice of taking children to school starts.

  • Duration, or End condition, indicating how the social practice ends. E.g. taking the children to school normally takes around 20 minutes and ends when the children are at school.

Activities

  • Possible actions describes the actions that usually occur in the social practice. This gives a kind of repository of actions with which activities in the social practice can be planned.

  • Requirements indicate the type of capabilities or competences that the agent is expected to have in order to perform the activities within this practice.

An example of the social practice of taking the children to school is given in figure 1. The last column of this table points to the formal definitions that are given in section 4.3 and that will be used to give each of these elements a precise, formal semantics in figure 3.

Refer to caption
Figure 1: social practice

The first block of a social practice consist of the physical and social context and is related to the definition of context given in  [41]. Two of the lines in the table are grey: actors and resources. In principle these lines pertain to what is available in a particular instance of the social practice rather than the general definition of the social practice.
The meaning of a social practice links concrete actions to social actions, values and purposes. We are aware that this part of the social practice might be extended with more elements like emotions, etc. However, not all social practices have these elements, while we claim that the elements we include are always part of any social practice.
The expectations are the most central part of the social practice as they pertain to the expected sequence of events that each actor expects to happen and on the basis of which she will plan and adapt behaviour.
The last block contains the prerequisites that actors are expected to have and the actions that one can expect to observe (plus their associated expected effects).
As said before Social Practices show some resemblance to agent organizations (see e.g. [16]), in the sense that both provide structure to the interactions between agents. However, organizations provide an imposed (top-down) structure, while the social practices form a structure that arises from the bottom up. Thus instead of forcing compliance, interaction patterns in a social practice indicate expectations on the behavior of its actors. Therefore no guarantee is given that behavior will occur (exactly) as expected. This has a large influence on the way the social practices are formally specified, focusing on possibilities and priorities rather than prescribing behavior.

Expectations are tied to the roles that determine possible and expected behavior and also indicate who is supposed to take initiative at certain points. E.g. the parents are supposed to take the initiative to start taking the children to school. Norms determine the normal patterns of behavior and thus also determine a certain type of expectation, namely the patterns of actions that are allowed or prohibited. The plan patterns also partly determine the sequences of actions that are expected. The different phases are temporally ordered and have a specific starting and end situation. Thus the whole practice should be fulfilled by following a trace that fits through that plan pattern.

Having this more concrete description of a social practice, we are now ready to develop a formal representation for social practices in the next section.

4 Formal logic

Taking the social science pespective on social practices seriously means that social practices have an existence independent of the individuals that execute them. In that respect they are like organizations, which also recruit persons to execute the functions belonging to specific roles and that provide workflows that partially (but not completely!) indicate which actions are expected from each individual. Given these type of similarities the formal model proposed in this paper is based on modal logics, extending work on agent organizations, in particular the Logic of Agent Organizations (LAO) [18] that provides a formal, provable representation of organizations based on the notions of capability, ‘bring it about’ – or stit – [32] and attempt, indicating that an agent tries but might not always succeed. However, where LAO was based on a temporal logic and the stit operator, we will use dynamic logic with explicit actions for social practices. The difference is caused exactly by the fact that organizations are a top down structure where the results are what counts and the exact way they are achieved are left to the individuals. Social practices are emerging bottom up from repeated interactions between individuals using actions. These interactions then get abstracted into abstract social practices. This is reflected in the formalism that we use for scoial practices as well.
The semantics and model we give for the dynamic logic is quite complex and might seem at first sight overly complex. However, the complexity is needed to model two important features of actions in the context of social practices. First, we want to be able to state that a particular agent performs an action with a particular result, leaving open whether other agents performed any action at the same time. So, actions (state changes) are not exclusive. E.g. Fred takes the children to school does not preclude Madeleine to go to work at the same time. Secondly, we want to be able to express that a set of agents perform an action together, which entails that they all do some part of that action at the same time. E.g. Fred and the children go to school in the car together. We need to provide for these joint actions in the semantics as well.

Because the description of actions and action sequences is important as well as epistemic/doxastic states of the agents we will use a combination of dynamic logic with epistemic logic as the basis for our formalization.111Given that we only need to represent epistemic and dynamic operators, but not the epistemic changes, Dynamic epistemic logic [23], which is designed to capture the change of epistemic models by communication is not used. We merely need a logic in which both modalities are available.

4.1 Language

The alphabet consists of a set PP of propositional symbols (p), the set of violation symbols ViV_{i} (indicating the violation of a norm), the operators DONEDONE and DODO, a set of agent identifiers AgAg (groups of agents identifiers are denoted by A,B,A,B,\ldots), a set ActAct of atomic action symbols typically denoted by a¯\underline{a} , the doxastic operators BB and CBCB, and the dynamic operators [][\ ] and \left\langle\ \right\rangle. The language \mathcal{L} is based on three types of syntactic constructs:
The set ActExpActExp of action expressions (α\alpha) is defined through the following BNF:

α::=a¯|skip|α¯|α1+α2|α1&α2|α1;α2.\alpha::=\underline{a}\ |\ skip\ |\ \overline{\alpha}\ |\ \alpha_{1}+\alpha_{2}\ |\ \alpha_{1}\&\alpha_{2}\ |\ \alpha_{1};\alpha_{2}.

where skipskip represents a ”doing nothing” action, .¯\overline{.} stands for the negation operator, ++ stands for the indeterministic choice operator, &\& for the parallel performance operator and ; for the sequencing operator. We sometimes refer to the set of action expressions of the form a¯\underline{a}, skipskip or a¯¯\overline{\underline{a}} as the set of basic actions. We use act(α)act(\alpha) to denote the set of basic actions that are part of the complex action α\alpha.
In order to express the fact that an action is performed by an actor or set of actors we define a so-called set (EvtEvt) of event expressions (ξ\xi) is defined through the following BNF:

ξ::=A:α|A:α¯|ξ1+ξ2|ξ1&ξ2|ξ1;ξ2.\xi::=A:\alpha\ |\ \overline{A:\alpha}\ |\xi_{1}+\xi_{2}\ |\ \xi_{1}\&\xi_{2}\ |\ \xi_{1};\xi_{2}.

So, A:αA:\alpha denotes that the set AA of actors performs the action α\alpha together. In the same way A:α¯\overline{A:\alpha} denotes the negation of AA performing α\alpha together. (The exact semantics of this negation will be described in section 4.3). Notice that the same notation for actions and event operators (negation, +,&,;+,\&,;) is used. Nevertheless they belong to different categories of operators! We chose, however, to keep notation as simple as possible as we have to introduce many different layers of operators later on already. The set AssAss of assertions (ϕ\phi) of our language \mathcal{L} is defined through the following BNF:

Definition 1

(Language)

ϕ::=\phi::= p|Vi|DONE(ξ)|DO((ξ)|¬ϕ|ϕ1ϕ2|ϕ1ϕ2|ϕ1ϕ2|p\ |\ V_{i}\ |\ DONE(\xi)\ |\ DO((\xi)\ |\ \neg\phi\ |\ \phi_{1}\vee\phi_{2}\ |\ \phi_{1}\wedge\phi_{2}\ |\ \phi_{1}\rightarrow\phi_{2}\ |
Cap(a,α)|[ξ]ϕ|ξϕ|Bi(ϕ)|EBA(ϕ)|CBA(ϕ)|Goali(ϕ)Cap(a,\alpha)\ |\ [\xi]\phi\ |\ \langle\xi\rangle\phi\ |\ B_{i}(\phi)\ |\ EB_{A}(\phi)\ |\ CB_{A}(\phi)\ |\ Goal_{i}(\phi)

Thus we have all the usual propositional logic formulas and the violation symbols. We use DO(a:α)DO(a:\alpha) (resp. DO(A:α)DO(A:\alpha), DONE(a:α)DONE(a:\alpha), DONE(A:α)DONE(A:\alpha)) to denote that actor aa performs action α\alpha next (resp. the set of actors AA performs action α\alpha (jointly), the actor aa performed action α\alpha as the last action or the set of actors AA jointly performed the action α\alpha as the last action). We can refer to the capabilities of an actor aa through Cap(a,α)Cap(a,\alpha) that is true if actor aa has the capability to perform α\alpha. [ξ]ϕ[\xi]\phi indicates that ϕ\phi will always be true after ξ\xi has happened. ξϕ\langle\xi\rangle\phi indicates that at least in one state after ξ\xi happened ϕ\phi will be true. We can express doxastic statements as well, Bi(ϕ)B_{i}(\phi) states that ii believes ϕ\phi. EBA(ϕ)EB_{A}(\phi) states that everyone in the set of actors AA believes ϕ\phi and CBA(ϕ)CB_{A}(\phi) states that it is common belief among the set of actors AA that ϕ\phi is true. We also have the goals of an agent ii defined by Goali(ϕ)Goal_{i}(\phi)
It will be handy to refer to abstract actions such as ”an action that achieves ϕ\phi” or ”an action performed by AA that achieves ϕ\phi”. For this we introduce the following definitions:

Definition 2

(Achieving)
Let αiActExpr\alpha_{i}\in ActExpr
Let X={αi:[αi]ϕ}X=\{\alpha_{i}:[\alpha_{i}]\phi\} then αϕ=+αiXαi\alpha\phi=+_{\alpha_{i}\in X}\alpha_{i}
Let Y={A:αi:[A:αi]ϕ}Y=\{A:\alpha_{i}:[A:\alpha_{i}]\phi\} then α(A)ϕ=+A:αiYA:αi\alpha(A)\phi=+_{A:\alpha_{i}\in Y}A:\alpha_{i}

Note that if ϕ=T\phi=T (Where TT stands for the logical constant truetrue) the abstract action refers to any action that can be performed in a particular state. Also note that the sets XX and YY are dependent on the state in which they are evaluated. I.e. the set of actions that achieve a certain formula ϕ\phi depends on the state where one starts performing those actions. Also, these sets XX and YY can in principle be infinite large sets. However, if we keep the amount of operators in the expression finite (which in practice they are) these sets are also finite. Given the above language, we now proceed to define the formal semantics for the constructs of that language.

4.2 Models

In order to give a semantics to the language introduced above we start defining the notion of model for \mathcal{L}.

Definition 3

(Kripke Model)
A model MM is defined as follows:

M=𝒫+(Agt),Actskip,Capability,𝕎,R,{a}aAgt,{𝔾a}aAgt,,πM=\left\langle\mathcal{P}^{+}(\mathrm{Agt}),\mathrm{Act}\cup\mathrm{skip},\mathrm{Capability},\mathbb{W},\llbracket\ \rrbracket_{R},\{\mathbb{R}_{a}\}_{a\in\mathrm{Agt}},\{\mathbb{G}_{a}\}_{a\in\mathrm{Agt}},\prec,\pi\right\rangle

where:

  • 𝒫+(Agt)\mathcal{P}^{+}(\mathrm{Agt}) is the non-empty powerset of the finite set of actors Agt\mathrm{Agt}, that means the possible groups of actors. We assume Agt=Agt\mathrm{Agt}=Agt.

  • Actskip\mathrm{Act}\cup\mathrm{skip} is the set of actions. (Note these are semantic entities and different from the syntactic action expressions (ActExprActExpr)).

  • Capability\mathrm{Capability} is a function in Agtx2ActAgtx2^{Act} that indicates for each actor the set of (atomic) actions it is capable to perform.

  • 𝕎\mathbb{W} is the set of possible states.

  • R\llbracket\ \rrbracket_{R} is a function ff s.t. f:Evt×𝕎𝒫(𝕎)f:Evt\times\mathbb{W}\longrightarrow\mathcal{P}(\mathbb{W}), to each event expression-world couple it associates the set of states to which the performance of that event in that world leads. It consists of a composition of the two functions \llbracket\ \rrbracket and RR which will be introduced in Section 4.3.

  • {a}aAgt\{\mathbb{R}_{a}\}_{a\in\mathrm{Agt}} is a family of serial, symmetric and transitive accessibility relations which are indexed by actors indicating the believable worlds of agent aia_{i}.

  • {𝔾a}aAgt\{\mathbb{G}_{a}\}_{a\in\mathrm{Agt}} is a family of serial and transitive accessibility relations which are indexed by actors indicating the worlds agent aia_{i} wants to get to.

  • \prec is a serial, partial ordering on 𝕎\mathbb{W} denoting the order in which worlds are reached through actual performances of events. This ordering is constrained as follows: if w1w2w_{1}\prec w_{2} and w3\exists w_{3} s.t. w3aw1w_{3}\mathbb{R}_{a}w_{1} or w3aw2w_{3}\mathbb{R}_{a}w_{2} then w3aw2w_{3}\mathbb{R}_{a}w_{2} and w3aw1w_{3}\mathbb{R}_{a}w_{1} From an intuitive point of view, this condition guarantees that if w1w_{1} or w2w_{2} is a believable world from w3w_{3} than the other one should also be believable and thus the whole path of actual performances through 𝕎\mathbb{W} should be doxastically accessible.

  • π\pi is a usual truth function ff s.t. f:Ass×W{1,0}f:Ass\times W\longrightarrow\{1,0\}.

Like in [28, 12, 13] our semantics consists of two parts: first event expressions are interpreted as set theoretic constructs on Act\mathrm{Act} where events get a so-called open interpretation; successive event expressions are interpreted as state-transition functions determining the accessibility relation R\llbracket\ \rrbracket_{R} on 𝕎\mathbb{W}.

4.3 Synchronicity sets, steps, synchronicity traces, and worlds

The interpretation of events is based on the basic notion of synchronicity set (s-set). A synchronicity set indicates all basic events that are performed in parallel by a set of agents in a certain state.

Definition 4

(s-set)
The set 𝒮\mathcal{S} of s-sets is defined as follows: 𝒮=𝒫+(Agt)×{skip}𝒫+(Agt)×𝒫+(Act)\mathcal{S}=\mathcal{P}^{+}(\mathrm{Agt})\times\{\mathrm{skip}\}\cup\mathcal{P}^{+}(\mathrm{Agt})\times\mathcal{P}^{+}(\mathrm{Act}).

Synchronicity sets, that is elements of 𝒮\mathcal{S}, are denoted by S1,S2,S_{1},S_{2},\ldots. The s-sets formalise the aforementioned open interpretation view on events. Based on the notion of s-set we define the notion of step 222Notice that in [13] s-sets are called steps, and no notion of step as it will be defined in this work occurs there..

Definition 5

(Step)
The set StepStep of steps is defined as follows:

Step\displaystyle Step =\displaystyle= {×A𝒫+(Agt)𝒮A|A,B𝒫+(Agt):BAact(SB)act(SA)&\displaystyle\{\times_{A\in\mathcal{P}^{+}(\mathrm{Agt})}\mathcal{S}_{A}\ |\ \forall A,B\in\mathcal{P}^{+}(\mathrm{Agt}):B\subseteq A\Rightarrow act(S_{B})\subseteq act(S_{A})\ \&
A,B𝒫+(Agt):action(SB)=skipaction(SAB)=action(SA)}\displaystyle\forall A,B\in\mathcal{P}^{+}(\mathrm{Agt}):action(S_{B})=\mathrm{skip}\Rightarrow action(S_{A\cup B})=action(S_{A})\}

where actionaction is a function that extracts the action component from a given s-set (action(A:{a1,a2})={a1,a2}action(A:\{a_{1},a_{2}\})=\{a_{1},a_{2}\}).

Steps represent a sort of snapshot of the activity of each subgroup of Agt\mathrm{Agt} at a certain moment, depicting how all agents move one ”step” ahead. Steps are therefore sets of s-sets of cardinality 2n12^{n}-1 where nn is the number of agents in Agt\mathrm{Agt}. They are constrained in such a way that whatever action is performed by a subgroup is also performed by a supergroup, and subgroups remaining inactive are treated as performing a skip\mathrm{skip} action. Steps, that is elements of StepStep, are denoted by s1,s2,s_{1},s_{2},\ldots.

In order to provide a semantics for sequential expressions the concept of synchronicity trace (s-trace) is needed. Notice that this concept uses steps instead of s-sets like in [28, 12].

Definition 6

(s-trace) The set 𝒯\mathcal{T} of s-traces is defined as follows:

𝒯={s1,,sn,|s1,,sn,𝒮}.\mathcal{T}=\{\left\langle s_{1},...,s_{n},...\right\rangle|s_{1},...,s_{n},...\in\mathcal{S}\}.

The length of an s-trace tt is denoted by dur(t)dur(t). We assume dur(t)dur(t) to be finite.

An event will be interpreted as a set of s-traces. The range for our interpretation of events is a set \mathcal{E} such that =𝒫(𝒯)\mathcal{E}=\mathcal{P}(\mathcal{T}). Elements of \mathcal{E} (sets of s-traces) are denoted as T1,T2,T_{1},T_{2},\ldots The length dur(T)dur(T) of a set TT is defined as max{dur(t)|tT}max\{dur(t)|t\in T\}. We stipulate the length of the empty set to be dur()=1dur(\emptyset)=1.

We can now introduce the operations that constitute the semantic counterpart of our syntactic operators.

Definition 7

(Operations on events)
Let T1,T2𝒯T_{1},T_{2}\in\mathcal{T}:

T1T2\displaystyle T_{1}\circ T_{2} =\displaystyle= {t1t2|t1T1,t2T2}\displaystyle\{t_{1}\circ t_{2}\ |\ t_{1}\in T_{1},t_{2}\in T_{2}\}
T1T2\displaystyle T_{1}\doublecap T_{2} =\displaystyle= {t1t2|t1T1,t2T2}\displaystyle\bigcup\{t_{1}\doublecap t_{2}\ |\ t_{1}\in T_{1},t_{2}\in T_{2}\}
T1T2\displaystyle T_{1}\doublecup T_{2} =\displaystyle= T1T2({t1t2|t1T1,t2T2andt1t2})\displaystyle T_{1}\cup T_{2}-(\bigcup\{t_{1}\doublecap t_{2}\ |\ t_{1}\in T_{1},t_{2}\in T_{2}\ \ \mbox{and}\ \ t_{1}\neq t_{2}\})
T~\displaystyle\tilde{T} =\displaystyle= {ifT,T~={s~|sT}ifT=,T~=Step\displaystyle\left\{\begin{array}[]{ll}\mbox{if}\ \ T\neq\emptyset,&\tilde{T}=\doublecap\{\tilde{s}\ |\ s\in T\}\\ \mbox{if}\ \ T=\emptyset,&\tilde{T}=Step\end{array}\right.

Where:

  • t1t2t_{1}\circ t_{2} is defined as follows: if t1=s1,,snt_{1}=\left\langle s_{1},...,s_{n}\right\rangle and t2=s1,,smt_{2}=\left\langle s_{1}^{\prime},...,s_{m}^{\prime}\right\rangle then, t1t2=s1,,sn,s1,,smt_{1}\circ t_{2}=\left\langle s_{1},...,s_{n},s_{1}^{\prime},...,s_{m}^{\prime}\right\rangle.

  • t1t2t_{1}\doublecap t_{2} is defined as follows: t1t2={t1ift2start(t1)t2ift1start(t2)otherwiset_{1}\doublecap t_{2}=\left\{\begin{array}[]{ll}t_{1}\ \ \mbox{if}\ \ t_{2}\in start(t_{1})\\ t_{2}\ \ \mbox{if}\ \ t_{1}\in start(t_{2})\\ \emptyset\ \ \mbox{otherwise}\end{array}\right.

    The function startstart associates to a given s-trace all its starting possible s-traces.

  • t~\tilde{t} is defined as follows: t~=1ndur(t)s1,,sn~\tilde{t}=\bigcup_{1\leq n\leq dur(t)}\left\langle s_{1},...,\tilde{s_{n}}\right\rangle, where s~=Step{s}\tilde{s}=Step-\{s\}333Negation of sequences constitutes a delicate matter. For a deeper discussion of this issue we refer to [12]..

Intuitively, we want \doublecup to yield the property: aa+a;ba\equiv a+a;b for event expressions, because the choice states that we know at least aa will be performed and after that it is can be anything (because the first choice does not specify anything after aa). In order to establish this property we cannot just use a union of the sets of s-traces representing aa and a;ba;b but have to do some ”cleaning up” by subtracting superfluous parts.

The semantics of events are obtained by means of a function :Evt\llbracket\ \rrbracket:Evt\longrightarrow\mathcal{E} such that:

Definition 8

(Semantics of events)

A:a¯\displaystyle\llbracket A:\underline{a}\rrbracket =\displaystyle= {s|SAs,aact(SA)}\displaystyle\{s\ |\ S_{A}\in s,a\in act(S_{A})\}
ξ1;ξ2\displaystyle\llbracket\xi_{1};\xi_{2}\rrbracket =\displaystyle= ξ1ξ2\displaystyle\llbracket\xi_{1}\rrbracket\circ\llbracket\xi_{2}\rrbracket
ξ1+ξ2\displaystyle\llbracket\xi_{1}+\xi_{2}\rrbracket =\displaystyle= ξ1ξ2\displaystyle\llbracket\xi_{1}\rrbracket\doublecup\llbracket\xi_{2}\rrbracket
ξ1&ξ2\displaystyle\llbracket\xi_{1}\&\xi_{2}\rrbracket =\displaystyle= ξ1ξ2\displaystyle\llbracket\xi_{1}\rrbracket\doublecap\llbracket\xi_{2}\rrbracket
ξ¯\displaystyle\llbracket\overline{\xi}\rrbracket =\displaystyle= ξ~\displaystyle\tilde{\llbracket\xi\rrbracket}
skip\displaystyle\llbracket skip\rrbracket =\displaystyle= {skip}.\displaystyle\{\mathrm{skip}\}.

The basic clause stipulates that the meaning of an atomic event consists of the set of steps where that action at least is performed by that specific group of agents.

On the basis of this evaluation for events, an evaluation of groups performing complex actions is obtained:

Definition 9

(Semantics of collective actions)
Let A=AA′′A=A^{\prime}\cup A^{\prime\prime} then

A:α1;α2\displaystyle\llbracket A:\alpha_{1};\alpha_{2}\rrbracket =\displaystyle= A:α1A′′:α2\displaystyle\llbracket A^{\prime}:\alpha_{1}\rrbracket\circ\llbracket A^{\prime\prime}:\alpha_{2}\rrbracket
A:α1+α2\displaystyle\llbracket A:\alpha_{1}+\alpha_{2}\rrbracket =\displaystyle= A:α1A′′:α2\displaystyle\llbracket A^{\prime}:\alpha_{1}\rrbracket\doublecup\llbracket A^{\prime\prime}:\alpha_{2}\rrbracket
A:α1&α2\displaystyle\llbracket A:\alpha_{1}\&\alpha_{2}\rrbracket =\displaystyle= A:α1A′′:α2\displaystyle\llbracket A^{\prime}:\alpha_{1}\rrbracket\doublecap\llbracket A^{\prime\prime}:\alpha_{2}\rrbracket
A:α¯\displaystyle\llbracket A:\overline{\alpha^{\prime}}\rrbracket =\displaystyle= A:α¯.\displaystyle\llbracket\overline{A:\alpha^{\prime}}\rrbracket.

Thus if we indicate that a group AA performs an action α\alpha we explicitly do not differentiate who performs what part of that action. If we want to be more specific we can indicate the specific group performing a sub-action with that sub-action directly.It should be noted that we do not have by definition that A:α1A:α2=A:α1α2A:\alpha_{1}\circ A:\alpha_{2}=A:\alpha_{1}\circ\alpha_{2} (with \circ being any of the operators connecting actions). E.g. if Fred and the children drive to school they perform the whole action together, but Fred is doing the driving and the children doing the passive passenger actions:

Fred:drive&{Marco,Claire}:sit{Fred,Marco,Claire}:(drive&sit)Fred:drive\&\{Marco,Claire\}:sit\not\equiv\{Fred,Marco,Claire\}:(drive\&sit)

To connect this interpretation of events to a possible world semantics a function R:×𝕎𝕎R:\mathcal{E}\times\mathbb{W}\longrightarrow\mathcal{\mathbb{W}} is defined, which couples events with state-transitions.

Definition 10

(Function RR)
R(T,w1)={w2|tTs.t.w2=R(t,w1)}R(T,w_{1})=\{w_{2}\ |\ \exists t\in T\ \ \mbox{s.t.}\ \ w_{2}=R(t,w_{1})\}
where RR on transitions is inductively defined as follows:

R(s1,w1)\displaystyle R(s_{1},w_{1}) =\displaystyle= r(s1,w1)\displaystyle r(s_{1},w_{1})
R(t1t2,w1)\displaystyle R(t_{1}\circ t_{2},w_{1}) =\displaystyle= R(t2,R(t1,w1)).\displaystyle R(t_{2},R(t_{1},w_{1})).

and r:𝒮×𝕎𝕎r:\mathcal{S}\times\mathbb{W}\longrightarrow\mathbb{W}, that is a function that, given a state, returns the following state reachable through a given synchronicity set, and such that r({skip},w)=wr(\{\mathrm{skip}\},w)=w.

This concludes the complex semantics of actions and sequences of actions performed by individuals and groups. Now all ingredients are in place to evaluate formulas.

4.4 Evaluating formulas

The meaning of formulas ϕ\phi in a world ww, given the structure MM, is defined as usual. For space reasons we report here only the dynamic clauses, the belief clauses and the DONEDONE and DODO unary operators.

Definition 11

(Semantics of assertions)
In the following let dur(ξ1)=1dur(\llbracket\xi_{1}\rrbracket)=1,

M,w1\displaystyle M,w_{1} \displaystyle\models [ξ]ϕiffw2ξR(w1),M,w2ϕ\displaystyle[\xi]\phi\ \ \mbox{iff}\ \ \forall w_{2}\in\llbracket\xi\rrbracket_{R}(w_{1}),M,w_{2}\models\phi
M,w1\displaystyle M,w_{1} \displaystyle\models ξϕiffw2ξR(w1),M,w2ϕ\displaystyle\left\langle\xi\right\rangle\phi\ \ \mbox{iff}\ \ \exists w_{2}\in\llbracket\xi\rrbracket_{R}(w_{1}),M,w_{2}\models\phi
M,w1\displaystyle M,w_{1} \displaystyle\models Cap(i,α)iffa¯α:aCapability(i)\displaystyle Cap(i,\alpha)\ \ \mbox{iff}\ \forall\underline{a}\in\alpha:a\in Capability(i)
M,w1\displaystyle M,w_{1} \displaystyle\models DONE(ξ1)iffw2𝕎,w2w1w1ξ1Rw2\displaystyle DONE(\xi_{1})\ \ \mbox{iff}\ \exists w_{2}\in\mathbb{W},\ w_{2}\prec w_{1}\Rightarrow w_{1}\in\llbracket\xi_{1}\rrbracket_{R}w_{2}
M,w1\displaystyle M,w_{1} \displaystyle\models DONE(ξ;ξ1)iffw2𝕎,w2w1M,w1DONE(ξ1)and\displaystyle DONE(\xi;\xi_{1})\ \ \mbox{iff}\ \ \exists w_{2}\in\mathbb{W},\ w_{2}\prec w_{1}\Rightarrow M,w_{1}\models DONE(\xi_{1})\ \ \mbox{and}
M,w2DONE(ξ)\displaystyle M,w_{2}\models DONE(\xi)
M,w1\displaystyle M,w_{1} \displaystyle\models DO(ξ1)iffw2𝕎,w1w2w2ξRw1\displaystyle DO(\xi_{1})\ \ \mbox{iff}\ \ \forall w_{2}\in\mathbb{W},w_{1}\prec w_{2}\Rightarrow w_{2}\in\llbracket\xi\rrbracket_{R}w_{1}
M,w1\displaystyle M,w_{1} \displaystyle\models DO(ξ1;ξ)iffw2𝕎,w1w2w2ξRw1and\displaystyle DO(\xi_{1};\xi)\ \ \mbox{iff}\ \ \forall w_{2}\in\mathbb{W},w_{1}\prec w_{2}\Rightarrow w_{2}\in\llbracket\xi\rrbracket_{R}w_{1}\ \ \mbox{and}
M,w2DO(ξ)\displaystyle M,w_{2}\models DO(\xi)
M,w1\displaystyle M,w_{1} \displaystyle\models Ba(ϕ)iffw2𝕎,a(w1,w2)M,w2ϕ\displaystyle B_{a}(\phi)\ \ \mbox{iff}\ \ \forall w_{2}\in\mathbb{W},\mathbb{R}_{a}(w_{1},w_{2})\rightarrow M,w_{2}\models\phi
M,w1\displaystyle M,w_{1} \displaystyle\models EBA(ϕ)iffaA,M,w1Ba(ϕ)\displaystyle EB_{A}(\phi)\ \ \mbox{iff}\ \ \forall a\in A,M,w_{1}\models B_{a}(\phi)
M,w1\displaystyle M,w_{1} \displaystyle\models CBA(ϕ)iffM,w1EBA(ϕ)i=2EBAi(ϕ)\displaystyle CB_{A}(\phi)\ \ \mbox{iff}\ \ M,w_{1}\models EB_{A}(\phi)\wedge_{i=2}^{\infty}EB_{A}^{i}(\phi)
M,w1\displaystyle M,w_{1} \displaystyle\models Goala(ϕ)iffw2𝕎,𝔾a(w1,w2)M,w2ϕ\displaystyle Goal_{a}(\phi)\ \ \mbox{iff}\ \ \forall w_{2}\in\mathbb{W},\mathbb{G}_{a}(w_{1},w_{2})\rightarrow M,w_{2}\models\phi

Informally, a sentence [ξ]ϕ[\xi]\phi (ξϕ\left\langle\xi\right\rangle\phi) is true in ww iff ϕ\phi is true in every world (respectively in at least one world) accessible through a performance of ξ\xi. An agent ii is capable of performing an action α\alpha if all the atomic actions that α\alpha is composed of are part of the capabilities of ii. Sentences DONE(ξ)DONE(\xi) are evaluated as true in a world ww iff that world may be reached from wnw_{n} performing ξ\xi, and ξ\xi is actually performed in wnw_{n} and all intermediate worlds wiw_{i} are reachable from wnw_{n} performing starting sequences of ξ\llbracket\xi\rrbracket of length nin-i along the \prec ordering. The semantics of DO(ξ)DO(\xi) is very similar, but then forward directed. Note that if DO(ξ)DO(\xi) is true it does not imply that this is the only thing that is happening. It just means that ξ\xi will be done for certain.
The last assertions are about beliefs, everyone believes and common beliefs. Everyone in a group AA believes ϕ\phi if they all individually believe ϕ\phi. There is a common belief in ϕ\phi if they all believe in ϕ\phi and also believe that they all believe in ϕ\phi etc. These are the common definitions of the belief modalities (see e.g. [29]).

4.5 Some additional constructs

In addition to the above definitions we use DO(a,b¯,α(A))DO(a,\underline{b},\alpha(A)) and DONE(a,b¯,α(A))DONE(a,\underline{b},\alpha(A)) to denote that aa performs action b¯\underline{b} as part of the group AA in order to perform α\alpha together. The definition of these constructs is given as follows.

Definition 12

(Acting as part of a group)
Let aAa\in A and A=AaA^{\prime}=A\\ a and let b¯act(α)\underline{b}\in act(\alpha) then

M,wDO(a,b¯,α(A))iffM,wDO(a:b¯)DO(A:α)\displaystyle M,w\models DO(a,\underline{b},\alpha(A))\ \mbox{iff}\ M,w\models DO(a:\underline{b})\wedge DO(A:\alpha)
M,wDONE(a,b¯,α(A))iffM,wDONE(a:b¯)DONE(A:α)\displaystyle M,w\models DONE(a,\underline{b},\alpha(A))\ \mbox{iff}\ M,w\models DONE(a:\underline{b})\wedge DONE(A:\alpha)

Based on the above semantics we can also define a number of operators that are sometimes easy to use as they give different ways to abstract from an action or indicate that an action is possible or attempted. Sometimes we want to refer to the fact that an agent is not just capable, but also able in the present state to perform an action α\alpha, to achieve a certain result ϕ\phi, to attempt to achieve ϕ\phi (HaϕH_{a}\phi) or to see to it that (stit) ϕ\phi (EaϕE_{a}\phi). This is defined as follows.

Definition 13

(Ability, attempt and stit)

M,wGaαiffM,wCap(a,α)<a:α>TM,w\models G_{a}\alpha\;\mbox{iff}\;M,w\models Cap(a,\alpha)\wedge<a:\alpha>T
M,wGaϕiffαM,wCap(a,α)a:αϕM,w\models G_{a}\phi\;\mbox{iff}\;\exists\alpha\ M,w\models Cap(a,\alpha)\wedge\langle a:\alpha\rangle\phi
M,wHaϕiffαM,wDO(a:α)a:αϕM,w\models H_{a}\phi\;\mbox{iff}\;\exists\alpha\;M,w\models\;DO(a:\alpha)\wedge\langle a:\alpha\rangle\phi
M,wEaϕiffαM,wDO(a:α)[a:α]ϕM,w\models E_{a}\phi\;\mbox{iff}\;\exists\alpha\;M,w\models DO(a:\alpha)\wedge[a:\alpha]\phi

These operators can be used to indicate that an actor does not only have the capability to perform an action, but the situation is such that she actually could perform it. So, this is an easy way to indicate that all preconditions of an action are fulfilled. The attempt operator is used in cases where the outcome of an action is depending on other actors or the environment. In a social practice it can be important that even though a result was not achieved it is known that it was attempted. Because that means that the actors tried to keep to the social practice, but just were unable to do their part. This can have different consequences than when actors just don’t do what they were expected or ought to have done.

5 Formalizing Social Practices

Given the formal logic developed in the previous section we can now give a formal account of the elements of social practices as we have sketched in section 3. We should point out that we actually formalize the instances of social practices. For some elements there will be no difference between the social practice and its instances (e.g. the meanings are the same for all instances of a social practice), but e.g. the start and end conditions refer to the conditions of a particular instance. In the next section we will get back to this issue and indicate how we go from the description of instances of social practices to the social practices themselves. Although the basics of the logic are all given we will introduce some new constructs when needed, but always based on the same Kripke models as already introduced. There are a lot of definitions needed to describe all elements in the logical formalism. Unfortunately, the logical definitions have to be built up from basic building blocks towards the more complex elements in the social practice and thus do not completely follow the parts as used in the description of social practices used in figure 1. So, for ease of reference we have linked the definitions from this section to figure 1 such that it becomes clear where the definitions are needed for.

The first thing that has to be established when performing a social practice is that the social practice is “active”. I.e. the start condition was true and the end condition is not yet true. These two elements are part of the expectations of a social practice rather than the context of it. In the context of the social practice we specify things that can be assumed to be available during the social practice, while the start and end conditions define the boundaries of the social practice. This will be especially important when effects of an action depend on the context. E.g. the effect of raising your hand can be different in an auction and in a classroom. Intuitively a context stands for a temporal and spatially defined interval within which an action takes place, such as ”the lunch break in the dining room of the school”.

There is a vast amount of literature on reasoning in context. We will not tap on this literature, because we mainly use contexts (in this paper) as reference structures needed to specialize interaction expectations and beliefs. Every social practice can also function as a context by using only those parts that give temporal and spatial restrictions on the actions and agents.
We extend the language \mathcal{L} with a set C={c1,,cn}C=\{c_{1},...,c_{n}\} of special context constants (or names). We use these constants to identify social practices as well. Thus, let SPSP be the set of social practice identifiers then: SPCSP\subset C. (Thus every social practice is a context, but not every context is a social practice). We have the following definitions on contexts:

Definition 14

(Context)

cU𝕎\llbracket c\rrbracket\equiv U\subset\mathbb{W}

such that connected(U,)connected(U,\prec), i.e. UU is a connected graph using \prec as links between the worlds.

We explicitly do not have closedness of this set under combinations of contexts in any way! We also do not assume that any combination of specifications of temporal and spatial intervals defines a context.

Because \prec defines a partial order on UU we can define:

Definition 15

(Start and End of contexts)
Let UU be the set of worlds associated with a context cc then

start(U)={w|¬wU:ww}start(U)=\{w|\neg\exists w^{\prime}\in U:w^{\prime}\prec w\}
end(U)={w|¬wU:ww}end(U)=\{w|\neg\exists w^{\prime}\in U:w\prec w^{\prime}\}

With these definitions we can now define the start and end conditions of a social practice.

Definition 16

(Start Condition (SC) and End Condition (EC))
If spisp_{i} is a social practice then

M,wM,w\models SC(spi,ϕ)iffSC(sp_{i},\phi)\ \mbox{iff}
wstart(spi)M,wϕandw′′start(spi)M,w¬ϕ\forall w^{\prime}\in start(\llbracket sp_{i}\rrbracket)M,w^{\prime}\models\phi\ {\rm and}\ \forall w^{\prime\prime}\not\in start(\llbracket sp_{i}\rrbracket)M,w^{\prime}\models\neg\phi
M,wM,w\models EC(spi,ϕ)iffEC(sp_{i},\phi)\ \mbox{iff}
wend(spi)M,wϕandw′′end(spi)M,w¬ϕ\forall w^{\prime}\in end(\llbracket sp_{i}\rrbracket)M,w^{\prime}\models\phi\ {\rm and}\ \forall w^{\prime\prime}\not\in end(\llbracket sp_{i}\rrbracket)M,w^{\prime}\models\neg\phi

Intuitively this definition just states that the start condition SCSC should hold at the start (and only at the start) of the social practice and the end condition ECEC at the end (and only at the end) of the social practice. We also define that a social practice is active which is handy later on.

Definition 17

(Active Social Practices)

M,wactive(sp)iffwspM,w\models active(sp)\ \mbox{iff}\ w\in\llbracket sp\rrbracket

Let AspA_{sp} be the set of actors in spsp then we have the following axiom

M,wactive(sp)CBAsp(active(sp))M,w\models active(sp)\rightarrow CB_{A_{sp}}(active(sp))

I.e. when a social practice is active the actors involved in it believe that it is active. The set AspAgtA_{sp}\subset Agt is defined for each context as the set of actors that is involved. Not necessarily every actor needs to perform an action. Some actors might just be observing or receiving messages.

In general it can be the case that more than one context is active when an actor performs an action. This is not always a problem, but especially for concepts like expectations we want to have a unique context to narrow down (disambiguate) which expectations are relevant. Therefore we also define a function Salient(a:γ,ci)Salient(a:\gamma,c_{i}).

Definition 18

(Salient)

M,wSalient(a:γ,ci)iffwciand¬cj:wcjandcjciM,w\models Salient(a:\gamma,c_{i})\ \mbox{iff}\ w\in\llbracket c_{i}\rrbracket\ \mathrm{and}\ \neg\exists c_{j}:w\in\llbracket c_{j}\rrbracket\ \mathrm{and}\ \llbracket c_{j}\rrbracket\subset\llbracket c_{i}\rrbracket

which states that the most salient context that is active for actor aa when performing γ\gamma is the smallest (most specific) context in which it is performed.

Before defining the action related elements of the social practice we first will extend the language with a possibility to talk about roles and actors playing roles. We follow [18] and extend the language \mathcal{L} with play(a,r,c)play(a,r,c) to indicate that actor aa enacts role rr in context cc. E.g. Fred can play the role of driver when taking he children to school. Fred is still also playing the role of father in the larger context of the family life. So, an actor can play several roles at the same time and a role can be played by several actors. E.g. there are several children that play the role of pasenger in the car. We can use play(a,r)play(a,r) when we refer to aa playing the role rr from the salient context cc, which does not have to be mentioned.
The model MM is also extended with a relation rea(a,r,w)rea(a,r,w) that relates the actors with the roles they play in a certain state ww. The semantics of the the construct are given as follows.

Definition 19

(Role playing actors)
We extend the model M with a set of role names for each context cc: RRcRR_{c} and a relation rearea that connects actors to roles in a world, with the constraint that the relation can only exist if the world is part of the context for which the role is defined.

M,wplay(a,r,c)iffrRRcwcrea(a,r,w)M,w\models play(a,r,c)\ \mbox{iff}\ r\in RR_{c}\wedge w\in\llbracket c\rrbracket\wedge rea(a,r,w)

Having roles defined makes it possible to talk about the set of agents playing a role. Therefore we can now use the following abreviation. Let rRRcr\in RR_{c} then

r:γA{a|play(a,r,c)}andA:γr:\gamma\ \equiv\ \exists A\subset\{a|play(a,r,c)\}\ {\rm and}\ A:\gamma

So, we can say that a role performs an action, meaning that some subset of the actors playing that role perform the action. Thus, in all places where we use abstract actions, we can now also have that a role is performing such an abstract action. It allows for a step between a very specific group of actors performing an action and any group of actors performing that action. This is something that appears very often in social practices, because many actions are supposed to be taken by some actor playing a particular role. E.g. the parent is supposed to drive the car with the children to school. It does not matter which parent it is, but it should be one of them and not a child.

Based on all the previous definitions we now start to define the purpose of a social practice and plan patterns of a social practice. We start with the purpose of an action (and a social practice). The intuitive meaning of the purpose of an action is the reason for which the action is performed in the social practice. It is part of the intended and actual result of the action and thus indicates that the action is performed with the goal of achieving that part of the result. E.g. when a lecturer raises her hand the students stop talking, which is the purpose of raising her hand. However, after the action her hand is also raised, which was intended, but not the purpose of the action.

Definition 20

(Purpose of a basic action)
The purpose of a basic action α\alpha performed by aAca\in A_{c} in a context cc, where AcA_{c} is the set of all actors present in cc is defined as

M,wpurpose(a:α,c,ϕ)M,w\models purpose(a:\alpha,c,\phi) iff
M,wCBAc((Salient(a:α,c)DO(a:α))Goala(ϕ)Ba([a:α]ϕ))M,w\models CB_{A_{c}}((Salient(a:\alpha,c)\wedge DO(a:\alpha))\rightarrow Goal_{a}(\phi)\wedge B_{a}([a:\alpha]\phi))

Note that aa needs to perform α\alpha, have a belief that α\alpha leads to the achievement of ϕ\phi and also has this ϕ\phi as its goal. Thus we take the meaning of a purposeful action to be that the consequence of that action was intended. In top of all that, aa does this particular action in a context, in the presence of other actors. This means that the fact that aa does action α\alpha is not just an individual thing anymore, but is a common belief among all the actors in that context. This actually says that all actors in a social practice know what is going on and understand why actions are performed by the actors involved. E.g. when Fred drives the car (with the children) to school, he does it with the purpose of getting the children to the school. And both Fred and the children believe that this is his goal in this practice.

If we talk about the general purpose of an action α\alpha in context cc we mean that whenever any actor performs that action we infer that it was done to achieve that purpose. And the same if α\alpha is an abstract action βϕ\beta\phi or α\alpha=+i=1nαi+_{i=1...n}\alpha_{i}

Definition 21

(Purpose of general actions)

M,wpurpose(α,c,ϕ)M,w\models purpose(\alpha,c,\phi) iff
aAc:M,wCBAc((Salient(a:α,c)DO(a:α))Goala(ϕ)Ba([a:α]ϕ))\forall a\in A_{c}:M,w\models CB_{A_{c}}((Salient(a:\alpha,c)\wedge DO(a:\alpha))\rightarrow Goal_{a}(\phi)\wedge B_{a}([a:\alpha]\phi))

and if α\alpha=βϕ\beta\phi=i=1nαi\cup_{i=1...n}\alpha_{i} then purpose(α,c,ϕ)αi:purpose(αi,c,ϕ)purpose(\alpha,c,\phi)\equiv\forall\alpha_{i}:purpose(\alpha_{i},c,\phi)

We have similar definitions for the purpose of complex actions.

Definition 22

(Purpose of complex actions)
Let γActExp\gamma\in ActExp then

M,wM,w\models purpose(a,γ,c,ϕ)purpose(a,\gamma,c,\phi) iff
αiaction(γ):M,w\forall\alpha_{i}\in action(\gamma):M,w\models CBAc(Salient(a:γ,c)DO(a:αi)CB_{A_{c}}(Salient(a:\gamma,c)\wedge DO(a:\alpha_{i})\rightarrow
Goala(ϕ)Ba([a:γ]ϕ))Goal_{a}(\phi)\wedge B_{a}([a:\gamma]\phi))

Note that this definition only indicates that the whole sequence γ\gamma leads to ϕ\phi and does not restrict exactly which actions are part of that sequence. E.g. The children should be at school before 9am. It does not matter which parent takes them, which car they take, or if they go by bike. However, every action is believed to be done because aa has the goal to achieve ϕ\phi. In this way we represent the intuition that each action of the complex action γ\gamma contributes to the goal ϕ\phi.
The idea of the above purposes is close to the notion of landmarks. The use of landmarks in the specification of agent plans and interactions has been proposed by [27, 17]. Formally, landmarks are conjunctions of logical expressions that are true in a state, representing families of protocols. The level of landmark detail determines the degree of actors freedom. In our context we use purposes instead of landmark, because the state is not just a predetermined state that has to be achieved, but it also defines the reason for the interaction and thus drives the commitments, planning, etc, of the participating actors.
We can further generalize the definition of purpose first by allowing the different actions in γ\gamma to be done by different actors aja_{j} from a set of actors AcA_{c}. And we can also abstract altogether from the agency and give the purpose of the complex action γ\gamma. E.g. checking the minutes of the previous meeting at the start of a formal meeting is done for the purpose of creating common ground and agreement about what happened in last meeting.

Definition 23

(Purpose of group and role actions)
Let act(γ)={α1;;αn}act(\gamma)=\{\alpha_{1};...;\alpha_{n}\} and Ac={a1,,am}A_{c}=\{a_{1},...,a_{m}\} and rRRcr\in RR_{c} then

M,wpurpose(Ac,γ,c,ϕ)M,w\models purpose(A_{c},\gamma,c,\phi) iff
αiaj;M,wCBAc(Salient(Ac:γ,c)DO(aj:αi)Goalaj(ϕ)Baj([γ]ϕ))\forall\alpha_{i}\exists a_{j};M,w\models CB_{A_{c}}(Salient(A_{c}:\gamma,c)\wedge DO(a_{j}:\alpha_{i})\rightarrow Goal_{a_{j}}(\phi)\wedge B_{a_{j}}([\gamma]\phi))
M,wpurpose(r,γ,c,ϕ)M,w\models purpose(r,\gamma,c,\phi) iff
αiaj:M,wplay(aj,r,c)\forall\alpha_{i}\exists a_{j}:M,w\models play(a_{j},r,c)\wedge
CBAc(Salient(Ac:γ,c)DO(aj:αi)Goalaj(ϕ)Baj([γ]ϕ)CB_{A_{c}}(Salient(A_{c}:\gamma,c)\wedge DO(a_{j}:\alpha_{i})\rightarrow Goal_{a_{j}}(\phi)\wedge B_{a_{j}}([\gamma]\phi)

The purpose of an abstract sequence of actions δ\delta=i=1nβi\cup_{i=1...n}\beta_{i}:

M,wpurpose(δ,c,ϕ)M,w\models purpose(\delta,c,\phi) iff βiM,wpurpose(βi,c,ϕ)\forall\beta_{i}M,w\models purpose(\beta_{i},c,\phi)

Using all of the definitions above we can now give the definition of the purpose of a social practice.

Definition 24

(Purpose of a Social Practice)
Let cSPc\in SP and let Δ={δ:SCc[δ]ECc}\Delta=\{\delta:SC_{c}\rightarrow[\delta]EC_{c}\} then

M,wpurpose(c,ϕ)M,w\models purpose(c,\phi) iff
δΔ:M,wpurpose(δ,c,ϕ)\forall\delta\in\Delta:M,w\models purpose(\delta,c,\phi)

In other words the purpose of a social practice is ϕ\phi if for all the action sequences from the start to an end of the social practice the purpose of that sequence in the context of the social practice is ϕ\phi.

Using the above definitions we can now finally give a definition of plan patterns in a social practice spsp.

Definition 25

(Plan Patterns Language)
A Plan Pattern of a social practice is an element of the set PP, which is the smallest set closed under

γϕPP\displaystyle\gamma\phi\in PP
γ1ϕ1,γ2ϕ2PPγ1ϕ1+γ2ϕ2PP\displaystyle\gamma_{1}\phi_{1},\gamma_{2}\phi_{2}\in PP\Rightarrow\gamma_{1}\phi_{1}+\gamma_{2}\phi_{2}\in PP
γ1ϕ1,γ2ϕ2PPγ1ϕ1&γ2ϕ2PP\displaystyle\gamma_{1}\phi_{1},\gamma_{2}\phi_{2}\in PP\Rightarrow\gamma_{1}\phi_{1}\&\gamma_{2}\phi_{2}\in PP
γ1ϕ1,γ2ϕ2PPγ1ϕ1;γ2ϕ2PP\displaystyle\gamma_{1}\phi_{1},\gamma_{2}\phi_{2}\in PP\Rightarrow\gamma_{1}\phi_{1};\gamma_{2}\phi_{2}\in PP

By defining the set of PP separately from abstract actions, and enforcing them to be of the specific format γϕ\gamma\phi we can enforce that all plan patterns have the format of an abstract action γ\gamma that achieves a particular goal ϕ\phi. This means that every part of a plan pattern has its own ”objective” or landmark that it aims to achieve. This objective is not a coindicidental formula that happens to be true after performing the action, but is the reason for performing the action. Let γϕ,γ1ϕ1PP\gamma\phi,\gamma_{1}\phi_{1}\in PP then we use γ1ϕ1γϕ\gamma_{1}\phi_{1}\in\gamma\phi if γ1ϕ1\gamma_{1}\phi_{1} occurs in γϕ\gamma\phi. We use st(γϕ)st(\gamma\phi) to refer to the first (complex) pattern of γϕ\gamma\phi. So, if γϕ\gamma\phi=γ1ϕ1;γ2ϕ2\gamma_{1}\phi_{1};\gamma_{2}\phi_{2} then st(γϕ)=γ1ϕ1st(\gamma\phi)=\gamma_{1}\phi_{1}. If γϕ\gamma\phi is constructed using one of the other constructs then st(γϕ)=γϕst(\gamma\phi)=\gamma\phi.
This leads us to the following definition of a plan pattern of a social practice.

Definition 26

(Plan Patterns of Social Practices)
Let spSPsp\in SP and A,A′′AspA^{\prime},A^{\prime\prime}\subset A_{sp} and let Δsp={δ:SCsp[δ]ECsp}\Delta_{sp}=\{\delta:SC_{sp}\rightarrow[\delta]EC_{sp}\}

M,wM,w\models planpattern(γϕ,sp)planpattern(\gamma\phi,sp) iff
γϕΔspand\gamma\phi\in\Delta_{sp}\ \mathrm{and}
purpose(sp,ϕ)and\ purpose(sp,\phi)\ \mathrm{and}
γiϕiγϕ:purpose(γiϕi,sp,ϕi)and\forall\gamma_{i}\phi_{i}\in\gamma\phi:purpose(\gamma_{i}\phi_{i},sp,\phi_{i})\ \mathrm{and}
SC(sp,ϕ)strategy(ϕ,DO(Asp:st(γϕ),sp)andSC(sp,\phi)\rightarrow strategy(\phi,DO(A_{sp}:st(\gamma\phi),sp)\ \mathrm{and}
γ1ϕ1;γ2ϕ2γϕ:\forall\gamma_{1}\phi_{1};\gamma_{2}\phi_{2}\in\gamma\phi:
strategy(DONE(A:γ1ϕ1),DO(A′′:γ2ϕ2),sp)strategy(DONE(A^{\prime}:\gamma_{1}\phi_{1}),DO(A^{\prime\prime}:\gamma_{2}\phi_{2}),sp)

This states that the overall plan pattern must have the same purpose as the social practice and that any sub patterns of the main plan pattern of a social practice are abstract (sequences of) actions for which the purpose in the context of the social practice is to reach the formula ϕ\phi associated with that abstract action. Moreover, the plan pattern starts automatically when the start condition of the social practice is true and all actors involved have a common belief that the social practice is active. And if the plan pattern specifies two abstract actions in a sequence there is an expectation that when the first part is done (by a subset BB of the agents) the second abstract action will be done. (See further down in this section for more explanation on the strategy relation). The following figure shows a graphical representation of a plan pattern for taking the children to school.

Refer to caption
Figure 2: Plan Pattern for taking kids to school

This plan pattern can be describe formally by first describing the pattern as a combination of the basic complex actions that constitute this pattern.

γϕ=γ1ϕ1;((γ2ϕ2;γ3ϕ3;γ4ϕ4)+γ5ϕ5)\gamma\phi=\gamma_{1}\phi_{1};((\gamma_{2}\phi_{2};\gamma_{3}\phi_{3};\gamma_{4}\phi_{4})+\gamma_{5}\phi_{5})

where:

γ1\gamma_{1} = get-kids & get-bags and ϕ1\phi_{1} = kids-with-bags-ready
γ2\gamma_{2} = everyone-gets-in-car;drive-car and ϕ2\phi_{2} = car-at-school
γ3\gamma_{3} = park-car and ϕ3\phi_{3} = car-at-safe-place
γ4\gamma_{4} = kids-out-car;kids-go-school and ϕ4\phi_{4} = kids-at-school
γ5\gamma_{5} = kids-go-neighbour;neighbour-drives-to-school and ϕ4\phi_{4} = kids-at-school
ϕ\phi = kids-are-safe \wedge kids-at-school \wedge time before 9:00

Notice that each of the parts itself usually is again a complex action involving many actions of different actors. However, within these parts (or phases) we do not have to have a specific purpose for each action anymore and thus there is more freedom on how to fill it in. Notice as well that there is no prescribed level of detail. The more detailed the plan pattern parts are made, the more fixed becomes the interaction. The bigger the phases are the more freedom for the actors to fill in these phases as they like (fits their own goals).

Many elements of the social practice can be seen as expressing a kind of expectation. As stated before expectations with social practices come in different forms. The plan patterns can be seen as expectations because they indicate the general patterns of behavior that are expected. However, we also have more specific expectations. Although not all parts of a social practice are fixed there are some points where specific types of actions are expected. E.g. if in a greeting practice one person extends his hand it is expected that the other person shakes the hand. We use the ADICO grammar proposed by Ostrom to specify rules, norms, and strategies [6]. ADICO statements are formed using the following five components: Attribute (or Acting entity), Deontic, aIm (or Intention), Condition , and Or else (or sanction). In ADICO Strategies are statements including only the acting entity, intention, and condition (AIC); Norms include the acting entity, deontic, intention, and condition (ADIC); and Rules include all 5 components (ADICO). The norms and startegies as described through the ADICO grammar can nicely be formalized using the logic that we already presented. We start with defining strategies.

Definition 27

(Strategies)
Let γActExp\gamma\in ActExp and let BAspB\subset A_{sp} be a set of actors (possibly one)

M,wstrategy(ϕ,DO(B:γ),sp)M,w\models strategy(\phi,DO(B:\gamma),sp) iff
M,wCBAsp(CBB(ϕ))CBAsp(active(sp))CBAsp(DO(B:γ))M,w\models CB_{A_{sp}}(CB_{B}(\phi))\wedge CB_{A_{sp}}(active(sp))\rightarrow CB_{A_{sp}}(DO(B:\gamma))

Thus if all actors (involved in the social practice spsp) believe that the social practice is active and BB believes the condition ϕ\phi then they all believe that all actors in BB will perform their part of γ\gamma next. When the condition ϕ\phi is of the form DO(C:γ1)DO(C:\gamma_{1}) or DONE(C:γ1)DONE(C:\gamma_{1}) the strategy indicates a synchronization or sequencing of actions repsectively. If ϕ\phi is representing some state to be true it is expected that BB takes the initiative to perform some action when a certain state is reached.
Note that the above definition entails that if actor aBa\in B then she believes that if she does her own part of γ\gamma the rest of BB will do their part of γ\gamma.
Instead of the DO(B:γ)DO(B:\gamma) it is also possible to use the weaker HB(DONE(B:γ))H_{B}(DONE(B:\gamma)) which means that BB is attempting to perform γ\gamma, but the outcome is not guaranteed. The strategies in a social practice are mostly used to define small parts of the interaction that always are done in the same way and thus have a kind of fixed protocol. E.g if a child in class raises her hand then the teacher will respond and ask what she wants. This can happen at any time and thus is not bound by the plan pattern, but it can fill in part of the plan pattern, of course. As we have seen in the definition of plan patterns, the strategies are also used to make sure the social practice moves from one phase of the plan pattern to the next (without having to explicitly coordinate this). E.g. when the children and the parent are in the car, they start driving to school.

As stated before norms are also a kind of expectations. However, instead of a belief that an action will be taken they lead to a normative statement that an action should be taken. Based on the dynamic logic we can define obligations, prohibitions and permissions very easily as follows.

Definition 28

(Deontic operators)

O(A:γ)=[A:γ¯]V\displaystyle O(A:\gamma)=[\overline{A:\gamma}]V
F(A:γ)=[A:γ]V\displaystyle F(A:\gamma)=[A:\gamma]V
P(A:γ)=¬[A:γ]V\displaystyle P(A:\gamma)=\neg[A:\gamma]V

In the context of social practices, the norms are connected to the roles of the social practice. Thus any actor that enacts a role in the social practice should follow the norms specified for that role. So, the definition of norms following the ADICO framework is as follows.

Definition 29

(Norms)

M,wO(r,ϕ,γ,ρ)M,w\models O(r,\phi,\gamma,\rho) iff
M,wa:play(a,r)Ba(ϕ)(O(a:γ)[a:γ¯]O(a:ρ)M,w\models\forall a:play(a,r)\wedge B_{a}(\phi)\rightarrow(O(a:\gamma)\wedge[\overline{a:\gamma}]O(a:\rho)
M,wF(r,ϕ,γ,ρ)M,w\models F(r,\phi,\gamma,\rho) iff
M,wa:play(a,r)Ba(ϕ)F(a:γ)[a:γ]O(a:ρ)M,w\models\forall a:play(a,r)\wedge B_{a}(\phi)\rightarrow F(a:\gamma)\wedge[a:\gamma]O(a:\rho)
M,wP(r,ϕ,γ,ρ)M,w\models P(r,\phi,\gamma,\rho)  iff  M,wa:play(a,r)Ba(ϕ)P(a:γ)M,w\models\forall a:play(a,r)\wedge B_{a}(\phi)\rightarrow P(a:\gamma)

Looking at the definition of the norms more closely reveals that they are still somewhat simple. The obligations have to be fulfilled the moment they become active. In normal life when an obligation becomes active one has some time to react and fulfill it. In early work [14] we have already shown how to model some temporal aspects into the norms while using the dynamic logic as underlying formalism. Of course, it is easier to express temporal properties, like deadlines, using temporal logic as basis [11, 15]. We leave the current version as a placeholder for more complex formalizations that could be inserted when necessary.

Besides the above elements that are used in several parts of the formal representation of social practices we also have some more ontological elements that are used to describe meanings and resources. First of all we extend the language \mathcal{L} with the counts-as relation countsas(c,r:α1,α2)countsas(c,r:\alpha_{1},\alpha_{2}) to mean that if any actor is performing action α1\alpha_{1} in context cc in the role of rr this is seen as performing action α2\alpha_{2}. E.g. the lecturer raising her hand counts as starting the lecture. The semantics of this construct is given as a kind of ”is-a” relation within context. This is a kind of simple form of the formal definition of this concept as given in [22]. In this work also relations between contexts are taken into account as well as combinations of concepts. Within the context of social practices the ”is-a” feature that connects the physical actions with social actions and their effects is the only thing we need. We still use the ”counts-as” term in order to keep further connections with the more elaborate work as from [22] possible for future work.

Definition 30

(Counts-as)

M,wM,w\models countsas(c,r:α1,α2)countsas(c,r:\alpha_{1},\alpha_{2}) iff
wc:a:rea(a,r,w)\forall w^{\prime}\in\llbracket c\rrbracket:\forall a:rea(a,r,w^{\prime})
M,w[α2]ϕM,w^{\prime}\models[\alpha_{2}]\phi then M,w[a:α1]ϕCBAc([a:α1]ϕ)M,w^{\prime}\models[a:\alpha_{1}]\phi\wedge CB_{A_{c}}([a:\alpha_{1}]\phi)

Given this definition we can substitute α1\alpha_{1} for α2\alpha_{2} wherever it is needed. E.g. if there is an obligation on the lecturer to start the class, then Ann (the lecturer) can fulfill the obligation by raising her hand. The definition does not state that the two actions are equal! It can be (and usually is the case) that α1\alpha_{1} has more effects than α2\alpha_{2}. E.g. by raising her hand Ann starts the class, but now also has her hand up in the air (which is not an effect of starting the class). The last part of the definition of the counts-as ensures that it also is common belief that α1\alpha_{1} performed by someone playing role rr in the context cc has ϕ\phi as effect. This is especially important if the effect is a non-tangible or social effect which is not directly observable. This part makes sure that all actors involved have a common belief on the social effect of actions in a context.

The second concept that we need is the fact that an action is promoting or demoting a certain value. E.g. students talking during a lecture demotes the value of respect. This concept is used to indicate some abstract social effects of actions. Again this relation is context dependent. We extend the language \mathcal{L} with a set of special constants Value={v1,vn}Value=\{v_{1},...v_{n}\} that denote values and promotes(sp,r:α,vi)promotes(sp,r:\alpha,v_{i}) and demotes(sp,r:α,vi)demotes(sp,r:\alpha,v_{i}). It indicates that if an actor plays the role rr and performs the action α\alpha she promotes or demotes the value vv. Again, we will give a very simple semantics for this construct based on a more elaborate characterization of the promotes relation given in [40, 9].

Definition 31

(Promotes and Demotes Value)
We extend the model MM with a set Val={<1,,<n}Val=\{<_{1},...,<_{n}\} of orderings where each <i<_{i} is a partial order on 𝕎\mathbb{W} indicating the preference of the states according to that value.

M,wM,w\models promotes(sp,r:α,vi)iffpromotes(sp,r:\alpha,v_{i})\ \mbox{iff}
wspanda:rea(a,r,w)thenwa:αR<i(w,w)w\in\llbracket sp\rrbracket\ \mbox{and}\ \forall a:rea(a,r,w)\ \mbox{then}\ \forall w^{\prime}\in\llbracket a:\alpha\rrbracket_{R}<_{i}(w,w^{\prime})
M,wM,w\models demotes(sp,r:α,vi)iffdemotes(sp,r:\alpha,v_{i})\ \mbox{iff}
wspanda:rea(a,r,w)thenwa:αR<i(w,w)w\in\llbracket sp\rrbracket\ \mbox{and}\ \forall a:rea(a,r,w)\ \mbox{then}\ \forall w^{\prime}\in\llbracket a:\alpha\rrbracket_{R}<_{i}(w^{\prime},w)

The definition states that an action α\alpha performed by an actor playing role rr promotes (resp. demotes) a value viv_{i} if the action α\alpha leads from state ww to a state ww^{\prime} that is better (resp. worse) according to value viv_{i}.
So values indicate a kind of general preference on the worlds according to the perspective of that value. The promotes predicate indicates the ”value” of actions on the social level and are used to connect the social practice to a wider social context in which certain type of behavior is valued and other behavior is to be avoided. E.g. we are environment conscious and promote sustainable behavior. A social practice taking the children to school by bike will promote this value, while taking them by car demotes this value. However, using the car can promote safety , which also might be important.

Finally we also introduce the concept of affordances here. Affordances are used to describe the type of actions that are normally expected to be performed with an object and can also be used to describe types of objects in an abstract way. E.g. an object that affords to sit (which can be a chair or a bank or …). Again we extend the language \mathcal{L} with a set of special constants Obj={o1,,om}Obj=\{o_{1},...,o_{m}\} denoting the objects and affords(O,α,c)affords(O,\alpha,c) which is the affordance relation stating that the set of objects OObjO\subset Obj affords action α\alpha in context cc. Here we take it that all objects of the set OO together afford the action. The set can consist of zero, one or more elements. If the set is empty, the action does not require any object to be performed. In order to indicate that objects are in the place where the social practice takes place we use the predicate available(O,c)available(O,c). We will not give semantics for these predicates as they should be tied to a theory on geometrical and physical properties of objects, which is not the focus of this paper. Having all these parts in place we can tie affordances, objects and capabilities to the possibility of an action being performed in a certain situation.

Definition 32

(Affordances)
Let O={o1,,om}O=\{o_{1},...,o_{m}\} and OOcO\subset O_{c} then

M,waffords(O,α,c)available(O,c)play(a,r,c)GaαM,w\models affords(O,\alpha,c)\wedge available(O,c)\wedge play(a,r,c)\rightarrow G_{a}\alpha

This states that if the set of objects OO that affords an action α\alpha is available and the actor aa is playing the role rr in the same context then the action can be performed by the agent playing the role. It does not guarantee any postcondition of the action to hold. But for any social practice we can specify the following expectation:

M,wCBAc(affords(O,α,c)available(O,c)play(a,r,c))CBAc(Gaϕ)M,w\models CB_{A_{c}}(affords(O,\alpha,c)\wedge available(O,c)\wedge play(a,r,c))\rightarrow CB_{A_{c}}(G_{a}\phi)

which states that there is a common belief that if all the preconditions hold then it is common belief that the action will lead to some predetermined effects ϕ\phi. This specifies in a very cautious way the postconditions of actions, given the preconditions are fulfilled.

6 Representing and Using Social Practices

In the previous sections we have described all ingredients for representing instances of social practices, which allows us to now formalize all elements of table 1 completely. This leads to table 3.

Refer to caption
Figure 3: Social Practice of taking kids to school

Formally an instance of a social practice can now be defined as as a tuple of all the elements from the table.

We now come back to the fact that this actually describes an instance of a social practice. The fact that we have defined the logic based on a kripke framework fitting dynamic logic, means that we always talk about concrete actions being performed and sequences of actions are between concrete situations that are linked to a specific world. Using our example, we talk about a specific instance of taking the children to school, which is on a specific day, involves specific people and a very specific school. What we now want to do is to generalize over all these instances of a social practice to get a more general (usable) social practice of taking children to school. We do this by defining a social practice in terms of its instances.

Definition 33

(Social Practice)
Let

spi=sp_{i}= (Rspi,Aspi,Ospi,Afspi,Plspi,Pspi,Pvspi,Cospi,PPspi,(R_{sp_{i}},A_{sp_{i}},O_{sp_{i}},Af_{sp_{i}},Pl_{sp_{i}},P_{sp_{i}},Pv_{sp_{i}},Co_{sp_{i}},PP_{sp_{i}},
Nspi,Sspi,SCspi,ECspi,Acspi,Respi)N_{sp_{i}},S_{sp_{i}},SC_{sp_{i}},EC_{sp_{i}},Ac_{sp_{i}},Re_{sp_{i}})

then we say sp is a social practice based on spisp_{i} written as SocialPractice(sp,sp1,,spn)SocialPractice(sp,sp_{1},...,sp_{n}) iff

  1. 1.

    i,j=1n:Rspi=Rspj=Rspand\forall i,j=1...n:R_{sp_{i}}=R_{sp_{j}}=R_{sp}\ {\rm and}
    aiAspi,rRspi:play(ai,r,spi)thenajAspj:play(aj,r,spj)\exists a_{i}\in A_{sp_{i}},r\in R_{sp_{i}}:play(a_{i},r,sp_{i})\ {\rm then}\ \exists a_{j}\in A_{sp_{j}}:play(a_{j},r,sp_{j})

  2. 2.

    i,j=1n:affords(Ok,αl,spi)then\forall i,j=1...n:affords(O_{k},\alpha_{l},sp_{i})\ {\rm then}
    Oq:affords(Oq,αl,spj)andO:affords(O,αl,sp)\exists O_{q}:\ affords(O_{q},\alpha_{l},sp_{j})\ {\rm and}\ \exists O:\ affords(O,\alpha_{l},sp)

  3. 3.

    Psp=i=1nPspiandi=1nPspiP_{sp}=\bigcup_{i}=1...nP_{sp_{i}}\ {\rm and}\ \bigcap_{i}=1...nP_{sp_{i}}\not=\emptyset

  4. 4.

    Pvsp=i=1nPvspiandi=1nPspiPv_{sp}=\bigcup_{i}=1...nPv_{sp_{i}}\ {\rm and}\ \bigcap_{i}=1...nP_{sp_{i}}\not=\emptyset

  5. 5.

    Cosp=i=1nCospiandi=1nPspiCo_{sp}=\bigcup_{i}=1...nCo_{sp_{i}}\ {\rm and}\ \bigcap_{i}=1...nP_{sp_{i}}\not=\emptyset

  6. 6.

    i=1n:PPspi=PPsp\forall i=1...n:PP_{sp_{i}}=PP_{sp}

  7. 7.

    i=1n:Nspi=Nsp\forall i=1...n:N_{sp_{i}}=N_{sp}

  8. 8.

    i=1n:Sspi=Ssp\forall i=1...n:S_{sp_{i}}=S_{sp}

  9. 9.

    SCsp=i=1nSCspiSC_{sp}=\bigvee_{i}=1...nSC_{sp_{i}}

  10. 10.

    ECsp=i=1nECspiEC_{sp}=\bigvee_{i}=1...nEC_{sp_{i}}

  11. 11.

    Acsp=i=1nAcspiAc_{sp}=\bigcup_{i}=1...nAc_{sp_{i}}

  12. 12.

    i=1n:Respi=Resp\forall i=1...n:Re_{sp_{i}}=Re_{sp}

The definition states that the social practice instances should be the same in many respects. For the context we only require that in all practice instances we have the same roles and that if there are actors playing a role there should be actor playing that same role in all other practice instances. This basically states that if a role is relevant in one instance (because an actor plays it) it should be relevant in all other instances. So, we cannot fulfill the requirement of having the set of roles being the same in all instances by just taking all possible roles for all instances. The affordances requirement makes sure that, even if different objects are present in different instances, the same set of actions is afforded by the objects in all instances.
The elements from the meaning block can differ, but need to have a common core. The reason not to have them all equal is that in specific contexts there can be additional values promoted or actions used for social effects.
The plan patterns, norms and strategies should be the same for all instances. They are already abstracting away from specific actions. So, different instances might have different ways of following the plan pattern, but they all follow the same pattern.
The start conditions and end conditions were made very specific to fit each instance. Therefore they have to be generalized (by taking the disjunctions of all of them) to generate the start and end conditions of the general social practice. The same holds for the actions that can be expected. these can be very specific for different instances. The disjunction allows to generalize over the specifics of each instance.
Finally, the requirements on competences should be such that they are the same for all instances. These are assumptions that are used by the actors participating in the social practice and should thus not differ between instances.

6.1 Properties and Use of Social Practices

Given the large amount of definitions on social practice elements we can now also define a number of properties of social practices. We start with three properties of the social practices that are not necessarily guaranteed by the formalism, but are required for the social practice to be useful. In the following we use Δsp={δ:δPPspSCsp[δ]ECsp}\Delta_{sp}=\{\delta:\delta\in PP_{sp}\wedge SC_{sp}\rightarrow[\delta]EC_{sp}\}.

Definition 34

(Feasible Social Practice)
A social practice spsp is feasible (feasible(sp)\emph{feasible}(sp)) iff:

γϕΔspandαiγϕ:aAsp:Gaαi\exists\gamma\phi\in\Delta_{sp}\ {\rm and}\forall\alpha_{i}\in\gamma\phi:\exists a\in A_{sp}:G_{a}\alpha_{i}

This states that there is at least one sequence of actions from start to end conditions such that it follows the plan pattern of the social practice and every action can be performed by some actor (notice we don’t state that cap(a,αi)cap(a,\alpha_{i}) but the stronger Ga(αi)G_{a}(\alpha_{i})). This means that there is a way to execute the social practice. This is the minimum that we would like. But it would also be nice if one could execute the social practice without violating any of the norms connected to the social practice.

Definition 35

(Normative SP)
A social practice spsp is normative (normative(sp)\emph{normative}(sp)) iff:

feasible(sp)feasible(sp)\wedge
γϕΔspandαiγϕ:(¬(F(r,ϕi,αi,ρi)ϕiDO(r:αi))\exists\gamma\phi\in\Delta_{sp}\ {\rm and}\forall\alpha_{i}\in\gamma\phi:(\neg(F(r,\phi_{i},\alpha_{i},\rho_{i})\wedge\phi_{i}\wedge DO(r:\alpha_{i}))\wedge
O(r,ϕi,αi,ρi)ϕiDO(r:αi)O(r,\phi_{i},\alpha_{i},\rho_{i})\wedge\phi_{i}\rightarrow DO(r:\alpha_{i})

This just states that there is a way to execute the social practice without violating any of the norms of the social practice whenever the norms are active. Notice that actions might be obliged or prohibited during the social practice, but have no influence if their activation condition is not true at that moment.
The next definition states that we have completely defined the relation between the physical and social parts of the actions. In order to define this we have to split our states into a social and physical part w=<wp,ws>w=<w_{p},w_{s}> (or brute facts and social facts as Searle calls them [36]).We call a formula ϕ\phi social (social(ϕ)social(\phi)) iff

M,<wp,ws>ϕM,wsϕM,<w_{p},w_{s}>\models\phi\equiv M,w_{s}\models\phi

The social formulas decribe the social world, which is only indirect observable. This means that we only know the formula is true because we have seen action that has this formula as social effect. Completeness of a social practice means that all social formulas that are part of a purpose in the plan pattern of the social practice are either a direct effect of an action or a (social) effect of an action connected to an action with a count-as relation.

Definition 36

(Complete SP)
A social practice spsp is complete (complete(sp)\emph{complete}(sp)) iff:

feasible(sp)feasible(sp)\wedge
If γϕΔspandϕiγϕ:social(ϕi)then\exists\gamma\phi\in\Delta_{sp}\ {\rm and}\forall\phi_{i}\in\gamma\phi:social(\phi_{i})\ {\rm then}
γiγϕ:[γi]ϕiorαiγϕ:countsas(sp,r:αi,αj,c)and[αj]ϕi\exists\gamma_{i}\in\gamma\phi:[\gamma_{i}]\phi_{i}\ {\rm or}\ \exists\alpha_{i}\in\gamma\phi:countsas(sp,r:\alpha_{i},\alpha_{j},c)\ {\rm and}[\alpha_{j}]\phi_{i}

If a social practice is complete then all the participants in the social practice have a common belief of both the physical as well as social state during the execution of the social practice. The physical state is guaranteed through the common belief on the plan pattern, while the social state can be derived from the combination of actions and the social effects of the social actions connected to them through the counts-as relation as shown in figure 4

Refer to caption
Figure 4: parallel social and physical effects

In the remainder of this section, we will briefly describe how an actor can use social practices to deliberate about its context and plan its actions. It should be emphasized that:

  1. 1.

    A social practice is not a very complex but complete specification of an interaction. It is a rich source of information of elements that can be used by actors to plan their interactions with some guaranteed outcomes if they follow the plan patterns, the strategies and the norms.

  2. 2.

    We make no assumptions about the actors using the social practices. In practice we assume they are actors that use goals and plans to deliberate about their (inter)actions. However, this does not have to be true. Thus the specification is not just an abstraction of an interaction protocol, but rather a specification of interactions with some holes (to be filled by the agents by choosing the fitting specific actions).

In [30] we have shown how a standard Multi-Agent epistemic planner can be used to execute social practices and the effects the use of the social practice has on the efficiency of the planning and the robustness of the plan. Here we just walk through the simple social practice example of taking the children to school given in 1.

Let’s take the perspective of Fred (the father of the children). Assuming this actor to follow a BDI-like architecture, the goal “get the children to school” would be part of the Intentions of Fred. We further assume that both the social practice described in table 1 and the prerequisite knowledge are part of Fred’s beliefs (and of his children). Fred also has the capability to drive a car leading Fred to belief that he could fulfill the role of driver. By using a social practice-based deliberation process, once Fred beliefs to be himself in the context of the social practice of taking the children to school (i.e. if it is 8:30 or breakfast is finished), he can form a plan for taking the children to school, based on the expectations, meaning and activities the social practice describes for actors of role ‘parent’. This plan is very simple, Fred goes to the car, let’s the children in the car, drives to school, parks in the designated parking and lets the children out. While Fred is driving he can interact with the children using strategies and norms. He can choose to enquire about their plans for the day at school or talk about a soccer match or answer questions of the children. Based on the plan pattern of the social practice Fred can conclude that by fulfilling its part, the desired result will be achieved. Very important in this respect is that he can assume the children will e.g. take their bags. Thus Fred does not have to plan for all possible actions or reactions of the children, but can assume a standard behaviour. However, the social practice also indicates that after the first part, the children and the bags are ready. Thus Fred can check if the bags are there as well. Thus the social practice gives focus of attention and gives times at which to check for specific states to hold. The only thing he still needs to plan is the exact route from house to school, which might be standard and directly available or needs to be planned based on some construction work, expected traffic, etc. Now, suppose that Fred does his part and gets in the car, but the car does not start. The social practice now gives some handles on what can be done as well. First of all, the car is an object that affords driving the kids to school. Is there another object with the same affordance? E.g. the car from Madeleine (Fred’s partner) might also be available. Thus Fred can simply replan and take the car of Madeleine.
Social effects are not visible but can be assumed given the social practice. E.g. leaving in time will result in being in time at school and thus showing respect to the teacher. Thus following the social practice successfully also guarantees some social effects, even though these might not be observed directly.

7 Discussion and Conclusions

In this paper we gave a formalization of social practices that aims to support actors planning social interactions. We have briefly shown that feasible social practices can simplify the amount of actions that have to be planned by an actor and that it can make assumptions about interactions with other actors in the social practice without explicitly having to coordinate.

From the paper it has become obvious that social practices are quite complex. They contain many elements that are also interwoven. Would it not be simpler to just use a collection of protocols to regulate the interaction? In some applications this might certainly be true. For interactions between agents in Multi-Agent Systems that are designed for a specific purpose and operate in a stable environment one does not need a sophisticated notion such as social practices. Note that a social practice can collapse into a fixed protocol when the plan pattern describes all specific actions and their intended effects. So, a social practice can be designed to give more or less flexibility.
Social practices become interesting when software agents have to interact in dynamic environments where standard interactions do not always work or when agents interact with humans. The social practices have a level of abstraction from the actual actions to be taken that gives freedom to react to the current situation without crashing the interaction protocol. Due to all the additional information about the context, alternatives can be found, while the expectations give guidance to which alternatives are preferable. Finally, when interacting with humans it pays off to follow the social practice that the human is used to, because humans use social practices most of the time. Thus one can easily make many assumptions on how the human will behave without having to deliberate about them explicitly.
Another important aspect is the automatic social effects of a social practice. It might be possible to fulfill the purpose of a social practice in different ways as well, but following the social practice guarantees certain social effects that the actor does not have to deliberate or plan separately. This becomes very important when interacting with humans, especially if the interaction is a long term one.
We have shown in some very preliminary work how all these aspects can actually be used in implemented systems. In [2] we have shown how social practices can be used to structure natural dialogues. In [10] we have shown how social practices can add value to interactions for social robots.

As we already indicated in the introduction social practices are social constructs that emerge from repeated interactions between people. In some way this feature is replicated in our formalism through the fact that a social practice is associated to the tuple of all its instances. However, where we had to indicate all kinds of constraints on how a social practice relates to its instances, in social practices in human society these constraints are fulfilled by nature of how the social practices themselves emerge from the repeated interactions. The same holds for the properties of social practices. Because we constructed the social practice structure we have to impose a property like ”feasibility”. In human practice the social practice emerges from the instances. Each instance is by definition feasible and thus the abstract social practice by nature is feasible. This type of property is not easily represented using a formal logic. Similarly, the way a social practice is performed will not be a random choice between all allowed action sequences. The more successfull ones will be repeated most. This would lead to a more probabilistic representation of the structure based on experiences. Again this aspect has not yet been explored but could be done by extending the logic with a probabilistic component. However, one might also take the formalized social practice structure as a given basic notion and use a probabilistic formalism to model this aspect of adaptation to the circumstances separately.

An reservation against using social practices for AI systems is that they are very complex and therefore are hard to obtain for real systems. Although we did not specify a methodology for obtaining social practices for AI systems yet, in our experience it is actually relatively simple to sollicit them from the intended users of the system. People are used to social practices and can easily (and precisely) describe their components when asked for them. In top of that one can also observe them when they are enacted and easily infer parts from the paper trails when they are performed in formal organizations. Once there are a number of generic social practices available the AI systems can also learn new social practices based on existing ones. Some preliminary work on this has been set up, but a generally usable tool is part of future work.

Another important area for future work is the development of learning mechanisms that enable efficient matching of sensing information and beliefs to the components of a social practice description. E.g. when we enter a shop we assume there will be a sales person around. Thus we start looking for a person that might fulfill that role. If we give a presentation in a room we start looking for a projector and a cable to connect the laptop. In this way, the fact that we assume we are in a social practice can drive our sensing and perception to find objects and persons or facts that fill in the various elements of that social practice. Especially for social robots that act in a physical, dynamic and open environment this focus of attention supports their coping with complex situations.

We finish this paper by restating that the main goal was to provide an unambiguous and precise account of the concept of social practices for the purpose of using it in social applications of AI systems. We can conclude that we have now a solid basis for the implementation of social practices in many different application areas.

References

  • [1] M. Argyle. Social Interactions. Transaction Publishers, USA, 2009.
  • [2] Agnese Augello, Manuel Gentile, and Frank Dignum. Social practices for social driven conversations in serious games. In Alessandro De Gloria and Remco Veltkamp, editors, GALA 2015, pages 100–110. Springer International Publishing, 2016.
  • [3] P. (trans. R. Nice) Bourdieu. Outline of a theory of practice. Cambridge University Press, 1972.
  • [4] Paolo Bresciani, Anna Perini, Paolo Giorgini, Fausto Giunchiglia, and John Mylopoulos. Tropos: An agent-oriented software development methodology. Autonomous Agents and Multi-Agent Systems, 8(3):203–236, 2004.
  • [5] A. Colvin and W. Boswell. The problem of action and interest alignment: Beyond job requirements and incentive compensation. Human Resource Management Review, 17:38–51, 2007.
  • [6] Sue ES Crawford and Elinor Ostrom. A grammar of institutions. American Political Science Review, 89(03):582–600, 1995.
  • [7] M. Dastani. Modular rule-based programming in 2apl. In Adrian Giurca, Dragan Gasevic, and Kuldar Taveter, editors, Handbook of Research on Emerging Rule-Based Languages and Technologies: Open Solutions and Approaches, pages 25–49. IGI Global, 2009.
  • [8] Mehdi Dastani. 2apl: a practical agent programming language. Autonomous agents and multi-agent systems, 16(3):214–248, 2008.
  • [9] F. Dignum. Rules of Social Nature: Be Real, Be Social. Springer, 2019.
  • [10] F. Dignum, A. Clodic, V. Dignum, A. Augello, M. Gentile, J. Vazquez-Salceda, and R. Alami. On the pertinence of social practices for social robotics. In Proceedings of International Conference on Robo Philosophy. IOS Press, 2018.
  • [11] F. Dignum and R. Kuiper. Combining dynamic deontic logic and temporal logic for the specification of deadlines. In R. Sprague Jr., editor, Proceedings of thirtieth HICSS, 1997.
  • [12] F. Dignum and J.-J.Ch. Meyer. Negations of transactions and their use in the specification of dynamic and deontic integrity constraints. In M. Kwiatkowska, M.W. Shields, and R.M. Thomas, editors, Semantics for Concurrency, pages 61–80. Springer-Verlag, 1990.
  • [13] F. Dignum, J.-J.Ch. Meyer, R. Wieringa, and R. Kuiper. A modal approach to intentions, commitments and obligations: Intention plus commitment yields obligation. In M.A. Brown and J. Carmo, editors, Deontic Logic, Agency and Normative Systems, pages 80–97. Springer-Verlag, 1996.
  • [14] F. Dignum, H. Weigand, and E. Verharen. Meeting the deadline: On the formal specification of temporal deontic constraints. In Zbigniew W. Raś and Maciek Michalewicz, editors, Foundations of Intelligent Systems, pages 243–252, Berlin, Heidelberg, 1996. Springer Berlin Heidelberg.
  • [15] Frank Dignum, Jan Broersen, Virginia Dignum, and John-Jules Meyer. Meeting the deadline: Why, when and how. In Michael G. Hinchey, James L. Rash, Walter F. Truszkowski, and Christopher A. Rouff, editors, Formal Approaches to Agent-Based Systems, pages 30–40, Berlin, Heidelberg, 2005. Springer Berlin Heidelberg.
  • [16] V. Dignum. A Model for Organizational Interaction: based on Agents, founded in Logic. SIKS Dissertation Series 2004-1. Utrecht University, 2004. PhD Thesis.
  • [17] Virginia Dignum and Frank Dignum. Coordinating tasks in agent organizations. In Pablo Noriega, Javier Vázquez-Salceda, Guido Boella, Olivier Boissier, Virginia Dignum, Nicoletta Fornara, and Eric Matson, editors, Coordination, Organizations, Institutions, and Norms in Agent Systems II: AAMAS 2006 and ECAI 2006 International Workshops, COIN 2006 Hakodate, Japan, May 9, 2006 Riva del Garda, Italy, August 28, 2006. Revised Selected Papers, pages 32–47, Berlin, Heidelberg, 2007. Springer Berlin Heidelberg.
  • [18] Virginia Dignum and Frank Dignum. A logic of agent organizations. Logic Journal of IGPL, 2011.
  • [19] Virginia Dignum and Frank Dignum. Contextualized planning using social practices. In Aditya Ghose, Nir Oren, Pankaj Telang, and John Thangarajah, editors, Coordination, Organizations, Institutions, and Norms in Agent Systems X, pages 36–52. Springer, 2015.
  • [20] William W Gaver. Situating action ii: Affordances for interaction: The social is material for design. Ecological Psychology, 8(2):111–129, 1996.
  • [21] A. Giddens. Central problems in social theory: Action, structure and contradiction in social analysis. University of California Press, 1979.
  • [22] D. Grossi. Designing Invisible Handcuffs. Formal investigations in institutions and organizations for multi-agent systems. Utrecht University, PhD thesis, 2007.
  • [23] B. Kooi H. van Ditmarsch, W. van der Hoek. Dynamic Epistemic Logic. Springer, 2008.
  • [24] G. Holtz. Generating social practices. JASSS, 17(1):17, 2014.
  • [25] Nicholas R. Jennings. On agent-based software engineering. Artificial Intelligence, 117(2):277 – 296, 2000.
  • [26] Folsom-Kovarik JT. and Schatz S. Ai challenge problem: Scalable models for patterns of life. AI Mag 2014, 35:10––14, 2014.
  • [27] Sanjeev Kumar, Marcus J. Huber, Philip R. Cohen, and David R. McGee. Toward a formalism for conversation protocols using joint intention theory. Computational Intelligence, 18(2):174–228, 2002.
  • [28] J.-J. Ch. Meyer. A different approach to deontic logic: Deontic logic viewed as a variant of dynamic logic. Notre Dame Journal of Formal Logic, 29:109–136, 1988.
  • [29] J.-J. Ch. Meyer and W. van der Hoek. Epistemic Logic for AI and Computer Science. Cambridge University Press, 1995.
  • [30] Tim Miller, Virginia Dignum, and Frank Dignum. Planning for human-agent collaboration using social practices. In First international workshop on socio-cognitive systems at IJCAI 2018, 2018.
  • [31] Marvin Minsky. A framework for representing knowledge. In Allan Collins Edward Smith, editor, Readings in Cognitive Science, pages 156 – 189. Morgan Kaufmann, 1988.
  • [32] Ingmar Pörn. Some basic concepts of action. In Sören Stenlund, Ann-Mari Henschen-Dahlquist, Lars Lindahl, Lennart Nordenfelt, and Jan Odelstad, editors, Logical Theory and Semantic Analysis: Essays Dedicated to STIG KANGER on His Fiftieth Birthday, pages 93–101, Dordrecht, 1974. Springer Netherlands.
  • [33] A. Reckwitz. Toward a theory of social practices. European Journal of Social Theory, 5(2):243–263, 2002.
  • [34] Michael M Richter and Rosina O Weber. Case-based reasoning: a textbook. Springer Berlin, 2013.
  • [35] Theodore R. Schatzki. A Primer on Practices, pages 13–26. SensePublishers, Rotterdam, 2012.
  • [36] John R Searle. The construction of social reality. Simon and Schuster, 1995.
  • [37] E. Shove, M. Pantzar, and M. Watson. The Dynamics of Social Practice. Sage, 2012.
  • [38] Maarten Sierhuis, William J. Clancey, and Ron J.J. van Hoof. Brahms an agent-oriented language for work practice simulation and multi-agent systems development. In Amal El Fallah Seghrouchni, Jurgen Dix, Mehdi Dastani, and Rafael H. Bordini, editors, Multi-Agent Programming:, pages 73–117. Springer US, 2009.
  • [39] Cass R. Sunstein. Social norms and social roles. Columbia Law Review, 96(4):903–968, 1996.
  • [40] T. van der Weide. Arguing to Motivate Decisions. Utrecht University, PhD thesis, 2011.
  • [41] Andreas Zimmermann, Andreas Lorenz, and Reinhard Oppermann. An operational definition of context. In Proceedings of the 6th International and Interdisciplinary Conference on Modeling and Using Context, CONTEXT’07, pages 558–571, Berlin, Heidelberg, 2007. Springer-Verlag.