Skip to main content

Arithmetic Coding with Folds and Unfolds

  • Chapter
Advanced Functional Programming (AFP 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2638))

Included in the following conference series:

Abstract

Arithmetic coding is a method for data compression. Although the idea was developed in the 1970’s, it wasn’t until the publication of an “accessible implementation” that it achieved the popularity it has today. Over the past ten years arithmetic coding has been refined and its advantages and disadvantages over rival compression schemes, particularly Huffman and Shannon-Fano coding, have been elucidated. Arithmetic coding produces a theoretically optimal compression under much weaker assumptions than Huffman and Shannon-Fano, and can compress within one bit of the limit imposed by Shannon’s Noiseless Coding Theorem. Additionally, arithmetic coding is well suited to adaptive coding schemes, both character and word based. For recent perspectives on the subject.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Haskell 98: A Non-Strict, Purely Functional Language. Available online at http://www.haskell.org/onlinereport

  2. Standard Libraries for Haskell 98. Available online at http://www.haskell.org/onlinelibrary

  3. Bird, R.S.: Introduction to Functional Programming using Haskell. International Series in Computer Science. Prentice Hall, Englewood Cliffs (1998)

    Google Scholar 

  4. Bird, R.S., de Moor, O.: Algebra of Programming. International Series in Computer Science. Prentice Hall, Englewood Cliffs (1997)

    MATH  Google Scholar 

  5. Fano, R.M.: Transmission of Information. MIT Press, Cambridge. Wiley, New York (1961)

    Google Scholar 

  6. Gibbons, J.: Origami programming. In: Gibbons, J., de Moor, O. (eds.) The Fun of Programming, Palgrave (2003)

    Google Scholar 

  7. Gibbons, J.: The Third Homomorphism Theorem. J. Functional Prog. 6(4), 657–665 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  8. Howard, P.G., Vitter, J.S.: Arithmetic coding for data compression. Proc. IEEE 82(6), 857–865 (1994)

    Article  Google Scholar 

  9. Huffman, D.A.: A method for the construction of minimum-redundancy codes. Proc. Inst. Radio Eng. 40(9), 1098–1101 (1952)

    Google Scholar 

  10. Jiang, J.: Novel design of arithmetic coding for data compression. IEE Proc. Comput. Dig. Tech. 142(6), 419–424 (1995)

    Article  Google Scholar 

  11. Meijer, E., Fokkinga, M., Paterson, R.: Functional programming with bananas, lenses, envelopes and barbed wire. In: Hughes, J. (ed.) FPCA 1991. LNCS, vol. 523, pp. 124–144. Springer, Heidelberg (1991)

    Google Scholar 

  12. Moffat, A., Neal, R.M., Witten, I.H.: Arithmetic coding revisited. ACM Trans. on Inf. Systems 16(3), 256–294 (1998)

    Article  Google Scholar 

  13. Shannon, C.E.: A mathematical theory of communication. Bell Syst. Tech. J. 27, 79–423 (1948)

    MathSciNet  Google Scholar 

  14. Witten, I.H., Neal, R.M., Cleary, J.G.: Arithmetic coding for data compression. C. ACM 30(6), 520–540 (1987)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Bird, R., Gibbons, J. (2003). Arithmetic Coding with Folds and Unfolds. In: Jeuring, J., Jones, S.L.P. (eds) Advanced Functional Programming. AFP 2002. Lecture Notes in Computer Science, vol 2638. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-44833-4_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-44833-4_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40132-2

  • Online ISBN: 978-3-540-44833-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics