Definition:Substitution (Mathematical Logic)
It has been suggested that this page be renamed. To discuss this page in more detail, feel free to use the talk page. |
This page has been identified as a candidate for refactoring of medium complexity. In particular: Reconsider approach, ideally based on source work(s) Until this has been finished, please leave {{Refactor}} in the code.
New contributors: Refactoring is a task which is expected to be undertaken by experienced editors only. Because of the underlying complexity of the work needed, it is recommended that you do not embark on a refactoring task until you have become familiar with the structural nature of pages of $\mathsf{Pr} \infty \mathsf{fWiki}$.To discuss this page in more detail, feel free to use the talk page. When this work has been completed, you may remove this instance of {{Refactor}} from the code. |
Definition
Mapping
Let $S$ be a set.
Let $f: S^t \to S$ be a mapping.
Let $\set {g_1: S^k \to S, g_2: S^k \to S, \ldots, g_t: S^k \to S}$ be a set of mappings.
Let the mapping $h: S^k \to S$ be defined as:
- $\map h {s_1, s_2, \ldots, s_k} = \map f {\map {g_1} {s_1, s_2, \ldots, s_k}, \map {g_2} {s_1, s_2, \ldots, s_k}, \ldots, \map {g_t} {s_1, s_2, \ldots, s_k} }$
Then $h$ is said to be obtained from $f, g_1, g_2, \ldots, g_k$ by substitution.
The definition can be generalized in the following ways:
- It can apply to mappings which operate on variously different sets.
- Each of $g_1, g_2, \ldots, g_t$ may have different arities. If $g$ is a mapping of $m$ variables where $m > k$, we can always consider it a mapping of $k$ variables in which the additional variables play no part. So if $g_i$ is a mapping of $k_i$ variables, we can take $k = \max \set {k_i: i = 1, 2, \ldots, t}$ and then each $g_i$ is then a mapping of $k$ variables.
Partial Function
Let $f: \N^t \to \N$ be a partial function.
Let $\set {g_1: \N^k \to \N, g_2: \N^k \to \N, \ldots, g_t: \N^k \to \N}$ be a set of partial functions.
Let the partial function $h: \N^k \to \N$ be defined as:
- $\map h {n_1, n_2, \ldots, n_k} \approx \map f {\map {g_1} {n_1, n_2, \ldots, n_k}, \map {g_2} {n_1, n_2, \ldots, n_k}, \ldots, \map {g_t} {n_1, n_2, \ldots, n_k} }$
where $\approx$ is as defined in Partial Function Equality.
Then $h$ is said to be obtained from $f, g_1, g_2, \ldots, g_k$ by substitution.
Note that $\map h {n_1, n_2, \ldots, n_k}$ is defined only when:
- All of $\map {g_1} {n_1, n_2, \ldots, n_k}, \map {g_2} {n_1, n_2, \ldots, n_k}, \ldots, \map {g_t} {n_1, n_2, \ldots, n_k}$ are defined
- $\map f {\map {g_1} {n_1, n_2, \ldots, n_k}, \map {g_2} {n_1, n_2, \ldots, n_k}, \ldots, \map {g_t} {n_1, n_2, \ldots, n_k} }$ is defined.
Sources
There are no source works cited for this page. Source citations are highly desirable, and mandatory for all definition pages. Definition pages whose content is wholly or partly unsourced are in danger of having such content deleted. To discuss this page in more detail, feel free to use the talk page. |