Lemma 3 (as proved): a single optimal decision in every possible context
ProvedRobustAgentsCausal.single_optimal_decisionFix a DAG on the chance variables (each with values), a finite nonempty decision set, decision parents , utility parents and , and a local intervention . Then for Lebesgue-almost every parameter with valid, the following holds. For every context with there is exactly one decision maximising
where . Hence the optimal policy in is deterministic and unique on every context of positive probability.
Formalization Note The paper states that there is a single deterministic optimal policy. That claim fails whenever gives some context probability , for example a hard intervention on a variable of , since any decision is then optimal in that context. The proof establishes uniqueness on contexts of positive probability, which is what is stated.
import Mathlib import Definitions.Def_RobustAgentsCausal_Basic open MeasureTheory
namespace RobustAgentsCausal
theorem single_optimal_decision {ι : Type*} [Fintype ι] [DecidableEq ι] (k : ι → ℕ)
(hk : ∀ i, 0 < k i) {A : Type*} [Fintype A] [DecidableEq A] [Nonempty A]
(pa : ι → Finset ι) (hpa : IsAcyclic pa) (paD paU : Finset ι) (f : LocalInt k) :
∀ᵐ θ : CPDParam k pa × UParam k A paU, ValidParam pa θ.1 →
∀ c₀ : Cfg k, 0 < ctxProb (localJoint (cpdOf pa θ.1) f) paD c₀ →
∃! d : A, ∀ d' : A,
ctxUtil (localJoint (cpdOf pa θ.1) f) (utilOf paU θ.2) paD c₀ d' ≤
ctxUtil (localJoint (cpdOf pa θ.1) f) (utilOf paU θ.2) paD c₀ d := by sorry
end RobustAgentsCausalRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- There is a finite index set of chance variables . It may be empty.
- Each takes values in , and it is assumed that for every .
- A joint state assigns to every a value .
- There is a finite, nonempty set of decisions.
- Each has a parent set . These parent sets are assumed acyclic: no variable is a proper ancestor of itself, where is a parent of when .
- There are two further arbitrary subsets . Nothing relates them to each other or to the graph. They may be empty, may overlap, and may contain any variables.
- There is a fixed local intervention : for each , an arbitrary map .
Parameters. The parameter ranges over a finite-dimensional real space.
- assigns a real number to each variable , each configuration of the parents , and each non-final value . When there are no such coordinates for .
- assigns a real number to each decision and each configuration of the variables in .
The space carries Lebesgue measure: the product measure on all these real coordinates, with unconstrained.
is called valid if, for every and every parent configuration , all and .
Derived quantities. From one defines conditional probabilities
The intervened joint weight is then
Here the parent values are read from the same state . An empty inner sum gives a factor of .
The utility is .
For a joint state write when for all . Define
The second quantity is an unnormalised sum and is not divided by . If , every satisfies , so both sums run over all joint states.
Claim. Fix . Then for Lebesgue-almost every parameter pair the following holds:
- if is valid,
- then for every joint state with ,
- there is exactly one decision such that for all .
In other words, has a unique maximiser.
Scope of the claim.
- The exceptional null set may depend on all of the fixed data, including , and . It is the same for all .
- For invalid the statement holds vacuously.
- The statement says nothing about the parameters in the exceptional null set.
- When the conclusion is automatic.
- The acyclicity hypothesis appears only as an assumption; the conclusion does not mention it.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.