Lazy Evaluation: From Natural Semantics to a Machine-checked Compiler Transformation

저자
정보 없음
출판사
Saint Philip Street Press
출판일
20201009
ISBN
9781013279782
ISBN 등록 지역
영어권 (ISBN 978-1)

소개

In order to solve a long-standing problem with list fusion, a new compiler transformation, "Call Arity" is developed and implemented in the Haskell compiler GHC. It is formally proven to not degrade program performance; the proof is machine-checked using the interactive theorem prover Isabelle. To that end, a formalization of Launchbury's Natural Semantics for Lazy Evaluation is modelled in Isabelle, including a correctness and adequacy proof.