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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
RT-PROOFS
PROSA - Formally Proven Schedulability Analysis
Commits
a77c7c71
Commit
a77c7c71
authored
4 years ago
by
Björn Brandenburg
Browse files
Options
Downloads
Patches
Plain Diff
additional minor lemmas on job arrivals
parent
93b40629
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!96
Ideal Uniprocessor Scheduler Implementation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analysis/facts/behavior/arrivals.v
+42
-1
42 additions, 1 deletion
analysis/facts/behavior/arrivals.v
with
42 additions
and
1 deletion
analysis/facts/behavior/arrivals.v
+
42
−
1
View file @
a77c7c71
...
@@ -3,6 +3,37 @@ Require Export prosa.util.all.
...
@@ -3,6 +3,37 @@ Require Export prosa.util.all.
(** * Arrival Sequence *)
(** * Arrival Sequence *)
(** First, we relate the stronger to the weaker arrival predicates. *)
Section
ArrivalPredicates
.
(** Consider any kinds of jobs with arrival times. *)
Context
{
Job
:
JobType
}
`{
JobArrival
Job
}
.
(** A job that arrives in some interval <<[t1, t2)>> certainly arrives before
time [t2]. *)
Lemma
arrived_between_before
:
forall
j
t1
t2
,
arrived_between
j
t1
t2
->
arrived_before
j
t2
.
Proof
.
move
=>
j
t1
t2
.
now
rewrite
/
arrived_before
/
arrived_between
=>
/
andP
[_
CLAIM
]
.
Qed
.
(** A job that arrives before a time [t] certainly has arrived by time
[t]. *)
Lemma
arrived_before_has_arrived
:
forall
j
t
,
arrived_before
j
t
->
has_arrived
j
t
.
Proof
.
move
=>
j
t
.
rewrite
/
arrived_before
/
has_arrived
.
now
apply
ltnW
.
Qed
.
End
ArrivalPredicates
.
(** In this section, we relate job readiness to [has_arrived]. *)
(** In this section, we relate job readiness to [has_arrived]. *)
Section
Arrived
.
Section
Arrived
.
...
@@ -51,6 +82,16 @@ Section Arrived.
...
@@ -51,6 +82,16 @@ Section Arrived.
by
apply
ready_implies_arrived
.
by
apply
ready_implies_arrived
.
Qed
.
Qed
.
(** Since backlogged jobs are by definition ready, any backlogged job must have arrived. *)
Corollary
backlogged_implies_arrived
:
forall
j
t
,
backlogged
sched
j
t
->
has_arrived
j
t
.
Proof
.
rewrite
/
backlogged
.
move
=>
j
t
/
andP
[
READY
_]
.
now
apply
ready_implies_arrived
.
Qed
.
End
Arrived
.
End
Arrived
.
(** In this section, we establish useful facts about arrival sequence prefixes. *)
(** In this section, we establish useful facts about arrival sequence prefixes. *)
...
@@ -199,4 +240,4 @@ Section ArrivalSequencePrefix.
...
@@ -199,4 +240,4 @@ Section ArrivalSequencePrefix.
End
ArrivalTimes
.
End
ArrivalTimes
.
End
ArrivalSequencePrefix
.
End
ArrivalSequencePrefix
.
\ No newline at end of file
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