Lemma 1: probabilities of incompatible goals add
ProvedGeneralAgentsPO.lemma1_incompatible_goals_addLet be a finite cMDP and let be incompatible goals: no history satisfies both. Then for every policy and every state ,
and consequently, for every ,
This additivity is what turns success probabilities of single goals into binomial probabilities for the disjunctions , and .
Formalization Note The disjunction of two goals (each a list of sequential goals) is the concatenation of the two lists, and is a supremum over all stochastic history-dependent policies.
import Mathlib import Definitions.Def_GeneralAgentsPO_Basic open GeneralAgentsWorldModels
namespace GeneralAgentsPO
theorem lemma1_incompatible_goals_add {S A : Type*} [Fintype S] [Fintype A]
(M : CMP S A) (φ₁ φ₂ : CompGoal S A) (h : IsIncompatible φ₁ φ₂) :
(∀ (π : StochPolicy S A) (s : S),
goalProb M π (φ₁ ++ φ₂) s = goalProb M π φ₁ s + goalProb M π φ₂ s) ∧
∀ s : S, optValue M (φ₁ ++ φ₂) s ≤ optValue M φ₁ s + optValue M φ₂ s := by sorry
end GeneralAgentsPORead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, (states) and (actions) are arbitrary finite types; either may be empty. is a controlled Markov process on and , with transition probabilities . No further assumption is made on ; in particular it need not be communicating. The notions of goal, satisfaction and "finite prefix decides" come from an imported definitions file that is not reproduced here. They are described below as that file's names and docstrings indicate.
Goals. A general goal is a finite list of sequential goals , read as the disjunction . For two goals, is the list concatenation: the disjunction of all disjuncts of followed by all disjuncts of . The empty list (empty disjunction) is allowed.
Incompatibility. The hypothesis is that and are incompatible: for every infinite history , if satisfies then does not satisfy . Here satisfaction is the semantic relation from the imported file. The hypothesis holds automatically if either goal is never satisfied, for example the empty disjunction.
Policies. A policy is stochastic and history-dependent. Given a finite list of past pairs and a current state , it assigns to each action a number , and these numbers sum to over . If is empty, no policy exists.
Prefix probability. For and a sequence of state–action pairs, the prefix probability from start state is
where is the history . When the indicator and both products are .
Goal probability. The quantity is the sum of over those length- sequences that decide the goal . "Decide" is the imported finite-prefix test: every history with prefix satisfies . The goal probability is then
taken as a real supremum. By the formal convention, a real supremum of a family that is not bounded above is .
Optimal value. The optimal value is
a real supremum over all stochastic history-dependent policies. By the same convention, it equals if there are no policies (for example when is empty) or if the family is unbounded.
Conclusion. Under the incompatibility hypothesis, both of the following hold:
- For every policy and every start state , the probability is exactly additive:
- For every , the optimal values satisfy a non-strict inequality:
Two features of the statement.
- The hypothesis is phrased through semantic satisfaction on infinite histories. The probabilities, by contrast, are defined through the finite-prefix "decides" test.
- If is empty, both conjuncts hold vacuously. If is empty, the first conjunct is vacuous and the second reads .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.