Formal semanticsmodels AArch64

Sail Arm-A model

Also known as sail-arm, Sail Armv9.4-A, Sail Armv8.5-A

A Sail version of Arm's own machine-readable A-profile specification (written in Arm's ASL), produced by an automatic ASL-to-Sail translator.

Stage 0 · Mechanized Written in Sail (translated from Arm ASL) Open source · BSD-3-Clause-Clear Last commit · today

It builds an emulator that boots Linux, and definitions for proof assistants.

What it covers

Models
AArch64, Armv9.4-A, from Arm's 2023-03 ASL release. Older Armv9.3-A and Armv8.5-A models are in the same repository.
Fragment
The whole A-profile architecture as given in Arm's ASL release: AArch64 base instructions, Advanced SIMD, SVE and SME, AArch32 instructions, system registers, exceptions and address translation. Some glue code is hand-written (memory interface, a minimal interrupt controller and timer for booting Linux, default choices for implementation-defined behavior). Sequential only.
Written in
Sail (translated from Arm ASL)
Usable in
Isabelle/HOL, Rocq, Lean 4, HOL4
Validation
The model is generated from Arm's own specification rather than written by hand. For an earlier, non-public Armv8.3-A version, the POPL 2019 paper ran Arm's internal Architecture Validation Suite: of 15,400 applicable tests, 24 (0.15%) passed on Arm's ASL model but failed on the Sail model. Those tests are not public. The emulator built from the current models boots Linux (boot script in the repository). We found no published test results for the v9.x models.
Maintained by
University of Cambridge, University of Edinburgh

Stage

Computed from the evidence below; see the criteria. MechanizedMechanized. Written in a form a computer can check, rather than on paper. means a computer can check the definition.

Stage 0 Mechanized Met
  • Met: Machine-checked or machine-readable definition Written in Sail. For v9.4-A, Isabelle and Rocq snapshots are checked in. A Lean build target was added in 2025 and was still being fixed in October and November 2026; there is no Lean snapshot. A HOL4 snapshot exists only for the older v8.5-A model. evidence
  • Met: Fragment and version are stated The README names the source (Arm ASL 2023-03) and which parts are hand-written. evidence
Stage 1 Validated Next
  • Met: Can be executed or tested Sail generates a C emulator; boot/boot.sh boots Linux on it. evidence
  • Unknown: Published results against conformance tests or real implementations Published results exist only for an earlier Armv8.3-A translation, against Arm's internal test suite, which others cannot rerun. We found no published conformance or differential results for the current models. evidence
Stage 2 Authoritative Later
  • Unknown: Adopted by the language or ISA owner, or covers the full current version and tracks new ones Adopted by the owner: unknown; full coverage: no; tracks new versions: no. Arm provided the ASL snapshot, an Arm employee co-authored the work and Arm Limited is a copyright holder, but we found no statement from Arm that it treats the Sail version as a reference. Arm's own reference is the ASL specification. The newest model is Armv9.4-A; Arm has since announced Armv9.5-A to Armv9.7-A. The latest model (Armv9.4-A) was added in November 2023 from Arm's 2023-03 release. No stated schedule for following new Arm releases. evidence

Coverage

Which parts of AArch64 the model defines.

ISA-level features

ISA-level features
FeatureSupportNotes
User-level instructions The ordinary integer, memory and branch instructions programs use. SupportedSupported.
Source
source
Floating-point instructions Scalar floating-point instructions. SupportedSupported.Translated from Arm's ASL. The 2019 test run found some floating-point failures in the earlier v8.3 translation (square root), which the authors said they were fixing.
Source
Translated from Arm's ASL. The 2019 test run found some floating-point failures in the earlier v8.3 translation (square root), which the authors said they were fixing. source
Vector / SIMD instructions Vector and SIMD extensions. SupportedSupported.Advanced SIMD, SVE and SME instructions are included.
Source
Advanced SIMD, SVE and SME instructions are included. source
Privileged mode Privilege levels, control registers, traps and exceptions. SupportedSupported.Exception levels, system registers and exceptions come from the ASL; the model boots Linux.
Source
Exception levels, system registers and exceptions come from the ASL; the model boots Linux. source
Virtual memory Page tables and address translation. SupportedSupported.Includes the ASL translation-table walk.
Source
Includes the ASL translation-table walk. source
Concurrency memory model The multiprocessor memory model (for example x86-TSO, Arm, RVWMO). PartialPartial.The model is sequential. The Arm concurrency model is available by combining the ISA model with a separate tool (isla-axiomatic and its axiomatic memory models).
Source
The model is sequential. The Arm concurrency model is available by combining the ISA model with a separate tool (isla-axiomatic and its axiomatic memory models). source

Used by

Toolchains in this index whose proofs are about this model.

  • Islaris Prove Arm or RISC-V machine code correct in Rocq, against the full official Sail ISA models, using Isla symbolic execution and an Iris separation logic.

Sources

esc