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
590f19bb
Verified
Commit
590f19bb
authored
9 months ago
by
Lennard Gäher
Browse files
Options
Downloads
Patches
Plain Diff
adjust name + use new stdpp lemma
parent
588ebc4b
No related branches found
No related tags found
1 merge request
!38
Add lemmas used by RefinedRust
Pipeline
#106214
passed
9 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lifetime/lifetime_sig.v
+1
-1
1 addition, 1 deletion
lifetime/lifetime_sig.v
lifetime/model/creation.v
+2
-12
2 additions, 12 deletions
lifetime/model/creation.v
with
3 additions
and
13 deletions
lifetime/lifetime_sig.v
+
1
−
1
View file @
590f19bb
...
@@ -122,7 +122,7 @@ Module Type lifetime_sig.
...
@@ -122,7 +122,7 @@ Module Type lifetime_sig.
such that [m ⊓ κ'] is syntactically different from [κ].
such that [m ⊓ κ'] is syntactically different from [κ].
This is useful in conjunction with [lft_create_strong] to generate
This is useful in conjunction with [lft_create_strong] to generate
fresh lifetimes when using lifetimes as keys to index into a map. *)
fresh lifetimes when using lifetimes as keys to index into a map. *)
Parameter
lft_fresh
_strong
:
∀
κ
κ'
,
∃
i
:
positive
,
Parameter
lft_fresh
:
∀
κ
κ'
,
∃
i
:
positive
,
∀
m
:
positive
,
(
i
<
m
)
%
positive
→
(
positive_to_lft
m
)
⊓
κ'
≠
κ
.
∀
m
:
positive
,
(
i
<
m
)
%
positive
→
(
positive_to_lft
m
)
⊓
κ'
≠
κ
.
Parameter
bor_create
:
∀
E
κ
P
,
Parameter
bor_create
:
∀
E
κ
P
,
...
...
This diff is collapsed.
Click to expand it.
lifetime/model/creation.v
+
2
−
12
View file @
590f19bb
...
@@ -185,21 +185,11 @@ Proof.
...
@@ -185,21 +185,11 @@ Proof.
+
iRight
.
iFrame
.
iPureIntro
.
by
apply
lft_dead_in_insert_false
.
+
iRight
.
iFrame
.
iPureIntro
.
by
apply
lft_dead_in_insert_false
.
Qed
.
Qed
.
(* TODO: remove once stdpp!562 is merged *)
Lemma
lft_fresh
κ
κ'
:
Lemma
lower_bound_exists
`{
FinSet
A
C
}
R
`{
!
Transitive
R
,
∀
x
y
,
Decision
(
R
x
y
)}
`{
!
Inhabited
A
}
(
X
:
C
)
:
∃
x
,
minimal
R
x
X
.
Proof
.
destruct
(
set_choose_or_empty
X
)
as
[
(
y
&
Ha
)
|
Hne
]
.
-
edestruct
(
minimal_exists
R
X
)
as
(
x
&
Hel
&
Hmin
);
first
set_solver
.
exists
x
.
done
.
-
exists
inhabitant
.
intros
y
Hel
.
set_solver
.
Qed
.
Lemma
lft_fresh_strong
κ
κ'
:
∃
i
:
positive
,
∀
m
:
positive
,
(
i
<
m
)
%
positive
→
(
positive_to_lft
m
)
⊓
κ'
≠
κ
.
∃
i
:
positive
,
∀
m
:
positive
,
(
i
<
m
)
%
positive
→
(
positive_to_lft
m
)
⊓
κ'
≠
κ
.
Proof
.
Proof
.
unfold
meet
,
lft_intersect
.
unfold
meet
,
lft_intersect
.
destruct
(
lower_bound
_exists
(
flip
Pos
.
le
)
(
dom
κ
))
as
(
i
&
Ha
)
.
destruct
(
minimal
_exists
(
flip
Pos
.
le
)
(
dom
κ
))
as
(
i
&
Ha
)
.
exists
(
i
+
1
)
%
positive
.
exists
(
i
+
1
)
%
positive
.
intros
k
Hik
Heq
.
subst
κ
.
intros
k
Hik
Heq
.
subst
κ
.
ospecialize
(
Ha
k
_
_);
simpl
in
*
;
[
|
lia
..]
.
ospecialize
(
Ha
k
_
_);
simpl
in
*
;
[
|
lia
..]
.
...
...
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