Library prosa.analysis.abstract.restricted_supply.search_space.fp
Require Export prosa.analysis.facts.model.rbf.
Require Export prosa.analysis.abstract.search_space.
Require Export prosa.analysis.definitions.blocking_bound.fp.
Require Export prosa.analysis.abstract.search_space.
Require Export prosa.analysis.definitions.blocking_bound.fp.
Abstract Search Space is a Subset of Restricted Supply FP Search Space
Consider any type of tasks.
Consider an FP policy that indicates a higher-or-equal priority
relation.
Consider an arbitrary task set ts.
Let max_arrivals be a family of valid arrival curves, i.e.,
for any task tsk in ts max_arrival tsk is (1) an arrival
bound of tsk, and (2) it is a monotonic function that equals
0 for the empty interval delta = 0.
Context `{MaxArrivals Task}.
Hypothesis H_valid_arrival_curve :
valid_taskset_arrival_curve ts max_arrivals.
Hypothesis H_valid_arrival_curve :
valid_taskset_arrival_curve ts max_arrivals.
Let's define some local names for clarity.
Let task_rbf := task_request_bound_function tsk.
Let total_ohep_rbf := total_ohep_request_bound_function_FP ts tsk.
Let total_ohep_rbf := total_ohep_request_bound_function_FP ts tsk.
Let L be an arbitrary positive constant. Typically, L
denotes an upper bound on the length of a busy interval of a job
of tsk. In this file, however, L can be any positive
constant.
For the fixed-priority scheduling policy, the search space is
defined as the set of offsets below L where the RBF of the
task under analysis makes a step.
To rule out pathological cases with the search space, we assume
that the task cost is positive and the arrival curve is
non-pathological.
Hypothesis H_task_cost_pos : 0 < task_cost tsk.
Hypothesis H_arrival_curve_pos : 0 < max_arrivals tsk ε.
Hypothesis H_arrival_curve_pos : 0 < max_arrivals tsk ε.
For brevity, let us introduce a shorthand for an intra-IBF (used
by aRTA). The abstract search space is derived via intra-IBF.
Let intra_IBF (A F : duration) :=
task_rbf (A + ε) - task_cost tsk
+ (blocking_bound ts tsk + total_ohep_rbf F).
task_rbf (A + ε) - task_cost tsk
+ (blocking_bound ts tsk + total_ohep_rbf F).
Then, abstract RTA's standard search space is a subset of the
computation-oriented version defined above.
Lemma search_space_sub :
∀ A,
search_space.is_in_search_space L intra_IBF A →
is_in_search_space A.
End SearchSpaceSubset.
∀ A,
search_space.is_in_search_space L intra_IBF A →
is_in_search_space A.
End SearchSpaceSubset.