Introduction
Biological systems adapt to their environment, but also change it. A mitochondrial DNA variant that expands within a cell draws on the energy shared with the wild type; a bacterial strain that secretes an amino acid feeds a partner strain that competes with it for carbon; a person moving a handle together with a partner changes the forces the partner feels; and a tree that defends its leaves changes the food available to hatching leafminer larvae. Describing any of these actions in isolation can miss the strategic interaction. A dynamic game in continuous time, also called a differential game [7 ] , makes the alternatives explicit: it specifies the interacting states, the decisions assigned to each participant, the consequences each participant values, the restrictions on its decisions, and when the interaction ends or repeats.
Biological and mathematical context.
Optimality models connect mechanisms with proposed criteria and feasible alternatives [45 ] . Examples include foraging decisions [54 ] and, at the molecular scale, temporal enzyme allocation, a classical optimal-control problem [29 , 44 ] ; dynamic optimality models are established in behavioral biology [37 ] . When one organism changes another’s returns, game theory provides a language for interaction [40 , 39 ] , and game-theoretic reasoning has also been applied to biochemical and cellular processes [56 , 26 ] . Biological dynamic games already describe seasonal plant defense and herbivore hatching [32 ] , renewable-stock harvesting [15 , 60 ] , mechanically coupled human movements [8 , 14 ] , and territorial space use [27 ] . Other game instances in the library adapt dynamical mechanisms, such as Wilson–Cowan neural populations [65 ] , by introducing separate controls and objectives. Appendix § 8 records this provenance for each game instance.
The games cited above use different notation, control ownership, feasibility conventions, and levels of numerical documentation. A common library makes them accessible to biological interpretation and computational comparison. General-purpose resources such as GAMUT [41 ] and OpenSpiel [34 ] illustrate the value of shared game families and evaluation protocols; they address normal-form and extensive-form games, mostly without biological interpretation. SpaceGym collects discrete and differential games from noncooperative space operations, such as pursuit–evasion, for evaluating autonomy algorithms [3 ] . Optimal-control collections provide a complementary foundation for a single decision maker [51 , 12 ] . We are not aware of a collection of dynamic games providing biological interpretations, control ownership, individual objectives and restrictions, and open-source code.
Game-theoretic setting.
The library uses an open-loop information structure: each player commits to a time-dependent schedule of its decisions at the start of the interaction (Başar and Olsder 1982). Shared resources, joint floors, and periodic return bands put opponents’ decisions into each player’s feasible set; the equilibrium concept is therefore a generalized Nash equilibrium ([17 ] ). Such equilibria are typically not isolated (§ 2.3 ). Feedback equilibria, in which players respond to the current state ([7 , 18 ] ), evolutionarily stable strategies ([40 , 39 ] ), and Stackelberg equilibria are different concepts not covered by our library (§ 2.6 ).
Forward and inverse methods.
Constrained games can be approached through best-response decomposition, in which each player’s optimal reply to fixed opponents, its best response, is computed in turn, coupled optimality systems, or variational inequalities ([17 ] ). Augmented Lagrangian methods ([30 ] ), ALGAMES ([31 ] ), and DG-SQP ([69 ] ) offer alternatives to the sequential best-response baseline used here. This baseline reuses any optimal-control solver as a black box but has no general convergence guarantee (§ 4 ); its results are therefore reported with independent feasibility and deviation audits. Feedback-game methods such as iterative linear–quadratic games address a different information structure ([18 ] ). A variety of different optimal control algorithms exists ([2 , 64 , 46 ] ).
For inverse analysis, objectives and constraints deserve the same attention as differential equations. Low investment may reflect a small benefit, a large cost, or a binding budget. Generalized inverse optimal control treats these alternatives as model components to be inferred ([10 ] ). Banga and Villaverde (2026) order biological inverse problems from parameter identification and model discovery to inverse optimal control and inverse differential games; for the latter, inverse problems have been studied for open-loop equilibria with known dynamics and constraints ([38 , 36 ] ). The library supplies forward instances for the two upper levels (§ 5.4 ); inverse recovery is left to future work.
Contributions and organization of the paper.
§ 2 defines the open-loop generalized Nash equilibrium problem and a game specification consisting of mechanism, preferences, and restrictions. § 2.6 states general modeling assumptions.
§ 3 presents 25 game instances with biological provenance, classifications (Tables 1 and Table 2 ), and dimensions (Table 3 ). They span four biological scales, four interaction types, and three temporal classes, and they have 2 to 10 players, 2 to 12 controls including owned durations, and up to 420 scalar constraint functions. § 3.3 summarizes every instance by biological scale, and Appendix § 8 contains all 25 full specifications in alphabetical order.
Table 2. Table 2: Library overview with classifications of Table 1.
Table 3. Dimensions and results for 10 (coarse) and 40 (refined) control intervals. CPU is the median time [s] of one optimal-control solve.
§ 4 presents the novel modular open-source solver CorleoneGame.jl that extends the optimal control solver Corgone.jl to dynamic games. For every instance, it provides a reference open-loop generalized Nash equilibrium candidate that passes the feasibility and unilateral-deviation audits on a coarse and a refined control grid. Section 5 works through the tupelo–leafminer game, from the executable specification through an audited reference candidate and alternative hypotheses, formulated as instance variants, to synthetic observations for inverse games. Along the way, it addresses teachers and contributors of new instances, algorithm developers, biologists, and researchers in inverse games. Section 6 discusses limitations and next steps.
Game formulation and biological assumptions
Players, decisions, and dynamics
The N N N players are labeled P = { A , B , … } \mathcal{P} = \{A, B, \ldots\} P = { A , B , … } with ∣ P ∣ = N |\mathcal{P}| = N ∣ P ∣ = N . On a time horizon [ 0 , T ] [0,T] [ 0 , T ] , the biological state x ( t ) ∈ R n x x(t) \in\mathbb{R}^{n_x} x ( t ) ∈ R n x satisfies the initial value problem
x ˙ ( t ) = f ( t , x ( t ) , u ( t ) ; p ) , x ( 0 ) = x 0 ( p ) . (1) \dot{x}(t) = f(t,x(t),u(t);p), \qquad x(0) = x^{0}(p). \tag*{(1)} x ˙ ( t ) = f ( t , x ( t ) , u ( t ) ; p ) , x ( 0 ) = x 0 ( p ) . (1)
for a given function f f f describing the dynamics and initial values x 0 ( p ) x^{0}(p) x 0 ( p ) . Here p p p denotes model parameters and fixed data, and the explicit dependence on t t t represents prescribed environmental inputs, such as seasonal or periodic supply, light, or activity drives. The vector u = ( u i ) i ∈ P u = (u_i)_{i\in\mathcal{P}} u = ( u i ) i ∈ P collects player-owned decisions. Ownership identifies who may change a decision. Time-varying controls are measurable schedules with componentwise bounds
U = ∏ i ∈ P [ u ‾ i , u ‾ i ] , u ( t ) ∈ U for almost every t ∈ [ 0 , T ] . (2) U = \prod_{i\in\mathcal{P}} [\underline{u}_i,\overline{u}_i], \qquad u(t) \in U \text{ for almost every } t \in[0,T]. \tag*{(2)} U = i ∈ P ∏ [ u i , u i ] , u ( t ) ∈ U for almost every t ∈ [ 0 , T ] . (2)
In a slight abuse of notation, u i u_i u i also contains bounded time-independent decisions owned by player i i i ; for these, the bounds in (2) apply to a constant value. The library uses such a scalar decision only for the duration T T T , owned by player A in seven instances (§ 2.4 ). Other parameters or initial values could be assigned to players in the same manner. The decision space U i \mathcal{U}_i U i of player i i i consists of all u i u_i u i whose time-varying components are measurable and satisfy their bounds almost everywhere and whose scalar components are constant and satisfy their bounds; U = ∏ i ∈ P U i \mathcal{U} = \prod_{i\in\mathcal{P}} \mathcal{U}_i U = ∏ i ∈ P U i .
Figure 1 illustrates these objects for the tupelo–leafminer game, the worked example of § 5 : each of the two players owns one control u A u_A u A and u B u_B u B , the controls act on three biological states x = ( L , E , H ) x = (L,E,H) x = ( L , E , H ) , and each player minimizes its own objective J A J_A J A and J B J_B J B , optionally subject to its own restrictions, as introduced in § 2.2 .
Figure 1. The tupelo–leafminer game. The tree (A) schedules its defense u A ( t ) u_A(t) u A ( t ) , which kills eggs and larvae; the leafminer (B) schedules the hatching hazard u B ( t ) u_B(t) u B ( t ) of its eggs. Larvae feed on the leaves and leave the game by pupation. Black solid arrows denote transitions of individuals (hatching from eggs to larvae, pupation out of the larval stage); the dashed arrow denotes the loss of leaf area through larval feeding. Colored arrows denote controls that drive a transition (hatching changes eggs and larvae); colored lines ending in a bar denote controls that remove individuals (defense kills eggs and larvae). Each player minimizes its own objective; the allowances are optional restrictions, disabled in the reference instance. § 5.1 defines all terms.
Objectives and restrictions
All objectives are minimized; benefits to be maximized enter with a negative sign. Player i i i minimizes a weighted sum of m i m_i m i features,
J i ( u ) = ∑ k = 1 m i w i k J i k ( u ) , J i k ( u ) = Φ i k ( x ( T ) , u ) + ∫ 0 T L i k ( t , x ( t ) , u ( t ) ; p ) d t + ∑ ℓ Q i k ℓ ( x ( t i k ℓ ) ; p ) , (3) \begin{aligned}
J_i(u) &= \sum_{k=1}^{m_i} w_i^k J_{ik}(u),\\
J_{ik}(u) &= \Phi_{ik}(x(T),u) + \int_0^T L_{ik}(t,x(t),u(t);p)\,\mathrm{d}t + \sum_{\ell} Q_{ik\ell}(x(t_{ik\ell});p), \tag*{(3)}
\end{aligned} J i ( u ) J ik ( u ) = k = 1 ∑ m i w i k J ik ( u ) , = Φ ik ( x ( T ) , u ) + ∫ 0 T L ik ( t , x ( t ) , u ( t ) ; p ) d t + ℓ ∑ Q ik ℓ ( x ( t ik ℓ ) ; p ) , (3)
where terms may be absent, w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , and ∑ i w i k = 1 \sum_i w_i^k = 1 ∑ i w i k = 1 ; in total, an instance has n w = ∑ i ∈ P m i n_w = \sum_{i\in\mathcal{P}} m_i n w = ∑ i ∈ P m i features. The terminal term Φ i k \Phi_{ik} Φ ik may depend on the scalar components of u u u , which allows a direct duration cost. Interior-time terms Q i k l Q_{ikl} Q ik l at fixed times t i k l t_{ikl} t ik l occur only in motor, the two other terms are standard Bolza-type terms. Each feature is divided by a fixed positive scale, listed with the parameters, which makes the features of one player comparable in magnitude; we absorb these scales into J i k J_{ik} J ik .
Restrictions beyond control bounds are written as nonnegative slacks,
g i [ x , u ; p ] ≥ 0 , (4) g_i[x,u;p] \ge0, \tag*{(4)} g i [ x , u ; p ] ≥ 0 , (4)
where the brackets indicate functionals of the whole trajectory and of the decisions. They are evaluated on the numerical state y y y , which augments x x x by quadratures of objective terms and budgets and, in ciliate and phage , uses logarithmic coordinates for some biological components. Quadratures are excluded from n x n_x n x . Every scalar restriction c c c assigned to player i i i has the bound form
ℓ c ≤ y q c ( t ) ≤ r c for all t ∈ [ 0 , T ] (path) or for t = T (terminal) , (5) \ell_c \le y_{q_c}(t) \le r_c \qquad\text{for all } t \in[0,T]\ \text{(path) or for } t = T\ \text{(terminal)}, \tag*{(5)} ℓ c ≤ y q c ( t ) ≤ r c for all t ∈ [ 0 , T ] (path) or for t = T (terminal) , (5)
with constrained component q c q_c q c , bounds ℓ c ∈ R ∪ { − ∞ } \ell_c \in\mathbb{R} \cup\{-\infty\} ℓ c ∈ R ∪ { − ∞ } and r c ∈ R ∪ { + ∞ } r_c \in\mathbb{R} \cup\{+\infty\} r c ∈ R ∪ { + ∞ } , and an equality for ℓ c = r c \ell_c = r_c ℓ c = r c . The library uses four kinds of restrictions: path floors and ceilings on biological states; integral budgets, represented by a quadrature z ˙ = b ( t , x , u ; p ) \dot{z} = b(t,x,u;p) z ˙ = b ( t , x , u ; p ) , z ( 0 ) = 0 z(0) = 0 z ( 0 ) = 0 , and the terminal bound z ( T ) ≤ B z(T) \le B z ( T ) ≤ B ; terminal targets; and, in periodic instances, return bands
x j ( 0 ) − δ ≤ x j ( T ) ≤ x j ( 0 ) + δ , j = 1 , … , n x , (6) x_j(0)-\delta\le x_j(T) \le x_j(0)+\delta,\qquad j=1,\ldots,n_x, \tag*{(6)} x j ( 0 ) − δ ≤ x j ( T ) ≤ x j ( 0 ) + δ , j = 1 , … , n x , (6)
imposed in every player’s problem with an instance tolerance δ > 0 \delta> 0 δ > 0 ; quadratures are excluded. A joint restriction is an identical restriction assigned to several players, i.e., a copy in each of their g i g_i g i . Optional restrictions carry a switch σ ∈ { 0 , 1 } \sigma\in\{0,1\} σ ∈ { 0 , 1 } ; σ = 0 \sigma= 0 σ = 0 removes the restriction from the instance, and σ = 1 \sigma= 1 σ = 1 enables the stated finite bound.
Open-loop generalized Nash equilibrium
In the open-loop information structure, decisions are functions of time alone, and each player commits to its schedule at t = 0 t = 0 t = 0 . Let u i , v i u^{i,v_i} u i , v i replace only player i i i ’s decisions by v i v_i v i . Define F i ( u − i ) \mathcal{F}_i(u_{-i}) F i ( u − i ) as the set of v i ∈ U i v_i \in\mathcal{U}_i v i ∈ U i for which the absolutely continuous solution of (1) under u i , v i u^{i,v_i} u i , v i satisfies player i i i ’s restrictions (4). Only the restrictions assigned to player i i i enter F i \mathcal{F}_i F i : restrictions are assigned to the players who are bound by them. For example, the herbivore’s hatching allowance in the allowance variant of tupelo (§ 5.3 ) restricts the herbivore but not the plant. The best-response problem is
min v i ∈ F i ( u − i ) J i ( u i , v i ) , (7) \min_{v_i \in\mathcal{F}_i(u_{-i})} J_i(u^{i,v_i}), \tag*{(7)} v i ∈ F i ( u − i ) min J i ( u i , v i ) , (7)
with the set of global minimizers
K i ( u − i ) = arg min v i ∈ F i ( u − i ) J i ( u i , v i ) . (8) \mathcal{K}_i(u_{-i}) = \underset{v_i \in\mathcal{F}_i(u_{-i})}{\arg\min}\; J_i(u^{i,v_i}). \tag*{(8)} K i ( u − i ) = v i ∈ F i ( u − i ) arg min J i ( u i , v i ) . (8)
An open-loop generalized Nash equilibrium satisfies
u i ∗ ∈ K i ( u − i ∗ ) for every i ∈ P . (9) u_i^* \in\mathcal{K}_i(u_{-i}^*) \qquad\text{for every } i \in\mathcal{P}. \tag*{(9)} u i ∗ ∈ K i ( u − i ∗ ) for every i ∈ P . (9)
Every deviation recomputes the complete coupled state. Generalized feasibility arises when F i \mathcal{F}_i F i depends on opponents’ decisions after eliminating the states. Private control-effort budgets can retain an ordinary Nash structure. Shared biological return conditions or resource floors generally couple feasibility.
When the same restriction is imposed in several players’ problems, generalized Nash equilibria are typically not isolated ([17 ] ). A frequently used refinement is the variational equilibrium, in which all players share one multiplier per shared restriction; the equilibrium definition (9) does not impose it. § 4 computes candidates for (9) by solving discretized versions of (7) and audits them for feasibility and profitable unilateral deviations (§ 4.3 ). Different forward methods can therefore return different, equally valid equilibria of the same instance.
Owned duration
In many biological interactions, when an episode ends or how long a cycle lasts is itself decided by one participant: a seed cohort determines by its germination speed when the shared water-uptake phase ends, a host determines when an infection is cleared, and the fleet that sets the opening schedule of a fishing ground determines how long a rotation lasts. Assigning the duration to this player lets the game express a trade-off that a fixed horizon hides, between ending early, e.g., to limit exposure or to repeat the cycle more often, and the effort needed to reach the terminal state in time, which the other players shape through the common trajectory. In seven instances of the library, player A owns the horizon, i.e., T T T is a scalar component of u A u_A u A with bounds T ‾ ≤ T ≤ T ‾ \underline{T} \le T \le\overline{T} T ≤ T ≤ T . We write all schedules on normalized time s ∈ [ 0 , 1 ] s \in[0,1] s ∈ [ 0 , 1 ] , with t = T s t = Ts t = T s , x ~ ( s ) = x ( T s ) \widetilde{x}(s) = x(Ts) x ( s ) = x ( T s ) , and u ~ ( s ) = u ( T s ) \widetilde{u}(s) = u(Ts) u ( s ) = u ( T s ) , so that
x ~ ′ ( s ) = T f ( T s , x ~ ( s ) , u ~ ( s ) ; p ) . (10) \widetilde{x}'(s) = T f(Ts,\widetilde{x}(s),\widetilde{u}(s);p). \tag*{(10)} x ′ ( s ) = T f ( T s , x ( s ) , u ( s ) ; p ) . (10)
We adopt the convention that, when A changes T T T , the opponents keep their schedules as functions of s s s , so that all physical schedules are rescaled. This convention is part of the game definition; keeping physical-time schedules fixed would define a different game. An accumulated running cost becomes T ∫ 0 1 L i k ( T s , x ~ ( s ) , u ~ ( s ) ; p ) d s T\int_0^1 L_{ik}(Ts,\widetilde{x}(s),\widetilde{u}(s);p)\,ds T ∫ 0 1 L ik ( T s , x ( s ) , u ( s ) ; p ) d s , whereas a time average becomes ∫ 0 1 L i k ( T s , x ~ ( s ) , u ~ ( s ) ; p ) d s \int_0^1 L_{ik}(Ts,\widetilde{x}(s),\widetilde{u}(s);p)\,ds ∫ 0 1 L ik ( T s , x ( s ) , u ( s ) ; p ) d s . This distinction matters when the duration is variable and applies equally to total and mean-effort budgets. In fishery and predatorPrey, the objectives are cycle averages. Non-owners influence the duration only through the trajectory and the restrictions that the owner must respect.
Specification components and instance variants
The formulation separates three components of a game specification: the mechanism , i.e., the dynamics f f f , the data p p p , and the initial state x 0 x^0 x 0 in (1) ; the preferences , i.e., the features J i k J_{ik} J ik and weights w i w_i w i in (3) ; and the restrictions , i.e., the control bounds (2) and the restrictions g i g_i g i with their bounds, tolerances, and switches in (4) –(6) . Together with the player set, the control ownership, and the horizon, they define a specification
G = ( f , p , x 0 ; ( J i k , w i ) i ∈ P ; ( g i , σ ) i ∈ P ; ownership , T ) . \mathcal{G} = (f,p,x^0;\ (J_{ik},w_i)_{i\in\mathcal{P}};\ (g_i,\sigma)_{i\in\mathcal{P}};\ \text{ownership},T). G = ( f , p , x 0 ; ( J ik , w i ) i ∈ P ; ( g i , σ ) i ∈ P ; ownership , T ) .
Bounds of restrictions belong to the restrictions even where the implementation stores them with the parameters. An instance fixes all entries of G \mathcal{G} G (§ 3.1 ). An instance variant changes one or more entries while keeping the players, the ownership, and the information structure. Accordingly, we speak of preference, restriction, and mechanism variants. They correspond to three kinds of biological hypotheses: what a player values, e.g., leaf area relative to the cost of defense; what a player can do, e.g., defend only within a carbon budget; and how the interaction works, e.g., whether feeding saturates. Alternative explanations of the same observed behavior often differ in only one of these components, so comparing such variants, and recovering them from data, is a central use of the library. § 5.3 uses such variants to express biological hypotheses, and § 5.4 treats entries of G \mathcal{G} G as unknowns of inverse problems.
Assumptions and scope
The following assumptions apply throughout this paper.
Players, objectives, and constraints.
Each instance describes deterministic aggregate dynamics conditional on prescribed initial conditions, parameters, and environmental inputs; spatial, stochastic, and individual-level mechanisms enter only through the stated reductions. Players represent regulatory modules, microbial strains, organisms, or populations. Assigning independent objectives to modules within one organism is an additional modeling hypothesis. Biomass, production, and effort terms are proxies; a link to reproductive success is needed before a population objective receives a selection interpretation. Many coefficients, weights, and restrictions are synthetic, selected to expose nonlinear dynamics, different player behavior, and binding restrictions. Abstract traits, occurrence associations, and hypothetical module objectives are not species calibrations, causal interaction estimates, or measured goals.
Open-loop schedules may approximate inherited developmental programs or repeatable allocation schedules in predictable environments. This interpretation requires no conscious foresight; Banga and Villaverde [11 ] stress that assuming a game rather than evolved regulatory programs needs independent justification in each application. Open-loop schedules do not describe responses to unexpected changes in state or environment: open-loop Nash equilibria are in general not subgame perfect, i.e., if the state is perturbed during the episode, the continuation of an equilibrium schedule need not be an equilibrium of the continuation game. Feedback (Markov) equilibria describe state-dependent responses and generally differ from the open-loop equilibria reported here. Within-episode physiology and intergenerational strategy change operate on different modeled timescales. The games are simultaneous and noncooperative; the sequential best-response updates of § 4 can be read as a learning process in which each player adapts to the others’ latest schedules, but they serve here only to compute an equilibrium, so their number of rounds and their intermediate profiles are not a model of biological learning or evolution. A biological leader in migration or germination is not a Stackelberg leader. A duration owner specifies who can alter the common schedule; for regulatory modules and predator–prey cycles, this is a synthetic allocation of decision authority. The additional degree of freedom is balanced by the return band (6) in the three periodic instances and by a terminal target in the four transfer tasks. Accordingly, the open-loop Nash conditions established here should not by themselves be interpreted as demonstrating evolutionary stability or resistance to invasion; establishing such properties would require an explicit evolutionary framework and the corresponding stability conditions [40 , 39 ] .
Temporal classes.
A seasonal episode can connect to the next season through an unmodeled transition x k + 1 ( 0 ) = R ( x k ( T ) , e k ) x_{k+1}(0) = R(x_k(T), e_k) x k + 1 ( 0 ) = R ( x k ( T ) , e k ) that incorporates offseason conditions e k e_k e k , mortality, reproduction, dormancy, or replenishment. The game interface can represent such transitions through dynamics or endpoint restrictions, but the library currently implements none. Periodic instances describe interactions that repeat cycle after cycle, such as a daily activity cycle or a recurring supply of a culture: biologically, the state at the end of one cycle is the start of the next, and the environment repeats with the same period. Mathematically, the return band (6) imposes this repetition: every biological state must end close to its initial value. For fixed initial values, this may lead to modeling artefacts, i.e., end-of-cycle corrections in the controls. The shared return band also couples all players (§ 2.3 ). Episodic instances describe individual tasks, recovery, or experiments with resets. Only periodic instances impose a biological return.
The library
Curation
A model family specifies a mechanism with configurable preferences and restrictions (§ 2.5 ). An instance fixes all entries of the specification G \mathcal{G} G of § 2.5 ; changing weights or enabling a restriction therefore creates a new instance and can change feasibility or the existence of an equilibrium. A numerical record additionally identifies grids, solver settings, and the resulting trajectories and audits.
Every instance of the curated library has a complete, executable specification with distinct control ownership, documented biological motivation and temporal interpretation, and a reference computation. In addition, the players must be plausible decision units, the central mechanism must be supported by a primary source, every biological state must influence the dynamics, an objective, or a restriction, and the specification must couple the players’ responses. Models whose game content rested on decorative states or on a single player’s optimal control were not included. Repeated patterns, such as squared-effort budgets, permit controlled comparisons across different coupling mechanisms. Other contrasts include private versus opponent-dependent feasibility, state and control dimensions, variable player counts, and fixed versus owned durations.
Classifications and attributes
Table 1 defines three exclusive classifications and two attributes. Each instance has exactly one biological scale, one temporal class, and one interaction type. The attributes variable-N and freeTime are nonexclusive.
Seasonal and episodic instances impose no return condition. Periodic instances impose the return band (6) with the tolerance δ \delta δ given by the instance parameter periodicity_tolerance. The library contains seven seasonal, nine periodic, and nine episodic instances. There are seven free-duration instances: four transfer tasks and three periodic instances. The other six periodic instances have fixed external clocks. The biological rationale differs across scales. Externally forced cycles represent recurring supply or activity regimes, such as periodic feeding of maintained cultures (algae, metabolicPathway, microbial) or daily activity (mitochondria); metabolic and organellar processes are known to be organized in time (Tu et al. 2005; Witzig et al. [66 ] ). Consumer–resource cycles, in which evolution and population dynamics interact on similar time scales (Yoshida et al. [68 ] ), motivate predatorPrey, whose cycle is autonomous, and ciliate, whose cycle is driven by seasonal productivity. The specific forcing, controls, and individual costs remain part of each documented adaptation. Ten model families define their player count through parameters (variable-N); for periodic families, a changed player count or changed kinetics may require new initial states compatible with the cycle.
Table 1. Category identifiers and their description.
The game instances at a glance
This subsection summarizes the 25 instances by biological scale, following the order of Table 1. Each summary names the players, their decisions, and what couples them; Appendix § 8 gives the complete specifications.
Molecular scale.
In circadianCycle, the ten-state oscillator of the clock proteins PER and TIM of Leloup and Goldbeter [33 ] keeps its published kinetics; player A modulates per transcription and owns the cycle duration, while player B, the light-input pathway, controls TIM degradation. Both players prefer balanced PER/TIM levels at low effort, and return bands on all ten concentrations couple their deviation sets. In metabolicPathway, two expression modules each pay for their own enzyme in a branched pathway whose common product both value, a public-goods situation in which free-riding is expected. Substrate is supplied periodically, and module-specific byproducts inhibit each module’s own reaction, so enzyme investment must be timed relative to supply and byproduct load. mitochondria treats a wild-type and a variant subpopulation of mitochondrial DNA (mtDNA) as players that invest in biogenesis while drawing on one shared energetic pool over a daily activity cycle. The variant has a larger replication allowance but contributes less energy and is lost faster. In proteinFolding, two chaperone systems, i.e., helper proteins that assist folding, with different efficiencies share a consumable chaperone capacity during recovery from a stress pulse. Both value the same native protein pool and have private effort budgets, so the game isolates free-riding on assistance effort. All molecular instances assign independent objectives to regulatory modules or subpopulations within one cell, which is an additional modeling hypothesis (§ 2.6 ); three of the four are periodic.
Cellular scale.
In algae, four algal species share dissolved C O 2 CO_2 C O 2 and bicarbonate pools and allocate their uptake machinery between the two carbon forms over one supply cycle of a maintained culture. The uptake traits follow the four abstract types of Zhou et al. [70 ] , and joint return bands on all biomasses and resources couple all players. In batchFermentation, an upstream strain converts substrate into an intermediate that two downstream strains turn into product; the upstream strain also chooses when the batch ends. Production costs a growth burden, time is costly to the upstream strain, and a product target shared by all strains closes the episode. In biofilm, three strains on one surface divide effort between matrix production, which protects their own cells, and dispersal, while they compete for substrate and oxygen. The strains differ in how they value attached biomass relative to dispersal output, which creates a timing problem between protection, growth, and departure. ciliate couples a bacterium that expresses grazing defense with a ciliate, a single-celled grazer, that adjusts its feeding activity over an annual cycle; both phenotypes follow the commanded levels with a delay. Return bands on densities and phenotypes couple the two deviation sets. In immuneClearance, the host activates cytotoxic responses, which kill infected cells, and antibody responses and ends the infection episode, whereas the virus invests in immune evasion to maximize its accumulated viral load. The clearance target restricts only the host; the virus is bound by its own evasion budget alone. microbial extends the two-strain cross-feeding game of Banga and Villaverde [11 ] , which these authors use as a common example for all four levels of inverse problems, to ten strains in reciprocal pairs, each secreting one metabolite that its partner requires while all compete for carbon under a periodic feed. With 21 biological states and 420 scalar constraint functions, it is the largest instance of the library. In phage, a bacterial population invests in resistance at a cost in growth, and a phage population adjusts the average infectivity of its progeny within one growth episode. Expressed resistance and infectivity follow the commanded levels with a delay. woundRepair assigns inflammatory recruitment, fibroblast recruitment, and oxygen support to three players who weigh effort, excess inflammation, and collagen quality differently. Inflammatory recruitment owns the completion time, and the episode ends when the wound deficit has fallen to a prescribed residual size; a free duration thus arises without periodicity. The cellular instances cover all four interaction types; five of the eight are episodic.
Organismal scale.
In avoidance, two decentralized control modules time their effort in a signaled avoidance trial: acting builds readiness but depletes a shared, slowly recovering motivational resource. Each module benefits in part from the other’s readiness, so the players are partially aligned. motor follows the joint-action experiments of Chackochan and Sanguineti [14 ] : two people move mechanically coupled handles through different private via-points toward a common target. Its linear dynamics and quadratic costs make it a candidate for an analytical cross-check of numerical equilibria. In neural, two regulators drive the excitatory and inhibitory populations of a Wilson–Cowan circuit [65 ] toward different activity targets under a periodic background drive. Both activities must return to their initial values after one cycle. All three organismal instances are regulation games between modules or partners; motor retains published mechanical coefficients.
Population scale.
In antColonies, three neighboring colonies allocate workers among food foraging, water collection, and territorial aggression during one season. Stored food becomes brood and later workers, so allocations have delayed consequences; effort budgets and a food-store floor restrict each colony. fishery models one rotation of a rotationally managed fishing ground: two fleets harvest a logistic stock, and fleet A also chooses the rotation length. Catch quotas and an approximate stock return connect consecutive openings; the stock and cost structure follow Suri [60 ] . In foraging, three foragers deplete a shared renewable food patch and convert food into reserves and a retained harvest. A management floor keeps the patch above 70% of its carrying capacity and thereby couples their feasible sets. In plantNitrogen, three plants compete for an early-spring nitrogen pulse that builds photosynthetic capacity while they shade one another. A shared floor on soil nitrogen represents the concentration at which net uptake ceases. plantWater lets four plants allocate root investment across three soil layers during a season with a wet first and a dry second half. The plants specialize on different layers, and a seasonal water-uptake allowance limits each of them. In pollination, two plant species invest in nectar and two pollinator species allocate their visits among the plants during one flowering season. Effort budgets and population floors restrict all four players. predatorPrey describes an autonomously oscillating community of three prey and two predator species; prey invest in defense or growth, predators in hunting or maintenance. Prey species A chooses the cycle length, which no external clock imposes. In seedGermination, three seed cohorts draw on one water pool during imbibition, the water uptake that precedes germination; fast activation secures early emergence but consumes water that the neighbors need. The window ends when the leading cohort reaches radicle emergence, i.e., its embryonic root breaks through the seed coat, and cohort A owns this duration. sexRatio adapts local mate competition [23 ] , in which brothers compete for mates and mothers therefore produce few sons: three foundresses, females that found a local brood, choose the male fraction of their offspring and provision their brood from a shared, seasonally replenished resource. A synthetic floor on this resource couples their feasible sets. tupelo is the plant–herbivore game discussed in Figure 1 and in § 5 . Seven of the ten population instances are seasonal, and seven describe competition.
Common instance schema
All instances are documented in the same schema. The appendix records biological context and provenance before the equations, followed by the parameter defaults and an interpretation of the saved trajectory. Published equations or coefficients, reductions, and introduced game components are identified separately. Table 2 lists the classifications and attributes of every instance. Its dimensions appear in Table 3 and, per player, with each specification.
Solving the games with CorleoneGame.jl
Interface and optimal-control subproblems
The solver CorleoneGame.jl builds on the optimal-control package Corleone.jl (SciML n.d.). The game extension, the case files, and this manuscript were developed with an AI coding agent under the authors’ supervision; its role is described in the statement on the use of generative AI at the end of the article. Each case file implements the specification G \mathcal{G} G of § 2.5 together with numerical options. The solver fixes the opponents’ decisions and assembles only the active player’s objective and restrictions, i.e., a discretization of the best-response problem (7) . Controls are piecewise constant on M M M equal intervals, owned scalar decisions such as the duration are optimization parameters, and path restrictions are imposed at sample points within each interval. The reference records use single shooting, which eliminates the states by numerical integration, and the interior-point solver Ipopt. Appendix § 10 lists the integrator, tolerances, derivatives, and further options.
Sequential response iteration and refinement
Algorithm 1 states the implemented baseline. Updates are sequential, so later players see earlier updates from the same round. Each response is damped, u i ← ( 1 − α ) u i + α u ^ i u_i \leftarrow(1-\alpha)u_i+\alpha\hat{u}_i u i ← ( 1 − α ) u i + α u ^ i , including owned scalar decisions. With α = 1 \alpha=1 α = 1 , the sweep is the nonlinear Gauss–Seidel-type method described by Facchinei and Kanzow [17 ] ; damping with α < 1 \alpha<1 α < 1 is a heuristic modification. The same damped best-response iteration with a subsequent unilateral-deviation check is used in the Level-4 case study of Banga and Villaverde [11 ] . If the whole sequence of profiles of such a method converges, its limit is an equilibrium, but conditions that guarantee convergence are typically not known or very restrictive, and generalized problems require additional properties of the constraints [17 ] . The iteration therefore has no general convergence guarantee for this library. In mitochondria, for example, tight return bands let successive best responses drift along a family of generalized equilibria, which are not isolated; the looser band of the reference instance avoids this drift.
The defaults are M 0 = 10 M_0=10 M 0 = 10 and M 1 = 40 M_1=40 M 1 = 40 . The damping ranges from α = 0.15 \alpha=0.15 α = 0.15 to α = 1 \alpha=1 α = 1 ; instance-specific values are listed in Appendix § 10 .
Audits and acceptance
An audit asks, for each player separately, whether it could have done better by changing only its own schedule while all other players keep theirs. It evaluates every player’s deviation against the same completed profile and thus tests the equilibrium condition (9) . With a positive reporting scale γ i \gamma_i γ i , the observed normalized gain is
Δ ^ i = max { 0 , J i ( u ) − J i ( u i , v ^ i ) } γ i (11) \widehat{\Delta}_i = \frac{\max\{0, J_i(u)-J_i(u^{i,\hat{v}_i})\}}{\gamma_i} \tag*{(11)} Δ i = γ i max { 0 , J i ( u ) − J i ( u i , v ^ i )} (11)
where v ^ i \hat{v}_i v ^ i is the lowest-cost feasible response found by a local solve from a single start per player and round; all reference records use γ i = 1 \gamma_i=1 γ i = 1 . The violation V i V_i V i of player i i i sums,
Algorithm 1 Sequential response baseline with independent audits
Require: Game specification, grids M 0 < M 1 M_0 < M_1 M 0 < M 1 , initial profile, tolerances, damping α \alpha α
for M ∈ { M 0 , M 1 } M \in\{M_0, M_1\} M ∈ { M 0 , M 1 } do
if M = M 1 M = M_1 M = M 1 then
Transfer the coarse controls by interval averaging
end if
for k = 1 , … , k max k = 1, \ldots, k_{\max} k = 1 , … , k m a x do
for i ∈ P i \in P i ∈ P in the order A , B , … A, B, \ldots A , B , … do
Solve player i i i ’s shooting problem with current opponents fixed
Independently check the response (stop on failure)
u i ← ( 1 − α ) u i + α u ^ i u_i \leftarrow(1-\alpha)u_i+\alpha\hat{u}_i u i ← ( 1 − α ) u i + α u ^ i for owned controls and scalar decisions
end for
Reintegrate the completed profile with tighter tolerances
Audit all unilateral deviations against that same profile
Save objectives, gains, violations, and a trajectory snapshot
if max i V i ≤ ε g \max_i V_i \leq\varepsilon_g max i V i ≤ ε g and max i Δ ^ i ≤ ε J \max_i \widehat{\Delta}_i \leq\varepsilon_J max i Δ i ≤ ε J then
Mark this grid converged and leave the round loop
end if
end for
If k max k_{\max} k m a x is reached, report this grid as not converged
end for
return Profile, per-grid convergence flags, histories, and saved outputs
over its controls and its restrictions in the bound form (5) , the largest excess over the bounds at the audit sample times (13) . A grid is accepted when max i V i ≤ ε g = 10 − 6 \max_i V_i \leq\varepsilon_g = 10^{-6} max i V i ≤ ε g = 1 0 − 6 and max i Δ ^ i ≤ ε J = 2 ⋅ 10 − 5 \max_i \widehat{\Delta}_i \leq\varepsilon_J = 2 \cdot10^{-5} max i Δ i ≤ ε J = 2 ⋅ 1 0 − 5 . Each round uses one response sweep and one full deviation audit, hence 2 N 2N 2 N optimal-control calls. In addition, every response is checked by an independent reintegration.
Reference records
Table 3 summarizes the saved iterations.csv files.
All 25 records contain 10- and 40-interval stages that satisfy the acceptance test. Each instance provides the saved trajectories, controls, iteration histories including the controls after every outer round, and plots of its reference computation. Across the instances, the largest final normalized gain is 1.959 ⋅ 10 − 5 1.959 \cdot10^{-5} 1.959 ⋅ 1 0 − 5 (foraging), and the largest violation is 9.070 ⋅ 10 − 7 9.070 \cdot10^{-7} 9.070 ⋅ 1 0 − 7 (antColonies). The coarse stage requires 2–41 rounds, and the refined stage 1–35. The round counts are unrelated to the problem dimensions (rank correlations with N N N , n x n_x n x , n u n_u n u , n w n_w n w , and n g n_g n g between −0.27 and 0.29): the small games tupelo and neural need 40 and 31 coarse rounds, whereas the largest instance, microbial, needs 3 and 1. The median CPU time of one optimal-control solve ranges from 0.025 s to 4.4 s on the coarse grid and from 0.16 s to 76 s on the refined grid, where it is 5 to 27 times larger. It grows with the state and control dimensions (rank correlations of about 0.7 with n x n_x n x and n u n_u n u , at most 0.37 with N N N and n g n_g n g ), but on the refined grid the three instances with exact Hessians (Appendix § 10 ) are the most expensive per solve, ahead of microbial with 21 states and 420 scalar constraint functions.
Working with the library: the tupelo game
This section follows one instance, the tupelo–leafminer game, through the steps a user of the library might take. § 5.1 translates biological assumptions into an executable specification, and § 5.2 computes and audits a reference candidate. § 5.3 changes the specification to express an alternative hypothesis, namely that defense is limited by a carbon budget rather than by the declining value of the leaves, and shows that it leads to a different candidate. § 5.4 uses the resulting candidates to set up synthetic inverse problems. Each step relies on the objects introduced in the previous one. This path is also a teaching exercise.
From biological assumptions to an executable game
The tupelo–leafminer interaction illustrates strategic timing within a season [32 ] . Player A, the tree, invests in leaf defense u A u_A u A ; player B, the leafminer, an insect whose larvae feed inside the leaves, chooses a hatching hazard u B u_B u B for its eggs.
Figure 1 in § 2 summarizes the game. Leaf area L L L , eggs E E E , and larvae H H H satisfy
L ˙ = − b ρ ( L ) H , E ˙ = − ( u B + μ E + d E u A ) E , H ˙ = u B E − ( μ H + d H u A + κ ρ ( L ) ) H . (12) \begin{aligned}
\dot{L} &= -b\rho(L)H,\\
\dot{E} &= -(u_B+\mu_E+d_Eu_A)E,\\
\dot{H} &= u_BE-(\mu_H+d_Hu_A+\kappa\rho(L))H. \tag*{(12)}
\end{aligned} L ˙ E ˙ H ˙ = − b ρ ( L ) H , = − ( u B + μ E + d E u A ) E , = u B E − ( μ H + d H u A + κ ρ ( L )) H . (12)
Defense reduces egg and larval survival; hatching controls when larvae encounter defense and available leaf tissue. The reference instance follows the model of Low et al. [32 ] , in which consumption is proportional to larval density and larvae pupate, i.e., enter the pupal stage and leave the leaf, at a constant rate, i.e., ρ ( L ) = 1 \rho(L)=1 ρ ( L ) = 1 . The alternative of § 5.3 uses the saturation ρ ( L ) = L / ( K + L ) \rho(L)=L/(K+L) ρ ( L ) = L / ( K + L ) instead. The plant values leaf area weighted by p ( t ) p(t) p ( t ) and pays tissue-weighted defense costs; the herbivore values maturation weighted by ω ( t ) \omega(t) ω ( t ) and pays an egg-weighted hatching cost:
J A = − w A 1 ∫ 0 T p ( t ) L d t + w A 2 ∫ 0 T u A L d t + w A 3 ∫ 0 T u A 2 L d t − w A 4 L ( T ) , J_A=-w_A^1\int_0^T p(t)L\,\mathrm{d}t+w_A^2\int_0^T u_AL\,\mathrm{d}t+w_A^3\int_0^T u_A^2L\,\mathrm{d}t-w_A^4L(T), J A = − w A 1 ∫ 0 T p ( t ) L d t + w A 2 ∫ 0 T u A L d t + w A 3 ∫ 0 T u A 2 L d t − w A 4 L ( T ) ,
J B = − w B 1 ∫ 0 T ω ( t ) κ ρ ( L ) H d t + w B 2 ∫ 0 T u B 2 E d t − w B 3 H ( T ) , J_B=-w_B^1\int_0^T\omega(t)\kappa\rho(L)H\,\mathrm{d}t+w_B^2\int_0^T u_B^2E\,\mathrm{d}t-w_B^3H(T), J B = − w B 1 ∫ 0 T ω ( t ) κ ρ ( L ) H d t + w B 2 ∫ 0 T u B 2 E d t − w B 3 H ( T ) ,
with the photoperiod (day-length) curve p ( t ) = e − ( t / t ∗ ) p(t)=e^{-(t/t^*)} p ( t ) = e − ( t / t ∗ ) and ω ( t ) = e − δ B t \omega(t)=e^{-\delta_Bt} ω ( t ) = e − δ B t of Low et al. [32 ] . With w A 1 = w A 2 w_A^1=w_A^2 w A 1 = w A 2 , the first two terms of J A J_A J A are proportional to their net carbon gain ∫ ( p ( t ) − u A ) L d t \int(p(t)-u_A)L\,\mathrm{d}t ∫ ( p ( t ) − u A ) L d t , and the first term of J B J_B J B is their pupation payoff. The reference weights are w A = ( 0.49 , 0.49 , 0.02 , 0 ) w_A=(0.49,0.49,0.02,0) w A = ( 0.49 , 0.49 , 0.02 , 0 ) and w B = ( 0.98 , 0.02 , 0 ) w_B=(0.98,0.02,0) w B = ( 0.98 , 0.02 , 0 ) . The small quadratic terms are not part of the published payoffs; they regularize the best responses, whose optimal controls are otherwise singular or bang-bang (Low et al. [32 ] ).
The rates follow coevolution scenario 11 of Low et al. [32 ] (defense lethality 0.5 per day, half of the larvae lost to background mortality, larval life span 25 days), mapped to one time unit of 25 days, so that T = 8 T=8 T = 8 corresponds to a season of 200 days:
Table 1 (PDF p. 17).
Egg mortality is neglected, as in their model. Low et al. [32 ] state no value for the photoperiod scale t ∗ t^* t ∗ ; we assume t ∗ = 6 t^*=6 t ∗ = 6 (150 days), so that the leaf value halves near the end of the growing season. The season length of 200 days is inferred from the time axes of their figures.
Optional allowances restrict the players’ effort and the tree’s carbon use:
σ u A ( U A − ∫ 0 T u A d t ) ≥ 0 , σ u B ( U B − ∫ 0 T u B d t ) ≥ 0 , σ C A ( C A − ∫ 0 T u A L d t ) ≥ 0. \sigma_{u_A}\left(U_A-\int_0^T u_A\,\mathrm{d}t\right)\geq0,\qquad
\sigma_{u_B}\left(U_B-\int_0^T u_B\,\mathrm{d}t\right)\geq0,\qquad
\sigma_{C_A}\left(C_A-\int_0^T u_AL\,\mathrm{d}t\right)\geq0. σ u A ( U A − ∫ 0 T u A d t ) ≥ 0 , σ u B ( U B − ∫ 0 T u B d t ) ≥ 0 , σ C A ( C A − ∫ 0 T u A L d t ) ≥ 0.
The carbon allowance C A C_A C A depends on the opponent through leaf area; the two effort allowances do not. As in Low et al. [32 ] , all switches are σ = 0 \sigma= 0 σ = 0 in the reference instance; the alternative of § 5.3 enables them.
The implementation loads CorleoneGame.jl, which defines the module CorleoneGame, and an instance:
include("tupelo/tupelo.jl")
using .CorleoneGame
a = Tupelo.Parameters()
With the coefficients of Appendix § 8 .24, the dynamics callback of tupelo/tupelo.jl implements mechanism and quadratures for objectives and constraints:
47 leaf_value(t,a)=a.photoperiod ? exp(-(t/a.t_star)^a.z) : exp(-a.p_decay*t)
49 function dynamics!(dx, x, controls, t, a)
50 L, E, H = x[1:3]
51 u, v = controls
52 g = a.saturation ? L / (a.K + L) : one(L)
53 dx[1] = -a.b * g * H
54 dx[2] = -(v + a.muE + a.dE * u) * E
55 dx[3] = v * E - (a.muH + a.dH * u + a.kappa * g) * H
56 wp = a.w_A ./ a.scales_P
57 wh = a.w_B ./ a.scales_H
58 dx[4] = -(wp[1] * leaf_value(t, a) - wp[2] * u - wp[3] * u^2) * L
59 dx[5] = -wh[1] * exp(-a.q_decay * t) * a.kappa * g * H + wh[2]*v^2*E
60 dx[6] = u
61 dx[7] = v
62 dx[8] = u * L
63 return nothing
64 end
Line 47 defines the leaf value p ( t ) p(t) p ( t ) , with an exponential alternative e − δ A t e^{-\delta_A t} e − δ A t . Line 52 selects ρ ( L ) \rho(L) ρ ( L ) , and lines 53–55 implement (12) . Lines 56–59 accumulate the running parts of J A J_A J A and J B J_B J B , including the fixed feature scales, and lines 60–62 accumulate the three allowance integrals.1 The objective callback adds the terminal terms, and the constraint callback turns every enabled allowance into a terminal bound on the corresponding integral, owned by the restricted player:
66 function objective(x,player,a)
67 return player==1 ? x[4]-a.w_A[4]/a.scales_P[4]*x[1] :
68 x[5]-a.w_B[3]/a.scales_H[3]*x[3]
69 end
71 function constraints(a)
72 bounds = StateConstraint[]
73 for (player,index,bound,label) in ((1,6,a.U_A,"budget u1"),(2,7,a.U_B,
"budget u2"),(1,8,a.C_A,"carbon budget"))
74 bound===nothing || push!(bounds,StateConstraint(;player,index,
label,upper=bound))
75 end
The remaining lines of constraints only number the plot labels. The game constructor (lines 107–121 of the case file) collects these pieces with state and control labels, the ownership of u A u_A u A by A and u B u_B u B by B, the control bounds (2) , the initial state, and the indices of the quadratures and running objectives.
A new game instance follows the same construction: define its parameters and callbacks, then provide a Game. A contributed instance consists of one case file with a Parameters structure, the dynamics, objective, and constraint callbacks, validation functions, and a game constructor.
Computing and auditing a reference candidate
The specification of § 5.1 is solved by Algorithm 1 (§ 4.2 ) and accepted by the audit of § 4.3 :
g = Tupelo.game(a)
options = Tupelo.algorithm_options(intervals=10, refined_intervals=40)
result = run_game(g; options, folder="tupelo/teaching_output")
The instance uses the damping α = 0.2 \alpha= 0.2 α = 0.2 . With α = 0.5 \alpha= 0.5 α = 0.5 , the normalized gains of the tree oscillated between about 10 − 2 10^{-2} 1 0 − 2 and 5 ⋅ 10 − 2 5 \cdot10^{-2} 5 ⋅ 1 0 − 2 over 200 rounds without converging; Low et al. [32 ] also report that simple best-response iteration did not converge for their model and use damping. Figure 2 a shows the audit history of the reference record. The coarse grid converges after 40 rounds and the refined grid after 17. No restriction is enabled, so all violations are zero, and the normalized gain of the tree determines the round count. Figure 2 b shows how the profiles change over the outer rounds on the coarse grid. The first rounds keep defense and hatching nearly constant in time. By round 40, defense on the coarse grid decreases to zero at t = 4 t = 4 t = 4 , and hatching is low early and maximal after t = 4 t = 4 t = 4 . The refined grid then resolves the early hatching pulse and the end of defense.
Figure 2. Results of Algorithm 1 applied to the tupelo reference instance. (a) Normalized gains of the tree (Player A, blue) and the leafminer (B, ochre) per outer round on the coarse grid (rounds 1–40) and the refined grid (after the dotted line); the gray line marks the tolerance ε J \varepsilon_J ε J . Violations are not shown, since the instance has no restrictions. (b) Profiles of defense u A u_A u A (blue) and hatching u B u_B u B (ochre) after the damped update of coarse rounds 1, 2, and 40, from light to dark.
The reference candidate combines low, early defense with delayed mass hatching. The tree defends with at most 0.30, mostly between 0.1 and 0.2, and stops defending at t ≈ 4.4 t \approx4.4 t ≈ 4.4 . The leafminer releases a small hatching pulse at the start, hatches at a reduced hazard of about 0.2–0.3 while defense lasts, and hatches at maximal hazard from t ≈ 4.2 t \approx4.2 t ≈ 4.2 until shortly before T T T . The corresponding states are shown in Figure 3 . Larvae remain at low density, below 0.08, with a maximum at t ≈ 4.5 t \approx4.5 t ≈ 4.5 ; eggs decline to 0.26 by t = 4 t = 4 t = 4 and are nearly exhausted by t = 6 t = 6 t = 6 . Leaf area falls to 0.50; about half of the loss (46%) occurs after t = 4 t = 4 t = 4 .
Figure 3. States of the tupelo reference candidate (solid lines) and of the allowance alternative of § 5.3 (dashed lines), together with the synthetic observations generated from the reference candidate (points). The observation-generation script specifies times, noise level, and seed, so this experiment can be repeated from the saved trajectory.
These features agree qualitatively with the coevolutionary results of Low et al. [32 ] : defense early in the season with a low larval density permitted, relaxation of defense before the end of the season, an early pulse of “sneakers”, and mass hatching after defense has ended, which shifts consumption to later in the season. The onset of maximal hatching at t ≈ 4.2 t \approx4.2 t ≈ 4.2 corresponds to day 105 of the mapped season, close to the mass emergence on days 106–127 reported by Low et al. [32 ] . One difference remains: the leafminer does not avoid defense completely but hatches at a reduced rate while defense lasts, and defense is used rather than only threatened. We interpret this as a consequence of the open-loop information structure.
The saved iteration history is also the unit of comparison for algorithm developers. Algorithm 1 can be replaced by another forward dynamic-game solver while retaining the same dynamics, objectives, ownership, and restrictions. Alternatively, one may keep the response iteration and replace its control transcription or nonlinear-programming backend. Comparable records contain feasibility and unilateral-deviation evidence on the same instance, as in Figure 2 , together with run-time environment and discretization choices. The reference candidate is the baseline for the variants of § 5.3 and the data source of § 5.4 .
Alternative hypotheses as instance variants
The reference candidate of § 5.2 results from specific modeling choices. A biological hypothesis about the interaction corresponds to an instance variant (§ 2.5 ), i.e., to changes in one or more components of the specification in § 5.1 . For tupelo, preference variants change the weights w A , w B w_A,w_B w A , w B or the value functions p , ω p,\omega p , ω ; restriction variants change the switches σ \sigma σ or the bounds U A , U B , C A U_A,U_B,C_A U A , U B , C A ; and mechanism variants change the dynamics (12) , e.g., the saturation ρ \rho ρ , the rates, or a fixed hatching schedule. Many variants are possible. A positive terminal weight w B 3 w_B^3 w B 3 rewards larvae that mature after T T T (preference variant); C_A=1.0 enables the opponent-dependent carbon allowance, whereas U_A=2.0 enables only an effort allowance (restriction variants); fixing u B u_B u B to a prescribed schedule reduces the game to A’s optimal-control problem (mechanism variant). A preference variant alters what a player prefers, whereas a restriction variant alters what a player may do; students can identify why enabling C A C_A C A also changes how B’s decisions affect A’s feasible set.
As an example, the alternative instance tupelo/tupelo_allowance.jl expresses a different biological hypothesis: the tree’s defense is limited by a carbon budget rather than by the declining value of its leaves, in a regime of mild defense lethality. It differs from the reference in all three components.
Restrictions: it enables the carbon allowance C A = 1 C_A = 1 C A = 1 and the effort allowances U A = 2 U_A = 2 U A = 2 and U B = 3.5 U_B = 3.5 U B = 3.5 .
Mechanism: it uses the saturation ρ ( L ) \rho(L) ρ ( L ) with K = 0.15 K = 0.15 K = 0.15 , egg mortality μ E = 0.025 \mu_E = 0.025 μ E = 0.025 , mild lethality d E = 0.05 d_E = 0.05 d E = 0.05 , d H = 1.2 d_H = 1.2 d H = 1.2 , and rates b = 0.55 b = 0.55 b = 0.55 , μ H = 0.1 \mu_H = 0.1 μ H = 0.1 , κ = 0.65 \kappa= 0.65 κ = 0.65 .
Preferences: it uses the exponentially declining leaf value e − 0.2 t e^{-0.2t} e − 0.2 t , ω ( t ) = e − 0.06 t \omega(t) = e^{-0.06t} ω ( t ) = e − 0.06 t , and the weights w A = ( 100 , 8 , 15 , 0 ) / 123 w_A = (100, 8, 15, 0)/123 w A = ( 100 , 8 , 15 , 0 ) /123 and w B = ( 40 , 1 , 0 ) / 41 w_B = (40, 1, 0)/41 w B = ( 40 , 1 , 0 ) /41 .
The alternative converges in 19 rounds on 10 intervals and in 5 rounds on 40 intervals, with damping α = 0.5 \alpha= 0.5 α = 0.5 . On the coarse grid, the normalized gains fall below ε J \varepsilon_J ε J from round 10 on, whereas the violation of the carbon allowance delays convergence until round 19; here feasibility, not optimality, governs the round count. The tree raises its defense to about 0.44 almost immediately and lowers it to zero by t ≈ 4.4 t \approx4.4 t ≈ 4.4 , when its carbon allowance is exhausted (∫ 0 T u A L d t = C A \int_0^T u_A L\,\mathrm{d}t = C_A ∫ 0 T u A L d t = C A ). The effort allowance is not binding (∫ 0 T u A d t ≈ 1.15 < U A \int_0^T u_A\,\mathrm{d}t \approx1.15 < U_A ∫ 0 T u A d t ≈ 1.15 < U A ). The leafminer releases a first pulse, keeps hatching low while defense is strong, and hatches at maximal hazard during t ≈ 3.4 t \approx3.4 t ≈ 3.4 –5, exhausting its hatching allowance. Larvae stay near 0.17–0.19 during the first half of the season, and leaf area levels off at 0.54.
The two candidates support different biological readings. In the reference, defense ends because the remaining value of the leaves no longer justifies it, larval density stays low while defense lasts, and 46% of the leaf loss occurs after t = 4 t = 4 t = 4 . In the alternative, defense ends because the carbon budget is exhausted, larvae feed at high density from the start, and only 33% of the leaf loss occurs after t = 4 t = 4 t = 4 . The alternative thus describes an ongoing conflict in the early part of the season, whereas the reference shifts herbivory to later in the season, as in Low et al. [32 ] . Figure 3 compares both candidates with synthetic observations.
Synthetic observations and inverse games
The saved reference candidate of § 5.2 can generate observations without another optimization. The supplied tupelo_synthetic.jl linearly interpolates all three biological states at 20 irregular times and adds independent Gaussian noise with standard deviation 0.02 and seed 20260908:
include("tupelo/tupelo_synthetic.jl")
main() # writes tupelo/output/tupelo_synthetic.csv
Figure 3 shows these observations with the reference candidate. The general create_synthetic_data utility additionally accepts observation times, a random seed, and state-specific noise levels.
The variants of § 5.3 define the hypothesis space of an inverse problem. Banga and Villaverde [11 ] arrange biological inverse problems in four levels of increasing ambition: (1) parametric identification of a known model, (2) model discovery, in which structure and parameters are inferred, (3) inverse optimal control, which infers the objective of a single decision maker, and (4) inverse differential games, which infer the individual objectives of several interacting agents. In the first two levels the controls are known inputs; in the upper two they are the behavior to be explained. The tupelo variants map onto this hierarchy. Mechanism variants with changed rates are Level-1 problems when the schedules u A u_A u A and u B u_B u B are observed, and a changed saturation ρ \rho ρ is a Level-2 question. Fixing u B u_B u B to its observed schedule reduces the game to the tree’s optimal-control problem, whose unknown weights w A w_A w A form a Level-3 problem. Preference variants with unknown w A w_A w A and w B w_B w B are the Level-4 problem, studied for open-loop equilibria by Molloy et al. [38 , 36 ] . Restriction variants add a dimension that the four levels do not separate: generalized inverse optimal control treats restrictions as model components to be inferred (Banga and Sager [10 ] ), in Levels 3 and 4 alike. Figure 3 also shows the candidate of the allowance alternative, which differs from the reference in all three components. Differences in the data can therefore not be attributed to one component; Banga and Villaverde [11 ] call such trade-offs between objective and mechanism cross-level compensation. Leaf area separates the candidates only weakly: the trajectories differ by at most 0.046. Eggs and larvae separate them clearly, with differences of up to 0.19 and 0.14. The root-mean-square residuals of the alternative with respect to the observations are 0.10 for eggs and 0.09 for larvae, compared with 0.02 for the reference and the noise standard deviation 0.02. Whether such data suffice to identify individual components is an identifiability question that this forward comparison does not answer.
A controlled inverse benchmark on this instance can proceed as follows. The dynamics and the observation model, i.e., observed states, times, and noise distribution, are given, and a subset of the specification is hidden, for example w A w_A w A and w B w_B w B (preferences) or the switches and bounds of the allowances (restrictions); in terms of § 2.5 , the hidden entries of G \mathcal{G} G are the unknowns. A method succeeds if it recovers the hidden components within a stated tolerance and if the recovered game, solved and audited as in § 5.2 and § 4.3 , reproduces the observations. Because generalized Nash equilibria are typically not isolated (§ 2.3 ), a recovered specification can reproduce the data through another equilibrium of the same game, and a correct specification can fail to reproduce them through equilibrium selection. Banga and Villaverde [11 ] name further Level-4 difficulties that the library allows to study in a controlled way: permutation symmetry of players with similar roles, cooperative mimicry of a single aggregate optimizer, and an unknown number of players, which the variable-N N N instances can vary. Reports should therefore state the forward solver, its initializations, and whether several observation scenarios or initializations were used to assess ambiguities between weights, restrictions, and equilibrium selection. No inverse experiment is reported here.
Discussion and outlook
The library provides 25 executable game specifications from the molecular to the population scale, each with a parameter instance, an audited reference candidate, and an interpretation of the candidate. The common specification makes preferences, restrictions, and decision ownership explicit, so that alternative biological hypotheses become instance variants that can be solved and compared with the same method.
The tupelo example in § 5 shows this use in a chain of steps: an executable specification yields an audited reference candidate; changes of preferences, restrictions, or mechanisms turn biological hypotheses into instance variants; and the candidates generate synthetic observations whose hypothesis space for inverse games is defined by these variants. The reference instance, mapped from a published scenario of Low et al. [32 ] , reproduces their delayed mass hatching qualitatively, but not their complete conflict avoidance, which we attribute to the open-loop information structure: in their model, the plant can respond to the current larval density with induced defense, so that the threat of defense alone deters early hatching, whereas a schedule fixed at the start of the season cannot respond to larval density, and defense must therefore be used rather than only threatened.
The reference candidates have the limitations stated in § 2.6 and § 4.3 : they are open-loop, need not be unique, and are accepted on two control grids by local solves; they carry no certificate of an exact continuous-time equilibrium. Most parameters are synthetic. The sequential iteration has no general convergence guarantee, and in some periodic instances only a looser return band yields convergence.
These limitations define the next steps. Inverse games can start from the hypothesis spaces of § 5 , ideally with real-world data. Feedback equilibria for selected instances would show whether conclusions such as the tupelo comparison depend on the information structure, and hence which hypotheses remain plausible for given synthetic or real-world data. Simultaneous or extrapolated updates, multiple shooting, and methods for equilibrium selection can be compared on the same audits. Calibrated instances, multiseason models with an explicit offseason map, and scalability studies with a variable number of players extend the library in further directions. The code, the saved candidates, and the scripts that generate all tables and figures are available (see the code availability statement). Each instance is also documented in the category of dynamic games of the benchmark library https://mintoc.de [51 ] , whose category system includes the classifications of Table 1, so that new instances and methods can be added and compared with the reference results.
Statements and Declarations
Funding. The project has been funded by the European Regional Development Fund under the European Union’s Horizon Europe Research and Innovation Program via grants intelAlgen ZS/2023/12/182064, timingMatters ZS/2023/12/182063, and Center for Dynamic Systems ZS/2023/12/182075, which we gratefully acknowledge.
Competing interests. None.
Ethics approval and consent to participate. Not applicable.
Consent for publication. Not applicable.
Data availability. No experimental data were used. The saved reference candidates (controls, trajectories, iteration histories, and solver logs) and the synthetic observations of § 5 are part of the code repository.
Materials availability. Not applicable.
Code availability. The solver, the implementations of all 25 game instances, and the scripts that generate all tables and figures of this paper are available at https://github.com/SciML/Corleone.jl with fixed package versions.
Author contributions. Conceptualization: SS; Methodology: SS; Software: JM, CP, SS; Validation: SS; Writing – original draft: SS; Writing – review and editing: all authors; Supervision: SS; Funding acquisition: SS; Biological interpretation: FO, KR, SS.
Use of generative AI. The project was developed with extensive use of Claude Code 2.1.285 using Opus 5.5. The agent’s behavior was constrained by instructions that prohibited invented references, data, and results and required unverified statements to be marked. The authors specified all tasks in approximately 100 human-in-the-loop prompts. The agent implemented parts of CorleoneGame.jl; formulated and implemented the game instances from biological settings chosen by the authors; ran all computations and generated tables and figures; searched the literature; and drafted and revised parts of the text. The authors checked all model equations, provenance statements, references, and the overall text. They take full responsibility for the contents of this article.
Game specifications
Each game instance uses the notation from § 2 . Players are indexed by P = { A , B , … } \mathcal{P} = \{A, B, \ldots\} P = { A , B , … } with ∣ P ∣ = N |\mathcal{P}| = N ∣ P ∣ = N ; player-indexed tuples and parameter rows follow this alphabetical order. Numeric subscripts on the full state vector x x x or numerical state y y y denote component positions, not player names. The position map is ι ( A ) = 1 \iota(A) = 1 ι ( A ) = 1 , ι ( B ) = 2 \iota(B) = 2 ι ( B ) = 2 , … \ldots … . Local biochemical and resource indices retain their stated meanings. Unless a game instance defines a smaller group, sums over player indices run over P \mathcal{P} P .
Parameter listings reproduce the Julia parameter fields, with tuples and matrices in code order. The correspondence to mathematical notation should be clear from the context. The fixed horizon is T T T ; for free-time instances, duration initializes the optimized horizon reported in the numerical record. Initial physical values and bounds are specified by these fields; objective and budget quadratures start at zero. The field initial is the initial control guess of the solver, and numerical_x0 is the initial numerical state including quadratures. A nothing entry disables an optional restriction. Enabled-bound tables use numerical-state coordinates y y y , including quadratures and any log transformation. Return bands are written in physical biological coordinates x x x ; control boxes are listed separately. A local g i ≥ 0 g_i \ge0 g i ≥ 0 slack convention is equivalent to (4) with the same sign convention. Categories describe the enabled instance.
Reading the figures. The first panel shows the displayed differential states. The second shows piecewise-constant controls; parentheses identify their owner. The third, when present, shows constraint slacks. A lower bound has slack x j − x ‾ j x_j - \underline{x}_j x j − x j and an upper bound has slack x ‾ j − x j \overline{x}_j - x_j x j − x j . A shared restriction is drawn once and lists all owners. Slack labels g 1 , g 2 , … g_1, g_2, \ldots g 1 , g 2 , … follow the row order of the instance’s enabled-bounds table; return bands are omitted from the numbering. Solid curves denote path restrictions; dotted curves and terminal markers denote endpoint restrictions. Values along a dotted curve before T T T are contextual, not additional path requirements. The label is violated below − 10 − 4 -10^{-4} − 1 0 − 4 , active up to 10 − 3 10^{-3} 1 0 − 3 , and otherwise inactive , based on the minimum path slack or terminal slack. Equalities use the absolute residual with a negative sign for this classification. These display thresholds differ from the solver’s acceptance tolerance. Return bands are hidden in the plot. Axes show physical time.
A common template for transfer tasks. Three free-duration transfer tasks (batchFermentation, seedGermination, woundRepair) share one template: a duration cost for the owner, squared effort, an instance-specific running cost, a terminal target shared by all players, private effort budgets, and one path restriction per player. These instances are deliberately weakly coupled: an equilibrium candidate is found within a few outer rounds, the path restrictions are synthetic and inactive in the reference records, and the timing is governed by the shared target and the owner’s time cost. They serve as easy benchmark instances and as a controlled comparison of coupling mechanisms under a common structure. The fourth transfer task, immuneClearance, differs: the clearance target restricts only the host.
algae: Carbon-uptake allocation in an algae community
Biological interpretation. Microalgae in lakes and cultures take up inorganic carbon either as dissolved C O 2 \mathrm{CO}_2 CO 2 , which diffuses passively but is scarce at high pH, or as bicarbonate, which requires active transport through carbon-concentrating mechanisms. Species differ in their affinities for the two carbon forms, and cells can shift the allocation of their uptake machinery between them. When the carbon supply fluctuates, for example through a recurring feeding or mixing regime in a maintained culture, the community goes through cycles of bloom and decline in which the relative availability of C O 2 \mathrm{CO}_2 CO 2 and bicarbonate changes. We consider one full supply cycle of a maintained culture: biomasses and resources must return to their initial levels, and each strain maximizes its average gross production while avoiding extreme specialization.
Zhou et al. [70 ] study monocultures and pairwise competition among Scenedesmus quadricauda , Chlorella vulgaris , Synedra ulna and Phormidium sp. (a cyanobacterium), under different atmospheric C O 2 \mathrm{CO}_2 CO 2 levels. Their model includes carbon uptake, quotas, carbonate chemistry and light.
Proposed player i i i : one species, allocating uptake machinery between dissolved C O 2 \mathrm{CO}_2 CO 2 and bicarbonate using u i u_i u i . All species share the resource pools. This provides a community benchmark for either pairs or N = 4 N = 4 N = 4 players. The source has fixed uptake traits and does not solve a differential game. The controlled reduction and objectives below are our hypotheses.
The four model affinity types in the source are abstract types; they must not be assigned to the four named species without calibration. Players A–D use the types HCHH, HCLH, LCHH, and LCLH.
Literature and provenance. The source’s four abstract uptake types have the following numerical values:
Table 4.
For this dimensionless dynamic game , we use the same numerical contrasts, not interpreting them as a calibrated conversion of source units. Rate units of the source are not needed for this dimensionless reduction.
Its carbonate/quota model is richer than our reduction. Fitting the proposed ODE to named-species observations requires new parameter estimation and checking whether the reduced dynamics are adequate.
Dimensions. N = 4 N = 4 N = 4 , n x = 6 n_x = 6 n x = 6 , n O D E = 10 n_{\mathrm{ODE}} = 10 n ODE = 10 , ( n u , i ) i ∈ P = ( 4 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (4 \times1) ( n u , i ) i ∈ P = ( 4 × 1 ) , ( n g , i ) i ∈ P = ( 4 × 12 ) (n_{g,i})_{i\in\mathcal{P}} = (4 \times12) ( n g , i ) i ∈ P = ( 4 × 12 ) .
Categories. cellular, periodical, competition, variable-N N N .
Figure 4. Reference equilibrium candidate for algae. Interpretation. The carbon supply peaks in the first half of the cycle, so CO2 _2 2 and bicarbonate rise to maxima near t ≈ 20 t \approx20 t ≈ 20 (3.0 and 106) and fall to minima near t ≈ 48 t \approx48 t ≈ 48 –50. The four strains respond with a delayed bloom: biomasses increase up to a factor of 2.65 (strain A) and peak between t ≈ 31 t \approx31 t ≈ 31 and t ≈ 37 t \approx37 t ≈ 37 , after which resource depletion and declining supply cause a synchronous decline back to the initial level. Strain D, with low affinities for both carbon forms, grows least and keeps a nearly balanced allocation. The allocation strategies differ according to the uptake traits: B, with low bicarbonate affinity, starts strongly CO2 _2 2 -oriented and shifts toward bicarbonate while bicarbonate is abundant, whereas A and C increase their CO2 _2 2 allocation during and after the bloom, when bicarbonate becomes scarce; C reaches the strongest CO2 _2 2 preference (0.72) near t ≈ 39 t \approx39 t ≈ 39 . No additional path or budget restrictions are enabled, and the return conditions close all biomasses and resource pools within the tolerance.
Game specification. Let X i X_i X i be biomass and C , H C,H C , H the CO2 _2 2 and bicarbonate carbon pools. Use consistent dimensionless units for this initial benchmark:
q C , i = u i V C , i C K C , i + C , q H , i = ( 1 − u i ) V H , i H K H , i + H , μ i = Y i ( q C , i + q H , i ) . q_{C,i}=u_iV_{C,i}\frac{C}{K_{C,i}+C},\qquad q_{H,i}=(1-u_i)V_{H,i}\frac{H}{K_{H,i}+H},\qquad\mu_i=Y_i(q_{C,i}+q_{H,i}). q C , i = u i V C , i K C , i + C C , q H , i = ( 1 − u i ) V H , i K H , i + H H , μ i = Y i ( q C , i + q H , i ) .
X ˙ i = ( μ i − d i ) X i , i ∈ P , \dot{X}_i=(\mu_i-d_i)X_i,\qquad i\in\mathcal{P}, X ˙ i = ( μ i − d i ) X i , i ∈ P ,
C ˙ = λ ( C i n ( t ) − C ) − k + C + k − H − ∑ i ∈ P q C , i X i , \dot{C}=\lambda(C_{\mathrm{in}}(t)-C)-k_{+}C+k_{-}H-\sum_{i\in\mathcal{P}}q_{C,i}X_i, C ˙ = λ ( C in ( t ) − C ) − k + C + k − H − i ∈ P ∑ q C , i X i ,
H ˙ = λ ( H i n ( t ) − H ) + k + C − k − H − ∑ i ∈ P q H , i X i . \dot{H}=\lambda(H_{\mathrm{in}}(t)-H)+k_{+}C-k_{-}H-\sum_{i\in\mathcal{P}}q_{H,i}X_i. H ˙ = λ ( H in ( t ) − H ) + k + C − k − H − i ∈ P ∑ q H , i X i .
This N + 2 N+2 N + 2 state reduction omits cell quotas, variable pH and self-shading; k + , k − k_{+},k_{-} k + , k − approximate conversion at buffered conditions. Each uptake vanishes at depletion. Conversion cancels in C ˙ + H ˙ \dot{C}+\dot{H} C ˙ + H ˙ . Biomass loss leaves the modeled live-carbon pools.
Let B 0 > 0 B_0>0 B 0 > 0 be a fixed biomass scale. Player i i i minimizes
J i = − ( w i 1 + w i 3 ) 1 T ∫ 0 T μ i X i B 0 d t + w i 2 1 T ∫ 0 T [ u i 2 + ( 1 − u i ) 2 ] d t . J_i=-(w_i^1+w_i^3)\frac{1}{T}\int_0^T\frac{\mu_iX_i}{B_0}\,\mathrm{d}t+w_i^2\frac{1}{T}\int_0^T\left[u_i^2+(1-u_i)^2\right]\,\mathrm{d}t. J i = − ( w i 1 + w i 3 ) T 1 ∫ 0 T B 0 μ i X i d t + w i 2 T 1 ∫ 0 T [ u i 2 + ( 1 − u i ) 2 ] d t .
w i ≥ 0 , ∑ k = 1 3 w i k = 1. w_i\ge0,\qquad\sum_{k=1}^{3}w_i^k=1. w i ≥ 0 , k = 1 ∑ 3 w i k = 1.
The first term is the average gross biomass production. In the periodical setting the terminal biomass is fixed by the return band, so a terminal-biomass term would be nearly constant; its weight w i 3 w_i^3 w i 3 is therefore added to the production weight. The quadratic term penalizes specialization of uptake investment; it is not an observed metabolic expenditure. Production benefits create incentives to deplete resources needed by competitors.
Periodical setting. The inflow concentrations are modulated as C i n ( t ) = C i n [ 1 + a sin ( 2 π t / T p e r ) ] C_{\mathrm{in}}(t)=C_{\mathrm{in}}[1+a\sin(2\pi t/T_{\mathrm{per}})] C in ( t ) = C in [ 1 + a sin ( 2 π t / T per )] and H i n ( t ) = H i n [ 1 + a sin ( 2 π t / T p e r ) ] H_{\mathrm{in}}(t)=H_{\mathrm{in}}[1+a\sin(2\pi t/T_{\mathrm{per}})] H in ( t ) = H in [ 1 + a sin ( 2 π t / T per )] with forcing period T p e r = T T_{\mathrm{per}}=T T per = T . The fixed initial state lies on a reference cycle obtained with constant allocations: phase-zero biomasses are fixed, and loss rates d i d_i d i and initial resource pools are calibrated so that this reference cycle closes. Every player’s problem contains the return conditions ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ \lvert x_j(T)-x_j(0)\rvert\le\delta ∣ x j ( T ) − x j ( 0 )∣ ≤ δ for all biomasses and resource pools. The tolerance δ = 10 − 4 \delta=10^{-4} δ = 1 0 − 4 is absolute; since bicarbonate reaches H ≈ 106 H\approx106 H ≈ 106 and CO2 _2 2 about 3, the band is relatively much tighter for H H H than for the biomasses.
Enabled bounds:
Table 1 (PDF p. 28).
Parameter instance.
types = [:HCHH, :HCLH, :LCHH, :LCLH]
forcing_period = 60.0
T = 60.0
forcing_amplitude = 0.9
periodicity_tolerance = 0.0001
B0 = 1.0
K_C = [1.0, 1.0, 40.0, 40.0]
K_H = [30.0, 1200.0, 30.0, 1200.0]
V_C = [0.2, 0.2, 0.4, 0.4]
V_H = [0.2, 0.4, 0.2, 0.4]
Y = [1.0, 1.0, 1.0, 1.0]
d = [0.1139088931, 0.06327295407, 0.06733780299, 0.01670186393]
lambda = 0.2
k_plus = 0.3
k_minus = 0.01
C_in = 2.0
H_in = 60.0
x0 = [1.0, 1.0, 1.0, 1.0, 1.046509686, 37.02538762]
weights = [0.45 0.1 0.45 0.45 0.1 0.45 0.45 0.1 0.45 0.45 0.1 0.45]
initial = [0.5, 0.5, 0.5, 0.5]
control_lower = [0.0, 0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0, 1.0]
numerical_x0 = [1.0, 1.0, 1.0, 1.0, 1.046509686, 37.02538762, 0.0, 0.0, 0.0,
0.0]
antColonies: Competition for food, water, territory
Biological interpretation. Neighboring ant colonies in arid habitats compete for food and water during the active season: workers leave the nest to forage, and colonies defend foraging areas against neighbors through territorial aggression, which reduces the rivals’ harvest but costs workers. Food brought home is stored and converted into brood, which later matures into new workers, so a colony’s allocation of its workforce has delayed consequences. We model one foraging season of three colonies that share food and water sources; each colony allocates its workforce between food foraging, water collection, and aggression, subject to an effort budget and a minimum food store that must be maintained throughout the season.
Players are N ≥ 2 N \ge2 N ≥ 2 colonies. Shared states F , W F, W F , W are available food and water; A i , B i , C i A_i, B_i, C_i A i , B i , C i are workers, brood, and stored food. x = ( F , W , ( A i ) i ∈ P , ( B i ) i ∈ P , ( C i ) i ∈ P ) x = (F, W, (A_i)_{i\in\mathcal{P}}, (B_i)_{i\in\mathcal{P}}, (C_i)_{i\in\mathcal{P}}) x = ( F , W , ( A i ) i ∈ P , ( B i ) i ∈ P , ( C i ) i ∈ P ) . Each colony chooses nonnegative intensities ( f i , w i , a i ) (f_i, w_i, a_i) ( f i , w i , a i ) for food foraging, water collection, and territorial activity. Define worker shares
( s f i , s w i , s a i ) = ( f i , w i , a i ) 1 + f i + w i + a i . (s_{fi},s_{wi},s_{ai}) = \frac{(f_i,w_i,a_i)}{1+f_i+w_i+a_i}. ( s f i , s w i , s ai ) = 1 + f i + w i + a i ( f i , w i , a i ) .
The residual share performs nest tasks; total external allocation is below one. All controls depend on time alone.
Literature and provenance. The source [1 ] models resource exploitation and interference between neighboring ant colonies. We retain these mechanisms in an aggregate dynamic game, adding water limitation, brood maturation, and food stores as explicit proposed components. We do not reproduce the source spatial model or claim its fitted parameters.
Figure 5. Reference equilibrium candidate for antColonies. Interpretation. The season opens with a territorial contest: during the first time unit all three colonies invest heavily in aggression (up to 0.57) together with water collection, while food foraging is zero. Because conflict mortality of a colony decreases with its own aggression (χ Q i / ( 1 + s a i A i ) \chi Q_i/(1+s_{ai}A_i) χ Q i / ( 1 + s ai A i ) ), early aggression is partly defensive: each colony protects its workforce against the others’ aggression, a mutual arms race that ends once worker losses outweigh the protection. Aggression declines quickly and stops at t ≈ 0.9 t \approx0.9 t ≈ 0.9 , after which food foraging starts abruptly and water collection continues. Food foraging then tapers off first, ending near t ≈ 4 t \approx4 t ≈ 4 , and water collection declines more slowly until the end of the season; colony C, which weights effort costs most, forages least. Because nobody harvests food during the contest, the shared food source rises at the start, dips slightly while foraging is intense, and then accumulates again; water is drawn down to a minimum near t ≈ 4.2 t \approx4.2 t ≈ 4.2 and recovers once collection slows. Conflict and foraging risk reduce the worker forces by about 20%, brood declines from 0.3 to about 0.06 as it matures into workers faster than stored food and water produce new brood, and the food stores are run down to their protective floor at the end of the season (g 4 g_4 g 4 –g 6 g_6 g 6 active). Colony A also exhausts its effort budget (g 1 g_1 g 1 active), B nearly so, whereas C retains unused effort.
Optimization and conflict among foraging ranges of neighboring colonies are analyzed by Adler and Gordon [1 ] . A differential-game analysis of territorial space use, for wolf packs, is given by Hamelin and Lewis [27 ] .
All numerical defaults are synthetic and dimensionless; no fitted biological values or source equilibrium results are asserted.
[16 ] reports water collection under experimental water stress. This supports treating water acquisition as a distinct colony task. [19 ] links food collection, internal storage, and redistribution. Our single food-store compartment aggregates these processes. Rao et al. [49 ] provide a model linking nutrition, brood rearing, and colony dynamics. Our maturation and production terms are a simpler proposed representation.
These components come from different species or model settings. Their combination is a generic benchmark, not a species-specific reconstruction; worker castes and individual communication are not resolved.
Dimensions. N = 3 N = 3 N = 3 , n x = 11 n_x = 11 n x = 11 , n O D E = 17 n_{\mathrm{ODE}} = 17 n ODE = 17 , ( n u , i ) i ∈ P = ( 3 × 3 ) (n_{u,i})_{i\in\mathcal{P}} = (3 \times3) ( n u , i ) i ∈ P = ( 3 × 3 ) , ( n g , i ) i ∈ P = ( 3 × 2 ) (n_{g,i})_{i\in\mathcal{P}} = (3 \times2) ( n g , i ) i ∈ P = ( 3 × 2 ) .
Categories. population, seasonal, competition, variable-N N N .
Game specification. Rival territorial pressure is Q i = ∑ j ∈ P ∖ { i } s a j A j Q_i = \sum_{j\in\mathcal{P}\setminus\{i\}} s_{aj}A_j Q i = ∑ j ∈ P ∖ { i } s aj A j . Food intake H i H_i H i , water collection V i V_i V i , and brood production G i G_i G i are
H i = α i s f i A i F ( h + F ) ( 1 + γ Q i ) , V i = β i s w i A i W h + W , H_i = \frac{\alpha_i s_{f i} A_i F}{(h + F)(1 + \gamma Q_i)}, \qquad V_i = \frac{\beta_i s_{w i} A_i W}{h + W}, H i = ( h + F ) ( 1 + γ Q i ) α i s f i A i F , V i = h + W β i s w i A i W ,
G i = b A i C i h + C i V i h + V i . G_i = b A_i \frac{C_i}{h + C_i}\frac{V_i}{h + V_i}. G i = b A i h + C i C i h + V i V i .
h h h = half is the common normalized saturation scale; α i \alpha_i α i , β i \beta_i β i are collection rates; γ \gamma γ is interference strength. Brood production requires both stored food and current water acquisition.
F ˙ = I F − δ F − ∑ i ∈ P H i , W ˙ = I W − δ W − ∑ i ∈ P V i . \dot{F} = I_F - \delta F - \sum_{i\in\mathcal{P}} H_i, \qquad\dot{W} = I_W - \delta W - \sum_{i\in\mathcal{P}} V_i. F ˙ = I F − δ F − i ∈ P ∑ H i , W ˙ = I W − δ W − i ∈ P ∑ V i .
I F I_F I F , I W I_W I W : external supplies; δ \delta δ : resource loss.
A ˙ i = η B i − ( d A + r f s f i + χ Q i 1 + s a i A i ) A i , \dot{A}_i = \eta B_i - \left(d_A + r_f s_{f i} + \frac{\chi Q_i}{1 + s_{a i} A_i}\right)A_i, A ˙ i = η B i − ( d A + r f s f i + 1 + s ai A i χ Q i ) A i ,
B ˙ i = G i − ( η + d B ) B i , C ˙ i = H i − d C C i − c B G i . \dot{B}_i = G_i - (\eta+ d_B)B_i, \qquad\dot{C}_i = H_i - d_C C_i - c_B G_i. B ˙ i = G i − ( η + d B ) B i , C ˙ i = H i − d C C i − c B G i .
η \eta η : maturation; d A d_A d A , d B d_B d B , d C d_C d C : worker, brood, and storage losses; r f r_f r f : foraging risk; χ \chi χ : conflict mortality; c B c_B c B : food cost per brood (parameter fields maturation, worker_loss, brood_loss, store_loss, foraging_risk, conflict, brood_cost). Each loss flux vanishes when the corresponding stock is zero; G i = 0 G_i = 0 G i = 0 at C i = 0 C_i = 0 C i = 0 . Thus nonnegative states are invariant.
Each player minimizes
J i = 1 T ∫ 0 T ∑ k = 1 3 w i k ℓ i k d t , w i k ≥ 0 , ∑ k w i k = 1. J_i = \frac{1}{T}\int_0^T \sum_{k=1}^{3} w_i^k \ell_{ik}\,\mathrm{d}t, \qquad w_i^k \ge0, \qquad\sum_k w_i^k = 1. J i = T 1 ∫ 0 T k = 1 ∑ 3 w i k ℓ ik d t , w i k ≥ 0 , k ∑ w i k = 1.
There is no terminal objective. Each weight row is independently configurable. With
E i = f i 2 + w i 2 + a i 2 , ( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − B i , E i , − A i ) . \begin{aligned}
E_i &= f_i^2 + w_i^2 + a_i^2,\\
(\ell_{i1},\ell_{i2},\ell_{i3}) &= (-B_i,E_i,-A_i).
\end{aligned} E i ( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = f i 2 + w i 2 + a i 2 , = ( − B i , E i , − A i ) .
The colony trades brood production, costly recruitment intensity, and worker retention. Squared intensity is a behavioral cost proxy, not a literal worker count or a calibrated metabolic expenditure.
Z ˙ i = E i \dot{Z}_i = E_i Z ˙ i = E i , Z i ( 0 ) = 0 Z_i(0) = 0 Z i ( 0 ) = 0 , Z i ( T ) ≤ b u d g e t s i Z_i(T) \leq\mathrm{budgets}_i Z i ( T ) ≤ budgets i . Food reserve path restriction: C i ( t ) ≥ f l o o r s i C_i(t) \geq\mathrm{floors}_i C i ( t ) ≥ floors i . The default three-colony game has three recruitment budgets and three path reserve floors. Competition affects reserve feasibility.
For q q q biological states, append N N N cost integrals then N N N budget integrals, all initially zero; the cost integrals include the factor 1 / T 1/T 1/ T , the ODE dimension is q + 2 N q + 2N q + 2 N , and J i = x q + ι ( i ) ( T ) J_i = x_{q+\iota(i)}(T) J i = x q + ι ( i ) ( T ) .
Enabled bounds:
Table 1 (PDF p. 32).
Parameter instance.
N = 3
T = 6.0
food_supply = 0.8
water_supply = 0.7
resource_loss = 0.15
food_rate = [0.9, 1.0, 1.1]
water_rate = [0.8833333333, 0.8666666667, 0.85]
half = 0.4
interference = 6.0
birth = 1.2
maturation = 0.6
brood_loss = 0.08
worker_loss = 0.12
foraging_risk = 0.08
conflict = 0.6
store_loss = 0.1
brood_cost = 0.8
x0 = [3.0, 3.0, 1.0, 1.0, 1.0, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3]
weights = [0.15 0.15 0.7; 0.15 0.2 0.65; 0.15 0.25 0.6]
budgets = [0.9, 0.9, 0.9]
floors = [0.1, 0.1, 0.1]
initial = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
numerical_x0 = [3.0, 3.0, 1.0, 1.0, 1.0, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0]
avoidance: Avoidance and decentralized control
Biological interpretation. In signaled active avoidance, an animal learns that a warning stimulus predicts an aversive event and that a timely action prevents it. The episode considered here is a single trial block: a warning cue is presented for the first half of the horizon and then withdrawn. Two decentralized control modules (for example, two motor or motivational subsystems) can each invest effort in avoidance actions. Acting builds the readiness to avoid, but it consumes a shared motivational resource that recovers only slowly, and each module also benefits from the other’s readiness. The instance is therefore an episodic game between partially aligned modules (partner benefit weight w i 4 w_i^4 w i 4 ) that must time their effort relative to the cue. The episode concerns the expression of a learned avoidance response within one trial block; learning across trials is not modeled.
Dopaminergic signaling links warning stimuli, avoidance actions, and delayed reinforcement in acoustically signaled avoidance learning Ilango et al. [28 ] . Work on biologically inspired adaptive control emphasizes decentralized modules whose actions change the state experienced by neighboring modules Schilling et al. [58 , 55 ] . Neither line of work formulates a dynamic game; the model below is a proposed continuous-time reduction.
Literature and provenance. The avoidance and decentralized-controller studies ([28 , 58 , 55 ] ) motivate the cue, readiness, and shared-resource mechanisms. The four-state ODE reduction, independent module objectives, control bounds, and all numerical coefficients are introduced for this benchmark.
Dimensions. N = 2 N = 2 N = 2 , n x = 4 n_x = 4 n x = 4 , n O D E = 6 n_{\mathrm{ODE}} = 6 n ODE = 6 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 0 ) (n_{g,i})_{i\in\mathcal{P}} = (2 \times0) ( n g , i ) i ∈ P = ( 2 × 0 ) .
Categories. organismal, episodical, regulation.
Game specification. Let x = ( q , z A , z B , r ) x = (q, z_A, z_B, r) x = ( q , z A , z B , r ) denote the cue trace q q q , the readiness z A , z B z_A, z_B z A , z B of the two modules, and the shared motivational state r r r . Two decision modules choose avoidance intensities u A , u B u_A, u_B u A , u B :
q ˙ = a q ( s − q ) − b q ( u A + u B ) q , z ˙ i = a z q ( 1 − z i ) − d z z i + γ u i r , i ∈ { A , B } , r ˙ = a r ( r 0 − r ) − c r ( u A + u B ) − h r ( z A + z B ) . \begin{aligned}
\dot{q} &= a_q(s-q)-b_q(u_A+u_B)q,\\
\dot{z}_i &= a_zq(1-z_i)-d_zz_i+\gamma u_ir,\qquad i\in\{A,B\},\\
\dot{r} &= a_r(r_0-r)-c_r(u_A+u_B)-h_r(z_A+z_B).
\end{aligned} q ˙ z ˙ i r ˙ = a q ( s − q ) − b q ( u A + u B ) q , = a z q ( 1 − z i ) − d z z i + γ u i r , i ∈ { A , B } , = a r ( r 0 − r ) − c r ( u A + u B ) − h r ( z A + z B ) .
Here s ( t ) s(t) s ( t ) is the warning cue, an external signal with s ( t ) = 1 s(t)=1 s ( t ) = 1 for 0 ≤ t ≤ 6 0\leq t\leq6 0 ≤ t ≤ 6 and s ( t ) = 0 s(t)=0 s ( t ) = 0 afterwards; the cue trace q q q follows it at rate a q a_q a q and is depleted by the avoidance intensities of both modules. The shared state r r r represents a resource or motivational context; each module changes the context in which the other module acts.
These equations are a tractable benchmark inspired by the cited mechanisms, not equations extracted from those publications.
Each module minimizes a weighted cost over [ 0 , T ] [0,T] [ 0 , T ] :
J i = w i 1 J i 1 + w i 2 J i 2 + w i 3 J i 3 + w i 4 J i 4 . J_i = w_i^1 J_{i1} + w_i^2 J_{i2} + w_i^3 J_{i3} + w_i^4 J_{i4}. J i = w i 1 J i 1 + w i 2 J i 2 + w i 3 J i 3 + w i 4 J i 4 .
Figure 6. Reference equilibrium candidate for avoidance. Interpretation. While the warning cue is on (t < 6 t < 6 t < 6 ), the cue trace q q q rises quickly and saturates near 0.87, driving the avoidance readiness of both modules upward. Module A opens with almost maximal avoidance intensity, lowers it to about 0.4 once readiness has built up, and then raises it again to above 0.9 right after the cue is withdrawn, while its readiness z A z_A z A stays high during the unsignaled second half; it finally releases effort toward the end of the episode. Module B, which weights effort costs more strongly, mirrors this timing at a much lower level (below 0.12), so its readiness z B z_B z B decays after cue offset and relies largely on the cue itself. The shared motivation r r r declines from its resting value during sustained avoidance and partially recovers when A reduces effort at the end. No state or budget restrictions are imposed; the contrast between the two modules follows solely from their different effort weights and from the delayed benefit of acting after the cue has vanished.
J i 1 = − 1 T ∫ 0 T z i ( t ) d t , J i 2 = 1 T ∫ 0 T u i ( t ) 2 d t J_{i1}=-\frac{1}{T}\int_{0}^{T}z_i(t)\,\mathrm{d}t,\qquad J_{i2}=\frac{1}{T}\int_{0}^{T}u_i(t)^2\,\mathrm{d}t J i 1 = − T 1 ∫ 0 T z i ( t ) d t , J i 2 = T 1 ∫ 0 T u i ( t ) 2 d t
J i 3 = 1 T ∫ 0 T K r K r + r ( t ) d t , J i 4 = − 1 T ∫ 0 T z j ( t ) d t , j ≠ i . J_{i3}=\frac{1}{T}\int_{0}^{T}\frac{K_r}{K_r+r(t)}\,\mathrm{d}t,\qquad J_{i4}=-\frac{1}{T}\int_{0}^{T}z_j(t)\,\mathrm{d}t,\quad j\ne i. J i 3 = T 1 ∫ 0 T K r + r ( t ) K r d t , J i 4 = − T 1 ∫ 0 T z j ( t ) d t , j = i .
The first term rewards readiness to avoid, the second penalizes control effort, the third penalizes an adverse motivational state, and the fourth represents an optional partner benefit. Weights satisfy w i k ≥ 0 w_i^k\ge0 w i k ≥ 0 and ∑ k w i k = 1 \sum_k w_i^k=1 ∑ k w i k = 1 .
No state or budget bounds are enabled.
Parameter instance.
T = 12.0
aq = 0.8
bq = 0.25
az = 0.9
dz = 0.35
gamma = 0.45
ar = 0.6
r0 = 1.0
cr = 0.12
hr = 0.08
Kr = 0.35
x0 = (0.0, 0.0, 0.0, 1.0)
initial = (0.2, 0.3)
weights_A = (0.65, 0.15, 0.1, 0.1)
weights_B = (0.25, 0.45, 0.1, 0.2)
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [0.0, 0.0, 0.0, 1.0, 0.0, 0.0]
Division of labor in batch fermentation
Biological interpretation. Industrial and natural fermentations often rely on a division of labor: an upstream strain converts the primary substrate into an intermediate that downstream specialists turn into the final product. In a closed batch, the substrate is finite, so the episode ends when a product target has been reached. Each strain pays for its production activity with a growth burden, and time is costly (for example, reactor occupancy or exposure to contaminants). The upstream strain chooses the batch duration, so only its time weight is strategically relevant (§ 2.4 ). The game instance asks how the strains schedule their production when the timing of the intermediate supply couples their incentives: three production controls trade batch time against production effort and state-dependent costs.
Literature and provenance. A: upstream intermediate producer; B and C: product-synthesizing strains ([63 ] ). A also schedules batch completion.
x = ( X A , X B , X C , S , M , P ) x=(X_A,X_B,X_C,S,M,P) x = ( X A , X B , X C , S , M , P ) : strain biomasses, substrate, shared intermediate, and product. Motivates division of labor and production burden. The three-strain ODEs and numerical defaults here are a reduced synthetic game, not a reproduction of the source model.
Dimensions. N = 3 N=3 N = 3 , n x = 6 n_x=6 n x = 6 , n O D E = 12 n_{\mathrm{ODE}}=12 n ODE = 12 , ( n u , i ) i ∈ P = ( 3 × 1 ) (n_{u,i})_{i\in\mathcal{P}}=(3\times1) ( n u , i ) i ∈ P = ( 3 × 1 ) , ( n g , i ) i ∈ P = ( 3 × 3 ) (n_{g,i})_{i\in\mathcal{P}}=(3\times3) ( n g , i ) i ∈ P = ( 3 × 3 ) .
Figure 7. Reference equilibrium candidate for batchFermentation. Interpretation. The batch ends at T ≈ 4.1 T \approx4.1 T ≈ 4.1 , exactly when the product reaches its quota (the terminal equality g 1 g_1 g 1 is active for all three strains). The upstream strain A first ramps up intermediate production from about 0.3 to its maximum, holds it during the middle of the batch, and switches it off as the substrate is exhausted near t ≈ 3.8 t \approx3.8 t ≈ 3.8 . The producers B and C wait until intermediate is available (their product synthesis is zero for t < 0.9 t < 0.9 t < 0.9 ) and then increase synthesis in parallel, peaking around t ≈ 3 t \approx3 t ≈ 3 and easing off slightly at the end. Accordingly, the intermediate pool first accumulates, peaks near t ≈ 2.9 t \approx2.9 t ≈ 2.9 , and is then drawn down, while the product rises sigmoidally. All biomasses grow while substrate lasts and level off afterwards. The effort budgets, the intermediate ceiling, and the producer floors remain slack, so the sequential relay is shaped by the shared quota, the time cost, and the substrate supply rather than by these limits.
Categories. cellular, episodical, mutualism, freeTime.
Game specification.
h = S K + S , r A = p A u A X A h , r i = p i u i X i M K + M ( i ∈ { B , C } ) , X ˙ i = [ g i ( 1 − 0.5 u i ) h − d ] X i , S ˙ = − ∑ i ∈ P g i ( 1 − 0.5 u i ) h X i / Y − r A , M ˙ = r A − r B − r C − d M M , P ˙ = r B + r C . \begin{aligned}
h &= \frac{S}{K+S}, \quad r_A = p_Au_AX_Ah,\\
r_i &= \frac{p_iu_iX_iM}{K+M} \quad(i \in\{B,C\}),\\
\dot{X}_i &= [g_i(1-0.5u_i)h-d]X_i,\\
\dot{S} &= -\sum_{i\in\mathcal{P}} g_i(1-0.5u_i)hX_i/Y-r_A,\\
\dot{M} &= r_A-r_B-r_C-d_MM,\quad\dot{P}=r_B+r_C.
\end{aligned} h r i X ˙ i S ˙ M ˙ = K + S S , r A = p A u A X A h , = K + M p i u i X i M ( i ∈ { B , C }) , = [ g i ( 1 − 0.5 u i ) h − d ] X i , = − i ∈ P ∑ g i ( 1 − 0.5 u i ) h X i / Y − r A , = r A − r B − r C − d M M , P ˙ = r B + r C .
g g g = growth, K K K = saturation, d d d = maintenance, p p p = production, Y Y Y = yield, d M d_M d M = intermediate_decay. The allocation burden coefficient is the fixed dimensionless number 0.5.
J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t . J_i = w_i^1T+w_i^2\int_0^T u_i^2\,dt+w_i^3\int_0^T L_i\,dt. J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t .
L i = M 2 − 0.1 ι ( i ) X i L_i=M^2-0.1\iota(i)X_i L i = M 2 − 0.1 ι ( i ) X i . The duration term penalizes batch length, effort penalizes synthesis allocation, and the third candidate trades intermediate burden against own biomass. It may be negative.
P ( 0 ) = 0 P(0)=0 P ( 0 ) = 0 , 0.8 − P ( T ) ≥ 0 0.8-P(T)\ge0 0.8 − P ( T ) ≥ 0 and P ( T ) − 0.8 ≥ 0 P(T)-0.8\ge0 P ( T ) − 0.8 ≥ 0 , shared by all players. Private effort budgets are ( 2.5 , 2 , 1.5 ) (2.5, 2, 1.5) ( 2.5 , 2 , 1.5 ) . A imposes M ≤ 1.5 M\le1.5 M ≤ 1.5 (accumulated intermediate inhibits the upstream strain), B imposes X B ≥ 0.2 X_B\ge0.2 X B ≥ 0.2 and C imposes X C ≥ 0.15 X_C\ge0.15 X C ≥ 0.15 (each producer retains a viable population for subsequent use of the culture) along the trajectory. Other terminal states are free.
Enabled bounds:
Table 5.
Parameter instance.
x0 = (0.4, 0.35, 0.3, 5.0, 0.1, 0.0)
target = 0.8
growth = (0.7, 0.6, 0.5)
saturation = 0.5
maintenance = 0.03
production = (0.8, 0.7, 0.6)
yield = 0.7
intermediate_decay = 0.05
duration = 5.0
duration_bounds = (0.1, 20.0)
initial = (0.5, 0.45, 0.4)
weights = [0.75 0.15 0.1; 0.55 0.3 0.15; 0.45 0.25 0.3]
budgets = (2.5, 2.0, 1.5)
path_limits = (1.5, 0.2, 0.15)
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [0.4, 0.35, 0.3, 5.0, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
Matrix investment and dispersal in a biofilm
Biological interpretation. Bacterial biofilms develop in episodes: cells attach, build an extracellular polymeric matrix (EPS) that protects them from loss, grow while substrate and oxygen diffuse in, and finally disperse to colonize new surfaces. EPS is costly to the producer and, in this model, protects only the producer’s own cells; neighbors are affected indirectly through crowding and shared resources [67 ] . Dispersal converts attached biomass into offspring leaving the film. Strains sharing a surface therefore face a timing problem: invest early in protection and growth, then switch to dispersal before resources are exhausted. We model one colonization episode with three strains that differ in their preference for attached biomass versus dispersal output.
Players are N ≥ 2 N \ge2 N ≥ 2 strains. B i B_i B i : attached biomass; E i E_i E i : strain-associated extracellular polymeric substances (EPS); S , O S, O S , O : shared substrate and oxygen. x = ( ( B i ) i ∈ P , ( E i ) i ∈ P , S , O ) x = ((B_i)_{i\in\mathcal{P}}, (E_i)_{i\in\mathcal{P}}, S, O) x = (( B i ) i ∈ P , ( E i ) i ∈ P , S , O ) . Each strain controls polymer allocation e i e_i e i and dispersal intensity d i d_i d i , ordered ( e i , d i ) i ∈ P (e_i,d_i)_{i\in\mathcal{P}} ( e i , d i ) i ∈ P in player order. Dispersed biomass leaves this system; its departure is a reproductive-output proxy. All controls depend on time alone.
Literature and provenance. The source studies competition between strains differing in extracellular polymer production using spatial individual-based simulations [67 ] . We extract resource allocation and matrix-mediated protection as mechanisms for an aggregate ODE game, adding controlled dispersal and nutrient restrictions. The local protection law is our proposed reduction.
All numerical defaults are synthetic and dimensionless; no fitted biological values or source equilibrium results are asserted.
Dimensions. N = 3 N = 3 N = 3 , n x = 8 n_x = 8 n x = 8 , n O D E = 14 n_{\mathrm{ODE}} = 14 n ODE = 14 , ( n u , i ) i ∈ P = ( 3 × 2 ) (n_{u,i})_{i\in\mathcal{P}} = (3 \times2) ( n u , i ) i ∈ P = ( 3 × 2 ) , ( n g , i ) i ∈ P = ( 3 × 3 ) (n_{g,i})_{i\in\mathcal{P}} = (3 \times3) ( n g , i ) i ∈ P = ( 3 × 3 ) .
Categories. cellular, episodical, competition, variable-N.
Game specification.
V i = v i max S h + S O h + O B i , V_i = v_i^{\max}\frac{S}{h+S}\frac{O}{h+O}B_i, V i = v i m a x h + S S h + O O B i ,
B ˙ i = ( 1 − e i ) Y B V i − [ m 1 + σ E i + d i + κ ∑ j ∈ P B j ] B i , E ˙ i = Y E e i V i − δ E E i , \dot{B}_i = (1-e_i)Y_BV_i-\left[\frac{m}{1+\sigma E_i}+d_i+\kappa\sum_{j\in\mathcal{P}}B_j\right]B_i,\qquad\dot{E}_i = Y_Ee_iV_i-\delta_EE_i, B ˙ i = ( 1 − e i ) Y B V i − 1 + σ E i m + d i + κ j ∈ P ∑ B j B i , E ˙ i = Y E e i V i − δ E E i ,
S ˙ = D ( S i n − S ) − ∑ i ∈ P V i , O ˙ = D ( O i n − O ) − c O ∑ i ∈ P V i . \dot{S}=D(S_{\mathrm{in}}-S)-\sum_{i\in\mathcal{P}}V_i,\qquad\dot{O}=D(O_{\mathrm{in}}-O)-c_O\sum_{i\in\mathcal{P}}V_i. S ˙ = D ( S in − S ) − i ∈ P ∑ V i , O ˙ = D ( O in − O ) − c O i ∈ P ∑ V i .
v i max , h , Y B , Y E , m , σ , κ , δ E v_i^{\max}, h, Y_B, Y_E, m, \sigma, \kappa, \delta_E v i m a x , h , Y B , Y E , m , σ , κ , δ E map to vmax, half, biomass_yield, eps_yield, mortality, protection, crowding, eps_loss; D D D = dilution and c O c_O c O = oxygen_cost. The same uptake flux is split between biomass and EPS production. No nutrient is consumed when S = 0 S = 0 S = 0 or O = 0 O = 0 O = 0 .
Figure 8. Reference equilibrium candidate for biofilm. Interpretation. All three strains invest in matrix production at the very beginning, consistent with protection acting longest when built early, and then taper this investment: A stops after t ≈ 4 t \approx4 t ≈ 4 , while B and C keep a low level until t ≈ 8 t \approx8 t ≈ 8 –9. Substrate and oxygen are drawn down from their inflow levels to minima near t ≈ 10 t \approx10 t ≈ 10 . Strain C, which values dispersal output most, builds the largest attached population (from 0.7 to about 2 at t ≈ 9.6 t \approx9.6 t ≈ 9.6 ) and the largest EPS pool; the small initial population of A declines throughout, and B stays nearly constant. In the final phase C switches to strong dispersal, reaching maximal intensity at the end, B follows with a smaller dispersal burst from t ≈ 11 t \approx11 t ≈ 11 , and A disperses only marginally. Dispersal removes much of C’s attached biomass, so substrate and oxygen recover late in the episode while the EPS pools decay. The effort budgets and the substrate and oxygen floors stay slack, although the substrate floor is approached closely around t ≈ 10 t \approx10 t ≈ 10 , exactly when dispersal begins.
Each player minimizes
J i = 1 T ∫ 0 T ∑ k = 1 3 w i k ℓ i k d t , w i k ≥ 0 , ∑ k w i k = 1. J_i = \frac{1}{T}\int_{0}^{T}\sum_{k=1}^{3} w_i^k \ell_{ik}\,\mathrm{d}t,\qquad w_i^k \ge0,\qquad\sum_k w_i^k = 1. J i = T 1 ∫ 0 T k = 1 ∑ 3 w i k ℓ ik d t , w i k ≥ 0 , k ∑ w i k = 1.
There is no terminal objective. Each weight row is independently configurable.
( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − B i , − d i B i , e i 2 + d i 2 ) . (\ell_{i1},\ell_{i2},\ell_{i3}) = (-B_i,-d_iB_i,e_i^2+d_i^2). ( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − B i , − d i B i , e i 2 + d i 2 ) .
Candidates reward attached biomass and exported propagules, and penalize strategy effort. Weight changes allow persistence versus dispersal preferences. Export does not imply successful colonization elsewhere.
Z i = e i 2 + d i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ b u d g e t s i . Z_i=e_i^2+d_i^2,\quad Z_i(0)=0,\quad Z_i(T)\le\mathrm{budgets}_i. Z i = e i 2 + d i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ budgets i .
Shared path floors S ≥ f l o o r s 1 S \ge\mathrm{floors}_1 S ≥ floors 1 and O ≥ f l o o r s 2 O \ge\mathrm{floors}_2 O ≥ floors 2 are enforced in every player’s deviation problem. The enabled restrictions are listed below.
For q q q biological states, append N N N cost integrals then N N N budget integrals, all initially zero; the cost integrals include the factor 1 / T 1/T 1/ T , the ODE dimension is q + 2 N q+2N q + 2 N , and J i = x q + ι ( i ) ( T ) J_i=x_{q+\iota(i)}(T) J i = x q + ι ( i ) ( T ) .
Enabled bounds:
Table 1 (PDF p. 40).
Parameter instance.
N = 3
T = 12.0
vmax = [1.0, 1.2, 1.4]
half = 0.4
biomass_yield = 0.6
eps_yield = 1.5
mortality = 0.5
protection = 10.0
crowding = 0.08
eps_loss = 0.15
dilution = 0.5
substrate_in = 3.0
oxygen_in = 2.0
oxygen_cost = 0.5
x0 = [0.2, 0.45, 0.7, 0.01, 0.04, 0.08, 3.0, 2.0]
weights = [0.5 0.4 0.1; 0.35 0.5 0.15; 0.2 0.6 0.2]
budgets = [0.6, 1.0, 1.4]
floors = [0.5, 0.4]
initial = [0.2, 0.1, 0.2, 0.1, 0.2, 0.1]
control_lower = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
numerical_x0 = [0.2, 0.45, 0.7, 0.01, 0.04, 0.08, 3.0, 2.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0]
ciliate: Bacterium–ciliate interaction
Biological interpretation. Bacteria and bacterivorous ciliates form a classical predator–prey system in aquatic microbial food webs. Bacteria can express grazing defenses, for example filament formation, microcolonies, or surface modifications, at a cost in growth, whereas ciliates adjust their feeding activity at a cost in energy. Bacterial productivity in lakes and ponds follows the seasonal cycle of temperature and nutrient supply. We model one full annual cycle that is assumed to repeat directly, after which both populations and both expressed phenotypes must return to their initial values; the phenotypes follow the commanded defense and feeding levels with a delay.
The physical state is x = ( x 1 , x 2 , x 3 , x 4 ) x = (x_1,x_2,x_3,x_4) x = ( x 1 , x 2 , x 3 , x 4 ) : bacterial density, ciliate density, expressed defense, and expressed feeding activity. Player A commands defense u A u_A u A and player B commands feeding u B u_B u B .
Literature and provenance. Pseudomonas fluorescens and Tetrahymena thermophila motivate an interaction between two cellular organisms. Hiltunen and Becks [25 ] demonstrate the importance of consumer co-evolution in this setting. Rapid evolution of prey defense can reshape consumer–resource cycles (Yoshida et al. [68 ] ). The following saturating feeding model is a proposed coarse-grained game, rather than a fitted description of that experiment.
A representative bacterial lineage invests in defense that reduces capture at a cost to growth. A representative ciliate lineage invests in feeding effort that increases food uptake at a metabolic cost.
Resource limitation, saturation, and effort costs create different objectives for the two players.
The numerical values are synthetic hypotheses.
Dimensions. N = 2 N = 2 N = 2 , n x = 4 n_x = 4 n x = 4 , n O D E = 8 n_{\mathrm{ODE}} = 8 n ODE = 8 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 9 ) (n_{g,i})_{i\in\mathcal{P}} = (2 \times9) ( n g , i ) i ∈ P = ( 2 × 9 ) .
Categories. cellular, periodical, antagonism.
Game specification. With r ( t ) = r [ 1 + a sin ( 2 π t / T p e r ) ] r(t) = r[1 + a\sin(2\pi t/T_{\mathrm{per}})] r ( t ) = r [ 1 + a sin ( 2 π t / T per )] , T p e r = T T_{\mathrm{per}} = T T per = T , define the saturating feeding rate
F ( x 1 , x 3 , x 4 ) = a 0 x 4 e − α x 3 x 1 1 + h a 0 x 4 e − α x 3 x 1 . F(x_1,x_3,x_4) = \frac{a_0x_4e^{-\alpha x_3}x_1}{1 + ha_0x_4e^{-\alpha x_3}x_1}. F ( x 1 , x 3 , x 4 ) = 1 + h a 0 x 4 e − α x 3 x 1 a 0 x 4 e − α x 3 x 1 .
The four-state dynamics are
x ˙ 1 = r ( t ) x 1 ( 1 − x 1 / K ) − c A x 3 2 x 1 − F x 2 , \dot{x}_1 = r(t)x_1(1 - x_1/K) - c_Ax_3^2x_1 - Fx_2, x ˙ 1 = r ( t ) x 1 ( 1 − x 1 / K ) − c A x 3 2 x 1 − F x 2 ,
x ˙ 2 = ( e F − m B − c B x 4 2 ) x 2 , \dot{x}_2 = (eF - m_B - c_Bx_4^2)x_2, x ˙ 2 = ( e F − m B − c B x 4 2 ) x 2 ,
x ˙ 3 = ( u A − x 3 ) / τ A , x ˙ 4 = ( u B − x 4 ) / τ B . \dot{x}_3 = (u_A - x_3)/\tau_A,\qquad\dot{x}_4 = (u_B - x_4)/\tau_B. x ˙ 3 = ( u A − x 3 ) / τ A , x ˙ 4 = ( u B − x 4 ) / τ B .
Figure 9. Reference equilibrium candidate for ciliate. Interpretation. During the productive half of the cycle, bacterial density rises from 0.5 to about 0.9 and stays high until t ≈ 10 t \approx10 t ≈ 10 ; it then collapses to a minimum near 0.38 at t ≈ 18 t \approx18 t ≈ 18 when productivity is low, and recovers at the end of the cycle. The ciliate population responds weakly and with a delay, varying only between 0.33 and 0.39 and peaking during the bacterial decline. The bacteria invest in defense early, when their own density and the benefit of protection are high, and let the defense command decline gradually; once productivity drops, defense is switched off completely (t ≈ 13 t \approx13 t ≈ 13 –19), consistent with the defense cost in the growth equation. The return condition then forces a short defense pulse at the end of the cycle that rebuilds the expressed defense to its initial level. The ciliate raises feeding effort to about 0.65 while prey are abundant and lowers it to about 0.45 during the bacterial trough. The expressed phenotypes follow their commands with visible delays, especially the slower bacterial defense. Both players exhaust their squared-effort budgets (g 1 , g 2 g_1, g_2 g 1 , g 2 active); the bacterial budget is almost used up by t ≈ 12 t \approx12 t ≈ 12 , and its remainder is spent on the return-induced final pulse.
The players minimize the cycle-average costs
J A = 1 T ∫ 0 T [ − w A 1 x 1 x 1 , 0 − w A 2 r ( t ) x 1 + w A 3 u A 2 ] d t , J_A = \frac{1}{T}\int_0^T \left[-w_A^1 \frac{x_1}{x_{1,0}} - w_A^2 r(t)x_1 + w_A^3 u_A^2\right]\,\mathrm{d}t, J A = T 1 ∫ 0 T [ − w A 1 x 1 , 0 x 1 − w A 2 r ( t ) x 1 + w A 3 u A 2 ] d t ,
J B = 1 T ∫ 0 T [ − w B 1 x 2 x 2 , 0 − w B 2 E F x 2 + w B 3 u B 2 ] d t . J_B = \frac{1}{T}\int_0^T \left[-w_B^1 \frac{x_2}{x_{2,0}} - w_B^2 E F x_2 + w_B^3 u_B^2\right]\,\mathrm{d}t. J B = T 1 ∫ 0 T [ − w B 1 x 2 , 0 x 2 − w B 2 E F x 2 + w B 3 u B 2 ] d t .
The first features reward mean relative abundance; the second reward gross production proxies. In the listed instance all feature scales equal one; otherwise each weight is divided by its positive scales_A or scales_B entry. Command effort remains distinct from expressed phenotype costs in the dynamics.
For A, ∫ 0 T u A 2 d t ≤ U A \int_0^T u_A^2\,\mathrm{d}t \le U_A ∫ 0 T u A 2 d t ≤ U A ; for B, ∫ 0 T u B 2 d t ≤ U B \int_0^T u_B^2\,\mathrm{d}t \le U_B ∫ 0 T u B 2 d t ≤ U B . Optional density floors x 1 ≥ ε A x_1 \ge\varepsilon_A x 1 ≥ ε A and x 2 ≥ ε B x_2 \ge\varepsilon_B x 2 ≥ ε B are assigned to A and B respectively and are disabled here. Both players impose ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ \lvert x_j(T)-x_j(0)\rvert\le\delta ∣ x j ( T ) − x j ( 0 )∣ ≤ δ , j = 1 , … , 4 j=1,\ldots,4 j = 1 , … , 4 , with δ = 10 − 2 \delta=10^{-2} δ = 1 0 − 2 in physical coordinates. Initial densities come from a constant-command reference cycle, and initial phenotypes equal these commands.
Numerical coordinates are y = ( log x 1 , log x 2 , x 3 , x 4 , z A , z B , b A , b B ) y=(\log x_1,\log x_2,x_3,x_4,z_A,z_B,b_A,b_B) y = ( log x 1 , log x 2 , x 3 , x 4 , z A , z B , b A , b B ) ; z i z_i z i accumulates the unaveraged running cost and b ˙ i = u i \dot{b}_i=u_i b ˙ i = u i . Quadratures start at zero. For the density components, return bounds become log ( x j ( 0 ) − δ ) ≤ y j ( T ) ≤ log ( x j ( 0 ) + δ ) \log(x_j(0)-\delta)\le y_j(T)\le\log(x_j(0)+\delta) log ( x j ( 0 ) − δ ) ≤ y j ( T ) ≤ log ( x j ( 0 ) + δ ) , rather than symmetric bands in log coordinates. The optional phenotype=false variant substitutes commands directly for expressed traits and removes their relaxation equations.
Enabled bounds:
Table 1 (PDF p. 43).
Parameter instance.
forcing_period = 20.0
T = 20.0
forcing_amplitude = 0.8
periodicity_tolerance = 0.01
r = 1.0
K = 1.0
c_A = 0.15
a0 = 2.0
alpha = 2.0
h = 0.5
e = 0.5
m_B = 0.15
c_B = 0.1
x0 = (0.5055436644, 0.3564873025)
w_A = (0.9, 0.08, 0.02)
w_B = (0.4, 0.5, 0.1)
scales_A = (1.0, 1.0, 1.0)
scales_B = (1.0, 1.0, 1.0)
U_A = 2.0
U_B = 6.0
epsilon_A = nothing
epsilon_B = nothing
initial = (0.2, 0.5)
phenotype = true
tau_A = 0.75
tau_B = 0.25
phenotype0 = (0.2, 0.5)
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [-0.6821208656, -1.031456657, 0.2, 0.5, 0.0, 0.0, 0.0, 0.0]
circadianCycle: PER/TIM circadian oscillator
Biological interpretation. Circadian clocks are intrinsic biochemical oscillators whose period is close to, but not fixed at, 24 hours. In Drosophila , PER and TIM proteins are synthesized, phosphorylated, combine into a complex, enter the nucleus, and repress their own transcription, closing a delayed negative feedback loop. Light acts on this loop by accelerating TIM degradation, which is how the clock is reset by the environment. We model one full cycle of the loop as a periodical game between two regulatory influences: player A modulates per transcription and sets the cycle length, while player B, the light-input pathway (e.g., CRY-mediated TIM degradation) modeled as a regulatory module, controls TIM degradation. Both prefer balanced PER/TIM levels and low intervention effort. The duration cost represents a preference for a faster cycle within the admissible range; it is a synthetic device to create a nontrivial duration decision, not a biological fitness argument. Only A’s duration weight is strategically relevant (§ 2.4 ).
We use the ten-state PER/TIM model of Leloup and Goldbeter [33 ] in the form given by Slaby et al. [59 ] , Appendix B, with its kinetic defaults (nM, hours).
x = ( M P , P 0 , P 1 , P 2 , M T , T 0 , T 1 , T 2 , C , C N ) . x = (M_P, P_0, P_1, P_2, M_T, T_0, T_1, T_2, C, C_N). x = ( M P , P 0 , P 1 , P 2 , M T , T 0 , T 1 , T 2 , C , C N ) .
M P , M T M_P, M_T M P , M T : per/tim mRNA; P j , T j P_j, T_j P j , T j : PER/TIM with j j j phosphorylation steps; C , C N C, C_N C , C N : cytosolic/nuclear complex. Nuclear complex represses transcription.
A controls per transcription and duration. B controls TIM degradation, the light-dependent intervention mechanism studied in the source. The two-player game, centered control mapping, objectives, and restrictions are new benchmark choices; they are not experimental parameter estimates.
Literature and provenance. The ten concentration equations of Leloup and Goldbeter [33 ] and the kinetic coefficients come from Appendix B of Slaby et al. [59 ] , with the notation correction stated below. Centered transcription and degradation controls, their separate objectives, player A’s duration ownership, effort budgets, concentration ceilings, and approximate return conditions define the added game. The initial phase is constructed numerically from the source oscillator.
Dimensions. N = 2 N = 2 N = 2 , n x = 10 n_x = 10 n x = 10 , n O D E = 14 n_{\mathrm{ODE}} = 14 n ODE = 14 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i \in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 22 ) (n_{g,i})_{i \in\mathcal{P}} = (2 \times22) ( n g , i ) i ∈ P = ( 2 × 22 ) .
Categories. molecular, periodical, regulation, freeTime.
Figure 10. Reference equilibrium candidate for circadianCycle. Interpretation. Player A chooses a cycle length of about 24.04 hours, slightly shorter than the uncontrolled reference period of 24.13 hours. During the first half of the cycle, when the nuclear complex C N C_N C N is high and represses transcription, both mRNAs and all PER and TIM forms fall to low values; A keeps transcriptional intervention off and B quickly lowers TIM degradation after an initial pulse. As repression wanes (with C N C_N C N reaching its minimum near t ≈ 16 t \approx16 t ≈ 16 ), A raises per transcription to a maximum near t ≈ 13 t \approx13 t ≈ 13 , followed with a delay of a few hours by B’s increase in TIM degradation, which keeps TIM from overshooting PER. The mRNAs peak around t ≈ 19 t \approx19 t ≈ 19 , the phosphorylated proteins and the cytosolic complex around t ≈ 20 t \approx20 t ≈ 20 –22 22 22 , and the nuclear complex rebuilds to its initial level at the end of the cycle, closing the loop within the return tolerance. The squared-effort budgets and the concentration ceilings remain slack; the interventions are shaped by the phase structure of the feedback loop.
Game specification. For X ∈ { P , T } X \in\{P,T\} X ∈ { P , T } , define
r 1 X = V 1 X X 0 K 1 X + X 0 , r 2 X = V 2 X X 1 K 2 X + X 1 , r 3 X = V 3 X X 1 K 3 X + X 1 , r 4 X = V 4 X X 2 K 4 X + X 2 , Γ = k 3 P 2 T 2 − k 4 C . \begin{aligned}
r_{1X} &= V_{1X}\frac{X_0}{K_{1X}+X_0}, \qquad r_{2X}=V_{2X}\frac{X_1}{K_{2X}+X_1},\\
r_{3X} &= V_{3X}\frac{X_1}{K_{3X}+X_1}, \qquad r_{4X}=V_{4X}\frac{X_2}{K_{4X}+X_2}, \qquad\Gamma=k_3P_2T_2-k_4C.
\end{aligned} r 1 X r 3 X = V 1 X K 1 X + X 0 X 0 , r 2 X = V 2 X K 2 X + X 1 X 1 , = V 3 X K 3 X + X 1 X 1 , r 4 X = V 4 X K 4 X + X 2 X 2 , Γ = k 3 P 2 T 2 − k 4 C .
M ˙ X = v ~ s X K I X n K I X n + C N n − v m X M X K m X + M X − k d M X , X ˙ 0 = k s M X − r 1 X + r 2 X − k d X 0 , X ˙ 1 = r 1 X − r 2 X − r 3 X + r 4 X − k d X 1 , X ˙ 2 = r 3 X − r 4 X − Γ − v ~ d X X 2 K d X + X 2 − k d X 2 , C ˙ = Γ − k 1 C + k 2 C N − k d C C , C ˙ N = k 1 C − k 2 C N − k d N C N . \begin{aligned}
\dot{M}_X &= \widetilde{v}_{sX}\frac{K_{IX}^{n}}{K_{IX}^{n}+C_N^{n}}-v_{mX}\frac{M_X}{K_{mX}+M_X}-k_dM_X,\\
\dot{X}_0 &= k_sM_X-r_{1X}+r_{2X}-k_dX_0,\\
\dot{X}_1 &= r_{1X}-r_{2X}-r_{3X}+r_{4X}-k_dX_1,\\
\dot{X}_2 &= r_{3X}-r_{4X}-\Gamma-\widetilde{v}_{dX}\frac{X_2}{K_{dX}+X_2}-k_dX_2,\\
\dot{C} &= \Gamma-k_1C+k_2C_N-k_dCC,\\
\dot{C}_N &= k_1C-k_2C_N-k_{dN}C_N.
\end{aligned} M ˙ X X ˙ 0 X ˙ 1 X ˙ 2 C ˙ C ˙ N = v s X K I X n + C N n K I X n − v m X K m X + M X M X − k d M X , = k s M X − r 1 X + r 2 X − k d X 0 , = r 1 X − r 2 X − r 3 X + r 4 X − k d X 1 , = r 3 X − r 4 X − Γ − v d X K d X + X 2 X 2 − k d X 2 , = Γ − k 1 C + k 2 C N − k d C C , = k 1 C − k 2 C N − k d N C N .
v ~ s P = v s P [ 1 + 0.6 ( u A − 0.5 ) ] , v ~ s T = v s T , \widetilde{v}_{sP}=v_{sP}[1+0.6(u_A-0.5)],\qquad\widetilde{v}_{sT}=v_{sT}, v s P = v s P [ 1 + 0.6 ( u A − 0.5 )] , v s T = v s T ,
v ~ d P = v d P , v ~ d T = v d T + 2 ( u B − 0.5 ) . \widetilde{v}_{dP}=v_{dP},\qquad\widetilde{v}_{dT}=v_{dT}+2(u_B-0.5). v d P = v d P , v d T = v d T + 2 ( u B − 0.5 ) .
At ( 0.5 , 0.5 ) (0.5,0.5) ( 0.5 , 0.5 ) , the source’s Appendix B dynamics are recovered. Γ \Gamma Γ is the net complex-formation flux. On normalized time, multiply every physical derivative by the constant duration T T T . The printed K 1 C C K_{1C}C K 1 C C in the source complex equation is interpreted as k 1 C k_1C k 1 C , consistent with its nuclear equation, Figure 3 , and Table B1.
J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t , J_i=w_i^1T+w_i^2\int_0^T u_i^2\,dt+w_i^3\int_0^T L_i\,dt, J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t ,
L A = ( M P − M T ) 2 , L B = ( P 0 + P 1 + P 2 − T 0 − T 1 − T 2 ) 2 . L_A=(M_P-M_T)^2,\qquad L_B=(P_0+P_1+P_2-T_0-T_1-T_2)^2. L A = ( M P − M T ) 2 , L B = ( P 0 + P 1 + P 2 − T 0 − T 1 − T 2 ) 2 .
These candidates penalize elapsed time, effort, and transcription/protein imbalance.
All ten concentrations satisfy ∣ x j ( T ) − x j ( 0 ) ∣ ≤ 10 − 4 |x_j(T)-x_j(0)|\le10^{-4} ∣ x j ( T ) − x j ( 0 ) ∣ ≤ 1 0 − 4 nM; 12 ≤ T ≤ 36 12\le T\le36 12 ≤ T ≤ 36 hours excludes zero-time closure. Initial state is a fixed nonstationary reference-cycle point. A has effort budget 12 and M P ≤ 5 M_P\le5 M P ≤ 5 ; B has budget 10 and T 2 ≤ 4 T_2\le4 T 2 ≤ 4 . This is an approximate cycle; zero return tolerance requests exact closure. Cost quadratures are not periodic. These bounds do not prove exclusion of every possible controlled multi-winding orbit.
Integrate Appendix B with controls ( 0.5 , 0.5 ) (0.5,0.5) ( 0.5 , 0.5 ) from ( 1 , .3 , .5 , .5 , 1 , .3 , .5 , .5 , .5 , .5 ) (1,.3,.5,.5,1,.3,.5,.5,.5,.5) ( 1 , .3 , .5 , .5 , 1 , .3 , .5 , .5 , .5 , .5 ) to 1500 hours (Tsit5, absolute/relative tolerances 10 − 12 / 10 − 11 10^{-12}/10^{-11} 1 0 − 12 /1 0 − 11 ). Find late maxima of C N C_N C N from k 1 C − ( k 2 + k d N ) C N = 0 k_1C-(k_2+k_{dN})C_N=0 k 1 C − ( k 2 + k d N ) C N = 0 .
The stored reference period is 24.1346 hours; successive reference states differed by less than 6 ⋅ 10 − 13 6\cdot10^{-13} 6 ⋅ 1 0 − 13 in that construction. This is an uncontrolled periodic initializer, not an optimized game result.
Paired kinetic tuples below are ordered PER, TIM. The four V V V and K K K entries are shared by both phosphorylation chains, as in Table B1. Initial concentrations, unlike duration and controls, are fixed during optimization.
Enabled bounds:
Parameter instance.
x0 = (0.4884645232, 0.1972717656, 0.2725715265, 0.4025780857, 0.4884645232,
0.1972717656, 0.2725715265, 0.4025780857, 0.7156565511, 2.044733003)
vs = (1.0, 1.0)
vm = (0.7, 0.7)
Km = (0.2, 0.2)
ks = (0.9, 0.9)
vd = (2.0, 2.0)
KI = (1.0, 1.0)
Kd = (0.2, 0.2)
V = (8.0, 1.0, 8.0, 1.0)
K = (2.0, 2.0, 2.0, 2.0)
k1 = 0.6
k2 = 0.2
k3 = 1.2
k4 = 0.6
kd = 0.01
kdC = 0.01
kdN = 0.01
hill = 4
transcription_gain = 0.6
light_gain = 2.0
duration = 24.13458674
duration_bounds = (12.0, 36.0)
periodicity_tolerance = 0.0001
initial = (0.5, 0.5)
weights = [0.65 0.2 0.15; 0.45 0.35 0.2]
budgets = (12.0, 10.0)
path_limits = (5.0, 4.0)
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [0.4884645232, 0.1972717656, 0.2725715265, 0.4025780857,
0.4884645232, 0.1972717656, 0.2725715265, 0.4025780857, 0.7156565511,
2.044733003, 0.0, 0.0, 0.0, 0.0]
fishery: Competing fleets harvest a renewable stock
Biological interpretation. Many fisheries are managed by rotation: a fishing ground is opened, fished down, and then closed until the stock has recovered, after which the cycle repeats (pulse or rotational harvesting). The length of such a rotation is a management decision with a clear biological trade-off. Short rotations allow a per-opening catch allowance to be taken more often, but the logistic stock needs time to rebuild between openings, and a deeply depleted stock is costly to fish because catch per unit effort falls with biomass. We therefore model one recurring rotation, which is periodic in the stock but not in the catch accounts.
Dockner et al. [15 ] : a Gordon–Schaefer duopoly, with Nash and Stackelberg solutions; an established fishery differential game. Suri [60 ] , p. 168: explicit finite-horizon two-harvester dynamics and separate profit objectives with linear–quadratic effort costs; we retain its stock and cost structure.
Players are fishing fleets, and the biological state is a renewable fish stock. In rotational management the opening schedule is set by the licence holder or the management authority; here it is assigned to fleet A, which also chooses the rotation length. Fleet B fishes the same ground within each opening. The rotation structure, per-opening quotas, finite effort limits, and numerical parameter values below define a synthetic benchmark, not a calibrated fishery.
Literature and provenance. The stock balance and linear–quadratic fleet costs follow the finite-horizon harvesting formulation in Suri [60 ] ; Dockner et al. [15 ] provides differential-game context. The duration owner, approximate stock return, catch quotas, finite effort limits, and normalized numerical instance are benchmark additions.
Dimensions. N = 2 N = 2 N = 2 , n x = 1 n_x = 1 n x = 1 , n O D E = 5 n_{\mathrm{ODE}} = 5 n ODE = 5 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 4 ) (n_{g,i})_{i\in\mathcal{P}} = (2 \times4) ( n g , i ) i ∈ P = ( 2 × 4 ) .
Categories. population, periodical, competition, freeTime.
Game specification. x x x : fish biomass; u i u_i u i : fleet i i i ’s fishing effort, i ∈ { A , B } i \in\{A, B\} i ∈ { A , B } . Fleet A additionally chooses the rotation duration T ∈ [ T min , T max ] T \in[T_{\min}, T_{\max}] T ∈ [ T m i n , T m a x ] . The dynamics are written on normalized time s ∈ [ 0 , 1 ] s \in[0,1] s ∈ [ 0 , 1 ] , with physical time t = T s t = Ts t = T s ; the core performs no hidden time scaling. Catch rate is h i = q i u i x h_i = q_i u_i x h i = q i u i x , where q i q_i q i is catchability, and
d x d s = T [ r x ( 1 − x / K ) − q A u A x − q B u B x ] , x ( 0 ) = x 0 . \frac{dx}{ds} = T\left[rx(1-x/K) - q_Au_Ax - q_Bu_Bx\right], \qquad x(0)=x_0. d s d x = T [ r x ( 1 − x / K ) − q A u A x − q B u B x ] , x ( 0 ) = x 0 .
r r r is intrinsic growth; K K K is carrying capacity. There is no external clock: the default x 0 = K ( 1 − ( q A u ˉ A + q B u ˉ B ) / r ) x_0 = K\left(1-(q_A\bar{u}_A+q_B\bar{u}_B)/r\right) x 0 = K ( 1 − ( q A u ˉ A + q B u ˉ B ) / r ) is the stock that is stationary under the reference efforts u ˉ i \bar{u}_i u ˉ i , so the reference policy returns for every duration. Biomass and effort units are normalized; time, price, and cost coefficients use a consistent arbitrary unit system.
Each fleet minimizes its average net cost rate over one rotation,
J i = ∫ 0 1 [ − w i 1 p i q i u i x + w i 2 ( a i u i + b i 2 u i 2 ) ] d s = 1 T ∫ 0 T [ ⋯ ] d t , J_i = \int_0^1 \left[-w_i^1p_iq_iu_ix + w_i^2\left(a_iu_i + \frac{b_i}{2}u_i^2\right)\right]\,ds = \frac{1}{T}\int_0^T [\cdots]\,dt, J i = ∫ 0 1 [ − w i 1 p i q i u i x + w i 2 ( a i u i + 2 b i u i 2 ) ] d s = T 1 ∫ 0 T [ ⋯ ] d t ,
with w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 and w i 1 + w i 2 = 1 w_i^1+w_i^2=1 w i 1 + w i 2 = 1 ; p i p_i p i is fish price and a i a_i a i , b i b_i b i are linear and quadratic effort costs. Per-rotation catch accounts
d H i d s = T q i u i x , H i ( 0 ) = 0 , H i ( 1 ) ≤ Q i , x ( s ) ≥ x min , \frac{dH_i}{ds}=Tq_iu_ix, \qquad H_i(0)=0, \qquad H_i(1)\le Q_i, \qquad x(s)\ge x_{\min}, d s d H i = T q i u i x , H i ( 0 ) = 0 , H i ( 1 ) ≤ Q i , x ( s ) ≥ x m i n ,
make short rotations attractive (more quota per unit time) but require a depletion–recovery cycle within each rotation. Each quota is enforced for its fleet; the stock floor and the return condition ∣ x ( 1 ) − x 0 ∣ ≤ δ |x(1)-x_0|\le\delta ∣ x ( 1 ) − x 0 ∣ ≤ δ are enforced in both players’ deviation problems.
Figure 11. Reference equilibrium candidate for fishery. Interpretation. Fleet A chooses a rotation of length T ≈ 5.4 T \approx5.4 T ≈ 5.4 . Both fleets fish hardest when the ground opens: A starts at full effort and B at about half effort, and both reduce effort as the stock is fished down, consistent with catch per unit effort falling with biomass. Biomass therefore drops steeply from its stationary reference level of about 0.78 to a minimum near 0.49 roughly one third into the rotation. B stops fishing first, and A exhausts its per-rotation catch quota (g 1 g_1 g 1 active) and closes the ground well before the end of the rotation. The final closed phase lets the logistic stock recover to its initial level, which the return condition requires, while B’s quota and the shared stock floor remain slack. The chosen duration is consistent with a balance of two effects: a shorter rotation would let A take its quota more often, but the stock could not recover within the rotation without a much deeper and more costly depletion.
Julia uses the augmented order ( x , z A , z B , H A , H B ) (x, z_A, z_B, H_A, H_B) ( x , z A , z B , H A , H B ) , where z i z_i z i accumulates the integrand of J i J_i J i , z i ( 0 ) = 0 z_i(0) = 0 z i ( 0 ) = 0 , and J i = z i ( 1 ) J_i = z_i(1) J i = z i ( 1 ) ; these four accumulators are quadratures, not biological states. The duration is the scalar parameter owned by player A.
Enabled bounds:
Table 6.
Parameter instance.
periodicity_tolerance = 0.0001
r = 0.8
K = 1.0
q = (0.7, 0.55)
price = (1.2, 1.0)
linear_cost = (0.06, 0.08)
quadratic_cost = (0.5, 0.65)
w_A = (0.8, 0.2)
w_B = (0.6, 0.4)
umax = (1.0, 1.0)
initial = (0.2, 0.07)
x0 = 0.776875
duration = 6.0
duration_bounds = (1.0, 12.0)
quotas = (0.8, 0.4)
floor = 0.4
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [0.776875, 0.0, 0.0, 0.0, 0.0]
foraging: Competitive foraging
Biological interpretation. Animals foraging on a shared, renewable food patch, for example a group of birds on a fruiting tree or grazers on a pasture, convert food into energy reserves and part of it into a retained harvest (such as caches or brood provisions). Intense foraging depletes the patch for everyone. A management rule keeps the patch above 70% of carrying capacity; with logistic regrowth this is a conservative rule, not a collapse threshold. We model one foraging episode of three foragers that differ in how they value their retained harvest relative to their foraging effort. Each player controls foraging effort subject to an effort budget.
Literature and provenance. Competitive foraging of mallards on two food patches was compared with the ideal free distribution [24 ] . This supports competition for a shared renewable food supply, not the specific depletion and reserve dynamics. We extend the resource competition idea to three foragers with finite effort budgets; the particular state equations and budgets are synthetic. All rates, budgets, weights, and initial values below are synthetic, dimensionless benchmark choices, not fitted values from this source.
Figure 12. Reference equilibrium candidate for foraging. Interpretation. All foragers start at maximal effort and draw the shared food stock down from 8 to its conservation floor of 7 within about half a time unit; from then on the floor is active for the rest of the episode (g 2 g_2 g 2 ), so the foragers share the patch’s regrowth. Their schedules then diverge. Forager A, which weights effort most, forages at about 0.68 early and reduces effort to about 0.27 near t ≈ 8 t \approx8 t ≈ 8 before a small final increase; B keeps an intermediate effort around 0.5–0.58; and C, which values retained harvest most, starts low (0.33) and increases its effort to about 0.67 toward the end. Because the floor fixes the total harvest rate, one forager’s higher effort lowers the others’ intake: C’s late increase coincides with A’s decline. Energy reserves reflect these schedules: A’s reserve peaks at about 9.5 near t ≈ 5.5 t \approx5.5 t ≈ 5.5 and then declines, B’s levels off near 8, and C’s keeps rising to about 9.1. Retained harvest accumulates earliest for A, which has the highest foraging and retention efficiencies, and reaches the largest total (13.7), whereas C’s harvest accelerates late. None of the effort budgets is exhausted (used 3.0 of 3.5, 2.9 of 4, and 3.1 of 4.5); the shared floor, not individual effort limits, restrains the harvest.
Dimensions. N = 3 N = 3 N = 3 , n x = 7 n_x = 7 n x = 7 , n O D E = 13 n_{\mathrm{ODE}} = 13 n ODE = 13 , ( n u , i ) i ∈ P = ( 3 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (3 \times1) ( n u , i ) i ∈ P = ( 3 × 1 ) , ( n g , i ) i ∈ P = ( 3 × 2 ) (n_{g,i})_{i\in\mathcal{P}} = (3 \times2) ( n g , i ) i ∈ P = ( 3 × 2 ) .
Categories. population, episodical, competition, variable-N N N .
Game specification. S S S : food; E i E_i E i : reserve; H i H_i H i : retained harvest (subject to loss). H i H_i H i is a proxy fed by the reserves without depleting them. u i u_i u i : foraging effort. Players are individual foragers; N = 3 N = 3 N = 3 by default.
S ˙ = r S ( 1 − S / K ) − S ∑ j ∈ P c j u j , \dot{S} = rS(1-S/K) - S\sum_{j\in\mathcal{P}} c_j u_j, S ˙ = r S ( 1 − S / K ) − S j ∈ P ∑ c j u j ,
E ˙ i = e i u i S − d E E i , H ˙ i = h i u i E i − d H H i . \dot{E}_i = e_i u_i S - d_E E_i,\qquad\dot{H}_i = h_i u_i E_i - d_H H_i. E ˙ i = e i u i S − d E E i , H ˙ i = h i u i E i − d H H i .
Controls are open-loop functions of time. Initial-state order: x = ( S , ( E i ) i ∈ P , ( H i ) i ∈ P ) x = (S, (E_i)_{i\in\mathcal{P}}, (H_i)_{i\in\mathcal{P}}) x = ( S , ( E i ) i ∈ P , ( H i ) i ∈ P ) ; values appear below.
Each player i ∈ P i \in\mathcal{P} i ∈ P minimizes J i = T − 1 ∫ 0 T ℓ i d t J_i = T^{-1}\int_0^T \ell_i\,dt J i = T − 1 ∫ 0 T ℓ i d t , with
ℓ i = − w i 1 H i + w i 2 u i 2 . \ell_i = -w_i^1 H_i + w_i^2 u_i^2. ℓ i = − w i 1 H i + w i 2 u i 2 .
w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 ; weights are independently configurable.
Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i . \dot{Z}_i = u_i^2,\qquad Z_i(0) = 0,\qquad Z_i(T) \le B_i. Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i .
Budgets are private to each player. The enabled path floor is S ≥ 7 S \ge7 S ≥ 7 . No forager values the patch level itself: depletion results from competition for the shared regrowth, and the management floor restrains it. When enabled, it is enforced in every player’s deviation problem.
Enabled bounds:
Table 7.
Parameter instance.
N = 3
T = 10.0
r = 0.8
K = 10.0
c = [0.12, 0.16, 0.2]
e = [0.8, 0.7272727273, 0.6666666667]
h = [0.6, 0.5454545455, 0.5]
de = 0.3
dh = 0.1
x0 = [8.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0]
w_A = (0.3333333333, 0.6666666667)
w_B = (0.375, 0.625)
w_C = (0.8, 0.2)
budgets = [3.5, 4.0, 4.5]
floor = 7.0
initial = [0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [8.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0]
immuneClearance: Immune clearance and viral immune evasion
Biological interpretation. An acute viral infection is a contest between the host immune response and the virus. Cytotoxic T cells kill infected cells and antibodies neutralize free virus; both responses are costly, and cytotoxic killing damages the infected tissue itself (immunopathology). Many viruses counter these responses, for example by reducing antigen presentation on infected cells or by masking epitopes, at a cost in replication. We model one infection episode as a game between the host (A), which activates cytotoxic and antibody responses and ends the episode when the viral load has been reduced to a prescribed low level, and the virus (B), which invests in immune evasion to maximize its accumulated viral load, a proxy for transmission opportunity. Treating the viral population as a player summarizes selection on viral gene expression within one infection; it is not a claim of viral foresight. The host owns the episode duration, since clearance ends it.
Literature and provenance. The target-cell infection and viral production/clearance kinetics follow the model of influenza A infection kinetics in humans [4 ] . Saturating infection, the immune compartments, the damage law, the evasion mechanism, the host–virus game, and all coefficients are synthetic; this is not the fitted influenza model or a treatment recommendation.
x = ( H , I , V , E , A b , Z ) x = (H, I, V, E, Ab, Z) x = ( H , I , V , E , A b , Z ) : susceptible cells, infected cells, virus, cytotoxic effectors, antibody activity, and tissue damage.
Dimensions. N = 2 N = 2 N = 2 , n x = 6 n_x = 6 n x = 6 , n O D E = 10 n_{\mathrm{ODE}} = 10 n ODE = 10 , ( n u , i ) i ∈ P = ( 2 , 1 ) (n_{u,i})_{i \in\mathcal{P}} = (2, 1) ( n u , i ) i ∈ P = ( 2 , 1 ) , ( n g , i ) i ∈ P = ( 4 , 1 ) (n_{g,i})_{i \in\mathcal{P}} = (4, 1) ( n g , i ) i ∈ P = ( 4 , 1 ) .
Categories. cellular, episodical, antagonism, freeTime.
Game specification. Host A controls cytotoxic activation u A 1 u_{A1} u A 1 and antibody activation u A 2 u_{A2} u A 2 ; virus B controls immune evasion u B u_B u B . With susceptible cells H H H , infected cells I I I , viral load V V V , cytotoxic effectors E E E , antibody activity A b Ab A b , and tissue damage Z Z Z ,
b = β H V 1 + V , H ˙ = − b , I ˙ = b − [ d I + k E ( 1 − σ u B ) E ] I , V ˙ = p ( 1 − κ u B ) I − [ c + ( 1 − σ u B ) A b ] V , E ˙ = a 1 u A 1 V 1 + V − d 1 E , A b ˙ = a 2 u A 2 V 1 + V − d 2 A b , Z ˙ = h 1 E 2 + h 2 I − r Z Z . \begin{aligned}
b &= \frac{\beta H V}{1+V}, \qquad\dot{H} = -b, \\
\dot{I} &= b - \left[d_I + k_E(1-\sigma u_B)E\right]I, \\
\dot{V} &= p(1-\kappa u_B)I - \left[c + (1-\sigma u_B)Ab\right]V, \\
\dot{E} &= \frac{a_1u_{A1}V}{1+V} - d_1E, \qquad\dot{Ab} = \frac{a_2u_{A2}V}{1+V} - d_2Ab, \\
\dot{Z} &= h_1E^2 + h_2I - r_ZZ.
\end{aligned} b I ˙ V ˙ E ˙ Z ˙ = 1 + V β H V , H ˙ = − b , = b − [ d I + k E ( 1 − σ u B ) E ] I , = p ( 1 − κ u B ) I − [ c + ( 1 − σ u B ) A b ] V , = 1 + V a 1 u A 1 V − d 1 E , A b ˙ = 1 + V a 2 u A 2 V − d 2 A b , = h 1 E 2 + h 2 I − r Z Z .
Evasion reduces cytotoxic killing and antibody neutralization by the fraction σ u B \sigma u_B σ u B and costs the fraction κ u B \kappa u_B κ u B of virion production.
Figure 13. Reference equilibrium candidate for immuneClearance. Interpretation. The host ends the episode at T ≈ 2.93 T \approx2.93 T ≈ 2.93 , when the viral load has fallen from 2 to the prescribed target 0.2 (the host’s terminal equality g 1 g_1 g 1 is active). The host relies mainly on antibodies: antibody activation starts at 0.90 and declines almost linearly to zero, whereas cytotoxic activation stays below 0.17 and declines in parallel. A mechanism consistent with this split is that cytotoxic killing also causes tissue damage, which the host penalizes. The virus invests in evasion early, rising from 0.10 to a maximum of 0.13 near t ≈ 0.35 t \approx0.35 t ≈ 0.35 , and then reduces it to zero as the viral load falls, well before antibody activity peaks; the virus uses less than 2% of its evasion budget. Antibody activity rises from 0.1 to a maximum of about 0.26 near t ≈ 1.2 t \approx1.2 t ≈ 1.2 and then decays slowly, cytotoxic effectors stay near 0.05–0.11, infected cells decline from 0.2 to about 0.11, and about a quarter of the susceptible cells become infected. Tissue damage accumulates to about 0.05. The host’s activation budget, the evasion budget, the susceptible-cell floor, and the damage ceiling remain slack, so the schedules are shaped by the host’s time and burden costs and by the virus’s trade-off between evasion and production.
β = beta \beta= \text{beta} β = beta , d_I = \text{infected_decay} , k E = killing k_E = \text{killing} k E = killing , p = production p = \text{production} p = production , c = clearance c = \text{clearance} c = clearance , a = activation a = \text{activation} a = activation , d = \text{effector_decay} , h = damage h = \text{damage} h = damage , r Z = recovery r_Z = \text{recovery} r Z = recovery , σ = evasion \sigma= \text{evasion} σ = evasion , \kappa= \text{evasion_cost} .
The players minimize
J A = w A 1 T + w A 2 ∫ 0 T ( u A 1 2 + u A 2 2 ) d t + w A 3 ∫ 0 T ( V 2 + Z 2 ) d t J_A = w_A^1 T + w_A^2 \int_0^T (u_{A1}^2 + u_{A2}^2)\,\mathrm{d}t + w_A^3 \int_0^T (V^2 + Z^2)\,\mathrm{d}t J A = w A 1 T + w A 2 ∫ 0 T ( u A 1 2 + u A 2 2 ) d t + w A 3 ∫ 0 T ( V 2 + Z 2 ) d t
J B = − w B 1 ∫ 0 T V d t + w B 2 ∫ 0 T u B 2 d t . J_B = -w_B^1 \int_0^T V\,\mathrm{d}t + w_B^2 \int_0^T u_B^2\,\mathrm{d}t. J B = − w B 1 ∫ 0 T V d t + w B 2 ∫ 0 T u B 2 d t .
The host trades a short infection against activation effort and against viral and pathological burden; the virus trades accumulated viral load against the replication cost of evasion.
V ( 0 ) = 2 V(0) = 2 V ( 0 ) = 2 and the clearance target V ( T ) = 0.2 V(T) = 0.2 V ( T ) = 0.2 are restrictions of the host only; the virus is not bound by them, so its deviations can make the host’s target harder to reach. The host’s squared activation budget is 2, and it imposes H ≥ 0.5 H \ge0.5 H ≥ 0.5 (a minimum of intact target tissue) and Z ≤ 0.8 Z \le0.8 Z ≤ 0.8 (a tolerable level of immunopathology) along the trajectory. The virus has a squared evasion budget of 1. Other terminal states are free.
Enabled bounds:
Table 1 (PDF p. 55).
Parameter instance.
x0 = (1.0, 0.2, 2.0, 0.1, 0.1, 0.0)
target = 0.2
beta = 0.25
infected_decay = 0.6
production = 0.7
clearance = 0.8
killing = 0.6
activation = (0.8, 0.6)
effector_decay = (0.5, 0.35)
damage = (0.2, 0.15)
recovery = 0.4
evasion = 0.8
evasion_cost = 0.3
duration = 5.0
duration_bounds = (0.1, 20.0)
initial = (0.5, 0.45, 0.3)
w_A = (0.5, 0.3, 0.2)
w_B = (0.6, 0.4)
budgets = (2.0, 1.0)
path_limits = (0.5, 0.8)
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [1.0, 0.2, 2.0, 0.1, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0]
metabolicPathway: Enzyme allocation under budgets
Biological interpretation. Many metabolic pathways branch: a shared substrate is converted by parallel enzymes whose products feed a common downstream pool. When the enzymes are expressed by different cells or regulatory modules, each module pays for its own enzyme synthesis while all benefit from the shared product, a classic public-good situation. Here the substrate is supplied with a recurring (for example, feeding-related) oscillation, and we consider one full supply cycle after which all pools return to their initial values. Each reaction also yields a module-specific byproduct that accumulates and inhibits the module’s own reaction (product inhibition), so enzyme investment must be timed relative to the substrate supply and to the module’s byproduct load. Because both modules value the same product, the game is a public-goods game in which free-riding on the other module’s expression is expected.
Literature and provenance. Limited enzyme-production capacity is an established optimal-control modeling assumption [29 , 43 , 44 ] . We extend it to two competing expression modules with private budgets and unequal product/effort weights; the noncooperative split is a proposed benchmark. All rates, budgets, weights, and initial values below are synthetic, dimensionless benchmark choices, not fitted values from this source.
Dimensions. N = 2 N = 2 N = 2 , n x = 6 n_x = 6 n x = 6 , n O D E = 10 n_{\mathrm{ODE}} = 10 n ODE = 10 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 13 ) (n_{g,i})_{i\in\mathcal{P}} = (2 \times13) ( n g , i ) i ∈ P = ( 2 × 13 ) .
Categories. molecular, periodical, regulation.
Game specification. X i X_i X i : byproduct pools; S S S : substrate; Y Y Y : product; E i E_i E i : active enzyme. u i u_i u i : enzyme-expression effort. v i v_i v i denotes productive flux.
v i = V i E i S ( K i + S ) ( 1 + X i / K X , i ) , X ˙ i = v i − d i X i , S ˙ = D ( S i n − S ) − ∑ j ∈ P v j , Y ˙ = ∑ j ∈ P v j − d Y Y , E ˙ i = α i u i − β i E i . \begin{aligned}
v_i &= \frac{V_i E_i S}{(K_i + S)(1 + X_i/K_{X,i})}, \qquad\dot{X}_i = v_i - d_i X_i,\\
\dot{S} &= D(S_{\mathrm{in}} - S) - \sum_{j\in\mathcal{P}} v_j, \qquad\dot{Y} = \sum_{j\in\mathcal{P}} v_j - d_Y Y,\\
\dot{E}_i &= \alpha_i u_i - \beta_i E_i.
\end{aligned} v i S ˙ E ˙ i = ( K i + S ) ( 1 + X i / K X , i ) V i E i S , X ˙ i = v i − d i X i , = D ( S in − S ) − j ∈ P ∑ v j , Y ˙ = j ∈ P ∑ v j − d Y Y , = α i u i − β i E i .
Each reaction yields one unit of product and one unit of a module-specific byproduct X i X_i X i , which inhibits its own reaction with inhibition constant K X , i K_{X,i} K X , i (K X K_X K X ) and is removed at rate d i d_i d i . Controls are open-loop functions of time. Initial-state order: x = ( X A , X B , S , Y , E A , E B ) x = (X_A, X_B, S, Y, E_A, E_B) x = ( X A , X B , S , Y , E A , E B ) ; values appear below.
Each player i ∈ P i \in\mathcal{P} i ∈ P minimizes J i = T − 1 ∫ 0 T ℓ i d t J_i = T^{-1}\int_0^T \ell_i\,\mathrm{d}t J i = T − 1 ∫ 0 T ℓ i d t , with
ℓ i = − w i 1 Y + w i 2 u i 2 . \ell_i = -w_i^1Y + w_i^2u_i^2. ℓ i = − w i 1 Y + w i 2 u i 2 .
w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 ; weights are independently configurable.
Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i . \dot{Z}_i = u_i^2, \qquad Z_i(0) = 0,\quad Z_i(T) \le B_i. Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i .
Figure 14. Reference equilibrium candidate for metabolicPathway. Interpretation. Over one supply period (T = 12 T = 12 T = 12 ), substrate rises from 1.0 to a maximum of 3.3 near t ≈ 5 t \approx5 t ≈ 5 and falls to a minimum of 0.73 near t ≈ 10.8 t \approx10.8 t ≈ 10.8 . Module A, which values the shared product most, expresses at the upper bound at the start, while its enzyme pool is low and substrate is rising, builds its enzyme to 1.1 by t ≈ 1.5 t \approx1.5 t ≈ 1.5 , and then switches expression off completely between t ≈ 2.4 t \approx2.4 t ≈ 2.4 and t ≈ 7 t \approx7 t ≈ 7 , during the substrate peak. During this phase its byproduct has accumulated to its maximum (2.15 near t ≈ 3.8 t \approx3.8 t ≈ 3.8 ) and inhibits its reaction. A second, weaker expression phase (up to 0.43) follows while substrate declines. Module B expresses smoothly, from 0.43 at the start down to 0.24 near the substrate peak and up to 0.36 near t ≈ 10 t \approx10 t ≈ 10 , so its enzyme pool varies only between 0.78 and 0.94. B’s expression exceeds A’s during most of the cycle, so B does not free-ride on A’s product. The shared product follows the substrate with a lag and peaks at 2.16 near t ≈ 3.9 t \approx3.9 t ≈ 3.9 . Both squared-effort budgets remain slack. Byproduct A, the product, and enzyme B end at the edge of their return bands (∣ x j ( T ) − x j ( 0 ) ∣ ≈ 10 − 2 \lvert x_j(T) - x_j(0) \rvert\approx10^{-2} ∣ x j ( T ) − x j ( 0 )∣ ≈ 1 0 − 2 ), so the return condition, rather than a budget, restricts the end of the cycle.
Budgets are private to each player. The optional path floor is S ≥ f l o o r S \ge\mathrm{floor} S ≥ floor . When enabled, it is enforced in every player’s deviation problem.
Periodical setting. The substrate supply is modulated as S i n ( t ) = S i n [ 1 + a sin ( 2 π t / T p e r ) ] S_{\mathrm{in}}(t) = S_{\mathrm{in}}[1 + a\sin(2\pi t/T_{\mathrm{per}})] S in ( t ) = S in [ 1 + a sin ( 2 π t / T per )] with forcing period T p e r = T T_{\mathrm{per}} = T T per = T . The fixed initial state lies on the reference cycle obtained with constant expression efforts, and every player’s problem contains the return conditions ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ \lvert x_j(T) - x_j(0)\rvert\le\delta ∣ x j ( T ) − x j ( 0 )∣ ≤ δ for all six pools.
Enabled bounds:
Table 8.
Parameter instance.
initial = (0.2, 0.3)
forcing_period = 12.0
T = 12.0
forcing_amplitude = 0.8
periodicity_tolerance = 0.01
V = (1.2, 1.0)
K = (0.4, 0.6)
KX = (1.0, 1.0)
d = (0.1, 0.08)
D = 0.4
Sin = 3.0
dp = 0.2
al = (0.8, 0.7)
be = (0.3, 0.25)
x0 = (1.773752359, 2.261203403, 1.032172585, 1.721238584, 0.5333333333, 0.84)
w_A = (0.9, 0.1)
w_B = (0.7, 0.3)
budgets = (3.6, 3.0)
floor = nothing
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [1.773752359, 2.261203403, 1.032172585, 1.721238584,
0.5333333333, 0.84, 0.0, 0.0, 0.0, 0.0]
microbial: Microbial cross-feeding
Biological interpretation. Many microbial communities are held together by cross-feeding: strains that cannot synthesize an essential metabolite (for example, an amino acid) obtain it from partners that secrete it, while all strains compete for a common carbon source. Secretion is costly for the producer but benefits its partner, and thereby indirectly the producer itself, because the partner supplies the producer’s own requirement. In a chemostat with a recurring feed with a period of 80 h (for example, a feed-and-starve regime of a maintained culture), substrate availability oscillates. We model one full feed cycle of a maintained community of ten strains organized in reciprocal pairs; every strain and every pool must return to its initial value, and each strain chooses its secretion allocation over the cycle.
We extend the two-strain game of Banga and Villaverde [11 ] to N ≥ 2 N \ge2 N ≥ 2 strains, each producing one metabolite and choosing one allocation u i u_i u i . The state has 2 N + 1 2N+1 2 N + 1 entries:
x = ( ( X i ) i ∈ P , S , ( M i ) i ∈ P ) . x = ((X_i)_{i\in\mathcal{P}},S,(M_i)_{i\in\mathcal{P}}). x = (( X i ) i ∈ P , S , ( M i ) i ∈ P ) .
Let a i j ∈ { 0 , 1 } a_{ij}\in\{0,1\} a ij ∈ { 0 , 1 } indicate that strain i i i requires metabolite M j M_j M j , with a i i = 0 a_{ii}=0 a ii = 0 and d i = ∑ j ∈ P a i j ≥ 1 d_i=\sum_{j\in\mathcal{P}}a_{ij}\ge1 d i = ∑ j ∈ P a ij ≥ 1 .
Edges describe essential nutrients; multiple incoming nutrients are complementary, not interchangeable. Each metabolite is a shared extracellular pool. Its consumers compete through depletion, while all strains compete for S S S . This graph-based extension and the following N = 10 N=10 N = 10 setting are proposals; the source treats only two strains.
Literature and provenance. The two-strain starting formulation is taken from Banga and Villaverde [11 ] . The network extension, its ten-strain instance, and partner-averaged objective candidates are benchmark additions.
Dimensions. N = 10 N=10 N = 10 , n x = 21 n_x=21 n x = 21 , n O D E = 61 n_{\mathrm{ODE}}=61 n ODE = 61 , ( n u , i ) i ∈ P = ( 10 × 1 ) (n_{u,i})_{i\in\mathcal{P}}=(10\times1) ( n u , i ) i ∈ P = ( 10 × 1 ) , ( n q , i ) i ∈ P = ( 10 × 42 ) (n_{q,i})_{i\in\mathcal{P}}=(10\times42) ( n q , i ) i ∈ P = ( 10 × 42 ) .
Categories. cellular, periodical, mutualism, variable-$N$.
Game specification.
μ i = μ i , max ( 1 − c i u i ) S K S , i + S ∏ j ∈ P : a i j = 1 M j K M , i j + M j . \mu_i=\mu_{i,\max}(1-c_i u_i)\frac{S}{K_{S,i}+S}\prod_{j\in\mathcal{P}:a_{ij}=1}\frac{M_j}{K_{M,ij}+M_j}. μ i = μ i , m a x ( 1 − c i u i ) K S , i + S S j ∈ P : a ij = 1 ∏ K M , ij + M j M j .
X ˙ i = ( μ i − D ) X i , i ∈ P , \dot{X}_i=(\mu_i-D)X_i,\qquad i\in\mathcal{P}, X ˙ i = ( μ i − D ) X i , i ∈ P ,
S ˙ = D ( S i n − S ) − ∑ i ∈ P μ i X i Y S , i , \dot{S}=D(S_{\mathrm{in}}-S)-\sum_{i\in\mathcal{P}}\frac{\mu_iX_i}{Y_{S,i}}, S ˙ = D ( S in − S ) − i ∈ P ∑ Y S , i μ i X i ,
M ˙ j = α j u j X j − D M j − ∑ i ∈ P : a i j = 1 μ i X i Y M , i j , j ∈ P . \dot{M}_j=\alpha_j u_jX_j-DM_j-\sum_{i\in\mathcal{P}:a_{ij}=1}\frac{\mu_iX_i}{Y_{M,ij}},\qquad j\in\mathcal{P}. M ˙ j = α j u j X j − D M j − i ∈ P : a ij = 1 ∑ Y M , ij μ i X i , j ∈ P .
Y M , i j > 0 Y_{M,ij}>0 Y M , ij > 0 is the yield of consumer i i i on metabolite j j j . All consumers of a depleted M j M_j M j have zero growth, preserving nonnegativity.
Reduction check: N = 2 N=2 N = 2 , a A B = a B A = 1 a_{AB}=a_{BA}=1 a A B = a B A = 1 , K M , i j = K M , i K_{M,ij}=K_{M,i} K M , ij = K M , i and Y M , i j = Y M , i Y_{M,ij}=Y_{M,i} Y M , ij = Y M , i recover all five source equations.
With ⟨ z ⟩ = T − 1 ∫ 0 T z d t \langle z\rangle=T^{-1}\int_0^Tz\,dt ⟨ z ⟩ = T − 1 ∫ 0 T z d t , the objectives are
J i 1 = − ⟨ X i / B 0 ⟩ , J i 2 = ⟨ u i 2 + ϵ M M i 2 ⟩ , J i 3 = ⟨ 1 d i ∑ j ∈ P : a i j = 1 K d e f K d e f + M j ⟩ , J i 4 = − ⟨ 1 d i ∑ j ∈ P : a i j = 1 X j / B 0 ⟩ . \begin{aligned}
J_{i1}&=-\langle X_i/B_0\rangle, & J_{i2}&=\langle u_i^2+\epsilon_M M_i^2\rangle,\\
J_{i3}&=\left\langle\frac{1}{d_i}\sum_{j\in\mathcal{P}:a_{ij}=1}\frac{K_{\mathrm{def}}}{K_{\mathrm{def}}+M_j}\right\rangle, &
J_{i4}&=-\left\langle\frac{1}{d_i}\sum_{j\in\mathcal{P}:a_{ij}=1}X_j/B_0\right\rangle.
\end{aligned} J i 1 J i 3 = − ⟨ X i / B 0 ⟩ , = ⟨ d i 1 j ∈ P : a ij = 1 ∑ K def + M j K def ⟩ , J i 2 J i 4 = ⟨ u i 2 + ϵ M M i 2 ⟩ , = − ⟨ d i 1 j ∈ P : a ij = 1 ∑ X j / B 0 ⟩ .
Player i i i minimizes J i = ∑ k = 1 4 w i k J i k J_i=\sum_{k=1}^4w_i^kJ_{ik} J i = ∑ k = 1 4 w i k J ik , w i k ≥ 0 w_i^k\ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_kw_i^k=1 ∑ k w i k = 1 . Partner terms are averaged to avoid a purely degree-induced increase in scale. No terminal cost; the only state restrictions are the return conditions below. Feature scales: B 0 = 2 B_0=2 B 0 = 2 , K d e f = 0.35 K_{\mathrm{def}}=0.35 K def = 0.35 , ϵ M = 10 − 5 \epsilon_M=10^{-5} ϵ M = 1 0 − 5 . The term ϵ M M i 2 \epsilon_M M_i^2 ϵ M M i 2 is a small regularization that penalizes accumulation of the own secreted metabolite.
Figure 15. Reference equilibrium candidate for microbial . Interpretation. The substrate (plotted scaled by 0.1) rises from 2.7 to about 10 at t ≈ 28 t \approx28 t ≈ 28 during the high-feed half of the cycle and falls to about 1 near t ≈ 67 t \approx67 t ≈ 67 . The strains grow with a delay and roughly double their densities by t ≈ 50 t \approx50 t ≈ 50 , then decline back to their initial values; the metabolite pools vary more weakly and in a strain-specific way (only the pools M A M_A M A –M E M_E M E are drawn, since the plot shows at most 16 states). All strains secrete strongly at the beginning of the cycle, when their partners are still at low density and need the exchanged metabolites to exploit the rising substrate, and reduce secretion as growth becomes substrate-limited. In the low-feed phase between t ≈ 30 t \approx30 t ≈ 30 and t ≈ 60 t \approx60 t ≈ 60 several strains cut secretion markedly (A down to 0.18, C to 0.25), because a partner’s growth brings little benefit when substrate is scarce. All strains raise secretion again toward the end of the cycle; this increase is forced by the return condition on the metabolite pools rather than a biological prediction. The strains differ in their schedules according to their growth and secretion traits and their partner-oriented weights. No budget or state bounds besides the return conditions are enabled; the absolute return band of 10 − 2 10^{-2} 1 0 − 2 gives the strains room to deviate from the reference allocation.
Time is in h, X i X_i X i in gDW L− 1 ^{-1} − 1 , and S S S , M i M_i M i in mmol L− 1 ^{-1} − 1 . μ i , max \mu_{i,\max} μ i , m a x , D D D have units h− 1 ^{-1} − 1 ; K S , i K_{S,i} K S , i , K M , i j K_{M,ij} K M , ij , S i n S_{\mathrm{in}} S in have concentration units. α i \alpha_i α i is in mmol gDW− 1 ^{-1} − 1 h− 1 ^{-1} − 1 ; Y S , i Y_{S,i} Y S , i , Y M , i j Y_{M,ij} Y M , ij are in gDW mmol− 1 ^{-1} − 1 ; c i c_i c i , u i u_i u i are dimensionless. B 0 B_0 B 0 has biomass units; K d e f K_{\mathrm{def}} K def has metabolite units; ϵ M \epsilon_M ϵ M has inverse squared metabolite units.
For the default N = 10 N = 10 N = 10 , partners are reciprocal pairs ( A , B ) (A, B) ( A , B ) , ( C , D ) (C, D) ( C , D ) , . . . , ( I , J ) (I, J) ( I , J ) , coupled through shared substrate. For odd N > 2 N > 2 N > 2 , the final strain additionally consumes its predecessor’s metabolite. Each player rewards partner biomass as well as its own. All graph, kinetic, initial-state, and weight entries are configurable. The N = 2 N = 2 N = 2 parameters and graph remain unchanged.
Periodical setting. The substrate feed is modulated as S i n ( t ) = S i n [ 1 + a sin ( 2 π t / T p e r ) ] S_{\mathrm{in}}(t) = S_{\mathrm{in}}[1 + a\sin(2\pi t/T_{\mathrm{per}})] S in ( t ) = S in [ 1 + a sin ( 2 π t / T per )] with forcing period T p e r = T T_{\mathrm{per}} = T T per = T . Phase-zero strain densities are fixed; the initial substrate and metabolite pools and the maximal growth rates μ i , max \mu_{i,\max} μ i , m a x are calibrated so that the reference cycle with constant allocations closes. Every player’s problem contains the return conditions ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ \lvert x_j(T)-x_j(0)\rvert\leq\delta ∣ x j ( T ) − x j ( 0 )∣ ≤ δ for all 2 N + 1 2N+1 2 N + 1 states. With a tight band, these shared conditions pin every strain’s allocation to its reference value, so the archived instance uses the looser absolute band δ = 10 − 2 \delta= 10^{-2} δ = 1 0 − 2 .
Enabled bounds:
Table 1 (PDF p. 61).
Parameter instance.
forcing_period = 80.0
forcing_amplitude = 0.9
periodicity_tolerance = 0.01
N = 10
T = 80.0
B0 = 2.0
Kdef = 0.35
epsilon_M = 1.0e-5
mu_max = [0.1390691175, 0.1534971554, 0.1506718399, 0.1622049706,
0.1648060806, 0.1752300865, 0.1804094155, 0.190391922, 0.1970624911,
0.2069131292]
K_S = [5.7, 6.4, 7.1, 7.8, 8.5, 9.2, 9.9, 10.6, 11.3, 12.0]
K_M = [0.072 0.08 0.06 0.068 0.076 0.084 0.064 0.072 0.08 0.06; 0.076 0.084
0.064 0.072 0.08 0.06 0.068 0.076 0.084 0.064; 0.08 0.06 0.068 0.076 0.084
0.064 0.072 0.08 0.06 0.068; 0.084 0.064 0.072 0.08 0.06 0.068 0.076
0.084 0.064 0.072; 0.06 0.068 0.076 0.084 0.064 0.072 0.08 0.06 0.068
0.076; 0.064 0.072 0.08 0.06 0.068 0.076 0.084 0.064 0.072 0.08; 0.068
0.076 0.084 0.064 0.072 0.08 0.06 0.068 0.076 0.084; 0.072 0.08 0.06 0.068
0.076 0.084 0.064 0.072 0.08 0.06; 0.076 0.084 0.064 0.072 0.08 0.06
0.068 0.076 0.084 0.064; 0.08 0.06 0.068 0.076 0.084 0.064 0.072 0.08 0.06
0.068]
c = [0.17, 0.19, 0.21, 0.23, 0.25, 0.27, 0.29, 0.31, 0.33, 0.35]
alpha = [0.49, 0.53, 0.57, 0.61, 0.65, 0.69, 0.73, 0.77, 0.81, 0.85]
Y_S = [0.515, 0.53, 0.545, 0.56, 0.575, 0.59, 0.605, 0.62, 0.635, 0.65]
Y_M = [8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0 8.0 8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0 8.0 8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0 8.0 8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0
8.0; 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0 8.0]
D = 0.05
S_in = 10.0
x0 = [0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.22, 0.24, 0.26, 0.28, 2.716672258,
0.4602340172, 0.6105073918, 0.7733384874, 0.9605044771, 1.159541914,
1.383575536, 1.61888453, 1.879760125, 2.151413228, 2.449110336]
weights = [0.4 0.01 0.08 0.51; 0.4 0.01222222222 0.08 0.5077777778; 0.4
0.01444444444 0.08 0.5055555556; 0.4 0.01666666667 0.08 0.5033333333; 0.4
0.01888888889 0.08 0.5011111111; 0.4 0.02111111111 0.08 0.4988888889; 0.4
0.02333333333 0.08 0.4966666667; 0.4 0.02555555556 0.08 0.4944444444; 0.4
0.02777777778 0.08 0.4922222222; 0.4 0.03 0.08 0.49]
adjacency = [0 1 0 0 0 0 0 0 0 0; 1 0 0 0 0 0 0 0 0 0; 0 0 0 1 0 0 0 0 0 0; 0
0 1 0 0 0 0 0 0 0 0; 0 0 0 0 0 1 0 0 0 0; 0 0 0 0 1 0 0 0 0 0; 0 0 0 0 0 0 0
1 0 0 0; 0 0 0 0 0 0 1 0 0 0; 0 0 0 0 0 0 0 0 0 1; 0 0 0 0 0 0 0 0 1 0]
initial_control = [0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35]
control_lower = [0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02]
control_upper = [0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95]
numerical_x0 = [0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.22, 0.24, 0.26, 0.28,
2.716672258, 0.4602340172, 0.6105073918, 0.7733384874, 0.9605044771,
1.159541914, 1.383575536, 1.61888453, 1.879760125, 2.151413228,
2.449110336, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
mitochondria: Mitochondrial maintenance competition
Biological interpretation. Mitochondria continually accumulate damage and are maintained by repair, fusion, and biogenesis, all of which consume energy. In tissues with recurring activity and rest, such as muscle under a daily activity cycle, the cell’s energetic capacity oscillates, and the maintenance of the mitochondrial network has to be timed accordingly. Cells often carry more than one mitochondrial DNA (mtDNA) variant (heteroplasmy), and mutant mtDNA can expand clonally within a cell because mitochondria replicate and are removed independently of cell division; fusion and fission mix the populations and thereby modulate this expansion [61 ] . We therefore interpret the two players as a wild-type (A) and a variant (B) mtDNA subpopulation that draw on one shared energetic pool: the variant contributes slightly less to the energy supply, converts energy into biogenesis less efficiently, and is lost slightly faster, but has a larger replication allowance. Each subpopulation invests in biogenesis to keep its own healthy mass high. The quadratic conversion of healthy into damaged mass is a phenomenological density-dependent damage term, not a mechanism taken from the source. We model one full activity cycle, after which all pools must return to their initial values, with biogenesis effort limited by a budget.
Literature and provenance. Tam et al. [61 ] model the clonal expansion of mtDNA mutations and show that the effect of fusion and fission on this expansion depends on the cellular context. This motivates competing mtDNA subpopulations with a shared energetic environment as players. The source does not formulate a game; the controlled biogenesis, the individual objectives, the shared energy pool, and the periodic activity forcing are benchmark additions, and the wild-type/variant assignment of the parameter contrasts is an interpretation rather than a calibration. All rates, budgets, weights, and initial values below are synthetic, dimensionless benchmark choices, not fitted values from this source.
Figure 16. Reference equilibrium candidate for mitochondria. Interpretation. The energetic capacity V V V follows the activity cycle: it rises to about 1.9 during the high-supply first quarter (t ≈ 10 t \approx10 t ≈ 10 ), falls to a minimum near 0.09 at t ≈ 31 t \approx31 t ≈ 31 , and is restored at the end of the cycle. Biogenesis driven by V V V makes both healthy masses grow with a delay, peaking near t ≈ 22 t \approx22 t ≈ 22 at about 4.0–4.2; quadratic damage lets the damaged masses follow them and peak a few time units later, and all four pools decline during the low-energy phase. Biogenesis effort follows the healthy-mass peak: both populations increase effort steadily from t ≈ 5 t \approx5 t ≈ 5 to t ≈ 25 t \approx25 t ≈ 25 , reduce it while the energy pool is depleted, and make a second push around t ≈ 33 t \approx33 t ≈ 33 , when energy starts to recover. The variant subpopulation B, which starts without effort and lets its healthy mass drop initially, invests more than A from t ≈ 5 t \approx5 t ≈ 5 onward. Shortly before the end, both reduce effort sharply and then raise it again in the final interval; this correction is forced by the return condition. Both effort budgets are exhausted (g 1 , g 2 g_1, g_2 g 1 , g 2 active).
Dimensions. N = 2 N = 2 N = 2 , n x = 5 n_x = 5 n x = 5 , n O D E = 9 n_{\mathrm{ODE}} = 9 n ODE = 9 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 11 ) (n_{g,i})_{i\in\mathcal{P}} = (2 \times11) ( n g , i ) i ∈ P = ( 2 × 11 ) .
Categories. molecular, periodical, regulation.
Game specification. M i M_i M i : healthy mass; D i D_i D i : damaged mass; V V V : energetic capacity. u i u_i u i : maintenance/biogenesis effort. Quadratic damage is a phenomenological crowding term.
M ˙ i = s i + a i u i V / ( 1 + V ) − d i M i − k f M i 2 + k r D i , \dot{M}_i = s_i + a_i u_i V/(1+V) - d_i M_i - k_f M_i^2 + k_r D_i, M ˙ i = s i + a i u i V / ( 1 + V ) − d i M i − k f M i 2 + k r D i ,
D ˙ i = k f M i 2 − ( k r + d D ) D i , \dot{D}_i = k_f M_i^2 - (k_r + d_D)D_i, D ˙ i = k f M i 2 − ( k r + d D ) D i ,
V ˙ = v A + v B − [ d V + η ( D A + D B + u A + u B ) ] V . \dot{V} = v_A + v_B - [d_V + \eta(D_A + D_B + u_A + u_B)]V. V ˙ = v A + v B − [ d V + η ( D A + D B + u A + u B )] V .
Controls are open-loop functions of time. Initial-state order: x = ( M A , M B , D A , D B , V ) x = (M_A, M_B, D_A, D_B, V) x = ( M A , M B , D A , D B , V ) ; values appear below.
Each player i ∈ P i \in\mathcal{P} i ∈ P minimizes J i = T − 1 ∫ 0 T ℓ i d t J_i = T^{-1}\int_0^T \ell_i\,dt J i = T − 1 ∫ 0 T ℓ i d t , with
ℓ i = − w i 1 M i + w i 2 u i 2 + w i 3 D i 2 . \ell_i = -w_i^1 M_i + w_i^2 u_i^2 + w_i^3 D_i^2. ℓ i = − w i 1 M i + w i 2 u i 2 + w i 3 D i 2 .
w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 ; weights are independently configurable.
Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i . \dot{Z}_i = u_i^2,\qquad Z_i(0) = 0,\qquad Z_i(T) \le B_i. Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i .
Budgets are private to each player. The optional path floor is M A ≥ f l o o r M_A \ge\mathrm{floor} M A ≥ floor . When enabled, it is enforced in every player’s deviation problem.
Periodical setting. The energetic supply is modulated as ( v A + v B ) [ 1 + a sin ( 2 π t / T p e r ) ] (v_A + v_B)[1 + a\sin(2\pi t/T_{\mathrm{per}})] ( v A + v B ) [ 1 + a sin ( 2 π t / T per )] with forcing period T p e r = T T_{\mathrm{per}} = T T per = T , representing recurring activity and rest. The fixed initial state is a point on the reference cycle obtained with constant efforts. Every player’s problem contains the return conditions ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ \lvert x_j(T) - x_j(0)\rvert\le\delta ∣ x j ( T ) − x j ( 0 )∣ ≤ δ for all five pools; the archived instance uses the absolute band δ = 10 − 2 \delta= 10^{-2} δ = 1 0 − 2 , because a tight band lets sequential best responses drift (§ 4 ).
Enabled bounds:
Table 1 (PDF p. 64).
Parameter instance.
initial = (0.2, 0.3)
forcing_period = 40.0
T = 40.0
forcing_amplitude = 0.9
periodicity_tolerance = 0.01
s = (0.1, 0.1)
amp = (5.0, 4.0)
d = (0.1, 0.12)
kf = 0.08
kr = 0.3
dd = 0.05
v = (0.5, 0.45)
dv = 0.5
eta = 0.1
x0 = (3.128867036, 3.124015553, 2.066994658, 2.016342084, 0.8547536323)
w_A = (0.7, 0.2, 0.1)
w_B = (0.45, 0.4, 0.15)
budgets = (2.0, 4.0)
floor = nothing
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [3.128867036, 3.124015553, 2.066994658, 2.016342084,
0.8547536323, 0.0, 0.0, 0.0, 0.0]
motor: Physically coupled motor control
Biological interpretation. Joint action, such as two people carrying an object or moving a shared handle, requires each partner to reach their own goals while feeling the other’s forces. In the experiments of Chackochan and Sanguineti [14 ] , two participants move handles that are connected by a virtual spring; each has to pass through a private via-point on the way to a common target. Because the via-points differ, the partners’ preferences conflict, and the observed movements are well described by a Nash equilibrium between two optimal controllers. We model one reaching episode of 0.5 seconds with arm dynamics driven by muscle activation and force states. The dynamics are linear and the costs quadratic; nonlinearity enters only through the control bounds and the interior-time via-point costs. This makes motor a candidate for an analytical cross-check of numerical equilibria.
Two people move mechanically coupled handles toward a common target through different via-points. The published model uses individual accuracy and effort costs Chackochan and Sanguineti [14 ] ; related motor games are studied by Braun et al. [8 ] .
Each player controls a two-dimensional muscle command u i ( t ) u_i(t) u i ( t ) . Spring forces couple both movements and create conflicting preferences. Our benchmark uses deterministic continuous-time dynamics and open-loop policies. The paper also studies noise, partial information and feedback policies; those are distinct extensions.
The published supplementary data contain per-trial indicators but not within-trial trajectories, so the instance cannot be compared with measured trajectories directly.
Literature and provenance. The mechanical and muscle dynamics, physical coefficients, and accuracy/effort scales follow the supplementary model of Chackochan and Sanguineti [14 ] . This benchmark fixes the via-point times and uses deterministic open-loop commands with explicit bounds; the published model also considers timing search, feedback, noise, and partial information. The parameter listing fixes the selected numerical instance.
Dimensions. N = 2 N = 2 N = 2 , n x = 16 n_x = 16 n x = 16 , n O D E = 18 n_{\mathrm{ODE}} = 18 n ODE = 18 , ( n u , i ) i ∈ P = ( 2 × 2 ) (n_{u,i})_{i \in\mathcal{P}} = (2 \times2) ( n u , i ) i ∈ P = ( 2 × 2 ) , ( n g , i ) i ∈ P = ( 2 × 0 ) (n_{g,i})_{i \in\mathcal{P}} = (2 \times0) ( n g , i ) i ∈ P = ( 2 × 0 ) .
Categories. organismal, episodical, regulation.
Figure 17. Reference equilibrium candidate for motor. Interpretation. The hand positions reveal the negotiated movement. Partner A must pass its via-point at x = − 0.02 x=-0.02 x = − 0.02 at t = 0.2 t=0.2 t = 0.2 , partner B its via-point at x = + 0.02 x=+0.02 x = + 0.02 at t = 0.4 t=0.4 t = 0.4 , and both hands must end at the common target ( 0 , 0.1 ) (0,0.1) ( 0 , 0.1 ) . Both partners use saturated bang-type commands at the bound ± 30 \pm30 ± 30 for large parts of the movement; the control bounds are active, so the instance differs qualitatively from the smooth minimum-effort solutions of the unconstrained source model: A first pulls to the left and pushes upward, reverses its vertical command shortly before its via-point, and then relaxes; B first pushes to the right, reverses to the left around t ≈ 0.24 t\approx0.24 t ≈ 0.24 while A is at its via-point, and pushes right again to reach its own via-point at t = 0.4 t=0.4 t = 0.4 , braking its vertical motion with a sustained negative command. A’s hand deviates leftward to − 0.025 -0.025 − 0.025 near t ≈ 0.26 t\approx0.26 t ≈ 0.26 and B’s rightward to 0.035 0.035 0.035 near t ≈ 0.3 t\approx0.3 t ≈ 0.3 before both converge on the target. The command reversals implement acceleration and braking and compensate the spring force transmitted by the partner; no additional restrictions are imposed. The state panel is dominated by the muscle force and activation variables, which reach magnitudes above 100, whereas the hand positions move only a few centimeters.
Game specification. For i ∈ { A , B } i \in\{A, B\} i ∈ { A , B } and partner j j j , let p i , v i , f i , a i ∈ R 2 p_i, v_i, f_i, a_i \in\mathbb{R}^2 p i , v i , f i , a i ∈ R 2 . In gravity-compensated coordinates, the source mechanics become
p ˙ i = v i , v ˙ i = ( f i + k ( p j − p i ) − b v i ) / m i , f ˙ i = a i , a ˙ i = ( u i − f i − 2 τ a i ) / τ 2 . \begin{aligned}
\dot{p}_i &= v_i, \\
\dot{v}_i &= \left(f_i + k(p_j-p_i) - bv_i\right)/m_i, \\
\dot{f}_i &= a_i, \\
\dot{a}_i &= \left(u_i-f_i-2\tau a_i\right)/\tau^2.
\end{aligned} p ˙ i v ˙ i f ˙ i a ˙ i = v i , = ( f i + k ( p j − p i ) − b v i ) / m i , = a i , = ( u i − f i − 2 τ a i ) / τ 2 .
There are 16 physical states and four scalar control components. The spring force on A is the negative of that on B.
m A = m B = 2 k g , k = 100 N / m , b = 10 N s / m , τ = 0.10 s . m_A=m_B=2\ \mathrm{kg},\quad k=100\ \mathrm{N/m},\quad b=10\ \mathrm{Ns/m},\quad\tau=0.10\ \mathrm{s}. m A = m B = 2 kg , k = 100 N/m , b = 10 Ns/m , τ = 0.10 s .
These values and the second-order muscle dynamics are specified in the paper’s supplementary model note.
For fixed via-point times t i t_i t i and common target p T p_T p T , minimize J i = ∑ k = 1 5 w i k J i k J_i=\sum_{k=1}^{5}w_i^kJ_{ik} J i = ∑ k = 1 5 w i k J ik , w i ≥ 0 w_i\geq0 w i ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k=1 ∑ k w i k = 1 , with
J i 1 = ∥ p i ( T ) − p T ∥ 2 / s T 2 , J i 2 = ∥ v i ( T ) ∥ 2 / s v 2 , J i 3 = ∥ p i ( t i ) − p V , i ∥ 2 / s V 2 , J i 4 = 1 T ∫ 0 T ∥ p i − p j ∥ 2 s d 2 d t , J i 5 = 1 T ∫ 0 T ∥ u i ∥ 2 s u 2 d t . \begin{aligned}
J_{i1} &= \lVert p_i(T)-p_T\rVert^2/s_T^2,\qquad J_{i2}=\lVert v_i(T)\rVert^2/s_v^2, \\
J_{i3} &= \lVert p_i(t_i)-p_{V,i}\rVert^2/s_V^2,\qquad J_{i4}=\frac{1}{T}\int_0^T\frac{\lVert p_i-p_j\rVert^2}{s_d^2}\,\mathrm{d}t, \\
J_{i5} &= \frac{1}{T}\int_0^T\frac{\lVert u_i\rVert^2}{s_u^2}\,\mathrm{d}t.
\end{aligned} J i 1 J i 3 J i 5 = ∥ p i ( T ) − p T ∥ 2 / s T 2 , J i 2 = ∥ v i ( T ) ∥ 2 / s v 2 , = ∥ p i ( t i ) − p V , i ∥ 2 / s V 2 , J i 4 = T 1 ∫ 0 T s d 2 ∥ p i − p j ∥ 2 d t , = T 1 ∫ 0 T s u 2 ∥ u i ∥ 2 d t .
Source scales: s T = 0.005 s_T=0.005 s T = 0.005 m, s v = 0.005 s_v=0.005 s v = 0.005 m/s, s V = 0.0025 s_V=0.0025 s V = 0.0025 m, s d = 0.025 s_d=0.025 s d = 0.025 m, s u = 15 s_u=15 s u = 15 N. Equal normalized weights correspond to the source’s unit effort multiplier, up to an irrelevant common objective scale.
Fixing t i t_i t i is our simplification; the source additionally searches over crossing times. The implementation evaluates interior-time costs at control-grid points t i t_i t i ; both the coarse and refined grids must contain these times.
No state or budget bounds are enabled.
Parameter instance.
T = 0.5
m = (2.0, 2.0)
k = 100.0
b = 10.0
tau = 0.1
s_T = 0.005
s_v = 0.005
s_V = 0.0025
s_d = 0.025
s_u = 15.0
target = (0.0, 0.1)
via_A = (-0.02, 0.05)
via_B = (0.02, 0.05)
via_times = (0.2, 0.4)
w_A = (0.2, 0.2, 0.2, 0.2, 0.2)
w_B = (0.2, 0.2, 0.2, 0.2, 0.2)
umax = 30.0
x0 = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0]
initial = (0.0, 0.0, 0.0, 0.0)
control_lower = [-30.0, -30.0, -30.0, -30.0]
control_upper = [30.0, 30.0, 30.0, 30.0]
numerical_x0 = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0]
neural: Excitatory–inhibitory regulation
Biological interpretation. Cortical circuits alternate between states of higher and lower excitability, and the balance between excitation and inhibition must be maintained throughout. We interpret the Wilson–Cowan populations as one local circuit subject to a slow modulation of background drive, e.g., by neuromodulatory tone, over many population time constants; units are dimensionless. We introduce two regulatory influences: one supports a higher target level of excitatory activity, the other favors lower excitation and a moderate inhibitory level. The game is periodical: after one full cycle of the background drive, both activities must return to their initial values.
Wilson–Cowan models describe coupled excitatory and inhibitory population activity Wilson and Cowan [65 ] . We introduce two regulatory agents controlling the drive to each population. Their distinct targets and effort costs form the game extension used here.
Agent A chooses excitatory drive u A u_A u A to support activity. Agent B chooses inhibitory drive u B u_B u B to regulate excitation. The states E , I E, I E , I are dimensionless activity variables.
Literature and provenance. The excitatory–inhibitory population structure follows Wilson and Cowan [65 ] . We use an unshifted sigmoid, add sinusoidal background drive, and assign the two control inputs to regulators with different tracking targets. The objective weights, control bounds, return tolerance, and tuned numerical instance are benchmark choices.
Dimensions. N = 2 N = 2 N = 2 , n x = 2 n_x = 2 n x = 2 , n O D E = 4 n_{\mathrm{ODE}} = 4 n ODE = 4 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i \in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 4 ) (n_{g,i})_{i \in\mathcal{P}} = (2 \times4) ( n g , i ) i ∈ P = ( 2 × 4 ) .
Categories. organismal, periodical, regulation.
Game specification. Use a bounded, unshifted sigmoid variant of the population model:
S k ( z ) = 1 1 + exp [ − a k ( z − b k ) ] , k ∈ { E , I } , S_k(z) = \frac{1}{1 + \exp\left[-a_k(z - b_k)\right]}, \qquad k \in\{E, I\}, S k ( z ) = 1 + exp [ − a k ( z − b k ) ] 1 , k ∈ { E , I } ,
τ E E ˙ = − E + ( 1 − E ) S E ( c E E E − c E I I + Π ( t ) + u A ) , τ I I ˙ = − I + ( 1 − I ) S I ( c I E E − c I I I + Q + u B ) . \begin{aligned}
\tau_E \dot{E} &= -E + (1 - E)S_E(c_{EE}E - c_{EI}I + \Pi(t) + u_A),\\
\tau_I \dot{I} &= -I + (1 - I)S_I(c_{IE}E - c_{II}I + Q + u_B).
\end{aligned} τ E E ˙ τ I I ˙ = − E + ( 1 − E ) S E ( c E E E − c E I I + Π ( t ) + u A ) , = − I + ( 1 − I ) S I ( c I E E − c I I I + Q + u B ) .
The unshifted sigmoid is an explicit modeling choice; parameter values are starting guesses, not a reproduction of the 1972 experiments. For E ( 0 ) , I ( 0 ) ∈ [ 0 , 1 ] E(0), I(0) \in[0, 1] E ( 0 ) , I ( 0 ) ∈ [ 0 , 1 ] , the vector field points inward on the boundary.
Population-level input drives represent effective regulation.
Figure 18. Reference equilibrium candidate for neural. Interpretation. Over the slow cycle (T = 100 T = 100 T = 100 ), player A applies a strong excitatory drive at the beginning to lift the excitatory activity E E E from 0.17 toward its target, then settles to a moderate drive that follows the slow background oscillation (lower during the first half, when the background drive is high, and higher in the second half), and finally withdraws drive, because the return condition requires E E E to return to its initial level at the end of the cycle. Player B, who prefers lower excitation, uses its inhibitory drive sparingly in four short pulses of about 0.1, which shape the inhibitory activity I I I without large cost. As a result E E E stays between 0.20 and 0.23 for most of the cycle, a compromise closer to B’s target than to A’s, with local maxima near t ≈ 13 t \approx13 t ≈ 13 and t ≈ 90 t \approx90 t ≈ 90 , while I I I rises to 0.15 early and relaxes toward 0.115 in the second half. No effort budgets or additional path bounds are enabled; the return conditions alone force the terminal descent of both activities.
Write ⟨ z ⟩ = T − 1 ∫ 0 T z d t \langle z\rangle= T^{-1}\int_{0}^{T} z\,\mathrm{d}t ⟨ z ⟩ = T − 1 ∫ 0 T z d t and define
J A = w A 1 ⟨ ( E − E A ) 2 ⟩ + w A 2 ⟨ ( u A / u ˉ ) 2 ⟩ + w A 3 ( E ( T ) − E A ) 2 , J_A = w_A^1\langle(E-E_A)^2\rangle+ w_A^2\langle(u_A/\bar{u})^2\rangle+ w_A^3(E(T)-E_A)^2, J A = w A 1 ⟨( E − E A ) 2 ⟩ + w A 2 ⟨( u A / u ˉ ) 2 ⟩ + w A 3 ( E ( T ) − E A ) 2 ,
J B = w B 1 ⟨ ( E − E B ) 2 ⟩ + w B 2 ⟨ ( u B / u ˉ ) 2 ⟩ + w B 3 ( I − I B ) 2 . J_B = w_B^1\langle(E-E_B)^2\rangle+ w_B^2\langle(u_B/\bar{u})^2\rangle+ w_B^3(I-I_B)^2. J B = w B 1 ⟨( E − E B ) 2 ⟩ + w B 2 ⟨( u B / u ˉ ) 2 ⟩ + w B 3 ( I − I B ) 2 .
Both objectives are minimized, w i ≥ 0 w_i \ge0 w i ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 . Choose E A > E B E_A > E_B E A > E B to introduce conflicting excitation targets. Because the return band fixes E ( T ) ≈ E ( 0 ) E(T) \approx E(0) E ( T ) ≈ E ( 0 ) , the terminal term w A 3 ( E ( T ) − E A ) 2 w_A^3(E(T)-E_A)^2 w A 3 ( E ( T ) − E A ) 2 is nearly constant and has no strategic effect.
w A = ( 0.8 , 0.1 , 0.1 ) , w B = ( 0.4 , 0.5 , 0.1 ) . w_A=(0.8,0.1,0.1),\qquad w_B=(0.4,0.5,0.1). w A = ( 0.8 , 0.1 , 0.1 ) , w B = ( 0.4 , 0.5 , 0.1 ) .
There are no effort budgets; the biological return bands below are imposed on both players. The control bounds and all objective weights are synthetic choices.
Periodical setting. The background excitatory input is modulated as Π ( t ) = Π ˉ + a sin ( 2 π t / T p e r ) \Pi(t)=\bar{\Pi}+a\sin(2\pi t/T_{\mathrm{per}}) Π ( t ) = Π ˉ + a sin ( 2 π t / T per ) with forcing period T p e r = T T_{\mathrm{per}}=T T per = T , representing a slow excitability cycle. The fixed initial activities lie on the reference cycle obtained with constant drives, and every player’s problem contains the return conditions ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ |x_j(T)-x_j(0)|\le\delta ∣ x j ( T ) − x j ( 0 ) ∣ ≤ δ for E E E and I I I .
Enabled bounds:
Table 1 (PDF p. 70).
Parameter instance.
forcing_period = 100.0
T = 100.0
forcing_amplitude = 0.2
periodicity_tolerance = 0.0001
c_EE = 16.0
c_EI = 12.0
c_IE = 15.0
c_II = 3.0
a_E = 1.3
a_I = 2.0
b_E = 4.0
b_I = 3.7
tau_E = 8.0
tau_I = 8.0
P = 1.0
Q = 0.0
E_A = 0.35
E_B = 0.15
I_B = 0.2
umax = 2.0
x0 = (0.1726288025, 0.1072703456)
initial = (0.5, 0.5)
w_A = (0.8, 0.1, 0.1)
w_B = (0.4, 0.5, 0.1)
control_lower = [0.0, 0.0]
control_upper = [2.0, 2.0]
numerical_x0 = [0.1726288025, 0.1072703456, 0.0, 0.0]
phage: Bacterium–phage interaction
Biological interpretation. Bacteria and their viruses (phages) coevolve in an arms race: bacteria express surface modifications, restriction systems, or CRISPR immunity that reduce adsorption, and phages respond with receptor-binding variants that increase infectivity, often at a cost in burst size. Within a single growth episode, for example one batch culture or one bloom, these traits are regulated phenotypically rather than by mutation, and their expression follows the commanded level only with a delay. We model one such episode: the bacterial population invests in resistance against the cost of reduced growth, while the phage population adjusts the composition of its released progeny, e.g., via phase-variable or host-range-variant subpopulations, and thereby their average infectivity, to maximize its own net expansion.
Use five states to distinguish population densities, the latent period of infection, and expressed phenotypes:
x = ( x 1 , x 2 , x 3 , x 4 , x 5 ) T = ( susceptible bacteria infected bacteria free-phage density expressed resistance expressed infectivity ) . x = (x_1,x_2,x_3,x_4,x_5)^{\mathsf{T}} =
\begin{pmatrix}
\text{susceptible bacteria}\\
\text{infected bacteria}\\
\text{free-phage density}\\
\text{expressed resistance}\\
\text{expressed infectivity}
\end{pmatrix}. x = ( x 1 , x 2 , x 3 , x 4 , x 5 ) T = susceptible bacteria infected bacteria free-phage density expressed resistance expressed infectivity .
A chooses target resistance u A u_A u A ; B chooses target infectivity u B u_B u B :
τ A x ˙ 4 = u A − x 4 , τ B x ˙ 5 = u B − x 5 . \tau_A \dot{x}_4 = u_A - x_4,\qquad\tau_B \dot{x}_5 = u_B - x_5. τ A x ˙ 4 = u A − x 4 , τ B x ˙ 5 = u B − x 5 .
Positive τ A , τ B \tau_A,\tau_B τ A , τ B describe response/turnover times, not mutation rates. If x 4 ( 0 ) , x 5 ( 0 ) ∈ [ 0 , 1 ] x_4(0),x_5(0) \in[0,1] x 4 ( 0 ) , x 5 ( 0 ) ∈ [ 0 , 1 ] , these phenotype bounds are invariant.
The bacterial target represents regulation; the phage target represents progeny composition. Free phage cannot instantaneously alter an infection apparatus. Heritable changes to target policies belong to a separate evolutionary timescale.
Literature and provenance. Pseudomonas fluorescens SBW25 and phage Φ \Phi Φ 2 motivate this game. Paterson et al. [47 ] compared phage evolution with a co-evolving host and with a fixed host genotype.
Experiments with P. aeruginosa and different phages distinguish arms races from fluctuating selection Betts et al. [6 ] . These studies motivate reciprocal adaptation; the following equations and continuous controls are our modeling hypotheses.
A representative bacterial lineage invests in resistance. A representative phage lineage invests in infectivity.
Resistance reduces infection but costs growth. Infectivity increases adsorption but reduces progeny yield. Their objectives form a general-sum game.
The model represents the latent period by one exponentially distributed infected-cell stage and omits explicit resources, spatial structure, and genotype diversity.
Dimensions. N = 2 N = 2 N = 2 , n x = 5 n_x = 5 n x = 5 , n O D E = 9 n_{\mathrm{ODE}} = 9 n ODE = 9 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 1 ) (n_{g,i})_{i\in\mathcal{P}} = (2 \times1) ( n g , i ) i ∈ P = ( 2 × 1 ) .
Categories. cellular, episodical, antagonism.
Figure 19. Reference equilibrium candidate for phage. Interpretation. The bacterium starts with a resistance target of 0.56 and lowers it slowly during most of the episode, then faster after t ≈ 6 t \approx6 t ≈ 6 (to 0.05 at the end). The phage raises its infectivity target from 0.45 to 0.60 at t ≈ 5.8 t \approx5.8 t ≈ 5.8 and then cuts it to zero during the last 0.4 time units. The expressed phenotypes follow with delays: expressed resistance peaks at 0.53 near t ≈ 2.8 t \approx2.8 t ≈ 2.8 , and expressed infectivity at 0.59 near t ≈ 6.2 t \approx6.2 t ≈ 6.2 . Susceptible bacteria grow from 0.60 to 0.89 at t ≈ 4.1 t \approx4.1 t ≈ 4.1 and then decline to 0.84 as free phage accumulate roughly threefold (from 0.15 to 0.46), accelerating toward the end. The latent compartment stays small (between 0.016 and 0.046) but delays the phage return on infectivity. Both players exhaust their squared-effort budgets (g 1 g_1 g 1 , g 2 g_2 g 2 active). A mechanism consistent with the late relaxation of both targets is that effort spent near T T T changes the expressed phenotype, and through the latent period the released progeny, only after the episode has ended; this interpretation was not tested by a separate comparison.
Game specification. Let adsorption and burst size depend on the expressed phenotypes:
a ( x 4 , x 5 ; p ) = a 0 e α B x 5 − α A x 4 , β ( x 5 ; p ) = 1 + ( β 0 − 1 ) e − c B x 5 2 , β 0 > 1. a(x_4,x_5;p)=a_0 e^{\alpha_B x_5-\alpha_A x_4},\qquad\beta(x_5;p)=1+(\beta_0-1)e^{-c_B x_5^2},\qquad\beta_0>1. a ( x 4 , x 5 ; p ) = a 0 e α B x 5 − α A x 4 , β ( x 5 ; p ) = 1 + ( β 0 − 1 ) e − c B x 5 2 , β 0 > 1.
With a = a ( x 4 , x 5 ; p ) a=a(x_4,x_5;p) a = a ( x 4 , x 5 ; p ) and β = β ( x 5 ; p ) \beta=\beta(x_5;p) β = β ( x 5 ; p ) ,
f ( x , u A , u B ; p ) = ( r x 1 [ 1 − ( x 1 + x 2 ) / K ] − c A x 4 2 x 1 − a x 1 x 3 a x 1 x 3 − x 2 / τ L β x 2 / τ L − a ( x 1 + x 2 ) x 3 − m B x 3 ( u A − x 4 ) / τ A ( u B − x 5 ) / τ B ) . f(x,u_A,u_B;p)=
\begin{pmatrix}
r x_1\left[1-(x_1+x_2)/K\right]-c_A x_4^2 x_1-a x_1x_3\\
a x_1x_3-x_2/\tau_L\\
\beta x_2/\tau_L-a(x_1+x_2)x_3-m_Bx_3\\
(u_A-x_4)/\tau_A\\
(u_B-x_5)/\tau_B
\end{pmatrix}. f ( x , u A , u B ; p ) = r x 1 [ 1 − ( x 1 + x 2 ) / K ] − c A x 4 2 x 1 − a x 1 x 3 a x 1 x 3 − x 2 / τ L β x 2 / τ L − a ( x 1 + x 2 ) x 3 − m B x 3 ( u A − x 4 ) / τ A ( u B − x 5 ) / τ B .
p = ( r , K , c A , a 0 , α A , α B , β 0 , c B , m B , τ L , τ A , τ B ) . p=(r,K,c_A,a_0,\alpha_A,\alpha_B,\beta_0,c_B,m_B,\tau_L,\tau_A,\tau_B). p = ( r , K , c A , a 0 , α A , α B , β 0 , c B , m B , τ L , τ A , τ B ) .
r , K r,K r , K : resource-limited growth, with infected cells occupying capacity; c A c_A c A : resistance cost; m B m_B m B : phage decay; τ L \tau_L τ L : mean latent period between adsorption and lysis. α A , α B \alpha_A,\alpha_B α A , α B : adsorption sensitivities; c B c_B c B : infectivity–yield trade-off. Free phage are lost by adsorption to susceptible and infected cells; the burst size is evaluated with the infectivity expressed at lysis. The latent compartment delays the phage return on infectivity investment, which is the mechanism that distinguishes this game from the ciliate consumer–resource game. Positive initial densities remain positive over a finite horizon.
Minimize J A = ∑ k = 1 3 w A k J A k J_A=\sum_{k=1}^{3}w_A^kJ_{Ak} J A = ∑ k = 1 3 w A k J A k and J B = ∑ k = 1 3 w B k J B k J_B=\sum_{k=1}^{3}w_B^kJ_{Bk} J B = ∑ k = 1 3 w B k J B k with nonnegative, normalized weights. All features use fixed unit scales in the scaled benchmark.
Table 1 (PDF p. 73).
The gross-production hypotheses can favor turnover rather than persistence. The bacterial r x 1 r x_1 r x 1 feature treats density limitation as crowding loss; this decomposition is an additional biological hypothesis.
Use θ = ( U A , U B , ε A , ε B , σ U A , σ U B , σ ε A , σ ε B ) \theta= (U_A, U_B, \varepsilon_A, \varepsilon_B, \sigma_{U_A}, \sigma_{U_B}, \sigma_{\varepsilon_A}, \sigma_{\varepsilon_B}) θ = ( U A , U B , ε A , ε B , σ U A , σ U B , σ ε A , σ ε B ) . A switch σ ∈ { 0 , 1 } \sigma\in\{0,1\} σ ∈ { 0 , 1 } determines whether its restriction is enabled.
g A [ x , u A , u B ; p , θ ] ≥ 0 : U A − ∫ 0 T u A 2 d t ≥ 0 if σ U A = 1 , x 1 ( t ) − ε A ≥ 0 if σ ε A = 1 ; \begin{aligned}
g_A[x,u_A,u_B;p,\theta] &\ge0 : U_A-\int_0^T u_A^2\,\mathrm{d}t \ge0 &&\text{if }\sigma_{U_A}=1,\\
x_1(t)-\varepsilon_A &\ge0 &&\text{if }\sigma_{\varepsilon_A}=1;
\end{aligned} g A [ x , u A , u B ; p , θ ] x 1 ( t ) − ε A ≥ 0 : U A − ∫ 0 T u A 2 d t ≥ 0 ≥ 0 if σ U A = 1 , if σ ε A = 1 ;
g B [ x , u A , u B ; p , θ ] ≥ 0 : U B − ∫ 0 T u B 2 d t ≥ 0 if σ U B = 1 , x 3 ( t ) − ε B ≥ 0 if σ ε B = 1. \begin{aligned}
g_B[x,u_A,u_B;p,\theta] &\ge0 : U_B-\int_0^T u_B^2\,\mathrm{d}t \ge0 &&\text{if }\sigma_{U_B}=1,\\
x_3(t)-\varepsilon_B &\ge0 &&\text{if }\sigma_{\varepsilon_B}=1.
\end{aligned} g B [ x , u A , u B ; p , θ ] x 3 ( t ) − ε B ≥ 0 : U B − ∫ 0 T u B 2 d t ≥ 0 ≥ 0 if σ U B = 1 , if σ ε B = 1.
Effort budgets concern target investment; expressed-phenotype costs already enter f f f . Optional density floors encode persistence hypotheses.
Enabled bounds:
Table 9.
Parameter instance.
T = 8.0
r = 1.0
K = 1.0
c_A = 0.1
a0 = 0.3
alpha_A = 2.0
alpha_B = 1.5
beta0 = 4.0
c_B = 0.3
m_B = 0.4
latent = 0.5
tau_A = 0.75
tau_B = 0.5
x0 = (0.6, 0.02, 0.15, 0.2, 0.2)
w_A = (0.6, 0.3, 0.1)
w_B = (0.9, 0.0, 0.1)
scales_A = (1.0, 1.0, 1.0)
scales_B = (1.0, 1.0, 1.0)
U_A = 1.8
U_B = 2.0
epsilon_A = nothing
epsilon_B = nothing
umax = (1.0, 1.0)
initial = (0.2, 0.2)
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [-0.5108256238, -3.912023005, -1.897119985, 0.2, 0.2, 0.0, 0.0,
0.0, 0.0]
plantNitrogen: Competing plants and nitrogen
Biological interpretation. In temperate grasslands and crops, neighboring plants compete for a pulse of soil nitrogen in early spring, when mineralization has built up a pool that roots can exploit before the growing season proceeds. Nitrogen taken up early builds photosynthetic capacity, which later drives carbon gain, but the plants also shade one another, and root uptake capacity is costly to build and maintain. Roots cannot deplete soil mineral nitrogen below a minimal concentration at which net uptake ceases; this threshold is represented as a shared floor on S S S . We model one growing season; its end is not required to reproduce the initial state, since senescence and winter processes connect consecutive seasons.
Literature and provenance. Competition for nitrogen and asymmetric light acquisition motivate independent plant players [21 ] . The players are separate plants rather than organs of one plant, so that independent objectives are not attributed to coordinated organs. Competition between separate plants for a shared soil resource has been formulated as a game in which each plant overinvests in roots relative to growing alone, a prediction confirmed for soybeans [20 ] ; here the corresponding investment is a time-dependent uptake effort. All rates, budgets, weights, and initial values below are synthetic, dimensionless benchmark choices, not fitted values from this source.
Dimensions. N = 3 N = 3 N = 3 , n x = 7 n_x = 7 n x = 7 , n O D E = 13 n_{\mathrm{ODE}} = 13 n ODE = 13 , ( n u , i ) i ∈ P = ( 3 × 1 ) (n_{u,i})_{i \in\mathcal{P}} = (3 \times1) ( n u , i ) i ∈ P = ( 3 × 1 ) , ( n g , i ) i ∈ P = ( 3 × 2 ) (n_{g,i})_{i \in\mathcal{P}} = (3 \times2) ( n g , i ) i ∈ P = ( 3 × 2 ) .
Categories. population, seasonal, competition, variable-N N N .
Game specification. S S S : soil nitrogen; N i N_i N i : plant nitrogen; C i C_i C i : carbon pool. u i u_i u i : uptake investment. L L L is algebraic available light, not an ODE state.
L = l i g h t 1 + s h a d e ∑ j ∈ P C j , S ˙ = D ( S i n − S ) − S ∑ j ∈ P u j , N ˙ i = u i S − ρ i N i , C ˙ i = V i N i L K i + L − d i C i . \begin{aligned}
L &= \frac{\mathrm{light}}{1+\mathrm{shade}\sum_{j \in\mathcal{P}} C_j}, \qquad\dot{S} = D(S_{\mathrm{in}}-S)-S\sum_{j \in\mathcal{P}}u_j,\\
\dot{N}_i &= u_iS-\rho_iN_i, \qquad\dot{C}_i = V_iN_i\frac{L}{K_i+L}-d_iC_i.
\end{aligned} L N ˙ i = 1 + shade ∑ j ∈ P C j light , S ˙ = D ( S in − S ) − S j ∈ P ∑ u j , = u i S − ρ i N i , C ˙ i = V i N i K i + L L − d i C i .
Controls are open-loop functions of time. Initial-state order: x = ( S , ( N i ) i ∈ P , ( C i ) i ∈ P ) x = (S,(N_i)_{i \in\mathcal{P}},(C_i)_{i \in\mathcal{P}}) x = ( S , ( N i ) i ∈ P , ( C i ) i ∈ P ) ; values appear below.
Each player i ∈ P i \in\mathcal{P} i ∈ P minimizes J i = T − 1 ∫ 0 T ℓ i d t J_i = T^{-1}\int_0^T \ell_i\,\mathrm{d}t J i = T − 1 ∫ 0 T ℓ i d t , with
ℓ i = − w i 1 C i + w i 2 u i 2 + w i 3 N i 2 . \ell_i = -w_i^1C_i+w_i^2u_i^2+w_i^3N_i^2. ℓ i = − w i 1 C i + w i 2 u i 2 + w i 3 N i 2 .
The penalty N i 2 N_i^2 N i 2 represents a cost of storing nitrogen, e.g., nitrate accumulation. w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 ; weights are independently configurable.
Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i . \dot{Z}_i=u_i^2,\qquad Z_i(0)=0,\qquad Z_i(T)\le B_i. Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i .
Budgets are private to each player. The enabled path floor is S ≥ 0.2 S \ge0.2 S ≥ 0.2 . When enabled, it is enforced in every player’s deviation problem.
Enabled bounds:
Figure 20. Reference equilibrium candidate for plantNitrogen. Interpretation. All three plants start the season at maximal uptake and draw the soil nitrogen pool down from 2 to the uptake threshold of 0.2 within less than two time units (g 4 g_4 g 4 active); afterwards the floor limits the joint uptake, and the plants share the slowly replenished pool. They then reduce uptake at different rates: A, which weighs effort costs most, drops to about 0.3 almost immediately and tapers off; B keeps an intermediate schedule; and C, which values carbon most, maintains high uptake longest and exhausts its effort budget (g 3 g_3 g 3 active). Plant nitrogen therefore peaks early and moderately for A (t ≈ 1.2 t \approx1.2 t ≈ 1.2 ), later for B (t ≈ 3 t \approx3 t ≈ 3 ), and latest and highest for C (t ≈ 8 t \approx8 t ≈ 8 ), after which it declines through turnover (ρ i \rho_i ρ i ). Carbon rises in a sigmoidal fashion for all plants and saturates toward the end of the season as mutual shading increases; A reaches the largest carbon pool despite its smaller nitrogen store. Once uptake has ceased around t ≈ 11 t \approx11 t ≈ 11 , soil nitrogen recovers to about 1.
Parameter instance.
N = 3
T = 12.0
rho = [0.1, 0.12, 0.14]
V = [1.0, 0.9090909091, 0.8333333333]
K = [0.3, 0.4, 0.5]
d = [0.08, 0.1, 0.12]
D = 0.2
Sin = 2.0
light = 1.0
shade = 0.1
x0 = [2.0, 0.2, 0.2, 0.2, 0.1, 0.1, 0.1]
w_A = (0.15, 0.8, 0.05)
w_B = (0.35, 0.55, 0.1)
w_C = (0.65, 0.25, 0.1)
budgets = [4.2, 4.8, 5.4]
floor = 0.2
initial = [0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [2.0, 0.2, 0.2, 0.2, 0.1, 0.1, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0]
plantWater: Root investment across shared soil layers
Biological interpretation. In seasonally dry ecosystems, plants must build their root systems during the wet part of the season in order to extract water that is stored in the soil when rainfall declines. Soil layers differ in how much water they hold and how quickly it is replenished, and species differ in the depth at which their roots are most effective. Roots are costly to build and to maintain, and water taken from a layer is no longer available to neighbors rooting in the same layer. We model one growing season with a wet first half and a dry second half; four plants allocate root investment across the layers and are limited by a seasonal water-uptake allowance. A and D specialize on the top layer, B on the middle and C on the deep layer (rows of uptake). The seasonal allowance is a synthetic proxy for a cumulative transpiration limit imposed by hydraulic safety; it is not a physiological quota.
Players are N ≥ 2 N \ge2 N ≥ 2 plants in L ≥ 2 L \ge2 L ≥ 2 shared soil layers. W k W_k W k : soil water; R i k R_{ik} R ik : plant i i i ’s roots in layer k k k ; B i B_i B i : biomass. Each plant owns L L L root-investment controls u i k u_{ik} u ik . State order is soil water by layer, roots by player then layer, and plant biomass by player; controls also list all layers of one plant before the next plant. The archived dimensions are given below. All controls depend on time alone.
Literature and provenance. The source treats root proliferation as an evolutionary game in shared resource patches (O’Brien et al. [42 ] ). We construct a finite-horizon
Figure 21. Reference equilibrium candidate for plantWater. Interpretation. All plants invest heavily in roots at the start of the season, mostly at the upper bound, and shut off new investment layer by layer between t ≈ 2 t \approx2 t ≈ 2 and t ≈ 4 t \approx4 t ≈ 4 , well before the dry second half. Root stocks accordingly peak between t ≈ 2 t \approx2 t ≈ 2 and t ≈ 3 t \approx3 t ≈ 3 and then decay slowly, but the established roots keep drawing water: the top layer, initially the wettest, is depleted almost completely by t ≈ 6 t \approx6 t ≈ 6 , and the middle and deep layers first gain water from the wet-season rain and are then drawn down as rainfall fades. Each plant builds the largest root stock in its preferred layer, and the two top-layer specialists split that layer. Biomass grows by roughly a factor of two until t ≈ 4 t \approx4 t ≈ 4 –5 5 5 and declines slightly during the dry end of the season, when uptake no longer covers maintenance. Plants B and C exhaust their seasonal water allowances (g 2 g_2 g 2 , g 3 g_3 g 3 active), whereas A and D remain below theirs, so the allowance, rather than root cost alone, limits the middle- and deep-layer specialists.
water-allocation game with explicit root and biomass dynamics, seasonal replenishment, and water-use quotas. Soil layers replace the source spatial geometry; this is not its calibrated model. A game-theoretic model with a glasshouse test predicts and observes root overproliferation and reduced reproductive yield when soybean plants share soil, a tragedy of the commons [20 ] ; the present game allows the analogous overinvestment in roots under a shared water resource.
All numerical defaults are synthetic and dimensionless; no fitted biological values or source equilibrium results are asserted.
Dimensions. N = 4 N = 4 N = 4 , n x = 19 n_x = 19 n x = 19 , n O D E = 27 n_{\mathrm{ODE}} = 27 n ODE = 27 , ( n u , i ) i ∈ P = ( 4 × 3 ) (n_{u,i})_{i\in\mathcal{P}} = (4 \times3) ( n u , i ) i ∈ P = ( 4 × 3 ) , ( n g , i ) i ∈ P = ( 4 × 1 ) (n_{g,i})_{i\in\mathcal{P}} = (4 \times1) ( n g , i ) i ∈ P = ( 4 × 1 ) .
Categories. population, seasonal, competition, variable-N N N .
Game specification. Water uptake and seasonally replenished soil obey
V i k = c i k R i k W k h + W k , W ˙ k = I k [ 1 + s sin ( 2 π t / T ) ] − δ W k − ∑ i ∈ P V i k . V_{ik} = c_{ik}R_{ik}\frac{W_k}{h + W_k}, \qquad\dot{W}_k = I_k[1 + s\sin(2\pi t/T)] - \delta W_k - \sum_{i\in\mathcal{P}} V_{ik}. V ik = c ik R ik h + W k W k , W ˙ k = I k [ 1 + s sin ( 2 π t / T )] − δ W k − i ∈ P ∑ V ik .
R ˙ i k = g u i k B i 1 + B i − d R R i k , \dot{R}_{ik} = g u_{ik}\frac{B_i}{1+B_i} - d_R R_{ik}, R ˙ ik = g u ik 1 + B i B i − d R R ik ,
B ˙ i = B i [ e ∑ k V i k 1 + B i − d B − κ B i − c u ∑ k u i k 2 ] . \dot{B}_i = B_i\left[\frac{e\sum_k V_{ik}}{1+B_i} - d_B - \kappa B_i - c_u\sum_k u_{ik}^{2}\right]. B ˙ i = B i [ 1 + B i e ∑ k V ik − d B − κ B i − c u k ∑ u ik 2 ] .
c i k = uptake c_{ik} = \text{uptake} c ik = uptake , h = half h = \text{half} h = half , I k = rain I_k = \text{rain} I k = rain , s = seasonality s = \text{seasonality} s = seasonality , δ = evaporation \delta= \text{evaporation} δ = evaporation ; g , d R , e , d B , κ , c u g,d_R,e,d_B,\kappa,c_u g , d R , e , d B , κ , c u correspond to root_growth, root_loss, assimilation, mortality, crowding, root_cost. 0 ≤ s ≤ 1 0 \le s \le1 0 ≤ s ≤ 1 preserves nonnegative inflows.
Each player minimizes
J i = 1 T ∫ 0 T ∑ k = 1 3 w i k ℓ i k d t , w i k ≥ 0 , ∑ k w i k = 1. J_i = \frac{1}{T}\int_0^T \sum_{k=1}^{3} w_i^k \ell_{ik}\,\mathrm{d}t, \qquad w_i^k \ge0,\qquad\sum_k w_i^k = 1. J i = T 1 ∫ 0 T k = 1 ∑ 3 w i k ℓ ik d t , w i k ≥ 0 , k ∑ w i k = 1.
There is no terminal objective. Each weight row is independently configurable.
( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − B i , ∑ k u i k 2 , ∑ k R i k 2 ) . (\ell_{i1},\ell_{i2},\ell_{i3}) = \left(-B_i,\sum_k u_{ik}^{2},\sum_k R_{ik}^{2}\right). ( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − B i , k ∑ u ik 2 , k ∑ R ik 2 ) .
Candidates represent biomass benefit, investment effort, and root maintenance. The growth equation also accounts for a physiological investment cost; its coefficient and the preference weights have distinct roles.
Water allowance: Z ˙ i = ∑ k V i k \dot{Z}_i = \sum_k V_{ik} Z ˙ i = ∑ k V ik , Z i ( 0 ) = 0 Z_i(0) = 0 Z i ( 0 ) = 0 , Z i ( T ) ≤ b u d g e t s i Z_i(T) \le\mathrm{budgets}_i Z i ( T ) ≤ budgets i (water amount, not effort). For each plant’s deviation enforce W k ( t ) ≥ f l o o r s k W_k(t) \ge\mathrm{floors}_k W k ( t ) ≥ floors k for every enabled layer. Default: four allowances; soil-water floors are disabled. Enabling all three layer floors adds twelve player/layer entries (three distinct shared floors). Water is removed once in the soil balance, irrespective of how many players enforce a floor.
For q q q biological states, append N N N cost integrals then N N N budget integrals, all initially zero; the cost integrals include the factor 1 / T 1/T 1/ T , the ODE dimension is q + 2 N q + 2N q + 2 N , and J i = x q + ι ( i ) ( T ) J_i = x_{q+\iota(i)}(T) J i = x q + ι ( i ) ( T ) .
Enabled bounds:
caption:
:::
Parameter instance.
N = 4
layers = 3
T = 8.0
rain = [0.25, 0.4, 0.55]
seasonality = 0.8
evaporation = 0.12
uptake = [0.9 0.3 0.3; 0.324 0.972 0.324; 0.348 0.348 1.044; 1.116 0.372
0.372]
half = 0.4
root_growth = 0.9
root_loss = 0.18
assimilation = 1.2
mortality = 0.05
crowding = 0.03
root_cost = 0.02
x0 = [1.8, 0.9, 0.5, 0.12, 0.06, 0.09, 0.06, 0.09, 0.12, 0.09, 0.12, 0.06,
0.12, 0.06, 0.09, 0.6, 0.8, 1.0, 1.2]
budgets = [2.3, 2.7, 3.1, 3.5]
weights = [0.85 0.06 0.09; 0.8 0.08666666667 0.1133333333; 0.75 0.1133333333
0.1366666667; 0.7 0.14 0.16]
floors = [nothing, nothing, nothing]
initial = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
numerical_x0 = [1.8, 0.9, 0.5, 0.12, 0.06, 0.09, 0.06, 0.09, 0.12, 0.09, 0.12,
0.06, 0.12, 0.06, 0.09, 0.6, 0.8, 1.0, 1.2, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0]
pollination: Nectar investment and pollinator visitation
Biological interpretation. Flowering plants and their pollinators interact during a limited flowering season. Plants invest in nectar, which is collected by visitors that transfer pollen, while pollinators allocate foraging time among plant species according to the nectar reward and their own handling efficiency. Nectar is costly for the plant, visitation is costly for the pollinator, and pollinator populations depend on the nectar they collect. We model one flowering season of two plant and two pollinator species; the plant state P i P_i P i is reproductive biomass (flowers and developing seeds), which pollinator visits increase within the season; each pollinator is more efficient on one plant species, and all players are limited by effort budgets and population floors. The end of the season is linked to the next one through seed and overwintering stages, not through periodic return.
There are n p ≥ 2 n_p \geq2 n p ≥ 2 plant and n q ≥ 2 n_q \geq2 n q ≥ 2 pollinator players (N = n p + n q N = n_p + n_q N = n p + n q ). P i P_i P i : reproductive biomass, ν i \nu_i ν i : nectar, A j A_j A j : pollinators; The state order is plant abundances, their nectar pools, then pollinator abundances, alphabetically within each group. Plant $i chooses nectar investment s i s_i s i . Pollinator j j j chooses n p n_p n p visitation intensities a j i a_{ji} a j i , with actual allocation π j i = a j i / ( 1 + ∑ k ∈ P p l a n t a j k ) \pi_{ji}=a_{ji}/(1+\sum_{k\in\mathcal{P}_{\mathrm{plant}}}a_{jk}) π j i = a j i / ( 1 + ∑ k ∈ P plant a j k ) ; residual time is not spent visiting. Control order: all s i s_i s i , then the n p n_p n p intensities of each pollinator. All controls depend on time alone. The player set P p l a n t \mathcal{P}_{\mathrm{plant}} P plant contains the first n p n_p n p players, and P p o l l = P ∖ P p l a n t \mathcal{P}_{\mathrm{poll}}=\mathcal{P}\setminus\mathcal{P}_{\mathrm{plant}} P poll = P ∖ P plant . In the archived instance, these are { A , B } \{A,B\} { A , B } and { C , D } \{C,D\} { C , D } .
Literature and provenance. The source links pollinator foraging preferences to competing plant population dynamics [48 ] . We introduce independently controlled nectar production and visitation in a multi-plant, multi-pollinator game with explicit nectar pools. Source adaptive-preference dynamics are replaced by open-loop controls; equivalence is not claimed. Plant–pollinator reward interactions have also been analyzed as a signalling game, in which the stability of honest nectar advertisement depends on signal costs and pollinator learning [57 ] ; the present game contains no signal and treats nectar as a direct reward.
All numerical defaults are synthetic and dimensionless; no fitted biological values or source equilibrium results are asserted.
Dimensions. N = 4 N=4 N = 4 , n x = 6 n_x=6 n x = 6 , n O D E = 14 n_{\mathrm{ODE}}=14 n ODE = 14 , ( n u , i ) i ∈ P = ( 1 , 1 , 2 , 2 ) (n_{u,i})_{i\in\mathcal{P}}=(1,1,2,2) ( n u , i ) i ∈ P = ( 1 , 1 , 2 , 2 ) , ( n g , i ) i ∈ P = ( 4 × 2 ) (n_{g,i})_{i\in\mathcal{P}}=(4\times2) ( n g , i ) i ∈ P = ( 4 × 2 ) .
Categories. population, seasonal, mutualism, variable-N N N .
Game specification. Visits remove nectar at rate
V j i = κ j i π j i A j ν i h + ν i . V_{ji}=\kappa_{ji}\pi_{ji}A_j\frac{\nu_i}{h+\nu_i}. V j i = κ j i π j i A j h + ν i ν i .
P ˙ i = P i [ r ( 1 − P i K ) + b ∑ j ∈ P p o l l V j i h + P i − c ν s i 2 ] , ν ˙ i = α s i P i − δ ν ν i − ∑ j ∈ P p o l l V j i , \dot{P}_i=P_i\left[r\left(1-\frac{P_i}{K}\right)+\frac{b\sum_{j\in\mathcal{P}_{\mathrm{poll}}}V_{ji}}{h+P_i}-c_\nu s_i^2\right],
\qquad
\dot{\nu}_i=\alpha s_iP_i-\delta_\nu\nu_i-\sum_{j\in\mathcal{P}_{\mathrm{poll}}}V_{ji}, P ˙ i = P i [ r ( 1 − K P i ) + h + P i b ∑ j ∈ P poll V j i − c ν s i 2 ] , ν ˙ i = α s i P i − δ ν ν i − j ∈ P poll ∑ V j i ,
A ˙ j = e ∑ i ∈ P p l a n t V j i − [ m + c A A j + c u ∑ i ∈ P p l a n t a j i 2 ] A j . \dot{A}_j=e\sum_{i\in\mathcal{P}_{\mathrm{plant}}}V_{ji}
-\left[m+c_AA_j+c_u\sum_{i\in\mathcal{P}_{\mathrm{plant}}}a_{ji}^2\right]A_j. A ˙ j = e i ∈ P plant ∑ V j i − m + c A A j + c u i ∈ P plant ∑ a j i 2 A j .
κ \kappa κ = visit (pollinator rows); h h h = half; b , c ν , α , δ ν , e , m , c A , c u b,c_\nu,\alpha,\delta_\nu,e,m,c_A,c_u b , c ν , α , δ ν , e , m , c A , c u map to benefit, nectar_cost, nectar_rate, nectar_loss, conversion, mortality, crowding, effort_cost. Nectar uptake vanishes at a depleted nectar pool.
Each player minimizes
J i = 1 T ∫ 0 T ∑ k = 1 3 w i k ℓ i k d t , w i k ≥ 0 , ∑ k w i k = 1. J_i=\frac{1}{T}\int_0^T\sum_{k=1}^{3}w_i^k\ell_{ik}\,\mathrm{d}t,\qquad w_i^k\ge0,\qquad\sum_k w_i^k=1. J i = T 1 ∫ 0 T k = 1 ∑ 3 w i k ℓ ik d t , w i k ≥ 0 , k ∑ w i k = 1.
There is no terminal objective. Each weight row is independently configurable. For plant i i i :
( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − P i , s i 2 , ν i 2 ) . (\ell_{i1},\ell_{i2},\ell_{i3})=(-P_i,s_i^2,\nu_i^2). ( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − P i , s i 2 , ν i 2 ) .
For pollinator j j j , with I j = ∑ i ∈ P p l a n t V j i I_j=\sum_{i\in\mathcal{P}_{\mathrm{plant}}}V_{ji} I j = ∑ i ∈ P plant V j i :
( ℓ j , 1 , ℓ j , 2 , ℓ j , 3 ) = ( − A j , ∑ i ∈ P p l a n t a j i 2 , 1 1 + I j ) . (\ell_{j,1},\ell_{j,2},\ell_{j,3})=\left(-A_j,\sum_{i\in\mathcal{P}_{\mathrm{plant}}}a_{ji}^2,\frac{1}{1+I_j}\right). ( ℓ j , 1 , ℓ j , 2 , ℓ j , 3 ) = − A j , i ∈ P plant ∑ a j i 2 , 1 + I j 1 .
Figure 22. Reference equilibrium candidate for pollination. Interpretation. Each pollinator specializes on the plant it handles most efficiently: C concentrates its visits on plant A after briefly visiting plant B at the very start, and D visits plant B almost exclusively, with only marginal visits to A late in the season. C’s visitation rises to a maximum of about 0.57 near t ≈ 1.5 t \approx1.5 t ≈ 1.5 and declines afterwards, while D’s decreases steadily from 0.46; both pollinators exhaust their seasonal effort budgets (g 3 , g 4 g_{3}, g_{4} g 3 , g 4 active). Plant A, which starts small, invests strongly in nectar early (from 0.39) and then reduces investment, consistent with the visit-driven gain in its reproductive biomass, while plant B, already large, invests little throughout; both stop nectar production late in the season, consistent with the finite horizon: nectar produced late can hardly raise the time-averaged reproductive biomass. Nectar of plant A accumulates to a maximum near t ≈ 2.8 t \approx2.8 t ≈ 2.8 before being depleted by visits, whereas plant B’s initial nectar pool is drawn down from the start. Plant reproductive biomasses grow logistically, A more than threefold, and approach the carrying capacity. Pollinator D’s population first increases and then declines to 0.43 as nectar runs out, and C’s population varies only moderately. The plant budgets and all population floors remain slack.
Plants value reproductive biomass and penalize investment and surplus nectar; pollinators value abundance and penalize effort and food shortfall.
Use Z ˙ i = s i 2 \dot{Z}_i=s_i^2 Z ˙ i = s i 2 for plants and Z ˙ j = ∑ i ∈ P p l a n t a j i 2 \dot{Z}_j=\sum_{i\in P_{\mathrm{plant}}}a_{ji}^2 Z ˙ j = ∑ i ∈ P plant a j i 2 for pollinators; Z ( 0 ) = 0 Z(0)=0 Z ( 0 ) = 0 and Z i ( T ) ≤ b u d g e t s i Z_i(T)\leq\mathrm{budgets}_i Z i ( T ) ≤ budgets i . Population path floors apply to the corresponding plant or pollinator (the nectar states have no floor). Default: four budgets and four path population restrictions.
For q q q biological states, append N N N cost integrals then N N N budget integrals, all initially zero; the cost integrals include the factor 1 / T 1/T 1/ T , the ODE dimension is q + 2 N q+2N q + 2 N , and J i = x q + ι ( i ) ( T ) J_i=x_{q+\iota(i)}(T) J i = x q + ι ( i ) ( T ) .
Enabled bounds:
Table 1 (PDF p. 83).
Parameter instance.
plants = 2
pollinators = 2
T = 8.0
r = 0.5
K = 2.0
benefit = 0.4
nectar_cost = 0.04
nectar_rate = 1.5
nectar_loss = 0.5
half = 0.3
visit = [0.95 0.2; 0.23 1.0925]
conversion = 1.5
mortality = 0.2
crowding = 0.06
effort_cost = 0.04
x0 = [0.6, 1.5, 0.1, 0.8, 0.25, 0.75]
weights = [0.88 0.08 0.04; 0.65 0.3 0.05; 0.8 0.06 0.14; 0.5 0.3 0.2]
budgets = [0.96, 0.32, 1.44, 0.64]
floors = [0.12, 0.12, 0.1, 0.1]
initial = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
numerical_x0 = [0.6, 1.5, 0.1, 0.8, 0.25, 0.75, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0]
predatorPrey: Multiple prey/predator game
Biological interpretation. Predator–prey communities in enriched environments, such as plankton in eutrophic lakes or rodents and their predators, often oscillate on their own: prey increase until predators become abundant, predators then deplete the prey and decline, and the cycle repeats (the paradox of enrichment (Rosenzweig [50 ] ). Rapid prey evolution can shape such consumer–resource cycles (Yoshida et al. [68 ] ). Within such cycles, prey can invest in defense or faster growth, and predators in hunting effort or in reducing their own mortality. The cycle length is not imposed by an external clock; it emerges from the interactions and can be modified by the players’ strategies. We model one full cycle of a community with three prey and two predator species. Prey species A is assigned the choice of the cycle duration; this uses the same duration-ownership convention as circadianCycle.
There are n p r e y ≥ 2 n_{\mathrm{prey}} \ge2 n prey ≥ 2 prey and n p r e d ≥ 2 n_{\mathrm{pred}} \ge2 n pred ≥ 2 predators, each a player (N = n p r e y + n p r e d N = n_{\mathrm{prey}} + n_{\mathrm{pred}} N = n prey + n pred ). X i X_i X i : prey density; Y j Y_j Y j : predator density. State order is x = ( ( X i ) i ∈ P p r e y , ( Y j ) j ∈ P p r e d ) x = ((X_i)_{i\in\mathcal{P}_{\mathrm{prey}}}, (Y_j)_{j\in\mathcal{P}_{\mathrm{pred}}}) x = (( X i ) i ∈ P prey , ( Y j ) j ∈ P pred ) . Prey controls ( d i , g i ) (d_i,g_i) ( d i , g i ) are defense and growth investment; predator controls ( h j , v j ) (h_j,v_j) ( h j , v j ) are hunting and maintenance. Controls are ordered by player, with two components each. All controls depend on time alone. The player set P p r e y \mathcal{P}_{\mathrm{prey}} P prey contains the first n p r e y n_{\mathrm{prey}} n prey players, and P p r e d = P ∖ P p r e y \mathcal{P}_{\mathrm{pred}} = \mathcal{P} \setminus\mathcal{P}_{\mathrm{prey}} P pred = P ∖ P prey . In the archived instance, these are { A , B , C } \{A,B,C\} { A , B , C } and { D , E } \{D,E\} { D , E } .
Literature and provenance. The source studies how predator-induced defenses alter predator–prey dynamics (González-Olivares et al. [22 ] ). We use controlled, saturating predator–prey interactions with logistic prey growth, and assign separate lineage objectives. The multispecies game and its control costs are our extension; source bifurcation results do not automatically carry over.
All numerical defaults are synthetic and dimensionless; no fitted biological values or source equilibrium results are asserted.
Dimensions. N = 5 N = 5 N = 5 , n x = 5 n_x = 5 n x = 5 , n O D E = 15 n_{\mathrm{ODE}} = 15 n ODE = 15 , ( n u , i ) i ∈ P = ( 5 × 2 ) (n_{u,i})_{i\in\mathcal{P}} = (5 \times2) ( n u , i ) i ∈ P = ( 5 × 2 ) , ( n g , i ) i ∈ P = ( 5 × 11 ) (n_{g,i})_{i\in\mathcal{P}} = (5 \times11) ( n g , i ) i ∈ P = ( 5 × 11 ) .
Categories. population, periodical, antagonism, variable-N, freeTime.
Game specification. Set L j i = a j i ( 1 + h j ) / ( 1 + d i ) L_{ji} = a_{ji}(1+h_j)/(1+d_i) L j i = a j i ( 1 + h j ) / ( 1 + d i ) , the controlled attack coefficient, and the Holling type-II saturation S j = 1 + η ∑ k ∈ P p r e y L j k X k S_j = 1 + \eta\sum_{k\in\mathcal{P}_{\mathrm{prey}}} L_{jk}X_k S j = 1 + η ∑ k ∈ P prey L j k X k with handling time η \eta η . Player A (prey 1) additionally chooses the cycle duration T T T ; the dynamics are written on normalized time s ∈ [ 0 , 1 ] s \in[0,1] s ∈ [ 0 , 1 ] with physical time t = T s t = Ts t = T s :
d X i d s = T X i [ r i ( 1 − X i K i ) + b g i − c ( d i 2 + g i 2 ) − ∑ j ∈ P p r e d L j i Y j S j ] \frac{dX_i}{ds} = TX_i\left[r_i\left(1-\frac{X_i}{K_i}\right) + bg_i - c\left(d_i^2 + g_i^2\right) - \sum_{j\in\mathcal{P}_{\mathrm{pred}}}\frac{L_{ji}Y_j}{S_j}\right] d s d X i = T X i r i ( 1 − K i X i ) + b g i − c ( d i 2 + g i 2 ) − j ∈ P pred ∑ S j L j i Y j
d Y j d s = T Y j [ γ S j ∑ i ∈ P p r e y L j i X i − μ j 1 + v j − k Y j − c ( h j 2 + v j 2 ) ] . \frac{dY_j}{ds} = TY_j\left[\frac{\gamma}{S_j}\sum_{i\in\mathcal{P}_{\mathrm{prey}}}L_{ji}X_i - \frac{\mu_j}{1+v_j} - kY_j - c\left(h_j^2 + v_j^2\right)\right]. d s d Y j = T Y j S j γ i ∈ P prey ∑ L j i X i − 1 + v j μ j − k Y j − c ( h j 2 + v j 2 ) .
a j i a_{ji} a j i is the attack matrix (predator row, prey column); γ \gamma γ is conversion, μ j \mu_j μ j mortality, and k k k predator self-limitation; b b b = growth_benefit and c c c = strategy_cost. With enriched prey (large K i K_i K i ) and saturating predation, the constant reference strategies produce a stable limit cycle (paradox of enrichment (Rosenzweig [50 ] )); there is no external clock. The fixed x 0 x_0 x 0 is the point of this cycle where prey 1 crosses its cycle mean upward, and the reference period T r e f T_{\mathrm{ref}} T ref initializes T ∈ [ T r e f / 2 , 2 T r e f ] T \in[T_{\mathrm{ref}}/2, 2T_{\mathrm{ref}}] T ∈ [ T ref /2 , 2 T ref ] . At a zero population boundary its derivative vanishes.
Figure 23. Reference equilibrium candidate for predatorPrey. Interpretation. Prey A lengthens the cycle to T ≈ 17.4 T \approx17.4 T ≈ 17.4 , compared with the constant-control reference period of 16.6. The states show the classical phase shift of a trophic cycle: the prey peak early (B and C near t ≈ 2.2 t \approx2.2 t ≈ 2.2 –2.6, A near t ≈ 4.6 t \approx4.6 t ≈ 4.6 ), the predators follow and peak near t ≈ 7.2 t \approx7.2 t ≈ 7.2 –7.6, the prey collapse to minima between t ≈ 11 t \approx11 t ≈ 11 and t ≈ 14 t \approx14 t ≈ 14 , and all populations return to their initial levels at the end of the cycle. The prey keep substantial defense throughout, raising it while predators are abundant (A up to 0.70, B up to 0.67 near t ≈ 13 t \approx13 t ≈ 13 ), and use growth investment mainly early, when predation pressure is low; B stops growth investment in the middle of the cycle and resumes it slightly at the end. The predators hunt and invest in maintenance while prey are available and reduce both efforts to zero in the final third, when prey are scarce, consistent with the low return on hunting effort. The three prey exhaust their mean-effort budgets (g 1 g_1 g 1 –g 3 g_3 g 3 active), whereas the predators’ budgets remain slack.
Each player minimizes a cycle average,
J i = ∫ 0 1 ∑ k = 1 3 w i k ℓ i k d s , w i k ≥ 0 , ∑ k w i k = 1 , J_i = \int_0^1 \sum_{k=1}^{3} w_i^k \ell_{ik}\,\mathrm{d}s,\qquad w_i^k \ge0,\quad\sum_k w_i^k = 1, J i = ∫ 0 1 k = 1 ∑ 3 w i k ℓ ik d s , w i k ≥ 0 , k ∑ w i k = 1 ,
without terminal objective. Let n i n_i n i denote player i i i ’s population, n ˉ i \bar{n}_i n ˉ i its mean over the reference cycle, and e i e_i e i the sum of its two squared controls:
( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − n i / n ˉ i , e i , [ n i / n ˉ i − 1 ] 2 ) . (\ell_{i1},\ell_{i2},\ell_{i3}) = (-n_i/\bar{n}_i,\,e_i,\,[n_i/\bar{n}_i-1]^2). ( ℓ i 1 , ℓ i 2 , ℓ i 3 ) = ( − n i / n ˉ i , e i , [ n i / n ˉ i − 1 ] 2 ) .
These candidates reward abundance, penalize strategy effort, and penalize departures from the reference abundance. Effort budgets bound the mean squared effort per unit time, Z ˙ i = e i \dot{Z}_i=e_i Z ˙ i = e i , Z i ( 0 ) = 0 Z_i(0)=0 Z i ( 0 ) = 0 , Z i ( 1 ) ≤ b u d g e t s i Z_i(1)\leq\mathrm{budgets}_i Z i ( 1 ) ≤ budgets i ; optional path floors n i ( s ) ≥ f l o o r s i n_i(s)\geq\mathrm{floors}_i n i ( s ) ≥ floors i are disabled by default. Every player’s problem contains the return conditions ∣ n j ( 1 ) − n j ( 0 ) ∣ ≤ δ |n_j(1)-n_j(0)|\leq\delta ∣ n j ( 1 ) − n j ( 0 ) ∣ ≤ δ for all populations.
For q q q biological states, append N N N cost integrals then N N N budget integrals, all initially zero; the ODE dimension is q + 2 N q+2N q + 2 N and J i = x q + ι ( i ) ( 1 ) J_i=x_{q+\iota(i)}(1) J i = x q + ι ( i ) ( 1 ) .
Enabled bounds:
Table 86.
Parameter instance.
prey = 3
predators = 2
periodicity_tolerance = 0.01
r = [0.9, 1.0, 1.1]
K = [3.0, 3.0, 3.0]
attack = [0.78 0.54 0.66; 0.54 0.66 0.78]
handling = 0.5
conversion = 0.45
mortality = [0.3, 0.35]
crowding = 0.03
growth_benefit = 0.25
strategy_cost = 0.12
default_size = true
x0 = [0.1981184964, 1.43031613, 1.099886694, 0.8595951089, 0.4409164492]
scale = [0.1988327166, 0.9306449029, 0.7068407768, 1.259519777, 0.6566602541]
duration = 16.58214832
duration_bounds = (8.291074161, 33.16429664)
weights = [0.65 0.25 0.1; 0.65 0.25 0.1; 0.65 0.25 0.1; 0.75 0.2 0.05; 0.75
0.2 0.05]
budgets = [0.35, 0.35, 0.35, 0.35, 0.35]
floors = [nothing, nothing, nothing, nothing, nothing]
initial = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
numerical_x0 = [0.1981184964, 1.43031613, 1.099886694, 0.8595951089,
0.4409164492, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
proteinFolding: Chaperone assistance with finite effort
Biological interpretation. When cells experience proteotoxic stress, for example a heat shock, many proteins unfold at once. Molecular chaperones bind unfolded proteins and folding intermediates and assist their folding to the native state, but chaperone capacity is itself limited: it is consumed while chaperones are engaged and restored only slowly by synthesis. Two chaperone systems with different efficiencies (for example, an ATP-dependent chaperonin and a cheaper holdase) share this capacity. We model the recovery episode after a stress pulse, in which each system chooses its assistance effort under a finite effort budget and aims to restore the native protein pool. Because both systems value the same native pool, the game isolates free-riding on assistance effort.
Literature and provenance. A kinetic model of bacterial proteostasis shows that chaperone-assisted folding trades energy consumption against chaperone utilization ([53 ] ); this supports the finite, consumable chaperone capacity and the effort costs, not the division of assistance into competing players. Two chaperone modules have different effort preferences; the game is a hypothetical decomposition of cellular control, not a published Nash model. All rates, budgets, weights, and initial values below are synthetic, dimensionless benchmark choices, not fitted values from this source.
Dimensions. N = 2 N = 2 N = 2 , n x = 4 n_x = 4 n x = 4 , n O D E = 8 n_{\mathrm{ODE}} = 8 n ODE = 8 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i \in\mathcal{P}} = (2 \times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 1 ) (n_{g,i})_{i \in\mathcal{P}} = (2 \times1) ( n g , i ) i ∈ P = ( 2 × 1 ) .
Categories. molecular, episodical, regulation.
Game specification. U , I , N U, I, N U , I , N : unfolded, intermediate, native protein; C h Ch C h : chaperone capacity. u i u_i u i : module effort. v = ( c 1 u A + c 2 u B ) C h I v = (c_1u_A + c_2u_B) Ch\,I v = ( c 1 u A + c 2 u B ) C h I is assisted conversion, with efficiencies ( c 1 , c 2 ) = c (c_1, c_2) = c ( c 1 , c 2 ) = c ; since c 1 > c 2 c_1 > c_2 c 1 > c 2 , system A is the more efficient one.
U ˙ = − k f U + k u I − d U U , I ˙ = k f U − ( k u + k n ) I − v , \dot{U} = -k_fU + k_uI - d_UU,\qquad\dot{I} = k_fU - (k_u + k_n)I - v, U ˙ = − k f U + k u I − d U U , I ˙ = k f U − ( k u + k n ) I − v ,
N ˙ = k n I − d N N + v , C h ˙ = s 0 − c a ( u A + u B ) C h I − d a C h . \dot{N} = k_nI - d_NN + v,\qquad\dot{Ch} = s_0 - c_a(u_A + u_B)Ch\,I - d_aCh. N ˙ = k n I − d N N + v , C h ˙ = s 0 − c a ( u A + u B ) C h I − d a C h .
Controls are open-loop functions of time. Initial-state order: x = ( U , I , N , C h ) x = (U, I, N, Ch) x = ( U , I , N , C h ) ; values appear below. The supply rate is s 0 = A 0 s_0 = A_0 s 0 = A 0 .
Each player i ∈ P i \in\mathcal{P} i ∈ P minimizes J i = T − 1 ∫ 0 T ℓ i d t J_i = T^{-1}\int_0^T \ell_i\,\mathrm{d}t J i = T − 1 ∫ 0 T ℓ i d t , with
ℓ i = w i 1 ( N − 1 ) 2 + w i 2 u i 2 . \ell_i = w_i^1(N - 1)^2 + w_i^2u_i^2. ℓ i = w i 1 ( N − 1 ) 2 + w i 2 u i 2 .
w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 ; weights are independently configurable.
Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i . \dot{Z}_i = u_i^2,\qquad Z_i(0) = 0,\qquad Z_i(T) \le B_i. Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i .
Figure 24. Reference equilibrium candidate for proteinFolding. Interpretation. After the stress pulse, most protein is unfolded (0.8) and chaperone capacity is full. Both chaperone systems respond immediately: the efficient system A starts near 0.43, peaks at about 0.5, and then reduces its effort steadily, whereas the less efficient system B contributes about half as much and tapers in parallel. Assisted folding consumes chaperone capacity faster than it is resynthesized, so capacity falls to about half its initial value near t ≈ 2.4 t \approx2.4 t ≈ 2.4 and recovers slowly afterwards as the need for assistance declines. Unfolded protein is converted quickly into folding intermediates, which peak near t ≈ 0.75 t \approx0.75 t ≈ 0.75 at more than twice their initial level, and the native pool rises sigmoidally to about 0.81 by the end of the episode. System A exhausts its effort budget (g 1 g_1 g 1 active), while B stays below its budget; the transient depletion of the shared chaperone capacity limits how much the two systems can accelerate folding at the peak of demand.
Budgets are private to each player. The optional path floor is N ≥ f l o o r N \ge\mathrm{floor} N ≥ floor . When enabled, it is enforced in every player’s deviation problem.
Enabled bounds:
Table 10.
Parameter instance.
initial = (0.2, 0.3)
T = 8.0
kf = 1.5
ku = 0.6
kn = 0.3
du = 0.02
dn = 0.01
c = (0.8, 0.5)
ca = 2.0
da = 0.2
A0 = 0.2
x0 = (0.8, 0.2, 0.0, 1.0)
w_A = (0.85, 0.15)
w_B = (0.75, 0.25)
budgets = (0.4, 0.24)
floor = nothing
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [0.8, 0.2, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0]
seedGermination: Seed-cohort germination under shared water
Biological interpretation. Seeds in the same soil patch compete for water during imbibition and germination in the germination window after the first autumn rains. Rapid activation of the embryo lets a seed emerge first and secure light and space, but it consumes water that neighboring seeds also need, and activation itself is metabolically costly. Once the first seed has completed radicle emergence, the competitive situation changes fundamentally. We model this seasonal window for three seed cohorts sharing one water pool; it ends when the leading cohort reaches radicle emergence. Cohort A owns the duration, so only its time weight is strategically relevant (§ 2.4 ).
Literature and provenance. A, B, C: three seed cohorts controlling activation effort ([9 ] ). Cohort A controls the emergence schedule.
x = ( W , A A , A B , A C , G A , G B , G C ) x = (W, A_A, A_B, A_C, G_A, G_B, G_C) x = ( W , A A , A B , A C , G A , G B , G C ) : shared water, activation levels, and cumulative radicle development. The hydrotime analysis of Bradford [9 ] supports only the mechanism that germination rate increases with water availability above a threshold. Germination timing under competition among individuals has been analyzed as an evolutionary game, with competition acting through growth, mortality, or recruitment
Figure 25. Reference equilibrium candidate for seedGermination. Interpretation. The leading cohort A activates its embryos at the maximal rate for three quarters of the episode and relaxes only shortly before its radicle progress reaches the emergence threshold at T ≈ 3.1 T \approx3.1 T ≈ 3.1 (the terminal equality g 1 g_1 g 1 is active for all players). Cohorts B and C, which weigh time less and effort and water burden more, start with moderate activation (0.58 and 0.53) and reduce it steadily. Embryo activation of A rises to about 1.2 and saturates, while B and C peak near 0.49 and 0.39 at t ≈ 2.2 t \approx2.2 t ≈ 2.2 and decline afterwards. Radicle progress accumulates in a convex fashion and reaches 1 for A but only about 0.55 and 0.5 for B and C, so A emerges well ahead of its competitors. The shared water pool falls from 1.5 to about 1.14 while activation is high and recovers once the cohorts relax. The effort budgets, the water floor, and the radicle-progress ceilings of B and C remain slack.
([5 ] ); our game resolves one germination window and does not predict evolutionarily stable dates. The activation states and interacting-cohort game are synthetic and are not the hydrotime equations of Bradford [9 ] .
Dimensions. N = 3 N = 3 N = 3 , n x = 7 n_x = 7 n x = 7 , n O D E = 13 n_{\mathrm{ODE}} = 13 n ODE = 13 , ( n u , i ) i ∈ P = ( 3 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (3 \times1) ( n u , i ) i ∈ P = ( 3 × 1 ) , ( n g , i ) i ∈ P = ( 3 × 3 ) (n_{g,i})_{i\in\mathcal{P}} = (3 \times3) ( n g , i ) i ∈ P = ( 3 × 3 ) .
Categories. population, seasonal, competition, freeTime.
Game specification.
W ˙ = q ( W max − W ) − c W ∑ j ∈ P u j , A ˙ i = a i u i W / ( K + W ) − d i A i , G ˙ i = g i A i W / ( K + W ) , i ∈ P . \begin{aligned}
\dot{W} &= q(W_{\max} - W) - cW \sum_{j\in\mathcal{P}} u_j,\\
\dot{A}_i &= a_i u_i W/(K + W) - d_i A_i,\\
\dot{G}_i &= g_i A_i W/(K + W), \qquad i \in\mathcal{P}.
\end{aligned} W ˙ A ˙ i G ˙ i = q ( W m a x − W ) − c W j ∈ P ∑ u j , = a i u i W / ( K + W ) − d i A i , = g i A i W / ( K + W ) , i ∈ P .
q = \text{water_supply} , W_{\max} = \text{water_capacity} , c = \text{water_use} , a = activation a = \text{activation} a = activation , d = decay d = \text{decay} d = decay , g = growth g = \text{growth} g = growth , K = saturation K = \text{saturation} K = saturation .
J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t . J_i = w_i^1T + w_i^2\int_0^T u_i^2\,\mathrm{d}t + w_i^3\int_0^T L_i\,\mathrm{d}t. J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t .
L i = ( G i − G ˉ ) 2 , G ˉ = ∑ j ∈ P G j / N . L_i = (G_i - \bar{G})^2,\quad\bar{G} = \sum_{j\in\mathcal{P}}G_j/N. L i = ( G i − G ˉ ) 2 , G ˉ = j ∈ P ∑ G j / N .
The duration term penalizes episode length, effort penalizes activation, and development mismatch penalizes loss of cohort synchrony. The synchrony term represents benefits of emerging with the cohort, such as predator satiation; it conflicts with the advantage of emerging first.
G A ( 0 ) = 0 G_A(0) = 0 G A ( 0 ) = 0 , 1 − G A ( T ) ≥ 0 1 - G_A(T) \ge0 1 − G A ( T ) ≥ 0 and G A ( T ) − 1 ≥ 0 G_A(T) - 1 \ge0 G A ( T ) − 1 ≥ 0 , shared by all players. Private effort budgets are ( 3 , 2.2 , 1.5 ) (3, 2.2, 1.5) ( 3 , 2.2 , 1.5 ) . A imposes W ≥ 0.5 W \ge0.5 W ≥ 0.5 (a minimum soil moisture for embryo survival), and B and C impose G B ≤ 2.4 G_B \le2.4 G B ≤ 2.4 and G C ≤ 2.8 G_C \le2.8 G C ≤ 2.8 (caps on radicle elongation); the ceilings cannot bind before G A = 1 G_A = 1 G A = 1 ends the episode. This is leader-cohort emergence, not simultaneous emergence.
Enabled bounds:
Table 11.
Parameter instance.
x0 = (1.5, 0.15, 0.12, 0.1, 0.0, 0.0, 0.0)
target = 1.0
water_supply = 0.4
water_capacity = 2.0
water_use = 0.2
activation = (1.0, 0.85, 0.7)
decay = (0.4, 0.35, 0.3)
growth = (0.5, 0.6, 0.7)
saturation = 0.4
duration = 5.0
duration_bounds = (0.1, 20.0)
initial = (0.5, 0.45, 0.4)
weights = [0.75 0.15 0.1; 0.55 0.3 0.15; 0.45 0.25 0.3]
budgets = (3.0, 2.2, 1.5)
path_limits = (0.5, 2.4, 2.8)
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [1.5, 0.15, 0.12, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
sexRatio: Sex allocation among foundresses
Biological interpretation. When several foundresses lay eggs in the same patch, for example parasitoid wasps in one host cluster or fig wasps in one fig, their sons compete for mates with each other before the daughters disperse (local mate competition). Hamilton [23 ] predicts female-biased sex ratios that become less biased as more foundresses share the patch. Here the foundresses provision their brood from a shared resource that is replenished seasonally, and producing sons is more resource-intensive. Each foundress chooses the fraction of its offspring that are male over one reproductive season; offspring success depends on the numbers of sons and daughters of all foundresses, and the shared brood resource must not fall below a floor. This floor is a synthetic persistence restriction; noncooperative foundresses would not impose it on themselves. The controls represent male-allocation fractions rather than discrete offspring choices.
Literature and provenance. Local mate competition and mate limitation support multiple foundresses and frequency-dependent mating returns ([35 ] ). The following finite-horizon proxy is not a reproduction of the published evolutionary stability analysis. All rates, budgets, weights, and initial values below are synthetic, dimensionless benchmark choices, not fitted values from this source.
Dimensions. N = 3 N = 3 N = 3 , n x = 7 n_x = 7 n x = 7 , n O D E = 13 n_{\mathrm{ODE}} = 13 n ODE = 13 , ( n u , i ) i ∈ P = ( 3 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (3 \times1) ( n u , i ) i ∈ P = ( 3 × 1 ) , ( n g , i ) i ∈ P = ( 3 × 2 ) (n_{g,i})_{i\in\mathcal{P}} = (3 \times2) ( n g , i ) i ∈ P = ( 3 × 2 ) .
Categories. population, seasonal, competition, variable-N N N .
Game specification. R R R : brood resource; F i F_i F i , M i M_i M i : surviving daughters and sons. u i u_i u i : male fraction chosen by foundress i i i . Default N = 3 N = 3 N = 3 ; F Σ = ∑ j ∈ P F j F_{\Sigma} = \sum_{j\in\mathcal{P}} F_j F Σ = ∑ j ∈ P F j , M Σ = ∑ j ∈ P M j M_{\Sigma} = \sum_{j\in\mathcal{P}} M_j M Σ = ∑ j ∈ P M j .
b i ∗ = b i R / ( K + R ) , R ˙ = s ( t ) − decay R − cost ∑ j ∈ P b j ∗ ( 1 + c m u j ) , b_i^* = b_i R/(K + R), \qquad\dot{R} = s(t) - \operatorname{decay}R - \operatorname{cost}\sum_{j\in\mathcal{P}} b_j^*(1 + c_m u_j), b i ∗ = b i R / ( K + R ) , R ˙ = s ( t ) − decay R − cost j ∈ P ∑ b j ∗ ( 1 + c m u j ) ,
s ( t ) = supply [ 1 − a s cos ( 2 π t / T ) ] , a s = seasonality , c m = male_cost , s(t) = \operatorname{supply}[1 - a_s\cos(2\pi t/T)], \qquad a_s = \operatorname{seasonality}, \quad c_m = \operatorname{male\_cost}, s ( t ) = supply [ 1 − a s cos ( 2 π t / T )] , a s = seasonality , c m = male_cost ,
F ˙ i = b i ∗ ( 1 − u i ) − d f F i , M ˙ i = b i ∗ u i − d m M i , \dot{F}_i = b_i^*(1-u_i) - d_f F_i, \qquad\dot{M}_i = b_i^*u_i - d_m M_i, F ˙ i = b i ∗ ( 1 − u i ) − d f F i , M ˙ i = b i ∗ u i − d m M i ,
W i = F i M Σ + M i F Σ mate_half + M Σ . W_i = \frac{F_iM_{\Sigma} + M_iF_{\Sigma}}{\operatorname{mate\_half} + M_{\Sigma}}. W i = mate_half + M Σ F i M Σ + M i F Σ .
Controls are open-loop functions of time. Initial-state order: x = ( R , ( F i ) i ∈ P , ( M i ) i ∈ P ) x = (R,(F_i)_{i\in\mathcal{P}},(M_i)_{i\in\mathcal{P}}) x = ( R , ( F i ) i ∈ P , ( M i ) i ∈ P ) ; values appear below.
Figure 26. Interpretation. All foundresses produce female-biased broods throughout the season: male allocation rises from about 0.2 early to a maximum near 0.34–0.40 in the middle of the season and declines again toward the end, when newly produced sons have little time left to mate. Foundress A, whose squared-allocation budget is exhausted (g 1 g_1 g 1 active) and which also weighs mating success most, is the most female-biased, especially late in the season (final allocation about 0.03). The shared brood resource follows the seasonal supply: it falls from 2 to a minimum near 1.5 at t ≈ 1.6 t \approx1.6 t ≈ 1.6 , recovers to about 2 at t ≈ 4 t \approx4 t ≈ 4 when supply peaks, and is drawn down again to the protective floor at the end of the season (g 4 g_4 g 4 active). Daughters accumulate almost linearly (to 2.0, 1.6, and 1.5 for A, B, and C), whereas sons level off at about 0.6–0.7 as male production declines. The effort budgets of B and C remain slack. For comparison, Hamilton’s unbeatable sex ratio under local mate competition with three foundresses is ( N − 1 ) / ( 2 N ) = 1 / 3 (N - 1)/(2N) = 1/3 ( N − 1 ) / ( 2 N ) = 1/3 [23 ] . The seasonal allocations (≈ 0.2 \approx0.2 ≈ 0.2 –0.4 0.4 0.4 ) bracket this value, but the present objective is a within-season mating proxy, the male-cost term and the squared-allocation budgets also bias allocation toward daughters, so agreement is not a test of the classical result.
Each player i ∈ P i \in\mathcal{P} i ∈ P minimizes J i = T − 1 ∫ 0 T ℓ i d t J_i = T^{-1}\int_0^T \ell_i\,\mathrm{d}t J i = T − 1 ∫ 0 T ℓ i d t , with
ℓ i = − w i 1 W i + w i 2 ( u i − 0.5 ) 2 + w i 3 u i 2 . \ell_i = -w_i^1 W_i + w_i^2(u_i - 0.5)^2 + w_i^3 u_i^2. ℓ i = − w i 1 W i + w i 2 ( u i − 0.5 ) 2 + w i 3 u i 2 .
The penalty ( u i − 0.5 ) 2 (u_i - 0.5)^2 ( u i − 0.5 ) 2 , the term u i 2 u_i^2 u i 2 , and the budget on ∫ 0 T u i 2 d t \int_0^T u_i^2\,\mathrm{d}t ∫ 0 T u i 2 d t are synthetic: the squared terms represent increasing marginal costs of producing sons (e.g., larger provisioning per son), in addition to the male cost c m c_m c m in R R R . Fitness is usually measured at the end of the season, as mated daughters at dispersal; here it is the time average of the mating proxy W i W_i W i . w i k ≥ 0 w_i^k \ge0 w i k ≥ 0 , ∑ k w i k = 1 \sum_k w_i^k = 1 ∑ k w i k = 1 ; weights are independently configurable.
Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i . \dot{Z}_i = u_i^2,\quad Z_i(0) = 0,\quad Z_i(T) \le B_i. Z ˙ i = u i 2 , Z i ( 0 ) = 0 , Z i ( T ) ≤ B i .
Budgets are private to each player. The default path floor is R ≥ 1.5 R \ge1.5 R ≥ 1.5 . Seasonal replenishment and sex-dependent provisioning allow drawdown and recovery. The shared floor restricts feasible allocations jointly.
Enabled bounds:
Table 1 (PDF p. 94).
Parameter instance.
N = 3
T = 6.0
b = [1.0, 0.8695652174, 0.7692307692]
df = 0.12
dm = 0.2
supply = 0.5
seasonality = 0.8
male_cost = 2.0
decay = 0.1
cost = 0.15
K = 1.0
mate_half = 0.5
x0 = [2.0, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1]
w_A = (0.8, 0.1, 0.1)
w_B = (0.65, 0.2, 0.15)
w_C = (0.7, 0.05, 0.25)
budgets = [0.48, 0.78, 1.08]
floor = 1.5
initial = [0.2, 0.2, 0.2]
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [2.0, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0]
tupelo: Tupelo–leafminer case study
Biological interpretation. Leaf-mining insects lay their eggs on young leaves in spring; the larvae then feed inside the leaf blade until they mature or the leaf’s resources run out. For the host tree, chemical defense reduces egg and larval survival but diverts carbon from growth, and the value of leaf tissue declines over the season as leaves age. For the herbivore, the timing of egg hatching determines when larvae meet the host’s defense and how much fresh leaf tissue remains. This "cold war" over timing within one season is a classical plant–herbivore scenario; the end of the season is linked to the next one through overwintering, not through periodic return.
The host tree Nyssa sylvatica and the leafminer Antispila nysaefoliella motivate a seasonal game. Low et al. [32 ] already studied optimal plant defense and herbivore hatching in this system, including a co-evolutionary calculation.
The plant (tupelo) chooses a defense investment schedule u A ( t ) u_A(t) u A ( t ) . In Low et al. [32 ] defense is induced; here it is an open-loop schedule, i.e., constitutive within the season. The herbivore (leafminer) chooses hatching hazard u B ( t ) u_B(t) u B ( t ) .
The biological states are usable leaf area L L L , unhatched eggs E E E , and feeding larvae H H H per representative leaf, x = ( L , E , H ) x=(L,E,H) x = ( L , E , H ) . The hatching flux is u B E u_BE u B E .
As in Low et al. [32 ] , larvae consume leaf tissue at a constant per-capita rate and leave the cohort through pupation or death. The alternative of § 5.3 instead uses a saturating tissue availability ρ ( L ) = L / ( K + L ) \rho(L)=L/(K+L) ρ ( L ) = L / ( K + L ) in consumption and maturation.
Defense increases egg and larval mortality and thus reduces the cohort and its future feeding pressure. Hatching transfers eggs to larvae, it determines when larvae encounter defense and declining seasonal resources.
Literature and provenance. Low et al. [32 ] supply the model structure (their Eqs. 1–7) and the rates of their coevolution scenario 11 (their Table 2), mapped here to one time unit of 25 days. Open-loop schedules replace their induced defense, a Nash candidate replaces their evolutionarily stable strategies, and small quadratic cost terms regularize the responses. The photoperiod scale t ∗ t^* t ∗ and the season length are our assumptions, since the source does not state them.
Dimensions. N = 2 N=2 N = 2 , n x = 3 n_x=3 n x = 3 , n O D E = 8 n_{\mathrm{ODE}}=8 n ODE = 8 , ( n u , i ) i ∈ P = ( 2 × 1 ) (n_{u,i})_{i\in\mathcal{P}}=(2\times1) ( n u , i ) i ∈ P = ( 2 × 1 ) , ( n g , i ) i ∈ P = ( 2 × 0 ) (n_{g,i})_{i\in\mathcal{P}}=(2\times0) ( n g , i ) i ∈ P = ( 2 × 0 ) .
Categories. population, seasonal, antagonism.
Game specification. We use
f ( t , x , u A , u B ; p ) = ( − b ρ ( L ) H − ( u B + μ E + d E u A ) E u B E − ( μ H + d H u A + κ ρ ( L ) ) H ) , x ( 0 ) = ( L 0 E 0 H 0 ) . f(t,x,u_A,u_B;p)=
\begin{pmatrix}
-b\rho(L)H\\
-(u_B+\mu_E+d_Eu_A)E\\
u_BE-(\mu_H+d_Hu_A+\kappa\rho(L))H
\end{pmatrix},
\qquad
x(0)=
\begin{pmatrix}
L_0\\
E_0\\
H_0
\end{pmatrix}. f ( t , x , u A , u B ; p ) = − b ρ ( L ) H − ( u B + μ E + d E u A ) E u B E − ( μ H + d H u A + κ ρ ( L )) H , x ( 0 ) = L 0 E 0 H 0 .
with p = ( b , K , μ E , μ H , d E , d H , κ , δ A , δ B , t ∗ , z ) p=(b,K,\mu_E,\mu_H,d_E,d_H,\kappa,\delta_A,\delta_B,t^*,z) p = ( b , K , μ E , μ H , d E , d H , κ , δ A , δ B , t ∗ , z ) and ρ ( L ) = 1 \rho(L)=1 ρ ( L ) = 1 in the reference instance (saturation=false); saturation=true gives ρ ( L ) = L / ( K + L ) \rho(L)=L/(K+L) ρ ( L ) = L / ( K + L ) .
b b b is feeding intensity and K K K is tissue half-saturation. μ E , μ H \mu_E,\mu_H μ E , μ H are baseline mortality rates and d E , d H d_E,d_H d E , d H are defense-induced mortality coefficients. The maturation flux κ ρ ( L ) H \kappa\rho(L)H κ ρ ( L ) H contributes to player B’s objective. The rates map scenario 11 of Low et al. [32 ] with one time unit of 25 days (§ 5.1 ). In the parameter listing, δ A = \delta_A= δ A =
Figure 27. Reference equilibrium candidate for tupelo. Interpretation. The tree defends early with at most 0.30, mostly between 0.1 and 0.2, and stops defending at t ≈ 4.4 t \approx4.4 t ≈ 4.4 , before the leaf value declines. The leafminer releases a small hatching pulse at the start, hatches at a reduced hazard of about 0.2–0.3 while defense lasts, and hatches at maximal hazard from t ≈ 4.2 t \approx4.2 t ≈ 4.2 until shortly before T T T . Eggs decline to 0.26 by t = 4 t = 4 t = 4 and are nearly exhausted by t = 6 t = 6 t = 6 ; larvae stay below 0.08 and peak at t ≈ 4.5 t \approx4.5 t ≈ 4.5 . Usable leaf area decreases to about 0.50, and 46% of the loss occurs after t = 4 t = 4 t = 4 . The pattern agrees qualitatively with the delayed mass hatching of Low et al. [32 ] ; unlike in their feedback model, the leafminer does not avoid defense completely (§ 5.2 ).
p _ d e c a y p\_\mathrm{decay} p _ decay and δ B = q _ d e c a y \delta_B = q\_\mathrm{decay} δ B = q _ decay . The reference weights are w A = ( 0.49 , 0.49 , 0.02 , 0 ) \mathbf{w}_A = (0.49, 0.49, 0.02, 0) w A = ( 0.49 , 0.49 , 0.02 , 0 ) and w B = ( 0.98 , 0.02 , 0 ) \mathbf{w}_B = (0.98, 0.02, 0) w B = ( 0.98 , 0.02 , 0 ) .
Implementation comment: nonnegativity, decreasing leaf area, and decreasing cohort size are checked by independent integration; they are not extra NLP constraints.
Table 12.
The leaf value is the photoperiod curve p ( t ) = e − ( t / t ∗ ) z p(t) = e^{-(t/t^*)^z} p ( t ) = e − ( t / t ∗ ) z of Low et al. [32 ] (photoperiod=true), with t ∗ = 6 t^* = 6 t ∗ = 6 as our assumption; photoperiod=false gives p ( t ) = e − δ A t p(t) = e^{-\delta_A t} p ( t ) = e − δ A t . The terminal larva term counts larvae that complete development after the modeled window; its weight is zero in the reference instance; § 5.3 mentions a positive weight as an example of a preference variant.
Collect restriction switches (a zero switch omits a particular restriction) and bounds in
θ = ( σ U A , σ U B , σ C A , U A , U B , C A ) , σ U A , σ U B , σ C A ∈ { 0 , 1 } . \theta= (\sigma_{U_A}, \sigma_{U_B}, \sigma_{C_A}, U_A, U_B, C_A), \qquad\sigma_{U_A},\sigma_{U_B},\sigma_{C_A} \in\{0,1\}. θ = ( σ U A , σ U B , σ C A , U A , U B , C A ) , σ U A , σ U B , σ C A ∈ { 0 , 1 } .
For g A [ x , u A , u B ; p , θ ] ≥ 0 g_A[x,u_A,u_B;p,\theta] \ge0 g A [ x , u A , u B ; p , θ ] ≥ 0 , impose
{ U A − ∫ 0 T u A d t ≥ 0 if σ U A = 1 , C A − ∫ 0 T u A L d t ≥ 0 if σ C A = 1. \begin{cases}
U_A - \int_0^T u_A\,\mathrm{d}t \ge0 & \text{if } \sigma_{U_A}=1,\\
C_A - \int_0^T u_A L\,\mathrm{d}t \ge0 & \text{if } \sigma_{C_A}=1.
\end{cases} { U A − ∫ 0 T u A d t ≥ 0 C A − ∫ 0 T u A L d t ≥ 0 if σ U A = 1 , if σ C A = 1.
Note that the carbon allowance C A − ∫ 0 T u A L d t ≥ 0 C_A - \int_0^T u_A L\,\mathrm{d}t \ge0 C A − ∫ 0 T u A L d t ≥ 0 depends on u B u_B u B and p p p through L L L .
For g B [ x , u A , u B ; p , θ ] ≥ 0 g_B[x,u_A,u_B;p,\theta] \ge0 g B [ x , u A , u B ; p , θ ] ≥ 0 , impose
U B − ∫ 0 T u B d t ≥ 0 if σ U B = 1. U_B - \int_0^T u_B\,\mathrm{d}t \ge0 \qquad\text{if } \sigma_{U_B}=1. U B − ∫ 0 T u B d t ≥ 0 if σ U B = 1.
All switches are zero in the reference instance, as in Low et al. [32 ] ; the alternative of § 5.3 sets them to one.
No state or budget bounds are enabled.
Parameter instance.
T = 8.0
L0 = 1.0
E0 = 1.0
H0 = 0.0
b = 1.5
K = 0.15
muE = 0.0
muH = 1.0
dE = 0.25
dH = 12.5
kappa = 1.0
p_decay = 0.2
q_decay = 0.125
t_star = 6.0
z = 9.0
umax = 1.0
vmax = 1.0
w_A = (0.49, 0.49, 0.02, 0.0)
w_B = (0.98, 0.02, 0.0)
scales_P = (1.0, 1.0, 1.0, 1.0)
scales_H = (1.0, 1.0, 1.0)
U_A = nothing
U_B = nothing
C_A = nothing
saturation = false
photoperiod = true
control_lower = [0.0, 0.0]
control_upper = [1.0, 1.0]
numerical_x0 = [1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
woundRepair: Wound repair and remodeling
Biological interpretation. Cutaneous wound healing proceeds through overlapping phases: an inflammatory phase in which neutrophils and macrophages clear debris and release growth factors, a proliferative phase in which fibroblasts migrate in and deposit collagen, and a remodeling phase. Fibroblast activity depends on signals from inflammatory cells and on oxygen supply, while prolonged inflammation damages tissue and delays closure. We model one healing episode that ends when the wound deficit has fallen to a prescribed residual size, and we assign inflammatory recruitment, fibroblast recruitment, and oxygen support through angiogenesis to three players who weigh effort, excess inflammation, and collagen quality differently. Inflammatory recruitment (A) owns the completion time; as for other regulatory modules, this is a synthetic allocation of decision authority (§ 2.6 ), and only A’s time weight is strategically relevant.
Literature and provenance. Macrophage–fibroblast–collagen interactions motivate wound-healing models [13 ] . Here a reduced five-state system assigns inflammatory recruitment, fibroblast recruitment, and oxygen support to separate players. Duration ownership, objective weights, terminal wound target, and other restrictions are introduced with synthetic coefficients.
Dimensions. N = 3 N = 3 N = 3 , n x = 5 n_x = 5 n x = 5 , n O D E = 11 n_{\mathrm{ODE}} = 11 n ODE = 11 , ( n u , i ) i ∈ P = ( 3 × 1 ) (n_{u,i})_{i\in\mathcal{P}} = (3 \times1) ( n u , i ) i ∈ P = ( 3 × 1 ) , ( n g , i ) i ∈ P = ( 3 × 3 ) (n_{g,i})_{i\in\mathcal{P}} = (3 \times3) ( n g , i ) i ∈ P = ( 3 × 3 ) .
Categories. cellular, episodical, regulation, freeTime.
Figure 28. Reference equilibrium candidate for woundRepair. Interpretation. Healing ends at T ≈ 7.3 T \approx7.3 T ≈ 7.3 , when the wound deficit has fallen from 1 to the prescribed residual 0.25 (terminal equality g 1 g_{1} g 1 active for all players). Inflammatory recruitment starts at its maximum and stays there until t ≈ 4 t \approx4 t ≈ 4 , then decreases to zero, using up its entire effort budget (g 2 g_{2} g 2 active). Fibroblast recruitment and oxygen support rise during the first two time units to about 0.59 and 0.49 and decline afterwards, oxygen support earliest. The state trajectories reproduce the classical sequence of healing phases: inflammatory cells rise from 0.2 to a peak near 1 at t ≈ 2.8 t \approx2.8 t ≈ 2.8 and then resolve, fibroblasts follow with a delay and peak near t ≈ 4.4 t \approx4.4 t ≈ 4.4 , and collagen accumulates steadily to about 0.42 while the deficit decreases. Oxygen increases slightly while support is given and stays above its floor. The budgets of B and C and the inflammation, collagen, and oxygen bounds remain slack; the transition from inflammation to matrix deposition is driven by the shared closure target and the time cost.
Game specification.
D ˙ = − ( r 1 + r 2 M + r 3 F ) D , M ˙ = b 1 u A D − d 1 M , \dot{D}=-(r_1+r_2M+r_3F)D,\qquad\dot{M}=b_1u_AD-d_1M, D ˙ = − ( r 1 + r 2 M + r 3 F ) D , M ˙ = b 1 u A D − d 1 M ,
F ˙ = b 2 u B M O / ( 1 + O ) − d 2 F , \dot{F}=b_2u_BMO/(1+O)-d_2F, F ˙ = b 2 u B M O / ( 1 + O ) − d 2 F ,
K ˙ = k K F O / ( 1 + O ) − d 3 K , \dot{K}=k_KFO/(1+O)-d_3K, K ˙ = k K F O / ( 1 + O ) − d 3 K ,
O ˙ = k O ( 1 + u C ) ( 1 − O ) − c O ( M + F ) O . \dot{O}=k_O(1+u_C)(1-O)-c_O(M+F)O. O ˙ = k O ( 1 + u C ) ( 1 − O ) − c O ( M + F ) O .
r r r = repair, b b b = recruitment, d d d = decay, k K k_K k K = collagen_rate, k O k_O k O = oxygen_supply, c O c_O c O = oxygen_use, K ⋆ K_\star K ⋆ = collagen_target.
J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t J_i=w_i^1T+w_i^2\int_0^T u_i^2\,dt+w_i^3\int_0^T L_i\,dt J i = w i 1 T + w i 2 ∫ 0 T u i 2 d t + w i 3 ∫ 0 T L i d t .
L i = ( K − K ⋆ ) 2 + ( 0.2 + 0.1 ι ( i ) ) M 2 L_i=(K-K_\star)^2+(0.2+0.1\iota(i))M^2 L i = ( K − K ⋆ ) 2 + ( 0.2 + 0.1 ι ( i )) M 2 . The duration term penalizes healing time, effort penalizes intervention, and L i L_i L i balances matrix restoration against inflammation.
D ( 0 ) = 1 D(0)=1 D ( 0 ) = 1 , 0.25 − D ( T ) ≥ 0 0.25-D(T)\geq0 0.25 − D ( T ) ≥ 0 and D ( T ) − 0.25 ≥ 0 D(T)-0.25\geq0 D ( T ) − 0.25 ≥ 0 , shared by all players. Private effort budgets are ( 5 , 4 , 3 ) (5,4,3) ( 5 , 4 , 3 ) . A imposes M ≤ 1.4 M\leq1.4 M ≤ 1.4 (limiting collateral damage by excess inflammation), B imposes K ≤ 1.6 K\leq1.6 K ≤ 1.6 (avoiding fibrotic overproduction of matrix), and C imposes O ≥ 0.4 O\geq0.4 O ≥ 0.4 (avoiding hypoxia) along the trajectory. Other terminal states are free.
Enabled bounds:
Table 1 (PDF p. 100).
Parameter instance.
x0 = (1.0, 0.2, 0.15, 0.1, 0.8)
target = 0.25
repair = (0.04, 0.12, 0.22)
recruitment = (0.8, 0.6)
decay = (0.5, 0.25, 0.08)
oxygen_supply = 0.7
oxygen_use = 0.15
collagen_rate = 0.5
collagen_target = 0.6
duration = 5.0
duration_bounds = (0.1, 20.0)
initial = (0.5, 0.45, 0.4)
weights = [0.75 0.15 0.1; 0.55 0.3 0.15; 0.45 0.25 0.3]
budgets = (5.0, 4.0, 3.0)
path_limits = (1.4, 1.6, 0.4)
control_lower = [0.0, 0.0, 0.0]
control_upper = [1.0, 1.0, 1.0]
numerical_x0 = [1.0, 0.2, 0.15, 0.1, 0.8, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
Numerical settings and solver statistics
This appendix collects the numerical details of § 4 .
Transcription and nonlinear programs.
Controls are piecewise constant on M M M equal intervals. Path restrictions are imposed at four equidistant points per control interval (eight in antColonies). Single shooting eliminates the state variables by integration with the explicit Tsitouras 5/4 Runge–Kutta method Tsit5 at absolute and relative tolerance 10 − 9 10^{-9} 1 0 − 9 (10 − 10 10^{-10} 1 0 − 10 in four instances); forward-mode automatic differentiation through the integrator supplies derivatives. The nonlinear programs are solved by Ipopt with tolerance 10 − 8 10^{-8} 1 0 − 8 and a limited-memory Hessian approximation; three instances (batchFermentation, circadianCycle, immuneClearance) use exact Hessians. Multiple shooting and the backends BlockSQP2 and Uno are available but not used for the reference records.
Iteration settings.
The damping ranges from α = 0.15 \alpha= 0.15 α = 0.15 (neural) to α = 1 \alpha= 1 α = 1 , the undamped sweep used in nine instances. Primal warm starts are enabled in five instances, and the round limit k max k_{\max} k m a x ranges from 20 to 300. Warm starts reuse the player’s previous primal controls on the same grid. Refinement transfers the coarse controls to the fine grid by interval averaging.
Audits.
The interface allows instance-specific reporting scales γ i \gamma_i γ i in (11) , separate from the feature scales in the objectives. All reported audits use a single start per player and round, namely the current profile or, when primal warm starts are enabled and the grid layout is compatible, the player’s previous response. The implementation supports additional constant-control starts for audits; they were not used for the reference records. For each assigned state restriction c c c in the bound form (5) , let S c S_c S c contain either the terminal time or all audit sample times, i.e., eight equidistant points per control interval; the audit thus samples path restrictions at least as densely as the optimization. With [ a ] + = max { 0 , a } [a]_+ = \max\{0,a\} [ a ] + = max { 0 , a } , the implemented violation is
V i = ∑ j : owner ( j ) = i ∑ k = 1 M ( [ u j − u j k ] + + [ u j k − u ˉ j ] + ) + ∑ c : owner ( c ) = i max t ∈ S c ( [ ℓ c − y q c ( t ) ] + + [ y q c ( t ) − r c ] + ) . (13) \begin{aligned}
V_i ={}& \sum_{j:\,\operatorname{owner}(j)=i}\sum_{k=1}^{M}\left([u_j-u_{jk}]_+ + [u_{jk}-\bar{u}_j]_+\right) \\
&+ \sum_{c:\,\operatorname{owner}(c)=i}\max_{t\in S_c}\left([\ell_c-y_{q_c}(t)]_+ + [y_{q_c}(t)-r_c]_+\right). \tag*{(13)}
\end{aligned} V i = j : owner ( j ) = i ∑ k = 1 ∑ M ( [ u j − u j k ] + + [ u j k − u ˉ j ] + ) + c : owner ( c ) = i ∑ t ∈ S c max ( [ ℓ c − y q c ( t ) ] + + [ y q c ( t ) − r c ] + ) . (13)
where y y y is the numerical state of § 2 . An absent finite bound contributes zero. Thus, violations are summed across restrictions after taking the maximum over time for each path restriction. The violation is not normalized across physical units or state transformations; the saved records call it the constraint norm (norm_g). The completed profile is reintegrated with Tsit5 at absolute and relative tolerance 10 − 10 10^{-10} 1 0 − 10 .
Independent checks of responses.
A reintegration of every response at tolerance 10 − 10 10^{-10} 1 0 − 10 must satisfy the player’s restrictions and reproduce the shooting objective within 10 − 5 γ i 10^{-5}\gamma_i 1 0 − 5 γ i ; multiple shooting additionally checks its matching residuals. A response that fails one of these checks stops the computation, so every saved round passed them. The implementation logs unsuccessful nonlinear-programming return codes and uses the returned iterate if the checks pass; a successful return code is not itself a requirement. After an unsuccessful return code, a fallback solver can be started from the returned iterate. Damping can violate nonlinear endpoint restrictions. Such intermediate profiles remain in the iteration history, while acceptance requires the completed profile to pass the feasibility audit.
Reproduction, timing, and solver statistics.
Reintegrating every saved final control profile with the released model definitions reproduces the saved terminal states, including the objective and budget quadratures, to double precision; the maximum sampled violation of these reintegrations is 9.1 ⋅ 10 − 7 9.1 \cdot10^{-7} 9.1 ⋅ 1 0 − 7 , below ε g = 10 − 6 \varepsilon_g = 10^{-6} ε g = 1 0 − 6 . Instance-specific solver options are distributed with the models, and the archived release fixes the Julia environment used to produce the records. The CPU times in Table 3 are medians over all response and audit calls of one grid; the median excludes the effect of compilation in the first call of each grid. They were measured with Julia 1.11 on a machine with eight logical CPU cores and 8 GB memory, with one instance running at a time. The per-response solver logs distinguish outer convergence from inner solver termination. All final deviation-audit calls on both grids report Success for every instance. In motor, nine of the 140 intermediate and final response calls report MaxIters; the other 131 report Success. All recorded calls in the remaining 24 instances report Success. The motor iterates were accepted under the independent feasibility and objective-consistency checks described above.