Skip to content

Commit

Permalink
improved auto goal selection (see coq/#16293)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhaandi authored and samuelgruetter committed Jul 12, 2022
1 parent 2fd296f commit 66fd053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Kami/InlineFacts.v
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ Proof.
remember (M.find a ds) as odv; destruct odv.
- remember (M.find a cs) as ocv; destruct ocv; [|apply IHdmsAll].
destruct (signIsEq s s0); [|destruct (signIsEq _ _); intuition; apply IHdmsAll].
subst; destruct (signIsEq s0 s0); intuition auto.
subst; destruct (signIsEq s0 s0); intuition idtac.
rewrite IHdmsAll; simpl in *.
clear; f_equal.
- destruct (M.find a cs); apply IHdmsAll.
Expand Down
4 changes: 2 additions & 2 deletions Kami/SemFacts.v
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ Proof.
destruct Heqokm as [sm [? ?]]; subst.
rewrite M.add_idempotent.
unfold liftToMap1.
rewrite M.F.P.fold_add; auto.
rewrite M.F.P.fold_add; auto.
rewrite M.F.P.fold_add; [|auto|auto| |auto].
rewrite M.F.P.fold_add; [|auto|auto| |auto].
unfold rmModify; simpl in *.
rewrite M.add_idempotent; reflexivity.
+ apply M.transpose_neqkey_eq_add; intuition.
Expand Down

0 comments on commit 66fd053

Please sign in to comment.