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
facab8cd
Commit
facab8cd
authored
1 month ago
by
Lennard Gäher
Committed by
Ralf Jung
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
lft is EqDecision and Countable
parent
f55b9243
No related branches found
No related tags found
1 merge request
!39
lft is EqDecision and Countable
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lifetime/lifetime_sig.v
+9
-2
9 additions, 2 deletions
lifetime/lifetime_sig.v
lifetime/model/definitions.v
+1
-0
1 addition, 0 deletions
lifetime/model/definitions.v
lifetime/model/primitive.v
+4
-0
4 additions, 0 deletions
lifetime/model/primitive.v
with
14 additions
and
2 deletions
lifetime/lifetime_sig.v
+
9
−
2
View file @
facab8cd
...
...
@@ -65,7 +65,16 @@ Module Type lifetime_sig.
(** * Instances *)
Global
Declare
Instance
lft_inhabited
:
Inhabited
lft
.
Global
Declare
Instance
lft_eq_dec
:
EqDecision
lft
.
Global
Declare
Instance
lft_countable
:
Countable
lft
.
Global
Declare
Instance
atomic_lft_inhabited
:
Inhabited
atomic_lft
.
Global
Declare
Instance
atomic_lft_eq_dec
:
EqDecision
atomic_lft
.
Global
Declare
Instance
atomic_lft_countable
:
Countable
atomic_lft
.
Global
Declare
Instance
bor_idx_inhabited
:
Inhabited
bor_idx
.
Global
Declare
Instance
bor_idx_eq_dec
:
EqDecision
bor_idx
.
Global
Declare
Instance
bor_idx_countable
:
Countable
bor_idx
.
Global
Declare
Instance
lft_intersect_comm
:
Comm
(
A
:=
lft
)
eq
(
⊓
)
.
Global
Declare
Instance
lft_intersect_assoc
:
Assoc
(
A
:=
lft
)
eq
(
⊓
)
.
...
...
@@ -110,8 +119,6 @@ Module Type lifetime_sig.
Global
Declare
Instance
atomic_lft_to_lft_inj
:
Inj
eq
eq
atomic_lft_to_lft
.
Global
Declare
Instance
positive_to_atomic_lft_inj
:
Inj
eq
eq
positive_to_atomic_lft
.
Global
Declare
Instance
atomic_lft_eq_dec
:
EqDecision
atomic_lft
.
Global
Declare
Instance
atomic_lft_countable
:
Countable
atomic_lft
.
(** * Laws *)
Parameter
lft_tok_sep
:
∀
q
κ1
κ2
,
q
.[
κ1
]
∗
q
.[
κ2
]
⊣⊢
q
.[
κ1
⊓
κ2
]
.
...
...
This diff is collapsed.
Click to expand it.
lifetime/model/definitions.v
+
1
−
0
View file @
facab8cd
...
...
@@ -353,6 +353,7 @@ Qed.
Global
Instance
positive_to_atomic_lft_inj
:
Inj
eq
eq
positive_to_atomic_lft
.
Proof
.
apply
_
.
Qed
.
Global
Definition
atomic_lft_inhabited
:
Inhabited
atomic_lft
:=
_
.
Global
Definition
atomic_lft_eq_dec
:
EqDecision
atomic_lft
:=
_
.
Global
Definition
atomic_lft_countable
:
Countable
atomic_lft
:=
_
.
...
...
This diff is collapsed.
Click to expand it.
lifetime/model/primitive.v
+
4
−
0
View file @
facab8cd
...
...
@@ -303,7 +303,11 @@ Qed.
(** Basic rules about lifetimes *)
Local
Instance
lft_inhabited
:
Inhabited
lft
:=
_
.
Local
Instance
lft_eq_dec
:
EqDecision
lft
:=
_
.
Local
Instance
lft_countable
:
Countable
lft
:=
_
.
Local
Instance
bor_idx_inhabited
:
Inhabited
bor_idx
:=
_
.
Local
Instance
bor_idx_eq_dec
:
EqDecision
bor_idx
:=
_
.
Local
Instance
bor_idx_countable
:
Countable
bor_idx
:=
_
.
Local
Instance
lft_intersect_comm
:
Comm
(
A
:=
lft
)
eq
(
⊓
)
:=
_
.
Local
Instance
lft_intersect_assoc
:
Assoc
(
A
:=
lft
)
eq
(
⊓
)
:=
_
.
Local
Instance
lft_intersect_inj_1
κ
:
Inj
eq
eq
(
κ
⊓.
)
:=
_
.
...
...
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