math_spec.exclusivity
Can two of a named expression's cases claim one coordinate? Decided without data.
Each when is read over cells: regions of one subject's value on which every
atom is constant. The cells of the pair's subjects are multiplied out, both
masks are evaluated on each, and a cell where both hold is a witness.
Independence between subjects over-approximates, so it can manufacture a
witness but never hide one. The rule itself is stated in
docs/reference/language/expressions.md.
CELL_BUDGET = 8192
module-attribute
#
Cell = float | str | bool | int | datetime.date | Special
module-attribute
#
Special
#
Subject(kind, name, qualifier=None)
dataclass
#
What an atom talks about — the key its cells are built for.
kind separates the namespaces that could otherwise collide: a
dimension's coordinates and its rank are two subjects over one name, and
a rank is further split by the by= lookup it is counted within.
overlapping(cases, dtypes)
#
One refusal per pair of cases that could both claim a coordinate.
| PARAMETER | DESCRIPTION |
|---|---|
cases
|
The |
dtypes
|
The declared dtype of every name a mask compares against.
TYPE:
|
| YIELDS | DESCRIPTION |
|---|---|
str
|
A sentence per pair, naming both cases and either a coordinate they |
str
|
both claim or what stopped the pair being decided. Empty where every |
str
|
pair is proved apart. |