Paper

Provisioning My First Artifact.

A up-and-coming trend in Programming Languages (PL) conferences is that of reproducible science. If you ran experiments, let other reproduce them; if you build a system, let other people play with it; if you (and you should) mechanised your proofs; let others rerun said proofs! Most research projects will have some artefact of one kind or another be it a system, a proof, or experiment. Many conferences are now starting to introduce artifact evaluations as a separate track to help ensure an accepted paper’s artefact is reproducible 1.

Writing a Rebuttal. Hints & Tips

Yesterday, I was pleased to learn that I was accepted to ECOOP 2019. The submission process was double blind, and included a rebuttal period.

Matt Might’s Advice

Writing a rebuttal is a non-trivial process, and Matt Might has written excellent advice on the subject. He advises that you should be:

  • Polite.
  • Conciliatory.
  • Thorough.

These are good points you should adhere to. I would advise reading his post for more intuition.

Further, he advises a six stage process:

A Typing Discipline for Hardware Interfaces.

I am very pleased to announce that my paper describing a type-system for hardware interfaces was accepted to ECOOP 2019. This was joint work with Wim Vanderbauwhede as part of the Border Patrol project.

Modern Systems-on-a-Chip (SoC) are constructed by composition of IP (Intellectual Property) cores. There are well described interaction protocols for communication between IP Cores. However, there is a disconnect between the machine readable specification of these protocols and the verification of their implementation in known hardware description languages. Although tools can be written to address such a separation of concerns, such tooling is often hand written and used to check hardware designs a posteriori. We have developed a dependent type-system and proof-of-concept modelling language to reason about the physical structure of hardware interfaces respective to user provided descriptions. Our type-system provides correct-by-construction guarantees that the interfaces on an IP Core will be well-typed if they adhere to a specified standard.

Value-Dependent Session Design in a Dependently-Typed Language.

I am very pleased to announce that my paper on designing a global session description language within Idris was accepted to PLACES 2019. This was based on ideas that myself and Edwin Brady had as part of the TDVCS project, that were then matured in the Border Patrol project with Wim Vanderbauwhede.

Session Types offer a typing discipline that allows protocol specifications to be used during type-checking, ensuring that implementations adhere to a given specification. When looking to realise global session types in a dependently typed language care must be taken that values introduced in the description are used by roles that know about the value.

A Short Note on Collecting Dependently Typed Values

I’ve finally found a round tuit down the back of the sofa and worked out how to a) use arXiv for publishing preprint eprints, and b) publishing a short note on collecting dependently typed values.

The URL is: https://arxiv.org/abs/1808.09234

The work stems from a short note I wrote in the appendix of my PhD thesis, which in turn originated as a blog post. It is not necessarily novel work, or worthy of publication at a workshop, but thought I would share nonetheless.

TyDe Denied

I submitted a paper entitled Fake it until they make it: Implementing Substructural Type-Systems for EDSLs using Dependent Types to Type-Driven Development ‘18

I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API. Given time I will also upload a copy of the paper to ArXiV.

The paper’s abstract was:

Many substructural type-systems are presented for general purpose languages, reasoning about structural rules referencing memory access, and variable usage. When looking to design Embedded Domain Specific Languages (EDSLs) we utilise the host language’s functionality to reason about, and provide, domain specific properties. If the host language does support substructural typing, the substructural rules are specific to the general purpose host language. We build upon existing work that utilises parameterised monads and dependent types when implementing substructural type-systems for EDSLs where the host language does not support omain specific, nor customisation of, substructural type-systems. We extend this work to use De Bruijn indices as proofs of existence that a language’s substructural properties hold. Further, we present two exemplar languages that illustrate the technique’s core principles and how dependent types provide correctness guarantees that our EDSL programs are well-typed.

ICFP Rejection

I submitted a paper entitled Type-Driven Development of Communicating Systems to ICFP ‘17.

I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API. Given time I will also upload a copy of the paper to ArXiV.

The paper’s abstract was:

Communication protocols are a cornerstone of modern system design. However, there is a disconnect between the tooling used to design, implement and reason about these protocols and their implementations. Session Types offer a typing discipline that helps resolve this difference by allowing protocol specifications to be used during type-checking, ensuring that implementations adhere to a given specification. Session Type implementations are limited in their expressiveness in protocol design and implementation.

Off The Beaten Track

I submitted a talk entitled Type-Driven Development of Security Protocols to Off-The-Beaten-Track ‘17.

I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API. Given time I will also upload a copy of the paper to ArXiV.

The abstract is:

Implementing security protocols correctly is hard; verifying them is too. However, we also implement them in languages different to those we verify them in. With dependent types we can reason on software with greater precision and link specifications to implementations. In this talk we examine how state-of-the-art programming language research can help us to verify and implement protocols in the same language.

Dependent Types and Goal-Oriented DSMLs

I submitted a paper entitled Using Dependent Types to Build Domain Specific Goal-Oriented Modelling Languages to GPCE ‘15. Sadly it was rejected. I mentioning it here, so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API.

The abstract is:

The Goal Requirements Language (GRL) has been used as a host language for the creation of Domain Specific Goal-Oriented Modelling Languages (DSMLs). The pictorial language constructs, however, do not allow for a more formal language-driven treatment to be given for DSMLs created in the GRL. Dependent types allow for more precise reasoning to be made about programs. This paper describes the GStar framework that uses of dependent types to reason on the construction of DSMLs based on the GRL. Two styles of DSML construction are presented. The first allows for structurally equivalent DSML to be created that differ in terminology and semantic constructs. The second facilitates the construction of structurally different DSMLs that have the same evaluation semantics. Both techniques allows for a direct correspondence to be made between the semantics and structure of the host language and domain language.