Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaëtan Gilbert
Iris
Commits
e2cbb35c
Commit
e2cbb35c
authored
1 year ago
by
Paolo G. Giarrusso
Committed by
Robbert Krebbers
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Replace some proofs with set_solver
parent
6911395b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris_unstable/algebra/monotone.v
+3
-26
3 additions, 26 deletions
iris_unstable/algebra/monotone.v
with
3 additions
and
26 deletions
iris_unstable/algebra/monotone.v
+
3
−
26
View file @
e2cbb35c
...
...
@@ -124,13 +124,7 @@ Section cmra.
Lemma
principal_op_R'
a
b
x
:
R
a
a
→
principal
R
a
⋅
x
≡
principal
R
b
→
R
a
b
.
Proof
.
move
=>
Ha
/
(_
a
)
HR
.
Succeed
set_solver
.
destruct
HR
as
[[
z
[
HR1
%
elem_of_list_singleton
HR2
]]
_];
last
by
subst
.
by
rewrite
/
op
/
mra_op
/
principal
below_app
below_principal
;
left
.
Qed
.
Proof
.
move
=>
Ha
/
(_
a
)
HR
.
set_solver
.
Qed
.
Lemma
principal_op_R
`{
!
Reflexive
R
}
a
b
x
:
principal
R
a
⋅
x
≡
principal
R
b
→
R
a
b
.
...
...
@@ -158,16 +152,7 @@ Section cmra.
intros
z
_
Habz
.
split
;
first
done
.
intros
w
.
specialize
(
Habz
w
)
.
Succeed
set_solver
.
split
.
-
intros
(
y
&
->%
elem_of_list_singleton
&
Hy2
)
.
exists
b
;
split
;
first
constructor
;
done
.
-
intros
(
y
&
[
->
|
Hy1
]
%
elem_of_cons
&
Hy2
)
.
+
set_solver
.
+
exists
b
;
split
;
first
constructor
.
destruct
Habz
as
[_
[
c
[
->%
elem_of_list_singleton
Hc2
]]]
.
{
exists
y
;
split
;
first
(
by
apply
elem_of_app
;
right
);
eauto
.
}
by
trans
a
.
set_solver
.
Qed
.
Lemma
mra_local_update_get_frag
`{
!
PreOrder
R
}
a
b
:
...
...
@@ -199,15 +184,7 @@ Section mra_over_rel.
Lemma
principal_inj_related
a
b
:
principal
R
a
≡
principal
R
b
→
R
a
a
→
R
a
b
.
Proof
.
move
=>
/
(_
a
)
.
Succeed
set_solver
.
intros
Hab
?
.
destruct
Hab
as
[[?
[?
%
elem_of_list_singleton
?]]
_];
last
by
subst
;
auto
.
exists
a
;
rewrite
/
principal
elem_of_list_singleton
.
done
.
Qed
.
Proof
.
move
=>
/
(_
a
)
.
set_solver
.
Qed
.
Lemma
principal_inj_general
S
a
b
:
principal
R
a
≡
principal
R
b
→
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment