Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
vzaliva committed Aug 2, 2023
1 parent ca875af commit 567da2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions coq/CheriMemory/CheriMemory.v
Original file line number Diff line number Diff line change
Expand Up @@ -1114,12 +1114,6 @@ Module CheriMemory
| PV prov ptrval => (prov,ptrval)
end.

(** Helper function to split a list at given position.
List.split_at in Lem.
*)
Definition split_at {A:Type} (n:nat) (l:list A)
:= (List.firstn n l, List.skipn n l).

Inductive overlap_ind :=
| NoAlloc: overlap_ind
| SingleAlloc: storage_instance_id -> overlap_ind
Expand Down
6 changes: 6 additions & 0 deletions coq/Common/Utils.v
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,9 @@ Proof.
rewrite H0, H1.
apply string_eq_refl.
Qed.

(** Helper function to split a list at given position.
List.split_at in Lem.
*)
Definition split_at {A:Type} (n:nat) (l:list A)
:= (List.firstn n l, List.skipn n l).

0 comments on commit 567da2f

Please sign in to comment.