Book Cover

Correct by Design with TLA+

Contributor(s): Tang, Richard (Author)

ISBN: 9798308699767

Publisher: Independently Published

Binding Types:

$10.00
$22.95 (Final Price)
$21.75 (100+ copies: $21.00)
List/retail price:
$10.00
- +
Buy

Pub Date: February 3, 2025

Lexile Code: 0000

Target Age Group: NA to NA

Physical Info: 0.34" H x 9.00" L x 6.00" W ( 0.49 lbs) 160 pages

Descriptions, Reviews, etc.

Description: Human cognition is optimized for sequential reasoning, but many of the engineering challenges we face as designers involve many concurrent moving pieces. Examples include lockless data structures, distributed algorithms, OS task schedulers, and more.

Traditional testing methodology such as unit or integration testing only proves correctness for part of the system the test covers. How does the designer prove the system works correctly under all scenarios?

This book explains how designers can use TLA+ and model checker to describe and verify the correctness of a design. TLA+ is a system specification language that allows the designer to describe a system as a set of states, and specify invariants a state or a sequence of states must hold during runtime. The model checker exhaustively explores all possible states permitted by the spec to ensure invariants are upheld under all scenarios. A model checker verified TLA+ spec provides the designer with very high confidence in its correctness.

Fortunately, the core TLA+ language semantics is pretty manageable. This book will cover a selection of TLA+ examples to enable the readers to quickly get familiar with this wonderful tool.

Worth Considering
Product successfully added to cart!