Reasoning about inconsistencies in natural language requirements

Vincenzo Gervasi, Didar Zowghi

ACM Transactions on Software Engineering and Methodology · 2005 · 194 citations · 48 references

Concepts

TL;DR

Logic, particularly nonmonotonic logic, has proven effective for identifying inconsistencies in stakeholder requirements, yet its direct use is hindered by usability issues for non‑expert stakeholders. This study integrates natural language parsing with default reasoning to automatically detect and formally address inconsistencies among multiple stakeholders’ requirements. The authors implemented this approach in a prototype tool, CARL, which applies theorem‑proving and model‑checking to discover inconsistencies. The tool’s effectiveness is demonstrated through a classic example of conflicting stakeholder requirements.

Abstract

The use of logic in identifying and analyzing inconsistency in requirements from multiple stakeholders has been found to be effective in a number of studies. Nonmonotonic logic is a theoretically well-founded formalism that is especially suited for supporting the evolution of requirements. However, direct use of logic for expressing requirements and discussing them with stakeholders poses serious usability problems, since in most cases stakeholders cannot be expected to be fluent with formal logic. In this article, we explore the integration of natural language parsing techniques with default reasoning to overcome these difficulties. We also propose a method for automatically discovering inconsistencies in the requirements from multiple stakeholders, using both theorem-proving and model-checking techniques, and show how to deal with them in a formal manner. These techniques were implemented and tested in a prototype tool called CARL . The effectiveness of the techniques and of the tool are illustrated by a classic example involving conflicting requirements from multiple stakeholders.

References

48