Inspecting proof-carrying capabilities and backend plans #
Capability inspection reads the instances used by execution. It reports which universal operations exist, the candidate selected by each capability, and the planner decisions behind that selection. The selected candidate comes from the capability; diagnostic assessments rerun the shared selector on that capability's candidate estimates and policy.
Inspect the explicit conversion capabilities installed for one user-facing value type.
Source decoding, destination quantization, and a default context are inspected independently. A source-only family can supply operands to casts or mixed arithmetic; a destination without a default context requires an explicit context.
Instances For
Attach synthesized conversion capabilities to a family-authored format profile.
Instances For
Recover the configured family encoded by an ExecFloat value type.
The check recognizes a Subtype predicate of the form fun _ => ExecFloatTag family.
It recovers the tag without checking that the underlying carrier is the code type of family.
Instances For
Recover an ExecFloat family only when it is an application of the expected declaration and
arity. The returned argument array is safe to index below arity.
Instances For
Synthesize the actual encoded-format, policy, and arithmetic capability dictionaries.
The result is proof-backed availability, not a declaration-name or storage-width heuristic.
Instances For
Inspect all six universal operation capabilities for one exact configured family.
Instances For
Reduce one projection from a closed expression.
Format-specific #float_info elaborators use this helper to inspect embedded descriptors without
duplicating projection construction or transparency policy.
Instances For
Read a closed two-constructor projection as a Boolean report field.
The caller supplies the constructors that mean true and false; inspection compares declaration
identities directly and never relies on printed names or constructor order.
Instances For
Read a closed natural-number expression after reduction.
Family-specific #float_info elaborators use this helper for static widths, radix bases, and
scale parameters. Keeping the reduction and diagnostic policy here prevents each representation
family from maintaining a slightly different copy.
Instances For
Read a natural-number-valued projection from a closed expression.
The description identifies the embedded descriptor or plan in diagnostics, while the projection name identifies the exact field that failed to reduce.
Instances For
Evaluate one closed string expression.
Instances For
Inspect selected backends and all alternatives for every synthesized universal capability.
Families append these entries to their own representation- and semantics-specific execution profile. This keeps selection reporting uniform without imposing a common numerical model.