Yao Li

Yao Li

Auto-generated profile, based on publicly available information

Yao Li

Portland State University

Research Focus & Metrics

Academic Career Length

20Years (2007-Present)

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

Representative Publications

View All Publications
14 January 2019
Verified
Conference Paper
Open access
NKNicolas Koh
Nicolas Koh
YLYao Li
Yao Li
YLYishuai Li
Yishuai Li
LXLi-Yao Xia
Li-Yao Xia
LBLennart Beringer
Lennart Beringer
SZSteve Zdancewic
Steve Zdancewic

30 July 2018 in Proceedings of the ACM on Programming Languages
Verified
Journal Article
Open access
PDF file
JBJoachim Breitner
Joachim Breitner
ASAntal Spector-Zabusky
Antal Spector-Zabusky
YLYao Li
Yao Li
CRChristine Rizkallah
Christine Rizkallah
JWJohn Wiegley
John Wiegley
SWStephanie Weirich
Stephanie Weirich
Good tools can bring mechanical verification to programs written in mainstream functional languages. We use hs-to-coq to translate significant portions of Haskell’s containers library into Coq, and verify it against specifications that we derive from a variety of sources including type class laws, the library’s test suite, and interfaces from Coq’s standard library. Our work shows that it is feasible to verify mature, widely-used, highly optimized, and unmodified Haskell code. We also learn more about the theory of weight-balanced trees, extend hs-to-coq to handle partiality, and – since we found no bugs – attest to the superb quality of well-tested functional code.

1 September 2019 in Journal of Systems Architecture
Verified
Journal Article
Closed access
YLYanqiang Liu
Yanqiang Liu
YLYao Li
Yao Li
ZQZhengwei Qi
Zhengwei Qi
HGHaibing Guan
Haibing Guan

26 February 2021 in Journal of Functional Programming
Verified
Journal Article
Closed access
PDF file
JBJoachim Breitner
Joachim Breitner
ASAntal Spector-Zabusky
Antal Spector-Zabusky
YLYao Li
Yao Li
CRChristine Rizkallah
Christine Rizkallah
JWJohn Wiegley
John Wiegley
SWStephanie Weirich
Stephanie Weirich
Good tools can bring mechanical verification to programs written in mainstream functional languages. We use hs-to-coq to translate significant portions of Haskell’s containers library into Coq, and verify it against specifications that we derive from a variety of sources including type class laws, the library’s test suite, and interfaces from Coq’s standard library. Our work shows that it is feasible to verify mature, widely used, highly optimized, and unmodified Haskell code. We also learn more about the theory of weight-balanced trees, extend hs-to-coq to handle partiality, and – since we found no bugs – attest to the superb quality of well-tested functional code.

29 August 2022 in Proceedings of the ACM on Programming Languages
Verified
Journal Article
Open access
YLYao Li
Yao Li
SWStephanie Weirich
Stephanie Weirich
Free monads (and their variants) have become a popular general-purpose tool for representing the semantics of effectful programs in proof assistants. These data structures support the compositional definition of semantics parameterized by uninterpreted events, while admitting a rich equational theory of equivalence. But monads are not the only way to structure effectful computation, why should we limit ourselves? In this paper, inspired by applicative functors, selective functors, and other structures, we define a collection of data structures and theories, which we call program adverbs, that capture a variety of computational patterns. Program adverbs are themselves composable, allowing them to be used to specify the semantics of languages with multiple computation patterns. We use program adverbs as the basis for a new class of semantic embeddings called Tlön embeddings. Compared with embeddings based on free monads, Tlön embeddings allow more flexibility in computational modeling of effects, while retaining more information about the program's syntactic structure.

1 March 2016
Verified
Conference Paper
Closed access
YZYudi Zheng
Yudi Zheng
WBWalter Binder
Walter Binder
ARAndrea Rosa
Andrea Rosa
LSLuca Salucci
Luca Salucci
YLYao Li
Yao Li
ZQZhengwei Qi
Zhengwei Qi
Researchers often rely on benchmarks to demonstrate feasibility or efficiency of their contributions. However, finding the right benchmark suite can be a daunting task - existing benchmark suites may be outdated, known to be flawed, or simply irrelevant for the proposed approach. Creating a proper benchmark suite is challenging, extremely time consuming, and also - unless it becomes widely popular - a thankless endeavor. In this paper, we introduce a novel approach to help researchers find relevant workloads for their experimental evaluation needs. Our approach relies on the huge number of open-source projects available in public repositories, and on unit testing having become best practice in software development. Using a repository crawler employing pluggable static and dynamic analyses for filtering and workload characterization, we allow users to automatically find projects with relevant workloads. Preliminary results presented here show that unit tests can provide a viable source of workloads, and that the combination of static and dynamic analyses improves the ability to identify relevant workloads that can serve as the basis for custom benchmark suites.