paperbot · PL 论文追踪

RSS

A Safe Low-Level Language for Computer Algebra and Its Formally Verified Compiler

ICFP 8(ICFP)2024引用 2
Guillaume Melquiond, Josué Moreau

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

This article describes a programming language for writing low-level libraries for computer algebra systems. Such libraries (GMP, BLAS/LAPACK, etc) are usually written in C, Fortran, and Assembly, and make heavy use of arrays and pointers. The proposed language, halfway between C and Rust, is designed to be safe and to ease the deductive verification of programs, while being low-level enough to be suitable for this kind of computationally intensive applications. This article also describes a compiler for this language, based on CompCert. The safety of the language has been formally proved using the Coq proof assistant, and so has the property of semantics preservation for the compiler. While the language is not yet feature-complete, this article shows what it entails to design a new domain-specific programming language along its formally verified compiler.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{MelquiondM24,
  title = {A Safe Low-Level Language for Computer Algebra and Its Formally Verified Compiler},
  author = {Guillaume Melquiond and Josué Moreau},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {ICFP},
  year = {2024},
  doi = {10.1145/3674629}
}