For a while, I thought you just needed a map for the monoid, and then the reduction will decrease according to the monoid multiplication.
Firstly, itβs not exactly how the monoids work, and secondly, itβs not exactly how the map / reduction actually works.
Namely, take the ubiquitous βscoreβ. If there is nothing to count, any map / reduce engine will return an empty data set, not a neutral element. Bummer.
In addition, in a monoid, an operation is defined for two elements. We can easily extend it to finite sequences or, due to associativity, to finite ordered sets. But there is no way to extend it to arbitrary "collections" if we do not have & sigma; -algebra .
So what is a theory? I tried to figure it out, but I could not; and I tried to find Google, but did not find anything.
source share