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
37e9bdac
Commit
37e9bdac
authored
5 years ago
by
Björn Brandenburg
Browse files
Options
Downloads
Patches
Plain Diff
relate ideal progress model with job completion
parent
eb957144
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
restructuring/behavior/facts/completion.v
+19
-2
19 additions, 2 deletions
restructuring/behavior/facts/completion.v
with
19 additions
and
2 deletions
restructuring/behavior/facts/completion.v
+
19
−
2
View file @
37e9bdac
...
...
@@ -224,6 +224,7 @@ Section ServiceAndCompletionFacts.
first
by
apply
:
H_jobs_must_arrive
=>
//.
by
apply
:
scheduled_implies_not_completed
=>
//.
Qed
.
End
GuaranteedService
.
End
ServiceAndCompletionFacts
.
...
...
@@ -283,7 +284,7 @@ Section PositiveCost.
End
PositiveCost
.
Section
RelationToReady
.
Section
CompletedJobs
.
(* Consider any kinds of jobs and any kind of processor state. *)
Context
{
Job
:
JobType
}
{
PState
:
Type
}
.
Context
`{
ProcessorState
Job
PState
}
.
...
...
@@ -318,4 +319,20 @@ Section RelationToReady.
by
apply
ready_implies_incomplete
.
Qed
.
End
RelationToReady
.
(* We further observe that completed jobs don't execute if scheduled jobs
always receive non-zero service and cumulative service never exceeds job
costs. *)
Lemma
ideal_progress_completed_jobs
:
ideal_progress_proc_model
->
(
forall
j
t
,
service
sched
j
t
<=
job_cost
j
)
->
completed_jobs_dont_execute
sched
.
Proof
.
move
=>
IDEAL
SERVICE_BOUND
j
t
SCHED
.
have
UB
:=
SERVICE_BOUND
j
t
.
+
1
.
have
POS
:=
IDEAL
_
_
SCHED
.
apply
ltn_leq_trans
with
(
n
:=
service
sched
j
t
.
+
1
)
=>
//.
rewrite
-
service_last_plus_before
/
service_at
.
by
rewrite
-
{
1
}(
addn0
(
service
sched
j
t
))
ltn_add2l
.
Qed
.
End
CompletedJobs
.
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