pith. sign in

arxiv: 1301.0129 · v1 · pith:TY4S5CQXnew · submitted 2013-01-01 · 💻 cs.MS · cs.DM· cs.PL

On Two Infinite Families of Pairing Bijections

classification 💻 cs.MS cs.DMcs.PL
keywords pairingbijectionsfunctionsdefineddistinctfamilieshaskellmechanism
0
0 comments X
read the original abstract

We describe two general mechanisms for producing pairing bijections (bijective functions defined from N x N to N). The first mechanism, using n-adic valuations results in parameterized algorithms generating a countable family of distinct pairing bijections. The second mechanism, using characteristic functions of subsets of N provides 2^N distinct pairing bijections. Mechanisms to combine such pairing functions and their application to generate families of permutations of N are also described. The paper uses a small subset of the functional language Haskell to provide type checked executable specifications of all the functions defined in a literate programming style. The self-contained Haskell code extracted from the paper is available at http://logic.cse.unt.edu/tarau/research/2012/infpair.hs .

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.