Noninteracting subsystems 2026-10-18
Two independently available parts of a thermodynamic system are noninteracting in the canonical description when their state space is a Cartesian product and their energy is additive, . Both conditions are needed for the canonical partition function to factor:
An additive expression on a constrained set of allowed state pairs need not give this factorization. Relabeling the states to make their allowed labels independent can instead introduce an interaction into the energy. For two two-state labels, an additive energy necessarily satisfies the rectangular identity .
Nonnegative superharmonic function for a Markov chain Created 2026-10-14 Updated 2026-11-05
For a transition matrix , a finite-valued function on its state space is nonnegative superharmonic when . Thus and its expected value cannot increase after one step. Replacing transitions on a target set by identity rows preserves . Iterating this inequality gives , a useful bound for hitting probabilities without a separate optional-stopping theorem.
Let be the set of Boolean variables occurring in or the initial query , and put . Represent a current query by a subset : the Boolean literals in this set are the outstanding obligations. The initial state is , and the goal test is .
An action chooses a Horn clause with positive Boolean literal , provided . Its search transition model is precisely the given resolution inference rule:
Thus it removes the obligation and inserts all negative Boolean literals of . Repeated Boolean literals merge because queries are sets. A Horn clause without a positive Boolean literal supplies no action under the rule specified in this paper; it must not be treated as an additional way of finishing the query.
Give every action unit cost. A graph path with actions gives a proof containing queries, so minimizing either quantity gives the same shortest proof. Uniform-cost search orders the search frontier by the number of actions already taken and applies the goal test when removing a search node for expansion. Recording parent actions reconstructs the proof.
There are at most two choices, present or absent, for each of the negative Boolean literals. Therefore
This bounds the state space, including the empty query, rather than the possibly infinite search tree of action histories.[ref]
In terms of minimum plan length, allowing more stacks can only help:
Every legal plan using at most stacks remains legal with available: simply ignore the new stack. The inequality need not be strict. For , one move suffices for every .
With , put each of the smaller coins on its own spare stack, move the largest coin to the destination, and then place the smaller coins on it in decreasing size order. This uses moves. Every smaller coin must leave the initial stack before the largest coin's first move. It cannot move just once directly to the final stack and stay there, since that would block the largest coin's eventual arrival. Thus each smaller coin requires at least two moves, while the largest coin requires at least one. Hence
Compared with the three-stack value , the physical task can therefore become substantially easier.
The difficulty of finding an optimal plan is a different issue. Each legal state is determined by assigning every coin to one of the labelled stacks, whose size order is then forced. There are such assignments, so the state space and possible branching factor grow with . An uninformed search algorithm can therefore face more alternatives even when the optimal plan becomes shorter. Likewise, a simple recursive strategy for three stacks need not immediately supply the best strategy with more stacks. The defensible answer is that the required number of moves never increases, while computational search effort need not decrease.
A useful local search state is any occupied-square subset , allowing temporary attacks. Let count unordered attacking pairs and . Maximize
ACTIONS can offer insertion at an empty square, deletion of an occupied square, and relocation of one knight to an empty square. RESULT is respectively , , and . Insertions and deletions alone connect the whole state space; relocation is a useful additional proposal.
Every conflicting state has , whereas the empty board has score zero. Every conflict-free state has score exactly its knight count. Hence every global maximizer is a maximum-size nonattacking placement. If a knight participates in conflicts, deleting it changes the score by , so a positive-conflict local stopping point cannot persist when improving deletions are considered.
From a random board, choose score-improving moves, with random restarts or occasional non-improving proposals to escape poor conflict-free local optima. A maximal placement is not necessarily a maximum placement: accepting only legal insertions can get stuck too early. This objective function defines the intended optimization precisely; a finite heuristic run still gives no general global-optimality certificate.
Let the input words be , let be their common length, let be the finite alphabet, and let contain the dictionary words of length . Unequal input lengths immediately make the puzzle impossible because a mutation preserves length. A word ladder search problem can use the state space , with initial state ; including handles an input word not itself in the dictionary.
At word , an action is a position–letter pair with , and , permitted precisely when replacing by gives . The search transition model returns that , and the goal test is . If , the empty sequence is accepted; if and , no transition can reach .
Assign each permitted transition cost . A search node at search depth has
Thus minimizing path cost is exactly minimizing the number of mutations. Uniform-cost search, with repeated states handled by graph search and the goal test on selection, finds a shortest word ladder if one exists. Because all costs are equal, breadth-first search gives the same optimal-length guarantee.
Regard the rooms as the vertices of a grid graph. Let and let the two robot positions be . A single controller chooses both commands, so the state space is the ordered Cartesian product , with initial state . Distinguishing the robots matters because their later action laws need not be identical.
For a room , let consist of wait and all cardinal moves remaining in ; write for the resulting room. At an action is the ordered pair , and the deterministic search transition model is
The goal test is , checked at integer time boundaries, and every joint action costs one. Swapping two distinct rooms does not satisfy the goal test. No internal walls are supplied; if walls were specified, they would simply restrict the move relation.
The ordered Cartesian product has states, including goal states. Each robot has at most five commands, so the search tree has branching factor at most , attained when both are interior for . Boundary states have fewer actions under the legal-move convention. For the maximum is , and for it is one if waiting is retained.
The state space is finite, but the unrestricted search tree is infinite because both robots can wait repeatedly. counts physical states, not distinct action histories.
Retain the ordered position state , the same initial state and the goal test , with unit joint-action cost. Replace the deterministic search transition model by a set-valued outcome relation. Let
Then
Here for an attempted move leaving the board returns the current room. This explicit boundary convention keeps every outcome inside the state space; alternatively disable a horizontal command unless both possible destinations are legal. Mrs Robot’s commands can still be restricted to legal moves as before.
The result is a fully observable nondeterministic planning problem, assuming that actual positions are observed after every step. Both possible horizontal outcomes must be represented, even though they may coincide at a boundary or when . No outcome probabilities are supplied, so attaching equal probabilities would add an assumption. Its solution is a position-dependent plan or policy.
Use AND-OR search for a strong plan. At an OR node choose a joint action; at its AND node require successful continuations for every possible outcome. A repeated state on the current branch cannot by itself establish progress. On a finite state space, the equivalent strong planning winning-set iteration starts with and repeatedly adds states with an action whose nonempty outcome set is contained in the current winning set:
A newly admitted state has a plan with at most remaining steps in the worst case. This algorithm terminates on the finite state space and is complete for finite guaranteed-success plans. In a general nondeterministic planning problem it cannot guarantee that a strong plan exists: an uncontrollable self-loop can prevent inevitable progress.
For this particular unobstructed grid, a strong plan does exist. Command Mr Robot to wait throughout and move Mrs Robot along a shortest route to his initial room. Her movement is deterministic and his waiting is unaffected by the horizontal uncertainty. This meets in steps, regardless of every uncertain outcome, because no uncertain command is used. Thus a complete finite AND-OR search will find a solution here. With an unspecified disconnected maze, existence would instead require both robots to lie in the same reachable graph component.
Let be the traversable squares and the exits. Sample the state space at the end of each complete round, so a live state is with . The given starting positions specify the initial state. The board and exits are fixed problem data, rather than changing components of the state space.
The rabbit has at most five actions: stay or move to one of its traversable orthogonally adjacent squares. A search transition model first applies that action, giving , and immediately checks for capture at . Otherwise hold fixed and apply the fox rule twice, checking for capture after each step. A capture is terminal failure; it must not be overlooked merely because the fox could subsequently move elsewhere. A surviving successor is . Equivalently, omit actions whose complete-round outcome is capture.
The goal test is the rabbit is on an exit after surviving the fox's entire turn: and no capture occurred in that round. Merely entering an exit before the fox moves is insufficient. Each surviving search transition model step has cost one when minimizing rounds.
Only legal moves are considered when applying the stated horizontal preference: try a legal horizontal step that reduces horizontal separation, otherwise a legal vertical step that reduces vertical separation, otherwise stay. If a blocked preferred direction is instead interpreted as forcing a stay immediately, the counterexamples below and all completeness and optimality conclusions remain valid.
Write . The ordered position pairs give at most states, or live states after excluding capture. Thus the usual Big O notation estimate is . An additional terminal-failure marker changes this by only one.
For distinguishable foxes, retain . Different foxes may share a square; none may share the rabbit's square in a live state. There are at most live position tuples, giving . These counts describe possible encodings; obstacles, starting positions and the fixed fox rule can make the reachable state space much smaller.
The branching factor of the search tree is at most five, so through depth it has at most
nodes in Big O notation. With no depth bound, the search tree can be infinite, despite the finite state space: tree search retains different action histories even when they end at the same position pair.
For a concrete repeating history, use a two-row, three-column board, indexed from zero, with the sole obstacle , rabbit at and fox at . Repeated rabbit stays leave the fox blocked horizontally with no vertical separation to reduce. Hence the same live state can repeat forever. An exit at is nevertheless safely reachable in one round.
The convention intended by this question is existence of a dense forward orbit, also called point transitivity. On a nonempty compact metric space, this means that some satisfies
Equivalently, that forward orbit visits every nonempty open set.
The other common definition of topological transitivity uses intersections of iterated open sets, as in part (b). The distinction matters on spaces with isolated points: parts (b) and (c) ask precisely how the two conventions are related. We use point transitivity for the dense-orbit convention throughout this solution. As usual for this definition, the state space is assumed nonempty; on an empty space the open-set condition is vacuous and there is no point with a forward orbit.
The physical state space is the positively invariant set , : adding the equations gives zero, and the vector field points inward at each coordinate boundary. At an equilibrium point, either , giving , or . Therefore
A positive endemic equilibrium exists exactly when .
For , put . Since ,
The last limit follows either by evaluating the exponential integral (with a term when ), or by splitting it into an early decaying part and a late part with uniformly small . Hence for every physical initial condition. Although immune numbers need not decrease monotonically initially, both infected and immune numbers tend to zero.
At the endemic equilibrium, the Jacobian matrix of the subsystem is
A disturbance proportional to therefore obeys
Both coefficients are positive. Real roots have negative sum and positive product; complex conjugate roots have real part . Thus the endemic equilibrium is asymptotically stable by linear stability analysis.
A fraction of adults survives each time step; is the adult mortality fraction. Adults produce larvae, which mature one step later with recruitment reduced by adult-dependent competition through . Eliminating larvae gives the second-order difference equation
At an equilibrium point, either or
Only nonnegative populations are admissible. At extinction the Jacobian matrix is and its characteristic polynomial is . Its positive root exceeds exactly when . For both roots have modulus less than ; at the roots are , so linearization is marginal. On the nonnegative state space extinction is still attracting at this equality: if two consecutive adult values are bounded by , the next is at most , with strict decrease away from zero; the maximum of two consecutive adult values strictly decreases after two steps whenever it is positive; continuity on its bounded state region then excludes a positive limiting maximum. Thus the extinction equilibrium point is unstable exactly when the positive equilibrium point exists, with equality understood through nonlinear rather than strict linear stability.
At the positive equilibrium point, the trace and determinant of the Jacobian matrix are and . The Jury stability criterion for requires , and . The strict linear stability analysis conditions are
For there is no upper bound on ; for the stable region is .
Figure 1.
Stability regions and equilibrium branches
. Details.
At the lower boundary , the positive equilibrium point merges with extinction, with a multiplier and slow recovery. At the upper boundary a multiplier reaches (the other is ), giving alternating adult/larval fluctuations. The nonlinear map confirms a supercritical period-doubling bifurcation, as follows. For , put and . A nonconstant period-two adult sequence satisfies and . Subtracting and adding these equations gives
Thus positive unequal values emerge for , with amplitude proportional to . The two larval phases are . If are the trace and determinant of the two-step Jacobian matrix, direct multiplication gives
At onset and , so the other two strict Jury stability criterion inequalities hold for sufficiently small positive . Hence just beyond the upper boundary, a stable period-two population cycle replaces the stable equilibrium. This is a local conclusion, not stability for arbitrarily large reproduction rates.
At the upper boundary itself, the positive equilibrium point is still locally asymptotically stable, despite its multiplier . To decide this equality case, apply the centre manifold theorem for a discrete dynamical system. Put and write the centre graph as with . If the reduced map is , its invariance equation is . Expanding the original recruitment map and this equation through cubic order gives
Consequently . The stability at a nondegenerate flip bifurcation criterion shows algebraic attraction on the centre direction; the transverse multiplier has modulus less than one. Including this boundary, the complete local asymptotic-stability condition for a positive population is therefore
The shaded figure shows the strict linear-stability region; its upper boundary adds this nonhyperbolic attracting case.
Demographic stochasticity near the lower boundary can lead to absorption at extinction; near the upper boundary it excites alternating fluctuations and can blur the deterministic period-doubling bifurcation. These qualitative predictions depend on the chosen stochastic recruitment and mortality rules.
For each adjacent pair, the detailed balance equations follows directly:
For nonadjacent distinct states both fluxes vanish, and diagonal fluxes agree trivially. Since , this is a genuine stationary distribution, rather than merely an invariant measure of infinite mass.
Every upward and downward transition probability between neighbouring states is positive for . Any two states can therefore be joined by a finite path of positive probability: the Markov chain is irreducible. Moreover,
State zero has period one; Markov chain irreducibility makes every state aperiodic. Finally, the standard countable-state recurrence theorem states that an irreducible Markov chain admitting a stationary distribution of total mass one is positive recurrent, with that stationary distribution unique. The countable-state Markov chain convergence theorem then states that Markov chain irreducibility, positive recurrence and aperiodicity imply for all states . The hypotheses just verified hold on the infinite state space , not merely on a numerical truncation.[ref]
Consequently, the unique stationary distribution and the limiting distribution are both , from every initial state. The countable-state Markov chain ergodic theorem also gives almost surely whenever .[ref]
The state space is . Write . The nonzero transition probabilities are
The stationary equations give and for . Normalization gives , so
The remaining equation is satisfied, confirming stationarity.
The chain is irreducible: every positive state can jump to zero, and zero can reach every state through consecutive immigration steps. A stationary probability distribution makes it positive recurrent. Returns to zero can have lengths two and three with positive probability, so it is also aperiodic. The Markov-chain ergodic theorem now gives the almost-sure long-run time proportion for as the stationary tail:
This time-average conclusion applies to the specified start at zero.
A time-homogeneous Markov chain on a countable state space is a sequence of -valued random variables for which, for every positive-probability finite history,
Thus the conditional next-step law depends only on the current state, and the transition probabilities do not depend on time.
The state space is , with initial state . With rows indexed by the current state and columns by the next state, the transition matrix is
The state strictly decreases at each step until absorption at .