Formal Methods: No Cure for Faulty Reasoning

Owing to the benefits commonly associated with their use and links with scientific culture, formal methods have become closely identified with the design of safety-critical systems. But, despite the mathematical nature of the logic systems underlying most formal notations, many aspects of formal methods are much less predictable than one might realise. Specifically, it is suggested that the ways in which people interpret and reason about formal descriptions can lead to similar kinds of errors and biases as those exhibited during previous cognitive studies of logical statements in natural language. This paper reports a series of preliminary experiments aimed at testing this hypothesis and several related issues. Early results suggest that, in reality, people frequently depart from fundamental principles of mathematical logic when reasoning about formal specifications, and are content to rely upon probablistic, heuristic methods. Furthermore, they suggest that manipulating such factors as the degrees of thematic and believable content in formal specifications can lead to significant reasoning performance enhancement or degradation. So, although faulty reasoning cannot be cured by formalisation alone, it would appear that the human potential for error can be reduced by avoiding certain expressions and choosing alternative, equivalent forms.

[1]  C. A. R. Hoare,et al.  Programming: Sorcery or Science? , 1984, IEEE Software.

[2]  M. Braine,et al.  A Theory of If: A Lexical Entry, Reasoning Program, and Pragmatic Principles , 1991 .

[3]  Andrew M. Gravell,et al.  What is a Good Formal Specification? , 1990, Z User Workshop.

[4]  K. Gilhooly,et al.  Lines of thinking : reflections on the psychology of thought , 1990 .

[5]  P. Pollard,et al.  On the conflict between logic and belief in syllogistic reasoning , 1983, Memory & cognition.

[6]  D. Terence Langendoen,et al.  Studies in linguistic semantics , 1979 .

[7]  Pc Vanduyne REALISM AND LINGUISTIC COMPLEXITY IN REASONING , 1974 .

[8]  H WINTHROP,et al.  Semantic factors in the measurement of personality integration. , 1946, The Journal of social psychology.

[9]  F. Frick,et al.  The relationship between attitudes toward conclusions and errors in judging logical validity of syllogisms. , 1943 .

[10]  P. Johnson-Laird,et al.  Psychology of Reasoning: Structure and Content , 1972 .

[11]  A. Garnham,et al.  Thinking and Reasoning , 1994 .

[12]  J. S. Evans,et al.  Interpretation and Matching Bias in a Reasoning Task , 1972 .

[13]  B. Foss New Horizons in Psychology 1 , 1966 .

[14]  Roger L. Dominowski,et al.  Content effects in Wason's selection task. , 1995 .

[15]  Philip N. Johnson-Laird,et al.  When Negation is Easier than Affirmation , 1972 .

[16]  J. De,et al.  A Psychological Approach , 1985 .

[17]  Peter Wegner,et al.  Research directions in software technology , 1978, ICSE '78.

[18]  K. J. Gilhooly Representation, reasoning, analogy and decision making , 1990 .

[19]  Richard A. Griggs,et al.  The elusive thematic‐materials effect in Wason's selection task , 1982 .

[20]  Felix Redmill,et al.  Technology and Assessment of Safety-Critical Systems , 1994, Springer London.

[21]  J. Michael Spivey,et al.  The Z notation - a reference manual , 1992, Prentice Hall International Series in Computer Science.

[22]  Diana Kornbrot,et al.  Cognitive and Organisational Aspects of Design , 1994 .

[23]  Jane Sinclair,et al.  Introduction to formal specification and Z , 1991, Prentice Hall International Series in Computer Science.

[24]  J. Morgan,et al.  The Distortion of Syllogistic Reasoning Produced by Personal Convictions , 1944 .

[25]  J. E. Nicholls Z User Workshop, Oxford, 1990 , 1990 .

[26]  P. Wason,et al.  Natural and contrived experience in a reasoning problem , 1971 .