Skip to content

Commit 29825b0

Browse files
committed
minor fixes
1 parent 8b10c29 commit 29825b0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

exercises/resource_algebra.v

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ From iris.heap_lang Require Import lang proofmode notation.
1717
resources uniformly – we define a fixed set of criteria that a notion
1818
of resource must satisfy in order to be used in the logic. If the
1919
notion satisfies those criteria, then it is a `resource algebra'
20-
(often shorted to `RA'). We can then have a small handful of rules for
21-
resource algebras in general, and we hence do not need to change the
22-
logic every time we wish to use a new notion of a resource.
20+
(often shortened to `RA'). We can then have a small handful of rules
21+
for resource algebras in general, and we hence do not need to change
22+
the logic every time we wish to use a new notion of a resource.
2323
2424
In this way, resource algebras are oblivious to the existence of Iris
2525
– they exist as a separate thing. Iris then has a mechanism to embed
@@ -413,7 +413,7 @@ Admitted.
413413
valid. Otherwise, we could easily derive falsehood. Hence, when a
414414
thread updates its resources, it must ensure that it does not
415415
introduce the possibility of obtaining an invalid element. We call
416-
such an update a `frame preserving Update' and write [x ~~> y] to mean
416+
such an update a `frame preserving update' and write [x ~~> y] to mean
417417
that we can perform a frame preserving update from resource [x] to
418418
resource [y]. The formal definition for this notion turns out to be
419419
quite succinct:
@@ -938,7 +938,7 @@ Context `{!heapGS Σ}.
938938
exactly one way of embedding a resource [r] from some resource algebra
939939
[R] into the logic: the proposition [own γ r] asserts _ownership_ of
940940
the resource [r] in an instance of the resource algebra [R] named [γ].
941-
That is to say, in Iris, once we have added a [R] to [Σ], we may
941+
That is to say, in Iris, once we have added an [R] to [Σ], we may
942942
create multiple instances of [R] so that the same resource in [R] may
943943
be owned multiple times. To distinguish between instances, we use
944944
`ghost names' (sometimes also called `ghost variables' or `ghost

theories/resource_algebra.v

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ From iris.heap_lang Require Import lang proofmode notation.
1717
resources uniformly – we define a fixed set of criteria that a notion
1818
of resource must satisfy in order to be used in the logic. If the
1919
notion satisfies those criteria, then it is a `resource algebra'
20-
(often shorted to `RA'). We can then have a small handful of rules for
21-
resource algebras in general, and we hence do not need to change the
22-
logic every time we wish to use a new notion of a resource.
20+
(often shortened to `RA'). We can then have a small handful of rules
21+
for resource algebras in general, and we hence do not need to change
22+
the logic every time we wish to use a new notion of a resource.
2323
2424
In this way, resource algebras are oblivious to the existence of Iris
2525
– they exist as a separate thing. Iris then has a mechanism to embed
@@ -419,7 +419,7 @@ Qed.
419419
valid. Otherwise, we could easily derive falsehood. Hence, when a
420420
thread updates its resources, it must ensure that it does not
421421
introduce the possibility of obtaining an invalid element. We call
422-
such an update a `frame preserving Update' and write [x ~~> y] to mean
422+
such an update a `frame preserving update' and write [x ~~> y] to mean
423423
that we can perform a frame preserving update from resource [x] to
424424
resource [y]. The formal definition for this notion turns out to be
425425
quite succinct:
@@ -971,7 +971,7 @@ Context `{!heapGS Σ}.
971971
exactly one way of embedding a resource [r] from some resource algebra
972972
[R] into the logic: the proposition [own γ r] asserts _ownership_ of
973973
the resource [r] in an instance of the resource algebra [R] named [γ].
974-
That is to say, in Iris, once we have added a [R] to [Σ], we may
974+
That is to say, in Iris, once we have added an [R] to [Σ], we may
975975
create multiple instances of [R] so that the same resource in [R] may
976976
be owned multiple times. To distinguish between instances, we use
977977
`ghost names' (sometimes also called `ghost variables' or `ghost

0 commit comments

Comments
 (0)