Built with Alectryon, running Coq+SerAPI v8.20.0+0.20.0. Bubbles () indicate interactive fragments: hover for details, tap to reveal contents. Use Ctrl+↑ Ctrl+↓ to navigate, Ctrl+🖱️ to focus. On Mac, use instead of Ctrl.
[Loading ML file ssrmatching_plugin.cmxs (using legacy method) ... done]
[Loading ML file ssreflect_plugin.cmxs (using legacy method) ... done]
[Loading ML file ring_plugin.cmxs (using legacy method) ... done]
Serlib plugin: coq-elpi.elpi is not available: serlib support is missing. Incremental checking for commands in this plugin will be impacted.
[Loading ML file coq-elpi.elpi ... done]
[Loading ML file zify_plugin.cmxs (using legacy method) ... done]
[Loading ML file micromega_core_plugin.cmxs (using legacy method) ... done]
[Loading ML file micromega_plugin.cmxs (using legacy method) ... done]
[Loading ML file btauto_plugin.cmxs (using legacy method) ... done]
Notation "_ + _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ - _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ <= _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ < _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ >= _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ > _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ <= _ <= _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ < _ <= _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ <= _ < _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ < _ < _" was already used in scope nat_scope. [notation-overridden,parsing,default]
Notation "_ * _" was already used in scope nat_scope. [notation-overridden,parsing,default]
(** * Demand Bound Function (DBF) *) (** Here we define Baruah et al.'s classic notion of a demand bound function, generalized to arbitrary arrival curves. *) Section DemandBoundFunction. (** Consider any type of tasks. *) Context {Task : TaskType}. (** Suppose each task is characterized by a WCET, a relative deadline, and an arrival curve. *) Context `{TaskCost Task} `{TaskDeadline Task} `{MaxArrivals Task}. (** A task's DBF is its request-bound function (RBF) shifted by [task_deadline tsk - 1] time units. *) Definition task_demand_bound_function (tsk : Task) (delta : duration) := let delta' := delta - (task_deadline tsk - 1) in task_request_bound_function tsk delta'. (** A task set's total demand bound function is simply the sum of each task's DBF.*) Definition total_demand_bound_function (ts: seq Task) (delta : duration) := \sum_(tsk <- ts) task_demand_bound_function tsk delta. End DemandBoundFunction.