Skip to main navigation Skip to search Skip to main content

Functional pearl: Folding polynomials of polynomials

  • Chen Mou Cheng*
  • , Ruey Lin Hsu
  • , Shin Cheng Mu
  • *Corresponding author for this work
  • National Taiwan University
  • National Central University
  • Academia Sinica Taiwan HQ

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Polynomials are a central concept to many branches in mathematics and computer science. In particular, manipulation of polynomial expressions can be used to model a wide variety of computation. In this paper, we consider a simple recursive construction of multivariate polynomials over a base ring such as the integers or a (finite) field. We show that this construction allows inductive implementation of polynomial operations such as arithmetic, evaluation, substitution, etc. Furthermore, we can transform a polynomial expression into in a sequence of arithmetic expressions in the base ring and prove the correctness of this transformation in Agda. Combined with our recursive construction, this allows for compiling polynomial expressions over a tower of extension fields into scalar expressions over the ground field, for example. Such a technique is not only interesting in its own right but also finds plentiful application in research areas such as cryptography.

Original languageEnglish
Title of host publicationFunctional and Logic Programming - 14th International Symposium, FLOPS 2018, Proceedings
EditorsJohn P. Gallagher, Martin Sulzmann, John P. Gallagher
PublisherSpringer Verlag
Pages68-83
Number of pages16
ISBN (Print)9783319906850
DOIs
StatePublished - 2018
Externally publishedYes
Event14th International Symposium on Functional and Logic Programming, FLOPS 2018 - Nagoya, Japan
Duration: 09 05 201811 05 2018

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10818 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference14th International Symposium on Functional and Logic Programming, FLOPS 2018
Country/TerritoryJapan
CityNagoya
Period09/05/1811/05/18

Bibliographical note

Publisher Copyright:
© 2018, Springer International Publishing AG, part of Springer Nature.

Fingerprint

Dive into the research topics of 'Functional pearl: Folding polynomials of polynomials'. Together they form a unique fingerprint.

Cite this