Publication View

Spot-Checkers (1998)

Abstract
On Labor Day Weekend, the highway patrol sets up spotchecks at random points on the freeways with the intention of deterring a large fraction of motorists from driving incorrectly. We explore a very similar idea in the context of program checking to ascertain with minimal overhead that a program output is reasonably correct. Our model of spotchecking requires that the spot-checker must run asymptotically much faster than the combined length of the input and output. We then show that the spot-checking model can be applied to problems in a wide range of areas, including problems regarding graphs, sets, and algebra. In particular, we present spot-checkers for sorting, element distinctness, set containment, set equality, total orders, and correctness of group operations. All of our spot-checkers are very simple to state and rely on testing that the input and/or output have certain simple properties that depend on very few bits. Our sorting spot-checker runs in O(log n) time to check the c...

Publication details
Download http://citeseer.ist.psu.edu/194622.html
Source http://theory.stanford.edu/~iliano/muri/reports/97-98/funda2.ps
Publisher unknown
Contributors The Pennsylvania State University CiteSeer Archives
Repository CiteSeer (United States)
Keywords Funda Ergun,Sampath Kannan,S Ravi Kumar,Ronitt Rubinfeld,Mahesh Viswanathan Spot-Checkers
Language Englisch