Proof-indexed total operations #
Total1, Total2, and Total3 describe operations whose semantics cover every encoded input,
including exceptional numerical values. This file supplies the uniform ways to apply those
contracts either to raw codes or to proof-indexed values.
The helpers are intentionally regular across arities. Generic automation can expose a denotation, rewrite it to an independently stated result, or run the same executable function while retaining its semantic index. Format families therefore do not need local copies of these proof bridges.
Apply a total unary refinement to a concrete input.
Apply a total unary refinement while leaving the displayed result independent of the contract's chosen specification. This is the stable shape used by generic automation.
Apply a total unary refinement to a proof-indexed complete value.
Instances For
Apply a total two-input refinement to concrete inputs.
Apply a total two-input refinement with an independently stated result.
Apply a total two-input refinement to proof-indexed complete values.
Instances For
Apply a total three-input refinement to concrete inputs.
Apply a total three-input refinement with an independently stated result.
Apply a total three-input refinement to proof-indexed complete values.