Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
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
Model registry
Operate
Environments
Monitor
Service Desk
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
Iris
lambda-rust
Commits
4e3fabc0
Commit
4e3fabc0
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Bump std++ (multisets).
parent
9f72ef66
No related branches found
No related tags found
No related merge requests found
Pipeline
#45743
failed
4 years ago
Stage: build
Changes
3
Pipelines
9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
coq-lambda-rust.opam
+1
-1
1 addition, 1 deletion
coq-lambda-rust.opam
theories/lifetime/model/creation.v
+2
-1
2 additions, 1 deletion
theories/lifetime/model/creation.v
theories/lifetime/model/definitions.v
+2
-2
2 additions, 2 deletions
theories/lifetime/model/definitions.v
with
5 additions
and
4 deletions
coq-lambda-rust.opam
+
1
−
1
View file @
4e3fabc0
...
...
@@ -13,7 +13,7 @@ the type system, and safety proof for some Rust libraries.
"""
depends: [
"coq-iris" { (= "dev.2021-0
3-15.2.730f24ec
") | (= "dev") }
"coq-iris" { (= "dev.2021-0
4-20.0.7a260d80
") | (= "dev") }
]
build: [make "-j%{jobs}%"]
...
...
This diff is collapsed.
Click to expand it.
theories/lifetime/model/creation.v
+
2
−
1
View file @
4e3fabc0
...
...
@@ -175,7 +175,8 @@ Proof.
split
;
last
done
.
by
eapply
gmultiset_elem_of_subseteq
.
}
{
intros
κ
???
.
rewrite
elem_of_difference
elem_of_filter
elem_of_dom
.
auto
.
}
iModIntro
.
iMod
(
"Hclose"
with
"[-]"
)
as
"_"
;
last
first
.
{
iModIntro
.
rewrite
/
lft_dead
.
iExists
Λ
.
rewrite
elem_of_singleton
.
auto
.
}
{
iModIntro
.
rewrite
/
lft_dead
.
iExists
Λ
.
rewrite
gmultiset_elem_of_singleton
.
auto
.
}
iNext
.
iExists
(
<
[
Λ
:=
false
]
>
A
),
I
.
rewrite
/
own_alft_auth
/
to_alftUR
fmap_insert
.
iFrame
"HA HI"
.
rewrite
HI
!
big_sepS_union
//.
...
...
This diff is collapsed.
Click to expand it.
theories/lifetime/model/definitions.v
+
2
−
2
View file @
4e3fabc0
...
...
@@ -19,7 +19,7 @@ End lft_notation.
Definition
static
:
lft
:=
(
∅
:
gmultiset
_)
.
Instance
lft_intersect
:
Meet
lft
:=
λ
κ
κ'
,
κ
⊎
κ'
.
Definition
positive_to_lft
(
p
:
positive
)
:
lft
:=
{[
p
]}
.
Definition
positive_to_lft
(
p
:
positive
)
:
lft
:=
{[
+
p
+
]}
.
Inductive
bor_state
:=
|
Bor_in
...
...
@@ -341,7 +341,7 @@ Proof. rewrite /lft_ctx. apply _. Qed.
Global
Instance
positive_to_lft_inj
:
Inj
eq
eq
positive_to_lft
.
Proof
.
unfold
positive_to_lft
.
intros
x
y
Hxy
.
apply
(
elem_of_singleton
_1
(
C
:=
lft
))
.
rewrite
-
Hxy
.
apply
gmultiset_
elem_of_singleton
.
rewrite
-
Hxy
.
set_solver
.
Qed
.
End
basic_properties
.
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