Skip to content

Adapt to Rocq PR#20985#57

Open
mattam82 wants to merge 1 commit intorocq-community:masterfrom
mattam82:rewrite-in-lets
Open

Adapt to Rocq PR#20985#57
mattam82 wants to merge 1 commit intorocq-community:masterfrom
mattam82:rewrite-in-lets

Conversation

@mattam82
Copy link

@mattam82 mattam82 commented Feb 19, 2026

The Rocq PR rocq-prover/rocq#20985 adds support for generalized rewriting in let-bindings. It changes the basic subrelation instances on eq, iff and impl to avoid proof search blowup.

It seems the change is due to setoid_rewrite lift_dlet. succeeding more? All the Let_Ins are lifted to toplevel in the example. I don't see why the PR would make a difference here, there are no concrete let x := .. in .. constructs as far as I can see in the goals. @JasonGross can you help me understand what happens here?

Could it be the new subrelation eq iff/impl/(flip impl) instances helping here?

@JasonGross
Copy link
Member

dlet is a definition wrapper around let in, is it possible there's something that's matching modulo delta?

Have you tried seeing if just adding the instances in this file results in the change happening?

Alternatively/additionally, if you want to paste a diff of the type class logs, that'll probably reveal something.

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.

2 participants