Apart Research · Secure Program Synthesis Fellowship

BabelBench

A cross-paradigm benchmark for testing whether language models preserve logical meaning when translating between formal systems.

Lean 4Coq / RocqTLA+DafnyZ3Python

Research question

Compilation is necessary, but not sufficient

A translation can parse and verify in its target language while weakening, strengthening, or otherwise changing the source claim. BabelBench studies this semantic gap across systems with different logics, proof styles, and modeling assumptions.

Benchmark design

Fidelity measured from several directions

Verifier validity
Run generated artifacts through the actual proof assistant, model checker, or verifier.
Round-trip consistency
Translate across systems and back to expose meaning lost or introduced along the way.
Solver-backed checks
Use Z3 and language-specific obligations to test equivalence and counterexamples where the representations permit it.

Why it is difficult

The languages do not share one semantics

Different paradigms

Dependent type theory, interactive theorem proving, state-machine specifications, and program verification encode claims differently.

Meaning before syntax

The benchmark must identify what is preserved even when types, state, quantification, or proof obligations are reorganized.

Status

Active fellowship research

This page documents the research direction. The dataset and implementation are not yet presented as a public release.

Discuss the project