Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lasse Blaauwbroek
PROSA - Formally Proven Schedulability Analysis
Commits
e5889331
Commit
e5889331
authored
5 years ago
by
Sergey Bozhko
Committed by
Björn Brandenburg
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a corollary about sequential jobs
parent
7313c486
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
model/schedule/uni/schedule.v
+21
-2
21 additions, 2 deletions
model/schedule/uni/schedule.v
with
21 additions
and
2 deletions
model/schedule/uni/schedule.v
+
21
−
2
View file @
e5889331
...
@@ -94,15 +94,34 @@ Module UniprocessorSchedule.
...
@@ -94,15 +94,34 @@ Module UniprocessorSchedule.
(* We say that two jobs j1 and j2 are from the same task, if job_task j1 is equal to job_task j2. *)
(* We say that two jobs j1 and j2 are from the same task, if job_task j1 is equal to job_task j2. *)
Let
same_task
j1
j2
:=
job_task
j1
==
job_task
j2
.
Let
same_task
j1
j2
:=
job_task
j1
==
job_task
j2
.
(* We say that the jobs are sequential if they are executed
(* We say that the jobs are sequential if they are executed in the order they arrived. *)
in the order they arrived. *)
Definition
sequential_jobs
:=
Definition
sequential_jobs
:=
forall
j1
j2
t
,
forall
j1
j2
t
,
same_task
j1
j2
->
same_task
j1
j2
->
job_arrival
j1
<
job_arrival
j2
->
job_arrival
j1
<
job_arrival
j2
->
scheduled_at
j2
t
->
scheduled_at
j2
t
->
completed_by
j1
t
.
completed_by
j1
t
.
(* Assume the hypothesis about sequential jobs holds. *)
Hypothesis
H_sequential_jobs
:
sequential_jobs
.
(* A simple corollary of this hypothesis is that the scheduler
executes a job with the earliest arrival time. *)
Corollary
scheduler_executes_job_with_earliest_arrival
:
forall
j1
j2
t
,
same_task
j1
j2
->
~~
completed_by
j2
t
->
scheduled_at
j1
t
->
job_arrival
j1
<=
job_arrival
j2
.
Proof
.
intros
?
?
t
TSK
NCOMPL
SCHED
.
rewrite
/
same_task
eq_sym
in
TSK
.
have
SEQ
:=
H_sequential_jobs
j2
j1
t
TSK
.
rewrite
leqNgt
;
apply
/
negP
;
intros
ARR
.
move
:
NCOMPL
=>
/
negP
NCOMPL
;
apply
:
NCOMPL
.
by
apply
SEQ
.
Qed
.
End
PropertyOfSequentiality
.
End
PropertyOfSequentiality
.
End
ScheduleProperties
.
End
ScheduleProperties
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment