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]
Require Export prosa.analysis.definitions.sbf.pred.Require Export prosa.analysis.abstract.definitions.(** * SBF within Abstract Busy Interval *)(** In the following, we define a weak notion of a supply bound function, which is a valid SBF only within an abstract busy interval of a task's job. *)SectionBusySupplyBoundFunctions.(** Consider any type of tasks, ... *)Context {Task : TaskType}.(** ... and any type of jobs. *)Context {Job : JobType}.Context `{JobArrival Job}.Context `{JobCost Job}.Context `{JobTask Job Task}.(** ... any kind of processor state model, ... *)Context `{PState : ProcessorState Job}.(** ... any arrival sequence, ... *)Variablearr_seq : arrival_sequence Job.(** ... and any schedule. *)Variablesched : schedule PState.(** Consider a task [tsk]. *)Variabletsk : Task.(** Assume we are provided with abstract functions for Interference and Interfering Workload. *)Context `{Interference Job}.Context `{InterferingWorkload Job}.(** We define a predicate that determines whether an interval <<[t1, t2)>> is a busy-interval prefix of a job [j] of task [tsk]. *)Letbi_prefix_of_tskjt1t2 :=
job_of_task tsk j /\ busy_interval_prefix sched j t1 t2.(** We say that the SBF is respected in a busy interval w.r.t. task [tsk] if, for any busy interval <<[t1, t2)>> of a job [j ∈ tsk] and a subinterval <<[t1, t) ⊆ [t1, t2)>>, at least [SBF (t - t1)] cumulative supply is provided. *)Definitionsbf_respected_in_busy_interval (SBF : duration -> work) :=
pred_sbf_respected arr_seq sched bi_prefix_of_tsk SBF.(** Next, we define an SBF that is valid within an (abstract) busy interval. *)Definitionvalid_busy_sbf (SBF : duration -> work) :=
valid_pred_sbf arr_seq sched bi_prefix_of_tsk SBF.EndBusySupplyBoundFunctions.