Lune

FM2024Top-tier venue

Extending Isabelle/HOL's Code Generator with Support for the Go Programming Language

Terru Stübinger, Lars Hupel

Abstract

Abstract The Isabelle proof assistant includes a small functional language, which allows users to write and reason about programs. So far, these programs could be extracted into a number of functional languages: Standard ML, OCaml, Scala, and Haskell. This work adds support for Go as a fifth target language for the Code Generator. Unlike the previous targets, Go is not a functional language and encourages code in an imperative style, thus many of the features of Isabelle’s language (particularly data types, pattern matching, and type classes) have to be emulated using imperative language constructs in Go. The developed Code Generation is provided as an add-on library that can be simply imported into existing theories.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generic go to go: dictionary-passing, monomorphisation, and hybrid cites Featherweight go
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Featherweight goRobert Griesemer, Raymond Hu, Wen Kokke, Julien Lange et al.OOPSLA 2020 · 16 citations
  2. Generic go to go: dictionary-passing, monomorphisation, and hybridStephen Ellis, Shuofei Zhu, Nobuko Yoshida, Linhai SongOOPSLA 2022 · 4 citations

Related papers

  1. Dependent type systems as macrosStephen Chang, Michael Ballantyne, Milo Turner, William J. BowmanPOPL 2020 · 8 citations
  2. Extensible Metatheory Mechanization via Family PolymorphismEnde Jin, Nada Amin, Yizhou ZhangPLDI 2023 · 10 citations
  3. Type Inference LogicsDenis Carnier, François Pottier, Steven KeuchelOOPSLA 2024 · 3 citations
  4. A Minimalist Proof Language for Neural Theorem Proving over Isabelle/HOLQiyuan Xu, Renxi Wang, Peixin Wang, Haonan Li et al.OOPSLA 2026
  5. Why the Proof Fails in Different Versions of Theorem Provers: An Empirical Study of Compatibility Issues in IsabelleXiaokun Luan, David Sanán, Zhe Hou, Qiyuan Xu et al.FSE 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines