Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Tej Chajed
iris
Commits
5d81fe7a
Commit
5d81fe7a
authored
4 years ago
by
Simon Friis Vindum
Committed by
Robbert Krebbers
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 3 suggestion(s) to 3 file(s)
parent
d8276388
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
iris/algebra/dfrac.v
+1
-1
1 addition, 1 deletion
iris/algebra/dfrac.v
iris/base_logic/lib/gen_heap.v
+1
-1
1 addition, 1 deletion
iris/base_logic/lib/gen_heap.v
iris_heap_lang/lib/atomic_heap.v
+1
-1
1 addition, 1 deletion
iris_heap_lang/lib/atomic_heap.v
with
3 additions
and
3 deletions
iris/algebra/dfrac.v
+
1
−
1
View file @
5d81fe7a
...
...
@@ -34,7 +34,7 @@ Inductive dfrac :=
(* This notation is intended to be used as a component in other notations that
include discardable fractions. The notation provides shorthands for the
constructors and the commonly used full fraction. For an
d
example
constructors and the commonly used full fraction. For an example
demonstrating how this can be used see the notation in [gen_heap.v]. *)
Declare
Custom
Entry
dfrac
.
Notation
"{ dq }"
:=
(
dq
)
(
in
custom
dfrac
at
level
1
,
dq
constr
)
.
...
...
This diff is collapsed.
Click to expand it.
iris/base_logic/lib/gen_heap.v
+
1
−
1
View file @
5d81fe7a
...
...
@@ -185,7 +185,7 @@ Section gen_heap.
Lemma
mapsto_ne
l1
l2
dq2
v1
v2
:
l1
↦
v1
-∗
l2
↦
{
dq2
}
v2
-∗
⌜
l1
≠
l2
⌝.
Proof
.
apply
mapsto_frac_ne
.
intros
?
%
exclusive_l
;
[
done
|
apply
_]
.
Qed
.
(** Permanently turn a
fractional
points-to predicate into a persistent
(** Permanently turn a
ny
points-to predicate into a persistent
points-to predicate. *)
Lemma
mapsto_persist
l
dq
v
:
l
↦
{
dq
}
v
==∗
l
↦□
v
.
Proof
.
rewrite
mapsto_eq
.
apply
own_update
,
gmap_view_persist
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
iris_heap_lang/lib/atomic_heap.v
+
1
−
1
View file @
5d81fe7a
...
...
@@ -14,7 +14,7 @@ Class atomic_heap {Σ} `{!heapG Σ} := AtomicHeap {
store
:
val
;
cmpxchg
:
val
;
(* -- predicates -- *)
mapsto
(
l
:
loc
)
(
q
:
dfrac
)
(
v
:
val
)
:
iProp
Σ
;
mapsto
(
l
:
loc
)
(
d
q
:
dfrac
)
(
v
:
val
)
:
iProp
Σ
;
(* -- mapsto properties -- *)
mapsto_timeless
l
q
v
:>
Timeless
(
mapsto
l
q
v
);
mapsto_fractional
l
v
:>
Fractional
(
λ
(
q
:
Qp
),
mapsto
l
(
DfracOwn
q
)
v
);
...
...
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