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
c6e45848
Commit
c6e45848
authored
9 years ago
by
Felipe Cerqueira
Browse files
Options
Downloads
Patches
Plain Diff
Add lemma: completed -> not scheduled
parent
3d0bded1
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
schedule.v
+19
-2
19 additions, 2 deletions
schedule.v
with
19 additions
and
2 deletions
schedule.v
+
19
−
2
View file @
c6e45848
...
...
@@ -266,8 +266,25 @@ Module Schedule.
by
apply
leq_trans
with
(
n
:=
service
sched
j
t
);
[
by
rewrite
COMPt
|
by
apply
extend_sum
]
.
Qed
.
(* Also, the service received by job j in any interval is no larger than its cost. *)
(* A completed job cannot be scheduled. *)
Lemma
completed_implies_not_scheduled
:
forall
t
,
completed
job_cost
sched
j
t
->
~~
scheduled
sched
j
t
.
Proof
.
rename
H_completed_jobs
into
COMP
.
unfold
completed_jobs_dont_execute
in
*.
intros
t
COMPLETED
.
apply
/
negP
;
red
;
intro
SCHED
.
have
BUG
:=
COMP
j
t
.
+
1
.
rewrite
leqNgt
in
BUG
;
move
:
BUG
=>
/
negP
BUG
;
apply
BUG
.
unfold
service
;
rewrite
big_nat_recr
//
/=
-
addn1
.
apply
leq_add
;
first
by
move
:
COMPLETED
=>
/
eqP
[
<-
]
.
by
rewrite
lt0n
-
not_scheduled_no_service
negbK
.
Qed
.
(* The service received by job j in any interval is no larger than its cost. *)
Lemma
cumulative_service_le_job_cost
:
forall
t
t'
,
service_during
sched
j
t
t'
<=
job_cost
j
.
...
...
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