Skip to content

Commit

Permalink
Fixed typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-almeida committed May 23, 2024
1 parent 8ef755d commit 9677164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/Morello/Capabilities.v
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Module AddressValue <: PTRADDR.

Definition of_Z (z:Z) : t := Z_to_bv len z.

(** Attempts to conver given integer value to address.
(** Attempts to convert given integer value to address.
Returns None if value is outside [ADDR_MIN,ADDR_LIMIT) interval *)
Definition of_Z_safe (z:Z) : option t
:= if (Z.leb ADDR_MIN z) && (Z.ltb z ADDR_LIMIT)
Expand Down Expand Up @@ -451,7 +451,7 @@ Module AddressValue <: PTRADDR.
1,2: apply Zle_bool_imp_le in Hl; lia.
Qed.

(** For Z values within address range, roundtip from Z and back is an identity *)
(** For Z values within address range, roundtrip from Z and back is an identity *)
Lemma of_Z_roundtrip:
forall z,
(Z.le ADDR_MIN z /\ Z.lt z ADDR_LIMIT) -> to_Z (of_Z z) = z.
Expand Down

0 comments on commit 9677164

Please sign in to comment.