# Higher-Order Decision Theory^{1}^{1}1We thank the seminar participants at the University of Mannheim, the Dagstuhl Perspectives Workshop “Categorical Methods at the Crossroads”, the Dagstuhl Seminar “Coalgebraic Semantics of Reflexive Economics”, the “Computing in Economics and Finance Conference 2014” in Oslo, the “Cogrow” Workshop in Nijmegen 2014 and the “Logics for Social Behavior” in Den Haag 2014 for helpful comments. Hedges thanks EPSRC, grant EP/K50290X/1, for financial support. Oliva gratefully acknowledegs financial support by the Royal Society through grant 516002.K501/RH/kk. Winschel and Zahn gratefully acknowledge financial support by the Deutsche Forschungsgemeinschaft (DFG) through SFB 884 “Political Economy of Reforms”.

###### Abstract

Classical decision theory models behaviour in terms of utility maximisation where utilities represent rational preference relations over outcomes. However, empirical evidence and theoretical considerations suggest that we need to go beyond this framework. We propose to represent goals by higher-order functions or operators that take other functions as arguments where the max and operators are special cases. Our higher-order functions take a context function as their argument where a context represents a process from actions to outcomes. By that we can define goals being dependent on the actions and the process in addition to outcomes only. This formulation generalises outcome based preferences to context-dependent goals. We show how to uniformly represent within our higher-order framework classical utility maximisation but also various other extensions that have been debated in economics.

JEL codes: B4, C02, D01, D03

Keywords: behavioural economics, foundations of decision theory, Keynes’ beauty contest, process orientation, higher order functions, quantifiers, selection functions

## 1 Introduction

Rational choice theory provides an elegant and succinct framework in order to model individual choices. The representation of agents’ goals and their choices as utility maximisation has created a rich theory that is flexible and has vast applications. Despite its importance, rational choice theory does have its limitations. These limitations are conceptual as well as empirical and they are well documented in the literature.

The standard mathematical representation of goals as rational preference relations^{2}^{2}2Typically, a preference relation is defined to be rational, if it is total and transitive, see [11, 15, 10] or alternatively as utility functions, can be too restrictive – useful for many applications but not for all. Several issues have been identified.
Take, for instance, the standard assumption that individuals’ preference relations are complete. There has been a long debate as to whether this is a reasonable requirement, and several solutions have been proposed [1, 3, 13, 14, 17].

Furthermore, there are numerous examples of decision procedures where the agents either do not not fully maximise – like the satisficing behaviour of Herbert Simon – or they may adhere to various decision heuristics which violate for example the assumption of independence of irrelevant alternatives, like menu dependent or second best decision procedures [9, 17].

A fundamental, often implicit, assumption is that people only care about the final outcomes of their decisions. Conceptually, it is not obvious why rational decision makers should be concerned with consequences of their actions only, without considering the action itself [17].

Therefore, given the conceptual and empirical deficiencies, there are good reasons to not limit decision theory to the rational choice paradigm. Many of the proposed solutions, however, only attempt to represent seemingly ‘non-rational’ behaviours as rational ones. This includes the creation of an extended outcome space, where aspects of the decision process are explicitly represented as outcomes [17]. Alternatively, several papers propose to rationalise choice by multiple rationales [9] or to represent the preferences by multivalued utility functions [13, 3]. In all cases, the decision problem is usually artificially manipulated by the economist in order to represent the agent “as if” he would decide given some rational preference relation or maximise a utility function, even if it is clear from the description of the decision process that actually nothing like that takes place.

In this paper we provide a new approach based on higher-order functions
that unifies the behavioural patterns mentioned above with the classical approach based on rational behaviour and utility maximisation.
A higher-order function (or functional) is a function whose domain is itself a set of functions.
This paper relies on a framework that has been developed in computer science [4, 5] as a game theoretical approach to proof theory^{3}^{3}3Proof theory is a branch of mathematical logic which investigates the structure and meaning of formal mathematical proofs. It has been recently discovered that certain proofs of high logical complexity can be interpreted as computer programs which compute equilibria of suitable generalised games..
We extend and apply this approach to decision theory.^{4}^{4}4In the companion paper [7],
we extend the higher-order framework to game theory.

The core concept is that we model agents’ goals as quantifiers, i.e. higher-order functions of type , where is a space of functions from the set of choices to the set of possible outcomes . Quantifiers describe which outcomes an agent considers to be good. A corresponding notion is that of a selection function, i.e. a higher-order function of type which calculates a choice that meets the desired goal. We take functions of type to represent a decision context such that formulating goals as quantifiers boils down to describing the preferred outcomes for any given decision context. The decision of an agent described by a quantifier takes place in a context and by that the agent can take into account the process from actions to outcomes.

Since the operator is a quantifier and the corresponding operator is a selection function, we can show how to instantiate our higher-order approach with these operators such that the usual utility functions and preference relations are instances of our modelling framework.

We also show how our framework captures alternatives to the usual rationality assumption. More specifically, our framework addresses the relevance of the choice act itself since quantifiers and selection functions take the decision context as input such that context-dependent goals can be seamlessly modelled. The outcome space in our formulation of goals can have any arbitrary structure and is not restricted in order to be representable by utility functions (or, equivalently, rational preferences). In particular, we can model preference relations that are incomplete. Moreover, our framework allows to model arbitrary heuristics (e.g. second best choice, median procedure, etc.) directly, without the need for a multivariable representation. Finally, we show that quantifiers themselves can be used to model behaviour directly at the level of higher-order functions. We will show how to represent the abstract concerns of coordination and differentiation as fixpoint operators that are higher-order functions as well. In other words, our framework is able to represent existing models but it can also be used to formulate new ones.

We do not aim to provide an answer to the question of which paradigm should be used in order to model a particular phenomenon. Instead, we introduce our framework such that different approaches can be captured as instances of the same abstraction. Our contribution is to provide a powerful organising framework and a very expressive mathematical language. In this framework we can clarify the relation between different models, highlight their commonalities and differences and allow for their combinations.

The paper is organized as follows: We introduce and explain higher-order functions in the next section. Then, we instantiate rational preferences as well as utility maximisation as special cases in Section 3. In Sections 4 and 5 we introduce a series of deviations from classical choice theory and show how they can be represented by higher-order functions. We conclude in Section 6.

## 2 Agents as Quantifiers

A higher-order function (or functional) is a function whose domain is itself a set of functions. Given sets and we denote by the set of all functions with domain and codomain . A higher-order function is therefore a function where , and are sets.

There are examples of higher-order functions that are well familiar to economists. In case of the maximisation of a utility function

the max operator takes the utility function as its input and returns a real number as the output. Thereore, the operator has type

In a similar vein, the operator is also a higher-order function of a particular type:

where is the set of subsets of . For a given function we have that is the set of points where attains its maximum value.

### 2.1 Agent Context

We want to model an agent in an economic situation or context and formulate his motivations and his choices. We shall model such contexts as mappings that encode for choices in their effects on the outcomes in .

###### Definition 2.1 (Agent context).

We call any function a possible context for the agent who is choosing a move from a set , having in sight a final outcome in a set ,

For instance, could be the set of available flights between two cities, and could be the set of positive real numbers that represent prices. An agent who is interested in choosing a flight having in mind only the cost of the flight will consider the price list as a sufficient context for his decision. If, however, the number of stops (or changes) is an important factor in the decision of the agent, we could take and the agent’s context would then be .

### 2.2 Quantifiers

Suppose the agent has to make a decision in the context . The agent will consider some of the possible outcomes to be good (or acceptable), and others to be bad (or unacceptable). Such choices define a higher-order function of the following type:

###### Definition 2.2 (Quantifier, [4, 5]).

Mappings

from contexts to sets of outcomes are called quantifiers.^{5}^{5}5The terminology comes from the observation that the usual existential and universal quantifiers of logic can be seen as operations of type , where is the type of booleans. Mostowski [12] has called arbitrary functionals of type generalised quantifiers. This was generalised further in [4] to the type given here.

We model agents as quantifiers and take as the set of outcomes that the agent considers preferable in each context . Our main objective in this paper is to convince the reader that this is a general, modular, and highly flexible way of describing an agent’s goal or objective.

The classical example of a quantifier is utility maximisation. Suppose an agent has a utility function mapping outcomes into utilities. Composing the context and we get a new context that maps actions directly into utility . Given this new context, the good outcomes for the player are precisely those for which his utility function is maximal. This quantifier is given by

where denotes the image of the utility function .

### 2.3 Context-dependence

In general, we are going to allow the set of outcomes that the agent considers good to be totally arbitrary. It is reasonable, however, to assume that for each context we have . This is to say that in any given context the agent must have a preferred outcome (even if this would be the least bad one). We will call such quantifiers total. Another more interesting class of quantifiers consists of those we call context-independent:

###### Definition 2.3 (Context-independence).

A quantifier is said to be context-independent if the value only dependents on , i.e.

Dually, a quantifier will be called context-dependent if for some contexts and , with , the sets of preferred outcomes and are different.

Intuitively, a context-dependent quantifier will select good outcomes not only based on which outcomes are possible, but will also take into account how the outcomes are actually achieved. It is easy to see that the quantifier is context-independent, since it can be written as a function of only.

Our prototypical example of a context-dependent quantifier is the fixpoint operator

Recall that a fixpoint of a function is a point satisfying . If the set of moves is equal to the set of outcomes then there is a quantifier whose good outcomes are precisely the fixpoints of the context. If the context has no fixpoints we shall assume that the agent will be equally satisfied with any outcome. Such a quantifier is given by

Clearly is context-dependent, since we could have different contexts having the same image set but with and having different sets of fixpoints. For example, if we take to be given by and then , but and . We will discuss the economic relevance of this particular quantifier in Section 5 where we discuss reflexive agents.

### 2.4 Attainability

Another important property of quantifiers that we shall consider is that of attainability:

###### Definition 2.4 (Attainability).

A quantifier is called attainable if, for every context , for some there exists an such that . (In particular, attainable quantifiers are total.)

In other words, an agent modelled by an attainable quantifier will select at least one preferred outcome that is actually achievable by some move . An equivalent definition is that is attainable if and only if

###### Remark 2.5.

We could also define a strong attainability notion whereby all need to be achievable by some , i.e.

For our purposes the weaker notion of Definition 2.4 has been sufficient and reasonably well-behaved.

Attainable quantifiers bring out the relevance of moves in the decision making process. Sometimes an agent might actually wish to spell out the preferred moves instead of the preferred outcomes. This leads to the definition of another class of higher-order functions:

###### Definition 2.6 (Selection functions).

A selection function^{6}^{6}6In the computer science literature where selection functions have been considered previously [4, 5] the focus was on single-valued ones. However, as multi-valued selection functions are extremely important in our examples we have adapted the definitions accordingly. is any function of type

Similarly to quantifiers, the canonical example of a selection function is miximising , defined by

The selection function is naturally multi-valued: a function may attain its maximum value at several different points.

###### Proposition 2.7.

A quantifier is attainable if and only if there exists a total selection function such that, for all ,

If such a relationship between a quantifier and a selection function holds then we shall say that attains . The attainability relation holds between the quantifier and the selection function . The fixpoint quantifier is also a selection function, and it attains itself since

## 3 Utility Maximisation and Preference Relations

In this section we relate the concepts of quantifiers and selection functions to the standard concepts of classical decision theory: utility functions and preference relations. In particular, we show that both correspond to context-independent quantifiers that have the same structure. We now want to characterise the relationship between preference relations and context-independent quantifiers.

### 3.1 Preference Relations and Context-Independent Quantifiers

Suppose is the set of possible outcomes, and an agent has a partial order relation on as preferences, so that means that the agent prefers the outcome to . These partial orders lead to choice functions where are the maximal elements in the set of possible outcomes with respect to the order . Note that these satisfy , and for non-empty .

Every such can be turned into a quantifier in a generic way, using the fact that the image operator is a higher-order function :

so that are quantifiers.

###### Proposition 3.1.

Assume , such that the number of choices is bigger than the number of possible outcomes. Then a quantifier is context-independent if and only if , for some choice function .

###### Proof.

If then is context-independent. For the other direction, note that since we have for any subset a map such that . Assume is context-independent and let us define . Clearly,

where the first step uses that is context-independent and that by the assumption on the family of maps , while the second steps simply uses the definition of . ∎

Agents who are defined by context-independent quantifiers are choosing the set of good outcomes simply by ranking the set of outcomes that can be achieved in a given context but are ignoring all the information about how each of the outcomes arise from particular choices of moves.

For instance, we might have a set of actions that will lead us to earn some large sums of money. Some of these, however, might be illicit. A classical agent who cares only about the direct consequences of his decision and is defined in a context-independent way would choose the outcome that gives himself the maximum sum of money, regardless of the nature of action. If however the agent also cares about the actions themselves and their indirect consequences, he might not consider the largest amount of money as preferable. As outlined in the introduction a standard remedy in order to include such implicit concerns is to extend the outcome space. This can be a necessary correction by the analyst if the initial outcome space was truly misconceived. Encoding procedural concerns by redefining the outcome space may, however, come at a cost. We will come back to this methodological issue in Section 4.

We close this subsection with the following proposition which guarantees the attainability of context independent quantifiers arising from preference relations:

###### Proposition 3.2.

Whenever is a choice function arising from a partial order , then the context-independent quantifier is attainable.

###### Proof.

By the definition of we have that if then is a maximal element in . Hence we must have an be such that . ∎

### 3.2 Rational Preferences and Utility Functions

The usual approach to model behaviour in economics is to either postulate a preference relation on the set of alternatives, as discussed above, or to directly assume a utility function [10]. A certain structure is imposed on preference relations mainly for two reasons: either because the additional structure is deemed to be a characteristic of an agent’s rationality^{7}^{7}7This issue has been intensely debated, see
[14, 11, 10]., or because one wishes to work with utility functions. It is a standard result that for utility functions to exist, preferences relations have to be rational [10].

Now, rational preferences and utility functions are special cases of the generic construction of a context-independent quantifier that we have outlined in the last section. Rational preferences are special because (i) we impose additional structure on , that is, is a total preorder and (ii) we focus on one particular , that is, defined by

A rational preference relation can always be represented by a utility function. Translated into our higher-order approach, the utility function can be characterised as the context that attaches a real number to each element of the set of choices with the quantifier defined as

Moreover, this quantifier is attained by the selection function

Note the types and respectively. And indeed we have that

Thus, and operators, which are universally used in the economic literature, are the prototypical examples of a context-independent quantifier and a selection function attaining it. Since utility functions and preference relations can be both represented by quantifiers we can conveniently work with both representations in one model if represented in our framework.

As long as a rational preference relation is a good representation of a decision problem, there is no obvious reason why not to use utility functions. In fact, often utility functions are seen as more convenient because of the availability of standard optimisation techniques. They also provide a succinct description of the agent’s goals [15].

However, there are reasons why alternatives to maximisation are important. Firstly, there are situations where utility functions are not applicable. A canonical example is the case of lexicographic preferences. Secondly, in the next section, we will show that higher-order functions also represent decision procedures based on other than classical utility functions and preference relations. We will discuss why economists should care about having such alternative representations at hand.

## 4 Alternatives to Optimisation

We have seen how the higher-order notion of a context-independent quantifiers is able to model choices based on rational preferences (or equivalently on utility maximisation). In this section we show that we can go beyond these cases by allowing for a different structure on the set of outcomes or by allowing for a different mapping , or by relaxing both.

Firstly, we show that quantifiers include decision procedures that cannot be easily modelled by rational preference relations. Secondly, we will argue that even if it were possible to model a decision problem by rational preferences or utility maximisation, it may be insightful to have alternative representations at hand.

Why should economists be interested in modelling behaviour differently, if a representation of utility functions is possible? The main methodological question is whether all decisions shall be modelled as being motivated by their consequences. It is clear that in many situations it is possible to redefine the outcome space such that procedural aspects or menu-dependence are encoded in the outcome space. So why should economists be interested in alternatives at all?

### 4.1 Beyond Rational Preferences

The assumption that the preorder on the outcome space is total, which guarantees the existence of a utility function, is demanding and in fact more demanding than is necessary to rationalise choice behaviour [14]. When taking the perspective of preferences, from a positive as well as a normative viewpoint, there are good reasons why a rational decision-maker may exhibit indecisiveness, meaning that his preference for some pairs of outcomes may not be defined [1]. Moreover, consider a situation where the economist or some other agent has only partial information about the preferences of an agent and regards him “as if” he has incomplete preferences [3]. Lastly, may be a set of alternatives to be chosen by a group of agents. Even if each individual’s preferences are complete, the aggregate social welfare ordering does not have to be [13].

Sen [17] discusses “inescapability or urgency of choice” and situations where the agent has to decide even if he has not totally ranked all alternatives. As a result, no optimal choice in a classical sense can be made. However, Sen [17] claims that completeness is not necessarily a condition for maximisation which only requires that our chosen alternative is not known to be worse than any other.

There have been various attempts to change standard formalisms to allow for a utility theory without the need to fulfil the completeness assumption.^{8}^{8}8For an important early contribution see [1]. More recent contributions include [13] for utility representations in certain environments and [3] for uncertain environments. See also references in [13]. When working with quantifiers and selection functions, the set of outcomes can have any order, or no underlying structure at all. In particular, the preference relation does not have to be total. That is, given any preference relation , an agent chooses the best alternatives as outlined above. By that one can consider choices that are not in the scope of utility functions without the need to change the framework. To be clear, the selection function that corresponds to the preference ordering is

i.e. a maximal outcome is one which is not known to be worse than any attainable outcome. It is important to notice that we may still have a total quantifier, even if the preference relation is not total. Total quantifiers guarantee the existence of a preferred outcome even in a situation of incomplete preferences.

### 4.2 Beyond Utility Functions

The utility approach is intimately linked to the assumption that the agent fully optimises. The behavioural economic literature as well as the psychological literature have documented deviations from optimising behaviour [2, 8]. Quantifiers provide a direct way to model such deviations. Here we give a few examples how to represent these cases in our framework.

###### Example 4.1 (Averaging Agent).

Consider an agent who prefers the outcome to be as close as possible to the average of all achievable outcomes. Given a decision context , the average amongst the possible outcomes can be calculated as

Therefore, such agent can be directly modelled via the averaging quantifier as

###### Example 4.2 (Ideal-move Agent [6]).

Let be a fixed real number. For a point we define the closed ball with centre and radius by

where is the Euclidean distance. Let the set of choices have a distinguished element . Define the quantifier by

This quantifier is attained by the constant selection function .

The last example illustrates Simon’s satisficing behaviour. The value can be considered as a satisficing threshold around outcomes that are close to the outcome of an ideal point. Such an agent is equally satisfied with all outcomes which are close enough to the outcome of the ideal choice.

The next example represents the second best decision problem discussed in [9].

###### Example 4.3 (Second-best Agent).

Consider a simple heuristic of a person ordering wine in a restaurant whereby he always chooses the second most-expensive wine. In terms of quantifiers, let be the set of wines available in a restaurant, and the price attached to each wine () on the menu, so that denotes the price of wine . Given a maximal strict chain in , let us call a sub-maximal element. The goal of the agent can be described by the quantifier

A crucial point of the above examples is the additional degree of freedom of modelling as it is possible to vary the choice operator itself and not being automatically restricted to the max operator and to consider behaviour to be necessarily rationalised by rational preferences.

Obviously, one could rationalise the above choices as the outcome of a maximisation. One could redefine preferences and utility functions such that the outcome of the maximisation is just the second most expensive wine.^{9}^{9}9Note, if the prices of the wines represented preferences, a rationalisation of second best choices is not possible (see [15]). However, while equivalent in outcome, the causal model of behaviour is different. The classical approach would force the choice to be rational, whereas in our setting this question remains open. The quantifier formally describes an agent’s behaviour. It could be that the choice pattern is a habitual heuristic or it could be the reduced form pattern of some rational decision making in a larger context.

Of course, instead of choosing the second most expensive wine, one could consider alternative heuristics, such as choosing the wine that is closest to the average price of all available wines on the menu, or within a class of wines, etc.

Moreover, one could also combine any heuristic with some arbitrary preferences. Say, the guest is a fan of white wines, and he strictly prefers Chardonnay over Riesling. One could model the agent as first restricting the choices to the wines that are Chardonnay (if available) and then apply his second most expensive decision heuristic to the class of Chardonnay available.

