Residual operators

Residual operators are used when "material implication" is involved.

  • right residual : a (r\s) b  x:x r ax s ba\ (r\backslash s)\ b\ \Leftrightarrow\ \forall x: x\ r\ a\rightarrow x\ s\ b . In other words: (a,b)(a,b) is in the right residual of rr and ss means that for every xx, pair (x,a)(x,a) is in relation rr implies that pair (x,b)(x,b) is in ss.

  • left residual : a (s/r) b  x:b r xa s xa\ (s/r)\ b\ \Leftrightarrow\ \forall x: b\ r\ x\rightarrow a\ s\ x . In words: (a,b)(a,b) is in the left residual of ss and rr

    means that for every xx pair(b,x)(b,x) is in relation rr implies that pair (a,x)(a,x) is in ss.

  • diamond: a(rs)b  x:a r x = x s ba (r♢s) b\ \Leftrightarrow\ \forall x: a\ r\ x\ =\ x\ s\ b. In words: For every xx, both a r xa\ r\ x and x s bx\ s\ b are true or both are false.

How to type boolean operators in your script

This page shows how you can type boolean (and other) operators in your Ampersand script.

Other explanation

Would you like a different explanation of the residual operators? This page explains them in natural language. Click here for visualized examples about residual operators.

Last updated