Proving a Computer Correct with the LCF_LSM Hardware Verification System
The work
| Authors | Mike Gordon |
|---|---|
| Editors | |
| Type | techreport |
| Year | 1983 |
| Citekey | gordon1983proving |
Where it appeared
| Publisher | University of Cambridge Computer Laboratory |
|---|---|
| Number in series | UCAM-CL-TR-42 |
| School | University of Cambridge Computer Laboratory |
Identifiers
| DOI | 10.48456/tr-42 |
|---|---|
| report_number | UCAM-CL-TR-42 |
| ISSN | 1476-2986 |
Access
| Landing page | https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-42.html |
|---|
Empty on purpose
| doi |
Related
| Distinct from | basin1991formally |
|---|---|
| Distinct from | camilleri1988simulation |
| Distinct from | cantuortiz1997proof |
| Distinct from | cardelli1982algebraic |
| Distinct from | cohn1986mechanized |
| Distinct from | fourman1991formal |
| Distinct from | gordon1983lcflsm |
| Distinct from | gordon1985formal |
| Distinct from | gordon1985hol |
| Distinct from | herbert1988case |
| Distinct from | huang2018instructionlevel |
| Distinct from | joyce1986proving |
| Distinct from | kumar1996formal |
| Distinct from | lee2026formal |
| Distinct from | martin1986compiling |
| Distinct from | melham1987abstraction |
| Distinct from | oulkaid2024transistor |
| Distinct from | reid2016endtoend |
| Distinct from | snepscheut1983trace |
| Distinct from | stavridou1994gordons |
| Distinct from | xue2024using |
From bibtex.
Abstract
A machine-generated correctness proof of a simple computer is described. At the machine code level the computer has a memory and two registers: a 13-bit program counter and a 16-bit accumulator. There are 8 machine instructions: halt, unconditional jump, jump when the accumulator contains 0, add contents of a memory location to accumulator, subtract contents of a location from accumulator, load accumulator from memory, store contents of accumulator in memory, and skip. The machine can be interrupted by pushing a button on its front panel. The implementation which we prove correct has 6 data registers, an ALU, a memory, and a microcode controller. This controller consists of a ROM holding 26 30-bit microinstructions, a microprogram counter, and some combinational microinstruction decode logic. Formal specifications of the target and host machines are given, and we describe the main steps in proving that the host correctly fetches, decodes and executes machine instructions. The utility of LCF_LSM for general manipulation is illustrated in two appendices. In Appendix 1 we show how to code a microassembler. In Appendix 2 we use the LCF_LSM inference rules to design a hard-wired controller equivalent to the original microcoded one.
A copy is held
pdf, 2.0 MB. Not published — it may be under copyright. The facts and links here are.
How it got here
| How it got here | agent via bibtex |
|---|---|
| Added | 2026-09-15 21:56 UTC |
| Approved by | a person 2026-10-22 18:07 UTC |
Filed under
Cite it as
@techreport{gordon1983proving,
title = {Proving a Computer Correct with the LCF\_LSM Hardware Verification System},
author = {Mike Gordon},
year = {1983},
publisher = {University of Cambridge Computer Laboratory},
school = {University of Cambridge Computer Laboratory},
issn = {1476-2986},
doi = {10.48456/tr-42},
}
This record lives at https://refs.drheap.org/gordon1983proving/ and will keep doing so.