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
049df491
Commit
049df491
authored
2 years ago
by
Pierre Roux
Browse files
Options
Downloads
Patches
Plain Diff
[tutorial] Avoid introducing the `{...} syntax
parent
4135a3fe
No related branches found
No related tags found
1 merge request
!191
Draft: Initiate a Prosa Tutorial
Pipeline
#78180
passed
2 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
behavior/arrival_sequence.v
+8
-8
8 additions, 8 deletions
behavior/arrival_sequence.v
behavior/service.v
+3
-3
3 additions, 3 deletions
behavior/service.v
doc/tutorial.v
+6
-6
6 additions, 6 deletions
doc/tutorial.v
with
17 additions
and
17 deletions
behavior/arrival_sequence.v
+
8
−
8
View file @
049df491
...
@@ -47,8 +47,8 @@ Section ValidArrivalSequence.
...
@@ -47,8 +47,8 @@ Section ValidArrivalSequence.
(** Assume that job arrival times are known. *)
(** Assume that job arrival times are known. *)
Context
{
Job
:
JobType
}
.
Context
{
Job
:
JobType
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** Consider any job arrival sequence. *)
(** Consider any job arrival sequence. *)
Variable
arr_seq
:
arrival_sequence
Job
.
Variable
arr_seq
:
arrival_sequence
Job
.
...
@@ -75,11 +75,11 @@ End ValidArrivalSequence.
...
@@ -75,11 +75,11 @@ End ValidArrivalSequence.
Section
ArrivalTimeProperties
.
Section
ArrivalTimeProperties
.
(** Assume that job arrival times are known. *)
(** Assume that job arrival times are known. *)
Context
{
Job
:
JobType
}
.
Context
{
Job
:
JobType
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** Let j be any job. *)
(** Let j be any job. *)
Variable
j
:
Job
.
Variable
j
:
Job
.
(** We say that job j has arrived at time t iff it arrives at some time t_0
(** We say that job j has arrived at time t iff it arrives at some time t_0
with t_0 <= t. *)
with t_0 <= t. *)
...
@@ -102,11 +102,11 @@ End ArrivalTimeProperties.
...
@@ -102,11 +102,11 @@ End ArrivalTimeProperties.
Section
ArrivalSequencePrefix
.
Section
ArrivalSequencePrefix
.
(** Assume that job arrival times are known. *)
(** Assume that job arrival times are known. *)
Context
{
Job
:
JobType
}
.
Context
{
Job
:
JobType
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** Consider any job arrival sequence. *)
(** Consider any job arrival sequence. *)
Variable
arr_seq
:
arrival_sequence
Job
.
Variable
arr_seq
:
arrival_sequence
Job
.
(** By concatenation, we construct the list of jobs that arrived in the
(** By concatenation, we construct the list of jobs that arrived in the
interval <<[t1, t2)>>. *)
interval <<[t1, t2)>>. *)
...
...
This diff is collapsed.
Click to expand it.
behavior/service.v
+
3
−
3
View file @
049df491
...
@@ -35,9 +35,9 @@ Section Service.
...
@@ -35,9 +35,9 @@ Section Service.
(** In the following, consider jobs that have a cost, a deadline, and an
(** In the following, consider jobs that have a cost, a deadline, and an
arbitrary arrival time. *)
arbitrary arrival time. *)
Context
`
{
JobCost
Job
}
.
Context
{
jc
:
JobCost
Job
}
.
Context
`
{
JobDeadline
Job
}
.
Context
{
jd
:
JobDeadline
Job
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** We say that job [j] has completed by time [t] if it received all required
(** We say that job [j] has completed by time [t] if it received all required
service in the interval from [0] until (but not including) [t]. *)
service in the interval from [0] until (but not including) [t]. *)
...
...
This diff is collapsed.
Click to expand it.
doc/tutorial.v
+
6
−
6
View file @
049df491
...
@@ -433,7 +433,7 @@ Section ValidArrivalSequence.
...
@@ -433,7 +433,7 @@ Section ValidArrivalSequence.
(** Assume that job arrival times are known. *)
(** Assume that job arrival times are known. *)
Context
{
Job
:
JobType
}
.
Context
{
Job
:
JobType
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** Consider any job arrival sequence. *)
(** Consider any job arrival sequence. *)
Variable
arr_seq
:
arrival_sequence
Job
.
Variable
arr_seq
:
arrival_sequence
Job
.
...
@@ -463,7 +463,7 @@ Section ArrivalTimeProperties.
...
@@ -463,7 +463,7 @@ Section ArrivalTimeProperties.
(** Assume that job arrival times are known. *)
(** Assume that job arrival times are known. *)
Context
{
Job
:
JobType
}
.
Context
{
Job
:
JobType
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** Let j be any job. *)
(** Let j be any job. *)
Variable
j
:
Job
.
Variable
j
:
Job
.
...
@@ -490,7 +490,7 @@ Section ArrivalSequencePrefix.
...
@@ -490,7 +490,7 @@ Section ArrivalSequencePrefix.
(** Assume that job arrival times are known. *)
(** Assume that job arrival times are known. *)
Context
{
Job
:
JobType
}
.
Context
{
Job
:
JobType
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** Consider any job arrival sequence. *)
(** Consider any job arrival sequence. *)
Variable
arr_seq
:
arrival_sequence
Job
.
Variable
arr_seq
:
arrival_sequence
Job
.
...
@@ -592,9 +592,9 @@ as well as the notion of completion of a job
...
@@ -592,9 +592,9 @@ as well as the notion of completion of a job
|*)
|*)
(** In the following, consider jobs that have a cost, a deadline,
(** In the following, consider jobs that have a cost, a deadline,
and an arbitrary arrival time. *)
and an arbitrary arrival time. *)
Context
`
{
JobCost
Job
}
.
Context
{
jc
:
JobCost
Job
}
.
Context
`
{
JobDeadline
Job
}
.
Context
{
jd
:
JobDeadline
Job
}
.
Context
`
{
JobArrival
Job
}
.
Context
{
ja
:
JobArrival
Job
}
.
(** We say that job [j] has completed by time [t] if it received all
(** We say that job [j] has completed by time [t] if it received all
required service in the interval from [0] until
required service in the interval from [0] until
...
...
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