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
35253b72
Commit
35253b72
authored
9 years ago
by
Felipe Cerqueira
Browse files
Options
Downloads
Patches
Plain Diff
Fix proof of R >= task_cost tsk
parent
557b10ec
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
BertognaResponseTimeEDFComp.v
+5
-20
5 additions, 20 deletions
BertognaResponseTimeEDFComp.v
with
5 additions
and
20 deletions
BertognaResponseTimeEDFComp.v
+
5
−
20
View file @
35253b72
...
...
@@ -168,12 +168,8 @@ Module ResponseTimeIterationEDF.
induction
(
max_steps
ts
)
as
[|
step
];
simpl
in
*.
{
intros
R
IN
;
unfold
initial_state
in
IN
.
assert
(
ALL
:
all
(
fun
p
=>
task_cost
(
fst
p
)
<=
snd
p
)
(
map
(
fun
t
=>
(
t
,
task_cost
t
))
ts
))
.
{
by
rewrite
all_map
;
apply
/
allP
;
ins
.
}
by
move
:
ALL
=>
/
allP
ALL
;
apply
ALL
in
IN
.
move
:
IN
=>
/
mapP
IN
;
destruct
IN
as
[
tsk'
IN
EQ
];
inversion
EQ
;
subst
.
by
apply
leqnn
.
}
{
intros
R
IN
.
...
...
@@ -181,20 +177,9 @@ Module ResponseTimeIterationEDF.
fold
prev_state
in
IN
,
IHstep
.
unfold
edf_rta_iteration
at
1
in
IN
.
move
:
IN
=>
/
mapP
IN
;
destruct
IN
as
[(
tsk'
,
R'
)
IN
EQ
]
.
inversion
EQ
as
[[
xxx
EQ'
]];
subst
tsk'
;
rewrite
-
EQ'
.
apply
leq_trans
with
(
n
:=
R'
);
[
by
apply
IHstep
|
subst
R
;
clear
EQ
]
.
assert
(
SUBST
:
R'
=
iter
0
(
response_time_bound
tsk
prev_state
)
R'
);
[
by
done
|
rewrite
SUBST
-
iterS
;
clear
SUBST
]
.
apply
fun_mon_iter_mon
.
[
by
ins
|
|]
.
unfold
response_time_bound
.
Check
iter
.
fold
(
iter
0
(
response_time_bound
tsk
prev_state
))
.
unfold
response_time_bound
.
Check
iter
.
}
inversion
EQ
as
[[
xxx
EQ'
]];
subst
.
by
apply
leq_addr
.
}
Qed
.
Lemma
R_list_le_deadline
:
...
...
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