Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gmalecha/semantic-query

Semantic query optimization
https://github.com/gmalecha/semantic-query

Last synced: about 1 month ago
JSON representation

Semantic query optimization

Awesome Lists containing this project

README

        

# semantic-query
This repository demonstrates semantic query optimization using the chase algorithm. There are two implementations.

1. The tactic-based one (implemented in LtacChase.v)
2. The Gallina one implemented in Chase.v

The two have different trade-offs. The Ltac implementation can re-use the wealth of Coq tacics, e.g.
```congruence``` and ```omega```, to discharge side conditions. Because it reuses Coq's internal representations
it can also support more interesting binding structure, for example nested relations. The down-side of the Ltac
implementation is that it is quite slow compared to the Gallina-based implementation, especially in minimization
where candidates must be back-chased in order to determine equality.