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
23c06da2
Commit
23c06da2
authored
1 year ago
by
Björn Brandenburg
Committed by
Sergey Bozhko
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
collect trivial remarks on [same_task]
parent
942a9a7d
No related branches found
Branches containing commit
No related tags found
1 merge request
!314
Add "conditional" interference to remove duplication
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
analysis/facts/model/sequential.v
+0
-6
0 additions, 6 deletions
analysis/facts/model/sequential.v
model/task/concept.v
+19
-0
19 additions, 0 deletions
model/task/concept.v
with
19 additions
and
6 deletions
analysis/facts/model/sequential.v
+
0
−
6
View file @
23c06da2
...
...
@@ -17,12 +17,6 @@ Section ExecutionOrder.
(** ... and any kind of processor state model. *)
Context
{
PState
:
ProcessorState
Job
}
.
(** Trivially, [same_task] is symmetric. *)
Remark
same_task_sym
:
forall
j1
j2
,
same_task
j1
j2
=
same_task
j2
j1
.
Proof
.
by
move
=>
j1
j2
;
rewrite
/
same_task
eq_sym
.
Qed
.
(** Consider any arrival sequence. *)
Variable
arr_seq
:
arrival_sequence
Job
.
...
...
This diff is collapsed.
Click to expand it.
model/task/concept.v
+
19
−
0
View file @
23c06da2
...
...
@@ -168,8 +168,27 @@ Section SameTask.
[job_task j1] is equal to [job_task j2]. *)
Definition
same_task
(
j1
j2
:
Job
)
:=
job_task
j1
==
job_task
j2
.
(** Trivially, [same_task] is symmetric. *)
Remark
same_task_sym
:
forall
j1
j2
,
same_task
j1
j2
=
same_task
j2
j1
.
Proof
.
by
move
=>
j1
j2
;
rewrite
/
same_task
eq_sym
.
Qed
.
(** We further say that a job [j] is a job of task [tsk] iff [job_task j] is
equal to [tsk]. *)
Definition
job_of_task
(
tsk
:
Task
)
(
j
:
Job
)
:=
job_task
j
==
tsk
.
(** Trivially, if one job is a job of a given task, and another is not, then
the two jobs do not come from the same task. *)
Remark
diff_task
:
forall
tsk
j1
j2
,
job_of_task
tsk
j1
->
~~
job_of_task
tsk
j2
->
~~
same_task
j1
j2
.
Proof
.
move
=>
tsk
j1
j2
/
eqP
OF
/
eqP
NOF
.
apply
/
eqP
=>
SAME
.
by
apply
:
NOF
;
rewrite
-
SAME
.
Qed
.
End
SameTask
.
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