In mathematics, Kleene equality,[1] or strong equality, (\simeq) is an equality operator on partial functions, that states that on a given argument either both functions are undefined, or both are defined and their values on that arguments are equal.
For example, if we have partial functions f and g, f \simeq g means that for every x:[2]
f(x)andg(x)are both defined andf(x) = g(x)- or
f(x)andg(x)are both undefined.
Some authors[3] are using "quasi-equality", which is defined like this:
(y_1 \sim y_2):\Leftrightarrow((y_1\downarrow \lor y_2\downarrow)\longrightarrow y_1=y_2),
where the down arrow means that the term on the left side of it is defined.
Then it becomes possible to define the strong equality in the following way:
(f \simeq g):\Leftrightarrow (\forall x. (f(x)\sim g(x))).
References
- ^ "Kleene equality in nLab". ncatlab.org
- ^ Cutland 1980, p. 3.
- ^ Farmer, William M. & Guttman, Joshua D. (2000). "A Set Theory with Support for Partial Functions". Studia Logica. 66 (1): 59–78. JSTOR 20016214
- Cutland, Nigel (1980). Computability, an introduction to recursive function theory. Cambridge University Press. p. 251. ISBN 978-0-521-29465-2.