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

Stop relying on replace by automatic assumption-based solving #1657

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Fancy/Prod.v
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Ltac step_rhs :=
match goal with
| H: ?x = spec ?i ?args _
|- context [spec ?i ?args ?cc] =>
replace (spec i args cc) with x by idtac
replace (spec i args cc) with x by first [assumption | symmetry;assumption]
end;
match goal with
| H : ?y = (?x mod ?m)%Z |- context [(?x mod ?m)%Z] =>
Expand Down Expand Up @@ -397,4 +397,4 @@ Ltac push_value_unused :=
| _ => apply not_in_cons; split;
[ try assumption; symmetry; assumption | ]
| _ => apply in_nil
end.
end.