### 4.3 Context-Dependent Decision Problems

So far, we have focused only on context-independent quantifiers. We have seen that already this restricted class of quantifiers can take us beyond choices motivated by rational preferences. Yet, we can do more. As we have discussed in Section 2, we can allow for quantifiers that do not only take the image of as input but the complete function. Again, we consider several examples.

###### Example 4.4 (Averaging – revised).

Consider again an agent who prefers the outcome to be as close as possible to the average outcome. But this time we assume that he takes into account the number of possible ways an outcome may be attained. Given a decision context , the weighted average in this case can be calculated as

Such agent can be modelled via the weighted averaging quantifier as

It easy to check that this is a context-dependent quantifier.

Now, consider the example where the set of actions allows an agent to earn some money but some actions are illicit and hence not considered to be a permissible behaviour. If we care about the actions themselves, we might not necessarily consider the largest sum of money as preferable. This example corresponds to the discussion in ([17], section 6) and goes back to Adam Smith (as quoted in [17]): “…conduct that go beyond the pursuit of specified goals has a long tradition. As Adam Smith (1790) had noted, our behavioural choices often reflect ‘general rules’ that ‘actions’ of a particular sort ‘are to be avoided’ (p. 159)”.

Sen [17] proposes two methods in order to represent such situations, where the first method is the one that is broadly used in the economic literature:

(1) Incorporate the context or concerns about actions explicitly into an extended outcome space by rewriting the set of outcomes: all outcomes have to be ranked by hand and payoffs are assigned accordingly. For example, this can be done by attaching the appropriate negative values to all monetary outcomes which are achieved by a criminal activity (note that we do not mean the legal costs of criminal activities which can be easily monetised). The agent then behaves “as if” he is maximising this new set.

(2) Restrict the choice options further by taking a permissible subset of actions, reflecting self-imposed constraints or social norms of permissible behaviour, and then seek the maximal outcome from the set of achievable outcomes.

The optimal actions in the examples in [17] are the same if modelled by these two approaches. There is, however, some critique of these methods. Regarding “as if” preferences Sen [17] notes that this new set is “…a devised construction and need not have any intuitive plausibility seen as preference. A morally exacting choice constraint can lead to an outcome that the person does not, in any sense, ‘desire’, but which simply mimics the effect of his self-restraining constraint… The ‘as if’ preference works well enough formally, but the sociology of the phenomenon calls for something more than the establishment of formal equivalences.”

Such new sets do not represent the original goals of the agents. It may be transparent in a simple example, but not so in situations involving several agents with different goals engaged in interactions. Moreover, we have to derive such a set for each problem separately and cannot represent the original goal as a general rule of conduct, that is combinable with some other concerns, like: “in any arbitrary situation, first consider the socially permissible actions and then maximise over outcomes which follows from permissible actions”. An additional complication arises if the preferences over actions are not just given, but are the product of some more general process, for example a game. Then we have to rewrite the whole “as if” set each time the social norms change.

The restriction function seems to represent the choice over the actions in a more intuitive way, but only for some specific examples where some actions are just thrown away from the consideration. It cannot represent more complicated preferences over the action set. In our framework we can consider arbitrary combinations of preferences over actions and outcomes. For example, our agent can have a lexicographic ordering of permissible and non-permissible actions or, alternatively, may pursue socially non-permissible activities if they are not too profitable, but may consider them if the resulting outcome is high enough.

###### Example 4.5 (Honest Agents).

Consider an agent with a set of possible actions leading to monetary outcomes . Assume some of these actions are illegal or dishonest. Hence, the set consists of the legal, or honest, actions. In the first instance consider an honest agent who maximises over the outcomes which follows from honest actions. Such a honest agent can be modelled by the quantifier:

where is the image of under . Consider, however, a more complicated case where the agent is prepared to consider dishonest or illegal actions when the reward associated with some of these actions is above a threshold . This subtler preference can be directly modelled as

so that the dishonest agent will behave as the honest one if the maximal reward for a dishonest action is low, but he will consider any action to be acceptable if the gain from a dishonest or illegal action is high enough.

In the next example we introduce an extreme case of an agent who decides on preferred outcomes solely based on the set of moves that lead to that outcome.

###### Example 4.6 (Safe Agents).

Given a decision context and an outcome , we can calculate the number of different ways can be attained by

We say that an outcome is most unavoidable if is maximal over the set of possible outcomes . We say that an agent is safe if he prefers most unavoidable outcomes. Such agents are modelled by the quantifier

In order to illustrate this quantifier, suppose there are three beaches, and the agent is indifferent between them. The first can be reached by one highway, the second by two highways and the third by three highways. The agent has to choose which highway to take, and the outcome is the beach that the agent goes to. The safe agent decides to visit the beach which can be reached by the most different routes, which is the third, in order to avoid the risk of being stuck in a traffic jam.

## 5 Reflexive Agents

We now discuss the specific situations where the set of actions and outcomes are the same . In this case elements of the type

can be either viewed as quantifiers or selection functions. Agents of this type are common in elections:

###### Example 5.1 (Voting Agent).

Consider three judges voting for two contestants . The winner is determined by the simple majority rule of type . The set denotes both the set of choices and the set of possible outcomes of the contest. We first assume that the judges rank the contestants according to a preference ordering. For example, suppose judges 1 and 2 prefer and judge 3 prefers . Consider the decision problem of the first judge. He has an ordering on the set , namely , and his goal is to maximise the outcome with respect to this ordering. Hence, he is modelled via the quantifier:

The set is equipped with a partial order and the operator describes the agent.

Another very interesting example of an agent with an important economic interpretation, is the fixpoint operator, that we have already mentioned in Section 2.3.

###### Example 5.2 (Keynesian Agent).

Consider the same example as in the last example but now assume that judge 1 has different preferences: he prefers to support the winner of the contest. He is only interested in voting for the winner of the contest and he has no preferences for the contestants per se. The selection function of such a Keynesian agent can be described by a fixpoint operator as

Interestingly, such an agent is best described by a selection function, rather than via the corresponding quantifier

We note that it is perfectly possible to model such a Keynesian agent via standard utility functions, attaching say utility 1 to good outcomes and 0 to the bad ones, so that the judges maximise over the set of monetary payoffs. In this process of attaching utilities to the decision, however, one has to compute the outcome of the votes, then to check for the second and the third judges whether their vote is in line with the outcome, and finally to attach the utilities. In some sense, the economist takes the whole decision process, solves the problem, identifies the good outcomes according to the natural language description of the problem, and then lets the agent to choose between 1 and 0.

On the other hand, if we use the fixpoint operator in order to represent the goal, we equip the individual agent himself with the problem solving ability
that we as the modeller otherwise use in order to compute the utility such that the utility maximising agent behaves as if he were a Keynesian agent.
We have been therefore tempted to call such fixpoint agents reflexive agents
as they do inside the model what the economist is doing outside the model.
These fixpoint agents with their computational power resemble a construction that is at the core of the
Lucas critique.^{10}^{10}10Sargent [16] describes the need for a similarity of the economist and the economically reasoning agents
in the economists’ models as follows:
“[t]he idea of rational expectations is … said to embody the idea that economists
and the agents they are modeling should be placed on the equal footing:
the agents in the model should be able to forecast and profit-maximize
and utility-maximize as well as the economist - or should we say the econometrician - who constructed the model.”

As briefly discussed above, most functions do not have a fixpoint and the fixpoint operator will often give the empty set. For the purposes of modelling a particular situation we might want to totalise the fixpoint operator in different ways and describe what an agent might do in case that no fixpoint exists. The fixpoint goals are far more interesting when we consider a game with several agents with different concerns, for instance some with usual preferences and some with fixpoint goals. We analyse such a game in detail in our companion paper on higher-order games [7].

Let us conclude with another example of a reflexive agent.

###### Example 5.3 (Coordinating Agent).

Consider two players, , who want to coordinate, for instance, about the restaurant where to meet for lunch. The set of actions denotes the different restaurants at choice. The set of outcomes denotes the two restaurants where the agents might end up. The fact that these two agents want to meet in the same restaurant ca be directly described by another sort of fixpoint operator:

