Library prosa.analysis.facts.model.dynamic_suspension

In this file, we prove some facts related to the dynamic self-suspension model.
Consider any type of tasks with an arrival curve max_arrivals and a bound task_total_suspension on each job's total self-suspension duration.
  Context {Task : TaskType}.
  Context `{MaxArrivals Task}.
  Context `{TaskTotalSuspension Task}.

Consider any kind of jobs associated with these tasks.
  Context {Job : JobType}.
  Context `{JobTask Job Task}.
  Context `{JobArrival Job}.
  Context `{JobCost Job}.

Here we consider that the jobs can exhibit self-suspensions.
  Context `{JobSuspension Job}.

Assume that all jobs respect the bound on the maximum total self-suspension duration.
Consider any arrival sequence of jobs ...
  Variable arr_seq : arrival_sequence Job.

... and any kind of processor model.
  Context `{PState : ProcessorState Job}.

Consider any schedule.
  Variable sched : schedule PState.

Let tsk be any task.
  Variable tsk : Task.

Consider any arbitrary time interval [t1, t1 + Δ).
  Variable t1 : instant.
  Variable Δ : duration.

We first prove a bound on the total self-suspension duration of a job.
  Section JobSuspensionBounded.

Consider any job j of tsk.
    Variable j : Job.
    Hypothesis H_job_tsk : job_of_task tsk j.

Now we prove an upper bound on the total duration a job remains suspended in the interval [t1, t1 + Δ).
Next, assume that tsk respects the arrival curve defined by max_arrivals.
Now we establish a bound on the total duration the jobs of task tsk remain suspended in the interval [t1, t2).