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

Compute the context in the equation meta only once #26

Open
valis opened this issue Oct 5, 2020 · 0 comments
Open

Compute the context in the equation meta only once #26

valis opened this issue Oct 5, 2020 · 0 comments

Comments

@valis
Copy link
Collaborator

valis commented Oct 5, 2020

An expression of the form equation a b c d has 3 omitted proofs (namely, a = b, b = c, and c = d). The context will be computed for each of these proofs separately. We can optimize this by computing the context only once.

If some proof has a hint that modifies the context (e.g., equation a {using p} b c d or equation a {hiding p} b c), then we cannot use the common context in general. We probably still can reuse it if the hind only adds something to the context (as in the first example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant