Ranking and Unranking of Hereditarily Finite Functions and Permutations

Computer Science – Logic in Computer Science

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

unpublished draft

Scientific paper

Prolog's ability to return multiple answers on backtracking provides an elegant mechanism to derive reversible encodings of combinatorial objects as Natural Numbers i.e. {\em ranking} and {\em unranking} functions. Starting from a generalization of Ackerman's encoding of Hereditarily Finite Sets with Urelements and a novel tupling/untupling operation, we derive encodings for Finite Functions and use them as building blocks for an executable theory of {\em Hereditarily Finite Functions}. The more difficult problem of {\em ranking} and {\em unranking} {\em Hereditarily Finite Permutations} is then tackled using Lehmer codes and factoradics. The paper is organized as a self-contained literate Prolog program available at \url{http://logic.csci.unt.edu/tarau/research/2008/pHFF.zip}

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Ranking and Unranking of Hereditarily Finite Functions and Permutations does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Ranking and Unranking of Hereditarily Finite Functions and Permutations, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Ranking and Unranking of Hereditarily Finite Functions and Permutations will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-549725

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.