Entropy conservation for comparison-based algorithms

11/14/2020
by   Michel Schellekens, et al.
0

Comparison-based algorithms are algorithms for which the execution of each operation is solely based on the outcome of a series of comparisons between elements. Comparison-based computations can be naturally represented via the following computational model: (a) model data structures as partially-ordered finite sets; (b) model data on these by topological sorts; (c) considering computation states as finite multisets of such data; (d) represent computations by their induced transformations on states. In this view, an abstract specification of a sorting algorithm has input state given by any possible permutation of a finite set of elements (represented, according to (a) and (b), by a discrete partially-ordered set together with its topological sorts given by all permutations) and output state a sorted list of elements (represented, again according to (a) and (b), by a linearly-ordered finite set with its unique topological sort). Entropy is a measure of "randomness" or "disorder." Based on the computational model, we introduce an entropy conservation result for comparison-based algorithms: "quantitative order gained is proportional to positional order lost." Intuitively, the result bears some relation to the messy office argument advocating a chaotic office where nothing is in the right place yet each item's place is known to the owner, over the case where each item is stored in the right order and yet the owner can no longer locate the items. Formally, we generalize the result to the class of data structures representable via series-parallel partial orders–a well-known computationally tractable class. The resulting "denotational" version of entropy conservation will be extended in follow-up work to an "operational" version for a core part of our computational model.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/30/2021

Induced betweenness in order-theoretic trees

The ternary relation B(x,y,z) of betweenness states that an element y is...
research
06/04/2021

On (co-lex) Ordering Automata

The states of a deterministic finite automaton A can be identified with ...
research
12/20/2017

Sheaf-Theoretic Stratification Learning

In this paper, we investigate a sheaf-theoretic interpretation of strati...
research
10/09/2018

Alignments as Compositional Structures

Alignments, i.e., position-wise comparisons of two or more strings or or...
research
02/18/2019

Information-theoretic lower bounds for quantum sorting

We analyze the quantum query complexity of sorting under partial informa...
research
10/11/2021

Peformance Prediction for Coarse-Grained Locking: MCS Case

A standard design pattern found in many concurrent data structures, such...
research
04/25/2019

Performance Prediction for Coarse-Grained Locking

A standard design pattern found in many concurrent data structures, such...

Please sign up or login with your details

Forgot password? Click here to reset