@AlaaAL,
AlaaAL wrote:
describe function mins that takes a non-empty of natural numbers for its argument, and has the smallest natural number in the set for its value.
Define the set function "min (S)" recursively as follows using the binary function "min(x, y)" from my earier post that takes two integers as arguments:
(I) if S has one element y, let min (S) = y;
(II) otherwise, if S is finite choose some x in S, and let min (S) = min (x, min (S - {x}));
(III) otherwise, S is infinite, so choose some x in S and let min (S) = min ({ y in S such that y <= x}).