The Sun provides the Earth with enormous amounts of syntropy (this is the inverse of entropy), and we can capture this through productive labor before it inevitably dissipates off into space.
As a toy example, it is certainly mathematically possible for everyone to grow more calories than they consume. We wouldn't want this, for the obvious reason that we don't need more calories than we consume, and this would be labor-intensive enough to leave many useful tasks unfilled.
But it proves you wrong: there's nothing preventing "give more than you receive" from being a categorical imperative. Certainly nothing "mathematical".