I find proofs like this weird. I can never quite understand what it means to say anything beyond: "whichever of {a,b,c} is the smallest is the answer to both sides". Who is this audience for which all this extra ink carries extra meaning? What additional insight can you have possibly communicated to them?
What would Dijkstra do? Proving the associativity of min
31–32 of 32 posts
Re: What would Dijkstra do? Proving the associativity of min
#32Earlier quoted context omitted.
Similar? In my opinion this is much faster, easier, and less burdened by notation.
It's certainly a nice solution, but OP's solution has the nice property of working directly on a universality definition, which makes the argument more general. For example, the universality argument also works for the infimum and gcd operations.
I've been thinking about this and I don't see how the argument can possibly work for the infimum operation. The problem is that infimum is necessarily a unary operation -- it doesn't make any sense to consider it to have multiple arguments.
Consider the open interval (1,2). The infimum is 1. But 1 is not contained in the interval. And because 1 is not contained within the interval, _if_ infimum were a binary operation, we could not apply it to the interval and get 1. Binary infimum is the same operation as binary min, and while the infimum of (1,2) is 1, the minimum value of (1,2) does not exist.
We can actually use this to do a much more direct proof of the associativity of binary min: binary min is the same thing as unary min (min as applied to a single set of arguments rather than two scalar arguments), and unary min cannot fail to be associative because it has only one argument. Repeated binary mins do nothing more than apply unary min to the set of individual arguments.