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

forget concept #42

Open
Charles-Johnson opened this issue Jun 13, 2021 · 0 comments
Open

forget concept #42

Charles-Johnson opened this issue Jun 13, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Charles-Johnson
Copy link
Owner

Charles-Johnson commented Jun 13, 2021

Instead of using the syntax

let a -> a

to "forget" the reduction of a, a new concrete concept, forget can be used.

forget a

Then the following can be defined

let (let true) -> redundant
let (let false) -> contradiction
let (_x_ -> _x_) -> false

Before each let command is executed, the syntax should be reduced. If it reduces to a non-let command, then the reduction is printed, otherwise the original expression in the let command is set to reduce to true (printing "okay" after this concept is implemented in another task).

This means that the cache doesn't need to be invalidated on executing any let commands. Instead forget should trigger cache invalidation that could be selective by determining which reductions were predicated on the forgotten concept. This will be possible to implement after #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant