Enc \(\mathsf{Enc}\) — Syntactic Encoding Operator (AST → Class Code)
Injectively encodes any syntactic expression, formula, context, or proof tree into a first-order set/class code in MKTD1 / MKTD2.
| Field | Mathematical & Kernel Specification (MKTD1 / MKTD2) |
|---|---|
| Symbol |
Enc
\(\mathsf{Enc}\)
|
| Category | Encoding, Decoding & Reflection |
| SML AST Constructor | HC (CpEnc of (UCol * 'a)) [in datatype Class_p, typetheory.ML:574] |
| Constructor Arguments | 1. Syntactic sort A.Expression; 2. Syntactic term u : A.Expression |
| Metatype / Signature | Expression → Class (and Fm → Class, Prf → Class) |
| Binder Status | No — Primitive Metatheoretic Functional Symbol (Gödel-Dunaev Encoding) |
| Defining Kernel Entries (ML Labels) | See Related Symbols & Kernel Entries below. |
| LaTeX Form | \mathsf{Enc} |
| How to Understand It | How to Understand In Dunaev's refinement of Morse-Kelley + Tarski (MKTD1 and MKTD2), syntax is reflected directly inside the universe of classes rather than only in natural numbers via ad-hoc prime powers.
|
| Canonical Law / Usage | ∀(e:Expression). (Dec(Enc(e)) = e) |
| Related Symbols & Kernel Entries |