GitXplorerGitXplorer
b

type-matrices

public
13 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
2682128efd755a7ea27386314a7eb3e63a6e6c2b

update to more informative README

bbyorgey committed 7 years ago
Verified
9440ef95e770cb3958f818f6e8f7734c8bb7ba60

Merge pull request #1 from snowleopard/patch-1

bbyorgey committed 7 years ago
Verified
d82fc3c718cad13dcd2124961429b883af32f14a

Fix typo

ssnowleopard committed 7 years ago
Unverified
842408496150f64d104027943ec94bb3d74280d9

final MPC slides --- with feedback from Nick Wu

bbyorgey committed 10 years ago
Unverified
d658d85320850baf5dfcacfc14869b1a17835079

finished draft of MPC talk slides

bbyorgey committed 10 years ago
Unverified
81d3d41c34744e7de14a9a11e2819f0f8cb33c27

work on MPC talk

bbyorgey committed 10 years ago

README

The README file for this repository.

Polynomial Functors Constrained by Regular Expressions

Dan Piponi and Brent A. Yorgey

This work was published in the Conference on the Mathematics of Program Construction (MPC) 2015.

Abstract

We show that every regular language, via some DFA which accepts it, gives rise to a homomorphism from the semiring of polynomial functors to the semiring of $n \times n$ matrices over polynomial functors. Given some polynomial functor and a regular language, this homomorphism can be used to automatically derive a functor whose values have the same shape as those of the original functor, but whose sequences of leaf types correspond to strings in the language.

The primary interest of this result lies in the fact that certain regular languages correspond to previously studied derivative-like operations on polynomial functors, which have proven useful in program construction. For example, the regular language $a^ha^$ yields the \emph{derivative} of a polynomial functor, and $b^ha^$ its \emph{dissection}. Using our framework, we are able to unify and lend new perspective on this previous work. For example, it turns out that dissection of polynomial functors corresponds to taking \emph{divided differences} of real or complex functions, and, guided by this parallel, we show how to generalize binary dissection to $n$-ary dissection.