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

Generalize mlRewrite and mlRewriteBy #410

Open
berpeti opened this issue Nov 16, 2023 · 0 comments
Open

Generalize mlRewrite and mlRewriteBy #410

berpeti opened this issue Nov 16, 2023 · 0 comments
Labels
bug Something isn't working enhancement Enhancement of existing features

Comments

@berpeti
Copy link
Collaborator

berpeti commented Nov 16, 2023

These tactics should work for arbitrary contexts, not just simple ones. For example:

H : G |- a <---> b
__________________
G |- 
  foldr patt_imp l a ---> foldr patt_imp l b

This limitation comes from the following line in tactic heat:

 assert(heq1 : ($phi = (@emplace _ $pc $a))) 
         > [ abstract(
             (ltac1:(star |- simplify_emplace_2 star) (Ltac1.of_ident star_ident);
             reflexivity
             ))
           | ()
           ];

simplify_emplace_2 is not able to solve the asserted goal. One option would be to leave such goals to the user instead of failing.

@berpeti berpeti added bug Something isn't working enhancement Enhancement of existing features labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Enhancement of existing features
Projects
None yet
Development

No branches or pull requests

1 participant