Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Fairis
Commits
a9034293
Commit
a9034293
authored
Jan 18, 2016
by
Robbert Krebbers
Browse files
The tactics setoid_subst x and cofe_subst now also clear x.
parent
c9ae33d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
modures/logic.v
View file @
a9034293
...
...
@@ -134,9 +134,9 @@ Next Obligation.
assert
(
∃
x2
'
,
y
={
n2
}=
x1
⋅
x2
'
∧
x2
≼
x2
'
)
as
(
x2
'
&
Hy
&?
).
{
destruct
Hxy
as
[
z
Hy
];
exists
(
x2
⋅
z
);
split
;
eauto
using
@
ra_included_l
.
apply
dist_le
with
n1
;
auto
.
by
rewrite
(
associative
op
)
-
Hx
Hy
.
}
exists
x1
,
x2
'
;
split_ands
;
[
done
|
|
].
*
cofe_subst
y
;
apply
uPred_weaken
with
x1
n1
;
eauto
using
cmra_valid_op_l
.
*
cofe_subst
y
;
apply
uPred_weaken
with
x2
n1
;
eauto
using
cmra_valid_op_r
.
clear
Hxy
;
cofe_subst
y
;
exists
x1
,
x2
'
;
split_ands
;
[
done
|
|
].
*
apply
uPred_weaken
with
x1
n1
;
eauto
using
cmra_valid_op_l
.
*
apply
uPred_weaken
with
x2
n1
;
eauto
using
cmra_valid_op_r
.
Qed
.
Program
Definition
uPred_wand
{
M
}
(
P
Q
:
uPred
M
)
:
uPred
M
:=
...
...
prelude/tactics.v
View file @
a9034293
...
...
@@ -218,7 +218,7 @@ Ltac setoid_subst_aux R x :=
try
match
H
'
with
H
=>
fail
2
end
;
setoid_rewrite
H
in
H
'
end
;
clear
H
clear
x
H
end
.
Ltac
setoid_subst
:=
repeat
match
goal
with
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment