News for hackers. Stuff that matters.
Re:The strange non-transitivity of random variables (2014) by danharaj on Saturday December 19, 2015 @09:33PM (#10765811)
> Examples of binary relations are binary operations (like +,–,⋅,/) on N,Z,Q,R,C,Rn, … etc. (where defined), since functions are special cases of relations, or, the order relations <,≤,>,≥ on R, for instance.

A function of two variables is a ternary relation, not a binary relation. /pedant

Re:The strange non-transitivity of random variables (2014) by x3n0ph3n3 on Saturday December 19, 2015 @09:46PM (#10765836)
Last I checked, binary implies 2 and ternary implies 3. There are 2 inputs, therefore it's a binary relation or operator.
Re:The strange non-transitivity of random variables (2014) by danharaj on Saturday December 19, 2015 @09:53PM (#10765860)
Idk what to tell you other than that you should check the definitions. A unary function is a special case of a binary relation and in general an n-ary function is a special case of a n+1-ary relation.

Edit - Maybe this clarifies it: When we talk about a function we designate one of its variables as the 'output' and talk about its arity in terms of the inputs. When we talk about a relation there is no distinguished output: A relation is a fully symmetrical definition. That's why the arity of a function is one less than the arity of that same function thought of as a relation between its inputs and output.

Re:The strange non-transitivity of random variables (2014) by dietrichepp on Saturday December 19, 2015 @09:49PM (#10765845)
This is completely incorrect. There are two inputs and one output, e.g., ℝ⨯ℝ→ℝ. Since there are two inputs, it's a binary operator. Since there are three inputs and outputs combined, it's a ternary relation.

Likewise, a unary operator is a binary relation. For example, x ↦ -x, or x ↦ x+1.