in Mathematical Logic
739 views
0 votes
0 votes
The following sentence is taken from the specification of a telephone system: “If the directory database is opened,then the monitor is put in a closed state, if the system is not in its initial state.” This specification is hard to understand because it involves two conditional statements. Find an equivalent, easier to understand specification that involves disjunctions and negations but not conditional statements.
in Mathematical Logic
739 views

1 Answer

1 vote
1 vote

Assume, 

D: The directory database is opened. 

S: The system is in its initial state. 

C:The monitor is put in a closed state. 

Given specification is, “If the directory database is opened, then the monitor is put in a closed state, if the system is not in its initial state.”  

translate into logic,

(D$\wedge\neg$S)$\rightarrow$C $\equiv$ ($\neg$D)$\vee$S$\vee$C

Hence, easier to understand specifications is, Either "The directory database is not opened" or "The system is in its initial state" or "The monitor is put in a closed state".

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true