---
source: libtlafmt/tests/format.rs
expression: output
input_file: libtlafmt/tests/corpus/HourClock2.tla
---
------------------------------ MODULE HourClock2 -------------------------------
(***************************************************************************)
(* This module contains the definition of the specification HC2 from the *)
(* book. *)
(***************************************************************************)
EXTENDS HourClock
(*************************************************************************)
(* This statement includes in the current module all the definitions and *)
(* declarations from module HourClock, including the definitions of + *)
(* and % from the Naturals module and the declaration of the variable *)
(* hr. *)
(*************************************************************************)
HCnxt2 == hr' = (hr % 12) + 1
HC2 == HCini /\ [][HCnxt2]_hr
--------------------------------------------------------------------------------
THEOREM HC <=> HC2
(*************************************************************************)
(* This theorem asserts that formulas HC and HC2 are equivalent. The *)
(* symbol <=> , which can also be typed as \equiv , is typeset as an *)
(* equivalence symbole (a three-lined equals sign). *)
(*************************************************************************)
================================================================================