eval / Eval_(A,ρ) \(\mathsf{eval} \; / \; \mathsf{Eval}_{(A,\rho)}\) — Composite Code Evaluation Operator (Eval_(A,ρ)(c) = Val_ρ(μ_A(Dec_A(c))))
Composes syntactic decoding Dec_A : Class → A.Expression, type-indexed expression translation μ_A : A.Expression → Class.Expression, and semantic valuation Val_ρ : Class.Expression → Class.
| Field | Mathematical & Kernel Specification (MKTD1 / MKTD2) |
|---|---|
| Symbol |
eval / Eval_(A,ρ)
\(\mathsf{eval} \; / \; \mathsf{Eval}_{(A,\rho)}\)
|
| Category | Embedding & Interpretation |
| SML AST Constructor | Kernel AST Symbol / Sort Constructor in typetheory.ML (Class_p / Truth_p / EXP / UCol) |
| Constructor Arguments | Typed arguments as specified by the Signature / Sort field above |
| Metatype / Signature | Class → Class (or Class → Bool for Fm codes) |
| Binder Status | See Category & Signature above |
| Defining Kernel Entries (ML Labels) | See Related Symbols & Kernel Entries below. |
| LaTeX Form | \mathsf{eval} \; / \; \mathsf{Eval}_{(A,\rho)} |
| How to Understand It | How to Understand With the type-indexed translation
|
| Canonical Law / Usage | Eval_(A,ρ)(Enc_A(e)) = Val_ρ(μ_A(e)) |
| Related Symbols & Kernel Entries |