Murat Kasimov

More about me

Я language (β)

/Я language (β)/Behaviour/Lease/

> Lease : forall s t i . t i `AR__` t `L` State s `T` _ `T` i

Using this label on stateful operation does not change the state:

> ... `yuk` Allot `ha` State `ha` Event `har` pop `bt'har_` [ A Unit , B Unit ] = Exist A `hjd` [ B Unit ] > ... `yuk` Lease `ha` State `ha` Event `har` pop `bt'har_` [ A Unit , B Unit ] = Exist A `hjd` [ A Unit , B Unit ]

It's convenient to use this label for viewing how some state transition may affect controflow without actually changing the state.