Section HybDryMachineLemmas.
(* Lemmas that don't need semantics/threadpool*)
(** Assume some threadwise semantics *)
Context {Sem: Semantics}
{tpool : @ThreadPool.ThreadPool dryResources Sem}.

(*TODO: This lemma should probably be moved. *)
Lemma threads_canonical:
forall ds m i (cnt:containsThread ds i),
mem_compatible ds m ->
isCanonical (getThreadR cnt).1 /\
isCanonical (getThreadR cnt).2.