# `ReductionBounds.RpcConditions`
[🔗](https://github.com/zacky1972/reduction_bounds/blob/v0.1.0/lib/reduction_bounds/rpc_conditions.ex#L1)

Connects a supplied RPC trace to a checked client mailbox timeline.

Timeline entries are `{:protocol, name}`, `{:arrive, reified_term}`,
`:begin_receive`, `:inspect`, and `:timeout`. Receive/timeout/down observations
are derived from mailbox execution, never accepted as free annotations.
The coarse RPC arrival observation is emitted when the message is selected;
physical modeled arrivals are recorded separately by mailbox actions.

A single RPC receive is supported; retries remain zero. After client return,
arrivals may append without reviving the operation. Generic `Mailbox` traces
additionally support repeated receives. Conditions hold for this supplied
execution; future arrival/count bounds remain explicit assumptions, not an
inferred guarantee about all runtime executions. Server mailbox behavior,
reply provenance, source correspondence, cost and progress remain unverified.

# `check_trace`

```elixir
@spec check_trace(map(), list(), list()) :: {:ok, map()} | {:error, term()}
```

# `new`

```elixir
@spec new(
  ReductionBounds.RpcProtocol.Session.t(),
  ReductionBounds.RpcTerm.t(),
  keyword()
) ::
  {:ok, map()} | {:error, term()}
```

# `validate`

```elixir
@spec validate(term()) :: :ok | {:error, term()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
