Abstract
In traditional game theory, agents are typically treated as "black boxes" that observe only the actions of their opponents. However, in modern contexts—ranging from high-frequency trading algorithms and smart contracts to corporate entities governed by public bylaws—agents often have the ability to inspect the internal logic or "source code" of their counterparts. This paper explores the domain of "open-source game theory," where interactions are governed by program equilibria. We demonstrate a series of counterintuitive results: formal institution designs intended to be "cooperative" often collapse into mutual defection, while "cautious" designs can achieve stable, unexploitable cooperation. These findings are grounded in a novel resource-bounded version of Löb’s Theorem and suggest that contemporary game theory is currently ill-equipped to predict outcomes in transparent, automated environments.
Introduction: The Open-Source Shift
As software-based agents and decentralized autonomous organizations (DAOs) become more prevalent, the assumption that players are opaque becomes increasingly obsolete. When a software system can read the source code of another, or a company can analyze the formal bylaws of a partner, they enter the realm of open-source game theory.
This transparency introduces a fundamental logical challenge: the circularity of reasoning. If Agent A decides to "cooperate if Agent B cooperates," and Agent B decides to "cooperate if Agent A cooperates," both agents are caught in an infinite regress. To resolve this, the authors introduce a framework of Formal Verifier Agents—programs that use mathematical proof searches to predict an opponent's behavior before making a move.
Methodology: Bounded Logic and Proof Search
The core mathematical innovation of this work is the Parametric Bounded Löb Theorem (PBLT). While classical provability logic (specifically Löb’s Theorem) deals with infinite reasoning, real-world agents are constrained by time and computation. PBLT tracks the specific length of proofs ($k$), allowing for the modeling of "physically realizable" agents that must reach a decision within a finite number of steps.
In this framework, an agent uses a proof_search function to look for a formal proof (within a system like Peano Arithmetic) regarding the opponent's action. The study focuses on two primary architectural archetypes:
- CUPOD (Cooperate Unless Proof of Defection): An agent that defaults to cooperation but switches to defection if it finds a short proof that the opponent will defect.
- DUPOC (Defect Unless Proof of Cooperation): A cautious agent that defaults to defection but switches to cooperation only if it finds a short proof that the opponent will cooperate.
The Paradox of Institution Design
The paper’s most striking findings involve the interaction between these two designs. Intuitively, one might expect CUPOD—the "nicer" agent—to be more successful at fostering cooperation. However, the formal logic dictates the opposite.
The Failure of "Nice" Agents (CUPOD)
Theorem 3.4 proves that two CUPOD agents will actually result in mutual defection. This occurs due to a "self-fulfilling prophecy of defection." Because the agents are designed to defect if a proof of defection exists, the logic of the interaction makes it mathematically trivial to prove that they could defect, which in turn triggers the actual defection. In the context of institutional design, this suggests that being "nice by default" can be logically unstable when agents are transparent to one another.
The Success of "Cautious" Agents (DUPOC)
Conversely, Theorem 3.7 demonstrates that two DUPOC agents—which appear "cynical" by defaulting to defection—successfully achieve mutual cooperation. Through the mechanism of PBLT, the circularity of "I will cooperate if you do" resolves into a self-fulfilling prophecy of cooperation. Because each agent is looking for a proof of the other's cooperation, the existence of the search itself provides the necessary logical grounding for that proof to be found.
Strategic Implications: Unexploitability and Legibility
Beyond achieving cooperation, DUPOC agents possess a critical strategic advantage: unexploitability. A DUPOC agent will never be the "sucker" in a Prisoner's Dilemma scenario; it will only cooperate if it has a mathematical guarantee that its opponent will do the same.
This creates a powerful incentive for legibility. For a DUPOC agent to cooperate with an opponent, the opponent's code must be clear and verifiable. If an agent's decision-making process is obfuscated or overly complex ("spaghetti code"), a DUPOC agent will fail to find a proof of cooperation and will default to defection. Thus, open-source game theory suggests that in a world of transparent agents, there is a strategic premium on being easy to understand.
Conclusion and Future Directions
This research highlights that our current understanding of game-theoretic equilibria is insufficient for the era of open-source agents. While the results hold for randomized strategies (Theorem 4.1), several challenges remain. The current models rely on computationally expensive proof searches, and the dynamics of interactions between different types of agents (e.g., a DUPOC vs. a CUPOD) remain an open area of study.
The authors propose ten open problems, including the implementation of these agents using modern heuristic-based provers and the study of population dynamics in evolutionary open-source games. Ultimately, analyzing these "program equilibria" offers a path toward designing institutions that are not only cooperative but also robustly unexploitable and transparently legible.
Summary updated