Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implementation based on relational algebra #104

Merged
merged 34 commits into from Nov 21, 2020
Merged

implementation based on relational algebra #104

merged 34 commits into from Nov 21, 2020

Conversation

salmans
Copy link
Owner

@salmans salmans commented Oct 19, 2020

No description provided.

@salmans salmans self-assigned this Oct 19, 2020
fixes a major bug where only the same branch of a sequent extended a model where multiple tuples were relevant
fixes expression memoization (did not work before)
adds core tests for the relational implementation
moving equality expansion out of relationalization
adding Relational wrapper around Formula
resetting Relationalizer before each transformation so it can be used to translate multiple formulae
this change removes unnecessary atoms from branches to improve performance
creating a new sequent now returns a result type instead of panicking immediately
remove existential variables in favor of universal or other existential variables that are equal to it
the relational implementation contracts models based on equality on elements
using unstable feature of codd and updating codd macros according to the latest changes
razor-chase/src/chase.rs Show resolved Hide resolved
razor-chase/src/chase/impl/basic.rs Outdated Show resolved Hide resolved
razor-chase/src/chase/impl/batch.rs Outdated Show resolved Hide resolved
razor-chase/src/chase/impl/reference.rs Show resolved Hide resolved
razor-chase/src/chase/impl/relational.rs Outdated Show resolved Hide resolved
razor-fol/src/transform/relationalize.rs Outdated Show resolved Hide resolved
razor-fol/src/transform/relationalize.rs Outdated Show resolved Hide resolved
razor-fol/src/transform/relationalize.rs Show resolved Hide resolved
razor-fol/src/transform/relationalize.rs Show resolved Hide resolved
razor-fol/src/transform/relationalize.rs Show resolved Hide resolved
…mentation

fixes a bug where incorrect models for grandpa.raz were being produced
removing the inner value that carried the attribute which is equal to the equational attribute
removing canonicalization of attributes
adding AttributeList::new() to create an instance from an iterator of attributes
implementing TryFrom<Formula> for AttributeList
Fixes a bug where memoizing expressions was not done correctly
Plus other minor changes and enhancements to address PR comments
Copy link
Owner Author

@salmans salmans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost ready to go after another round of clippy.

razor-chase/src/chase/impl/relational/evaluator.rs Outdated Show resolved Hide resolved
@salmans salmans merged commit 2069f59 into master Nov 21, 2020
@salmans salmans deleted the relalg-impl branch November 21, 2020 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant