EP18

EP18: Game Theory in Operatic Duets

Nash Equilibrium, Bayesian Persuasion, Minimax Theorem, Folk Theorem
7:53 Game Theory

Overview

Four operas. Four game-theoretic frameworks. This episode treats operatic duets as strategic interactions and asks: can the mathematical machinery of game theory — payoff matrices, equilibrium concepts, information structures — explain why characters make the choices they do?

We begin with Bizet’s Carmen (1875), where the final confrontation between Carmen and Don Jose is modeled as a two-player non-cooperative game solved by backward induction. Mozart’s Don Giovanni (1787) introduces incomplete information: Giovanni persuades Zerlina through repeated signaling, and her decision follows Bayesian updating. Xenakis’s Duel (1959) is the most literal case — a zero-sum matrix game written directly into the score, governed by the von Neumann minimax theorem. Finally, Zorn’s Cobra (1984) embodies the folk theorem: cooperation emerging from repeated interaction and reputation.

中文: “卡门看着唐何塞。戒指扔在地上。她只要低头,就能活。但她没有。为什么?一个理性的人,为什么会走向死亡?这不是冲动。像是一种计算。她到底算到了什么?”


Prerequisites

No prior episodes are strictly required. Familiarity with basic probability (Bayes' theorem) is helpful for Section 5.


Definitions

Definition 18.1 (Normal-Form Game)

A normal-form (strategic-form) game is a tuple where:

  • is a finite set of players,
  • is the finite set of strategies (pure actions) available to player ,
  • is the payoff (utility) function of player .

A strategy profile is a tuple . We write for the profile of all players except .

Definition 18.2 (Nash Equilibrium)
A strategy profile is a Nash equilibrium if no player can unilaterally improve their payoff: Equivalently, each is a best response to .

中文: “什么是纳什均衡?如果每个玩家在对方策略不变的前提下,都没有动机改变自己的策略,这个组合就是纳什均衡。”

Definition 18.3 (Sequential Game and Backward Induction)
A sequential (extensive-form) game specifies a game tree where players move in sequence, each observing prior moves. Backward induction solves such games by starting at terminal nodes and reasoning backwards: at each decision node, the player selects the action maximizing their payoff given the optimal continuation.
Definition 18.4 (Bayesian Game)
A Bayesian game extends the normal form with incomplete information. Each player has a type drawn from a prior distribution . Player knows their own type but not others'. After observing a signal , a player updates their belief about the opponent’s type via Bayes' theorem:
Definition 18.5 (Mixed Strategy)
A mixed strategy for player is a probability distribution over their pure strategies. The expected payoff under mixed strategies is:
Definition 18.6 (Zero-Sum Game)
A two-player game is zero-sum if for every strategy profile . One player’s gain is exactly the other’s loss. The payoff matrix records player 1’s payoffs; player 2’s payoffs are .
Definition 18.7 (Repeated Game and Discount Factor)
A repeated game consists of the same stage game played over rounds Players observe the full history of past play. With discount factor , player ’s total payoff is: When is close to 1, players care significantly about the future, enabling cooperation.

Main Theorems

Nash Existence Theorem

Theorem 18.1 (Nash Existence Theorem)
Every finite game (finitely many players, each with finitely many strategies) has at least one Nash equilibrium in mixed strategies.
Proof.

Define the best-response correspondence for each player . The joint best-response map sends .

The domain is compact and convex (a product of simplices). Each is linear (hence continuous) in , and continuous in . By the maximum theorem, is upper hemicontinuous with non-empty convex values (since the argmax of a linear function over a simplex is a convex set).

By Kakutani’s fixed-point theorem, any upper hemicontinuous correspondence from a compact convex set to itself with non-empty convex values has a fixed point . A fixed point means each player’s strategy is a best response to the others — precisely the definition of a Nash equilibrium.

Von Neumann Minimax Theorem

Theorem 18.2 (Von Neumann Minimax Theorem)
In a finite two-player zero-sum game with payoff matrix , there exists a unique game value and mixed strategies , such that:

中文: “在零和博弈中,存在一个博弈值 V。玩家一的最优策略是找到一个概率分布 p,使得最坏情况下的期望收益最大化。”

Proof.

For any , the function is bilinear: linear (hence convex) in for fixed , and linear (hence concave) in for fixed . The strategy sets and are compact and convex.

By Sion’s minimax theorem (a generalization of von Neumann’s original result): if are compact convex sets and is convex-concave and continuous, then

Applying this with , , yields the minimax equality. The common value is the game value. Optimal strategies exist by compactness.

Folk Theorem

Theorem 18.3 (Folk Theorem (Nash, Aumann-Shapley))
Consider an infinitely repeated game with discount factor and stage game . Let denote the minimax payoff for player — the lowest payoff that other players can force on regardless of ’s strategy: Let be the set of feasible payoff vectors (convex hull of stage-game payoff profiles) and the individually rational feasible set. Then for any , there exists such that for all , is the payoff vector of some Nash equilibrium of the repeated game.
Proof.

Fix a target payoff . Since is feasible, there exist stage-game strategy profiles and a mixing distribution (possibly a correlated sequence of pure profiles) yielding average payoff . Define the following grim trigger strategy for each player :

  • Cooperation phase: Play the prescribed action producing payoff vector .
  • Punishment phase: If any player deviates, all other players switch permanently to the minimax punishment against the deviator.

The deviator gains at most a one-round deviation payoff , then faces the minimax payoff forever. The deviation is unprofitable when:

Since by individual rationality, the right-hand side is strictly less than 1. Setting gives the threshold. For , no player has incentive to deviate, so the strategy profile is a Nash equilibrium with payoff .

中文: “在博弈论中,当玩家足够在意未来,合作可以从重复互动中自发维持——这就是所谓的民间定理。”


Musical Example 1: Carmen — Tragedy as Nash Equilibrium

中文: “1875年,比才的卡门。第四幕,斗牛场外。卡门和唐何塞的最终对峙。”

Model the final confrontation of Bizet’s Carmen (1875), Act IV, as a two-player non-cooperative game .

Players: Carmen (row) and Jose (column). Strategies: Carmen chooses from ; Jose chooses from .

Payoff matrix (Carmen, Jose):

Release Kill
Submit
Defy

中文: “注意:这不是零和博弈——两个人可以同时输。我们把它建模为二人非合作博弈。”

Prop 18.1 (Carmen's Nash Equilibrium)
Under the payoff matrix above, the unique Nash equilibrium in pure strategies is .
Proof.

Check best responses. Given Carmen plays Submit: Jose compares vs. . Best response: Release. Given Carmen plays Defy: Jose compares vs. . Best response: Kill.

Given Jose plays Release: Carmen compares vs. . Best response: Defy. Given Jose plays Kill: Carmen compares vs. . Best response: Submit.

The only profile where both play best responses simultaneously is : Carmen’s best response to Kill is Submit (not Defy), so we must re-examine. In fact, we need the sequential structure.

As a sequential game (Carmen moves first, Jose observes), backward induction applies. Jose’s best responses: if Carmen submits, Jose releases (); if Carmen defies, Jose kills (). Carmen, anticipating Jose’s responses, compares: Submit then Release gives ; Defy then Kill gives . Under standard utility, Carmen should submit.

But the narration’s key insight: Carmen’s utility function assigns submission a cost equivalent to spiritual death. If we replace , then Defy dominates regardless of Jose’s response. Given Defy, Jose kills (). The subgame-perfect equilibrium is .

中文: “关键洞察:纳什均衡不一定是最优结果。两个人都理性选择,但最终结果可能比合作更差。这就是囚徒困境的教训。而歌剧里的悲剧,常常就是纳什均衡的必然结果。”

音乐联系

The tragedy of Carmen is not irrational — it is the rational consequence of two incompatible utility functions. The mathematical structure is identical to the Prisoner’s Dilemma: both players would prefer (Submit, Release) at over the equilibrium outcome, but neither can unilaterally deviate without worsening their position. Bizet’s dramatic genius is to construct characters whose utility functions make tragedy the unique equilibrium.

中文: “这是一个序贯博弈。卡门先选择反抗,何塞再回应。用逆向归纳法从最后一步往回推。”


Musical Example 2: Don Giovanni — Bayesian Persuasion

中文: “1787年,莫扎特的唐乔凡尼。把你的手给我。我们可以把这首二重唱读作一场不完全信息下的说服。”

The duet “La ci darem la mano” from Mozart’s Don Giovanni (1787) models persuasion under incomplete information.

Setup: Giovanni (sender) knows his true type . Zerlina (receiver) holds a prior belief . Giovanni sends musical signals — each phrase of the duet is a signal .

After each signal, Zerlina updates via Bayes' theorem (Definition 18.4):

中文: “采琳娜无法直接观察他的意图,只能根据他的行为更新判断。她有一个先验信念——在听到任何音乐之前,凭直觉估计他真心的概率是 p。”

Prop 18.2 (Posterior Threshold Crossing)
Let denote Zerlina’s posterior belief after rounds of signaling. If Giovanni sends signals with likelihood ratio consistently, then: so as . There exists a threshold and a finite round such that and Zerlina accepts.
Proof.
The posterior odds after one signal with likelihood ratio are: After independent signals each with ratio , the posterior odds become . Since and , the odds grow without bound, so . For any threshold , there exists such that .
音乐联系

Mozart’s duet enacts Bayesian updating in real time. Zerlina’s repeated “Vorrei e non vorrei” (I want to and I don’t want to) is the musical representation of a posterior hovering near the decision threshold. Each time Giovanni repeats the melody, he provides another observation with . The final moment — when she gives him her hand — is the threshold crossing.

中文: “音乐完美呈现了这个过程。开始时采琳娜犹豫,重复唱道我想又不想。乔凡尼每重复一次旋律,就多提供一次观察样本。到最后,她的信念越过了阈值——她把手递了出去。”


Musical Example 3: Xenakis’s Duel — Zero-Sum Matrix Game

中文: “1959年,希腊作曲家 Xenakis 做了一件当时极为罕见的事。他把博弈论直接写成了乐谱。”

Xenakis’s Duel (1959) is a genuine musical game. Two conductors, each leading an orchestra, choose simultaneously from six sound tactics:

Index Tactic
I String granular textures
II Sustained strings
III Glissando networks
IV Stochastic percussion
V Stochastic winds
VI Silence

A referee scores each round using a payoff matrix . The game is zero-sum: conductor 1 receives , conductor 2 receives .

By the Minimax Theorem (Theorem 18.2), there exist optimal mixed strategies and and a game value such that:

中文: “数学基础是冯诺依曼的极小极大定理。不管对手怎么选,我的混合策略都能保证至少拿到博弈值 V。”

音乐联系

Xenakis is the most literal case: game theory is not an interpretive lens imposed after the fact but is written directly into the score as a payoff matrix and performance rules. The 1962 sequel Strategie expands to 19 tactics per conductor (6 basic + 13 combinations), yielding a matrix — larger, longer, and more complex, but governed by the same minimax principle.

中文: “Xenakis 是最早将博弈论直接写入乐谱的作曲家之一。不是隐喻,不是类比——是真正的收益矩阵和混合策略。”


Musical Example 4: Zorn’s Cobra — The Folk Theorem in Action

中文: “1984年,约翰佐恩的 Cobra。这不是传统乐谱,而是一套博弈规则。”

John Zorn’s Cobra (1984) is an improvisation game. A prompter holds cue cards (change style, imitate someone, create chaos, sudden silence). Musicians may raise hands to request cues or ignore them. The same ensemble plays repeatedly across performances.

This is the structure of a repeated game. The stage game involves choices to cooperate (follow cues, listen to ensemble) or defect (free-ride, ignore others). The folk theorem (Theorem 18.3) guarantees that if players value future interactions sufficiently (high ), cooperation is sustainable as an equilibrium.

Prop 18.3 (Reputation Sustains Cooperation in Cobra)
In an infinitely repeated Cobra performance with discount factor sufficiently close to 1, the cooperative outcome (musicians follow cues and respond to each other) can be sustained as a Nash equilibrium via grim-trigger strategies.
Proof.
This is a direct application of Theorem 18.3. Let denote the cooperative payoff per round and the one-shot deviation gain. The minimax payoff corresponds to being ignored by the ensemble (the punishment). Cooperation is sustained when: In practice, Cobra musicians who regularly perform together develop strong reputational incentives (high effective ), making the cooperative equilibrium self-enforcing.

中文: “Cobra 的魔力在于,经过多轮互动,乐手之间建立了声誉机制。谁经常合作,谁习惯捣乱,所有人都记得。合作不是来自乐谱上的指令,而是从反复互动和声誉积累中自发涌现。”


Synthesis

中文: “四种博弈结构,四种均衡概念,四种音乐结果。从比才到佐恩,从十九世纪到二十世纪末,歌剧和即兴音乐一直在用音符演绎博弈论——只是没有人这样命名。”

Opera Year Game type Solution concept Outcome
Carmen (Bizet) 1875 Non-cooperative, sequential Backward induction Tragedy
Don Giovanni (Mozart) 1787 Bayesian persuasion Posterior updating Seduction
Duel (Xenakis) 1959 Zero-sum matrix Minimax / mixed strategy Stochastic confrontation
Cobra (Zorn) 1984 Repeated game Folk theorem / reputation Emergent cooperation

中文: “这四个例子并不都同样直接。Xenakis 是最直接的——博弈论就写在乐谱里。卡门和唐乔凡尼是我们施加的形式化模型。Cobra 是一个天然邀请博弈论解读的即兴系统。”

音乐联系

Cross-episode connections:

  • **Forward to

EP25 (Emotion and Prediction)

**: The songwriter-listener relationship is itself a strategic interaction. The Nash equilibrium between songwriter (choosing how much surprise to inject) and listener (calibrating expectations) connects Carmen’s utility-function argument to a theory of musical emotion.

  • The utility function that makes Carmen’s death “rational” is precisely the kind of subjective valuation that EP25’s prediction-error model of frisson attempts to quantify: surprise has measurable neural utility.

Limits and Open Questions

  1. Utility function arbitrariness. The Carmen model depends critically on the numerical payoffs. As the narration observes: “you can explain any choice with a payoff matrix, as long as you adjust the numbers.” This is a fundamental limitation of revealed-preference game theory — the model is unfalsifiable unless utilities are independently measured.

中文: “你可以用收益矩阵解释任何选择,只要你修改数字。歌剧的力量,在于它让我们感受那个数字背后的重量。”

  1. Bounded rationality. Real operatic characters (and real musicians in Cobra) do not compute equilibria. Behavioral game theory (Camerer 2003) models bounded rationality via quantal response equilibrium and level-k reasoning. How do these departures from Nash equilibrium map onto dramatic choices?

  2. Incomplete-information limits. The Bayesian model of Don Giovanni assumes Zerlina has a well-defined prior and updates rationally. In practice, persuasion exploits cognitive biases (framing effects, anchoring) that Bayesian models do not capture.

  3. Computational complexity of large games. Xenakis’s Strategie has a matrix — still tractable. But real-time improvisation (Cobra) involves continuous strategy spaces and partial observability, for which computing equilibria is PPAD-complete in general.

Conjecture (Equilibrium Deviation as Dramatic Peak)

In operatic scenes that can be modeled as strategic interactions, the moment of maximum dramatic intensity corresponds to a character’s deviation from the Nash equilibrium of the stage game. Formally: if is the Nash equilibrium and is the character’s action at dramatic time , the dramatic intensity is maximized when is maximized.

This would connect game-theoretic structure to measurable audience response (galvanic skin response, fMRI activation), and could be tested against the prediction-error framework of

EP25

.

  1. Mixed-strategy interpretation in performance. When Xenakis prescribes mixed strategies, conductors must randomize. But human randomization is notoriously biased (Rapoport & Budescu 1997). Does the aesthetic quality of a Duel performance correlate with how closely conductors approximate the minimax distribution?

References

  1. Von Neumann, J. & Morgenstern, O. (1944). Theory of Games and Economic Behavior. Princeton University Press.
  2. Nash, J. (1950). “Equilibrium Points in N-Person Games.” Proceedings of the National Academy of Sciences 36(1), 48–49.
  3. Aumann, R. & Shapley, L. (1994). “Long-Term Competition — A Game-Theoretic Analysis.” In Essays in Game Theory, Springer, 1–15.
  4. Xenakis, I. (1992). Formalized Music: Thought and Mathematics in Composition, revised ed. Pendragon Press. Ch. 5–6.
  5. Kamenica, E. & Gentzkow, M. (2011). “Bayesian Persuasion.” American Economic Review 101(6), 2590–2615.
  6. Camerer, C.F. (2003). Behavioral Game Theory: Experiments in Strategic Interaction. Princeton University Press.
  7. Brackett, D. (2000). “Carmen.” In The New Grove Dictionary of Opera. Oxford University Press.
  8. Zorn, J. (2004). “The Game Pieces.” In Audio Culture: Readings in Modern Music, ed. Cox & Warner, Continuum, 196–200.
  9. Osborne, M.J. & Rubinstein, A. (1994). A Course in Game Theory. MIT Press.
  10. Sion, M. (1958). “On General Minimax Theorems.” Pacific Journal of Mathematics 8(1), 171–176.