Stephanie Weirich

Stephanie Weirich

Auto-generated profile, based on publicly available information

Stephanie Weirich

University of Pennsylvania, Philadelphia, USA

Research Focus & Metrics

Academic Career Length

31Years (1996-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
1 January 2005
Verified
Book Chapter
Closed access
PDF file
BABrian E. Aydemir
Brian E. Aydemir
ABAaron Bohannon
Aaron Bohannon
MFMatthew Fairbairn
Matthew Fairbairn
JFJ. Nathan Foster
J. Nathan Foster
BPBenjamin C. Pierce
Benjamin C. Pierce
SZSteve Zdancewic
Steve Zdancewic

16 September 2006
Verified
Conference Paper
Open access
PDF file
SJSimon Peyton Jones
Simon Peyton Jones
DVDimitrios Vytiniotis
Dimitrios Vytiniotis
SWStephanie Weirich
Stephanie Weirich
GWGeoffrey Washburn
Geoffrey Washburn

5 January 2000
Verified
Conference Paper
Open access
PDF file
KCKarl Crary
Karl Crary
SWStephnie Weirich
Stephnie Weirich
Various code certification systems allow the certification and static verification of important safety properties such as memory and control-flow safety. These systems are valuable tools for verifying that untrusted and potentially malicious code is safe before execution. However, one important safety property that is not usually included is that programs adhere to specific bounds on resource consumption, such as running time.We present a decidable type system capable of specifying and certifying bounds on resource consumption. Our system makes two advances over previous resource bound certification systems, both of which are necessary for a practical system: We allow the execution time of programs and their subroutines to vary, depending on their arguments, and we provide a fully automatic compiler generating certified executables from source-level programs. The principal device in our approach is a strategy for simulating dependent types using sum and inductive kinds.

1 January 2007 in Journal of Functional Programming
Verified
Journal Article
Closed access
PDF file
SJSimon Peyton Jones
Simon Peyton Jones
DVDimitrios Vytiniotis
Dimitrios Vytiniotis
SWStephanie Weirich
Stephanie Weirich
MSMark Shields
Mark Shields
Haskell's popularity has driven the need for ever more expressive type system features, most of which threaten the decidability and practicality of Damas-Milner type inference. One such feature is the ability to write functions with higher-rank types – that is, functions that take polymorphic functions as their arguments. Complete type inference is known to be undecidable for higher-rank (impredicative) type systems, but in practice programmers are more than willing to add type annotations to guide the type inference engine, and to document their code. However, the choice of just what annotations are required, and what changes are required in the type system and its inference algorithm, has been an ongoing topic of research. We take as our starting point a λ-calculus proposed by Odersky and Läufer. Their system supports arbitrary-rank polymorphism through the exploitation of type annotations on λ-bound arguments and arbitrary sub-terms. Though elegant, and more convenient than some other proposals, Odersky and Läufer's system requires many annotations. We show how to use local type inference (invented by Pierce and Turner) to greatly reduce the annotation burden, to the point where higher-rank types become eminently usable. Higher-rank types have a very modest impact on type inference. We substantiate this claim in a very concrete way, by presenting a complete type-inference engine, written in Haskell, for a traditional Damas-Milner type system, and then showing how to extend it for higher-rank types. We write the type-inference engine using a monadic framework: it turns out to be a particularly compelling example of monads in action. The paper is long, but is strongly tutorial in style. Although we use Haskell as our example source language, and our implementation language, much of our work is directly applicable to any ML-like functional language.

28 January 2012
Verified
Conference Paper
Open access
PDF file
BYBrent A. Yorgey
Brent A. Yorgey
SWStephanie Weirich
Stephanie Weirich
JCJulien Cretin
Julien Cretin
SJSimon Peyton Jones
Simon Peyton Jones
DVDimitrios Vytiniotis
Dimitrios Vytiniotis
JMJosé Pedro Magalhães
José Pedro Magalhães
Static type systems strive to be richly expressive while still being simple enough for programmers to use. We describe an experiment that enriches Haskell's kind system with two features promoted from its type system: data types and polymorphism. The new system has a very good power-to-weight ratio: it offers a significant improvement in expressiveness, but, by re-using concepts that programmers are already familiar with, the system is easy to understand and implement.

7 January 2008
Verified
Conference Paper
Open access
PDF file
BABrian Aydemir
Brian Aydemir
ACArthur Charguéraud
Arthur Charguéraud
BPBenjamin C. Pierce
Benjamin C. Pierce
RPRandy Pollack
Randy Pollack
SWStephanie Weirich
Stephanie Weirich