where are the projection functions. The preferred move of agent is the one which leads him to the same place as the other agent .

These two examples above show that the overall goal of the Keynesian and the coordinating agent are very similar, and can be captured by some variants of fixpoint operators. Even though it is possible to use utility functions in order to model these concerns in the particular examples, it is not so obvious that this commonality can be made explicit when modelling with utility functions. In our more abstract formalisation via higher-order functions, it is possible to detect patterns across problems that are hard to find when one only looks at the compiled level of utility maximisation.

## 6 Conclusions

The utility maximisation framework of standard decision theory is an intuitive representation of rational agents and the yardstick approach in economics. The rationale for adhering to this approach is that modelling tools, such as functional analysis as well as solution methods, such as optimisation via Lagrangian methods, are readily available. However, theory, reality and experiments suggest that we need to go beyond the modelling strategy of representing any behaviour as if it were the result of utility maximisation. Moreover, it is not straightforward how to implement utility maximisation in computers or take into account computability issues for example for the real numbers of utility maximisation.

Our higher-order approach offers a path to resolve both of these issues: we can generalise utility maximisation. At the same time higher-order functions provide a way to implement our games in computers. Higher-order functions generalise the and operators, and as the foundation of computability theory, programming language and compiler design and computer science in general, they form a way to implement models in computers and analyse decision models with the tools to analyse software.

Another, very important issue of the higher-order functions is that they equip our decision framework with the feature of programming languages being compositional. In this paper we have seen how various decision goals are composable, in our companion paper [7] we show that this extends to games as well. Games are composable from decisions and furthermore algebraically composable into any complicated game.

## References

- [1] Robert J. Aumann. Utility Theory without the Completeness Axiom. Econometrica, 30(3):445–462, 1962.
- [2] Colin F. Camerer. Behavioral Game Theory: Experiments in Strategic Interaction. The Roundtable Series in Behavioral Economics. Princeton University Press, 2011.
- [3] Juan Dubra, Fabio Maccheroni, and Efe A. Ok. Expected utility theory without the completeness axiom. Journal of Economic Theory, 115(1):118–133, 2004.
- [4] Martín Escardó and Paulo Oliva. Selection functions, bar recursion and backward induction. Mathematical structures in computer science, 20(2):127–168, 2010.
- [5] Martín Escardó and Paulo Oliva. Sequential games and optimal strategies. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Science, 467(2130):1519–1545, 2011.
- [6] Jules Hedges. A generalisation of Nash’s theorem with higher-order functionals. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Science, 469(2154), 2013.
- [7] Jules Hedges, Paulo Oliva, Evguenia Sprits, Viktor Winschel, and Philipp Zahn. Higher-Order Game Theory. Arxiv preprint cs.GT, June 2015.
- [8] Daniel Kahneman. Thinking, Fast and Slow. Farrar, Straus and Giroux, 2011.
- [9] Gil Kalai, Ariel Rubinstein, and Ran Spiegler. Rationalizing Choice Functions By Multiple Rationales. Econometrica, 70(6):2481–2488, 2002.
- [10] David M. Kreps. Microeconomic Foundations I: Choice and Competitive Markets. Microeconomic Foundations. Princeton University Press, 2012.
- [11] Andreu Mas-Colell, Michael D. Whinston, and Jerry R. Green. Microeconomic theory. Oxford University Press, 1995.
- [12] Andrzej Mostowski. On a generalization of quantifiers. Fundamenta Mathematicae, 44:12–36, 1957.
- [13] Efe A Ok. Utility Representation of an Incomplete Preference Relation. Journal of Economic Theory, 104(2):429–449, 2002.
- [14] Marcel K. Richter. Rational Choice. In John Chipman, L. Hurwicz, and H. Sonnenschein, editors, Preference, Utility, and Demand. Harcourt Brace Jovanovich, New York, 1971.
- [15] Ariel Rubinstein. Lecture notes in microeconomic theory: the economic agent. Princeton University Press, 2006.
- [16] Thomas J. Sargent. Bounded Rationality in Macroeconomics. Clarendon Press, 1993.
- [17] Amartya K. Sen. Maximization and the Act of Choice. Econometrica, 65(4):745–779, 1997.