## Solving Uninterpreted Equations with Context Free Expression Grammars

dc.contributor.author | McAllester, David Allen | en_US |

dc.date.accessioned | 2004-10-04T14:54:07Z | |

dc.date.available | 2004-10-04T14:54:07Z | |

dc.date.issued | 1983-05-01 | en_US |

dc.identifier.other | AIM-708 | en_US |

dc.identifier.uri | http://hdl.handle.net/1721.1/6380 | |

dc.description.abstract | It is shown here that the equivalence class of an expression under the congruence closure of any finite set of equations between ground terms is a context free expression language. An expression is either a symbols or an n-tuple of expressions; the difference between expressions and strings is that expressions have inherent phrase structure. The Downey, Sethi and Tarjan algorithm for computing congruence closures can be used to convert finite set of equations E to a context free expression grammar G such that for any expression u the equivalence class of u under E is precisely the language generated by an expression form I'(u) under grammar G. the fact that context free expression languages are closed under intersection is used to derive an algorithm for computing a grammar for the equivalence class of a given expression under any finite disjunction of finite sets of equations between ground expressions. This algorithm can also be used to derive a grammar representing the equivalence class of conditional expressions of the form if P then u else v. The description of an equivalence class by a context free expression grammar can also be used to simplify expressions under "well behaved" simplicity orders. Specifically if G is a context free expression grammar which generates an equivalence class of expressions then for any well behaved simplicity order there is a subset G' of the productions G such that the expressions generated by G' are exactly those expressions of the equivalence class which are simplicity bounds and whose subterms are also simplicity bounds. Furthermore G' can be computed from G in order nlog(n) time plus the time required to do order nlog(n) comparisons between expressions where n is the size G. | en_US |

dc.format.extent | 5200160 bytes | |

dc.format.extent | 4073895 bytes | |

dc.format.mimetype | application/postscript | |

dc.format.mimetype | application/pdf | |

dc.language.iso | en_US | |

dc.relation.ispartofseries | AIM-708 | en_US |

dc.title | Solving Uninterpreted Equations with Context Free Expression Grammars | en_US |