## Abstract

Finite tables are commonly used in many hardware and soft- ware applications. In most theorem provers, tables are typically axiomatized using predicates over the table indices. For proving conjectures expressed using such tables, provers often have to resort to brute force case analysis, usually based on indices of a table. Resulting proofs can be unnecessarily complicated and lengthy. They are often inefficient to generate as well as difficult to understand. Large tables are often man- ually abstracted using predicates, which is error-prone; furthermore, the correctness of abstractions must be ensured. An approach for modeling finite tables as a special data structure is proposed for use in Rewrite Rule Laboratory (RRL), a theorem prover for mechanizing equational reasoning and induction based on rewrite techniques. Dontcare entries in tables can be handled explicitly. This approach allows tables to be handled directly without having to resort to any abstraction mechanism. For efficiently processing large tables, concepts of a sparse and weakly sparse tables are introduced based on how frequently particular values appear as table entries. Sparsity in the tables is exploited in correctness proofs by doing case analyses on the table entries rather on the indices. The generated cases are used to deduce constraints on the table indices. Additional domain information about table indices can then be used to further simplify constraints on indices and check them. The methodology is illustrated using a nontrivial correctness proof of the hardware SRT division circuit performed in RRL. 1536 cases originally needed in the correctness proof are reduced to 12 top level cases by using the proposed approach. Each individual top level case generated is much simpler, even though it may have additional subcases. The proposed approach is likely to provide similar gains for applications such as hardware circuits for square root and other arithmetic functions, in which much larger and multiple lookup tables, having structure similar to the sparse structure of the SRT table, are used.

Original language | English (US) |
---|---|

Title of host publication | Advances in Computing Science ASIAN 1998 - 4th Asian Computing Science Conference, Proceedings |

Editors | Jieh Hsiang, Atsushi Ohori |

Publisher | Springer Verlag |

Pages | 22-42 |

Number of pages | 21 |

ISBN (Print) | 3540653880, 9783540653882 |

DOIs | |

State | Published - 1998 |

Event | 4th Asian Computing Science Conference, ASIAN 1998 - Manila, Philippines Duration: Dec 8 1998 → Dec 10 1998 |

### Publication series

Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|

Volume | 1538 |

ISSN (Print) | 0302-9743 |

ISSN (Electronic) | 1611-3349 |

### Other

Other | 4th Asian Computing Science Conference, ASIAN 1998 |
---|---|

Country | Philippines |

City | Manila |

Period | 12/8/98 → 12/10/98 |

## ASJC Scopus subject areas

- Theoretical Computer Science
- Computer Science(all)