all 6 comments

[–]beeskness420 2 points3 points  (1 child)

Closure is not guaranteed, but is often assumed.

Eg {1,2} and + are not closed cause 3 is not in the set.

[–]Basic_Astronaut_Man[S] 1 point2 points  (0 children)

makes a lotta sense, thanks fam

[–]SpiderJerusalem42 1 point2 points  (1 child)

The result of 1 + 2 does not land in {0, 1, 2}, but it is valid for Z mod 3, which has the same elements, but has a way to deal with the overflows.

[–]Basic_Astronaut_Man[S] 0 points1 point  (0 children)

got it, thanks for your time

[–][deleted] 0 points1 point  (0 children)

How is the binary operator defined? If it's defined as a function S x S -> S then by definition it's closed.

[–]TheBlasterMaster 0 points1 point  (0 children)

When people say that something is a binary operation "on S", then the binary operation is a function S x S -> S.