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) and g(x) are both defined and f(x) = g(x)
  • or f(x) and g(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

  1. ^ "Kleene equality in nLab". ncatlab.org
  2. ^ Cutland 1980, p. 3.
  3. ^ Farmer, William M. & Guttman, Joshua D. (2000). "A Set Theory with Support for Partial Functions". Studia Logica. 66 (1): 59–78. JSTOR 20016214