libtlafmt 0.4.1

A formatter library for TLA+ specs, core of tlafmt
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
source: libtlafmt/tests/format.rs
expression: output
input_file: libtlafmt/tests/corpus/AllocatorRefinement.tla
---
-------------------------- MODULE AllocatorRefinement --------------------------
(*********************************************************************)
(* The scheduling allocator is a refinement of the simple allocator. *)
(*********************************************************************)

EXTENDS SchedulingAllocator

Simple == INSTANCE SimpleAllocator
SimpleAllocator == Simple!SimpleAllocator

THEOREM
    Allocator => SimpleAllocator
================================================================================