Global ETD Search
Search theses and dissertations gathered from participating repositories worldwide. Every result links back to the library that holds it. No account is needed.
Results 1 to 11 of 11 for “"CakeML"”
-
A Compiler from CakeML to JavaScript
This thesis presents a new compiler from CakeML to JavaScript with support for almost the entire CakeML language. In addition to the new compiler, a JavaScript syntax formalization has been defined together with formal semantics for a subset of JavaScript. The semantics include coverage for …
-
Automatically Introducing Tail Recursion in CakeML
… functions in an intermediate language of the CakeML compiler. CakeML is a strongly typed functional language based on Standard ML with call-by-value semantics and a fully verified compiler. We integrate our implementation with the existing structure of the CakeML compiler, and provide a …
-
Tail Recursion Modulo Cons Optimization in CakeML
… is implemented in the end-to-end verified CakeML compiler. The optimization makes tail recursive those functions which contain a recursive call nested inside one or more constructors. The TMC transformation is applied in the bytecode-value intermediate language (BVI) and rewrites functions …
-
Optimizing Stack Allocation for the CakeML Compiler
… tail calls, in an intermediate language of the CakeML compiler. The thesis explores and provides a discourse on the implementation and associated proof of a compiler phase in a verified compiler in which the semantics of each phase must be correct with respect to the previous one. CakeML is a …
-
A Deflate-like compressor in HOL, Creating executable binaries using CakeML
… the interactive theorem prover HOL4 and the CakeML compiler. The implementation consists of three main parts: the LZSS compression algorithm, the Huffman encoding algorithm, and the Deflate algorithm. Since the focus was to properly implement Deflate, the majority of our effort was put into …
-
The CakeML Compiler Explorer Visualizing how a verified compiler transforms expressions
… provides insight to the inner workings of the CakeML compiler. The compiler explorer can interactively present information about an expression’s origin and descent at different stages of compilation. The compiler explorer consists of a web application presenting the expression information and …
-
PureCake: Towards a formally verified non-strict language compiler
CakeML is an end-to-end formally verified compiler for a subset of the Standard ML language. Its provenly correct compilation chain prevents several classes of software bugs from seeping into the project, while drastically reducing the chances of many others to occur. In turn, other software …
-
Verified compilation of a purely functional language to a realistic machine semantics
… verified compilers exist: CompCert and CakeML, which compile a C-like and an ML-like language respectively. In this dissertation, I advance the state of the art in general-purpose, end-to-end compiler verification in two ways. First, I present PureCake, the first such verified compiler …
-
Improving Thunks in the Verified PureCake Compiler
… languages. PureCake is an extension of the CakeML project, which itself is a verified compiler for strict functional languages, both developed using the HOL4 formal verification system. The PureCake compiler is already a complete verified compiler, but it lacks the optimisations that would …
-
Verified and Verifiable Computation with STV Algorithms
… and HOL4 theorem provers and the ecosystem of CakeML as the technical basis. Moreover, we automate almost all proofs that we establish in Coq, HOL4 and CakeML so that new instances of verified and verifying tools for computation with a variety of STV algorithms can be created with no (or …
-
Puzzle Solving with Proof
… written in and verified using HOL4 as part of CakeML. The result is three different versatile datatypes that can be used, together with a SAT solver, to solve problems containing Boolean variables, natural numbers, and unordered sets. The usage of the three datatypes is demonstrated on …