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
00590019
Commit
00590019
authored
5 years ago
by
Sergey Bozhko
Browse files
Options
Downloads
Patches
Plain Diff
Add instantiation for ideal uni-processor
parent
00e1bfb9
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
classic/util/sum.v
+0
-19
0 additions, 19 deletions
classic/util/sum.v
restructuring/analysis/abstract/instantiations/ideal_processor.v
+551
-0
551 additions, 0 deletions
...turing/analysis/abstract/instantiations/ideal_processor.v
util/sum.v
+19
-0
19 additions, 0 deletions
util/sum.v
with
570 additions
and
19 deletions
classic/util/sum.v
+
0
−
19
View file @
00590019
...
...
@@ -77,25 +77,6 @@ Section ExtraLemmas.
by
apply
P2a
;
apply
H
.
Qed
.
Lemma
sum_notin_rem_eqn
:
forall
(
T
:
eqType
)
(
a
:
T
)
xs
P
F
,
a
\
notin
xs
->
\
sum_
(
x
<-
xs
|
P
x
&&
(
x
!=
a
))
F
x
=
\
sum_
(
x
<-
xs
|
P
x
)
F
x
.
Proof
.
intros
?
?
?
?
?
NOTIN
.
induction
xs
;
first
by
rewrite
!
big_nil
.
rewrite
!
big_cons
.
rewrite
IHxs
;
clear
IHxs
;
last
first
.
{
apply
/
memPn
;
intros
y
IN
.
move
:
NOTIN
=>
/
memPn
NOTIN
.
by
apply
NOTIN
;
rewrite
in_cons
;
apply
/
orP
;
right
.
}
move
:
NOTIN
=>
/
memPn
NOTIN
.
move
:
(
NOTIN
a0
)
=>
NEQ
.
feed
NEQ
;
first
by
(
rewrite
in_cons
;
apply
/
orP
;
left
)
.
by
rewrite
NEQ
Bool
.
andb_true_r
.
Qed
.
(* We show that the fact that the sum is smaller than the range
of the summation implies the existence of a zero element. *)
Lemma
sum_le_summation_range
:
...
...
This diff is collapsed.
Click to expand it.
restructuring/analysis/abstract/instantiations/ideal_processor.v
0 → 100644
+
551
−
0
View file @
00590019
This diff is collapsed.
Click to expand it.
util/sum.v
+
19
−
0
View file @
00590019
...
...
@@ -64,6 +64,25 @@ Section ExtraLemmas.
}
Qed
.
Lemma
sum_notin_rem_eqn
:
forall
(
T
:
eqType
)
(
a
:
T
)
xs
P
F
,
a
\
notin
xs
->
\
sum_
(
x
<-
xs
|
P
x
&&
(
x
!=
a
))
F
x
=
\
sum_
(
x
<-
xs
|
P
x
)
F
x
.
Proof
.
intros
?
?
?
?
?
NOTIN
.
induction
xs
;
first
by
rewrite
!
big_nil
.
rewrite
!
big_cons
.
rewrite
IHxs
;
clear
IHxs
;
last
first
.
{
apply
/
memPn
;
intros
y
IN
.
move
:
NOTIN
=>
/
memPn
NOTIN
.
by
apply
NOTIN
;
rewrite
in_cons
;
apply
/
orP
;
right
.
}
move
:
NOTIN
=>
/
memPn
NOTIN
.
move
:
(
NOTIN
a0
)
=>
NEQ
.
feed
NEQ
;
first
by
(
rewrite
in_cons
;
apply
/
orP
;
left
)
.
by
rewrite
NEQ
Bool
.
andb_true_r
.
Qed
.
(* Trivial identity: any sum of zeros is zero. *)
Lemma
sum0
m
n
:
\
sum_
(
m
<=
i
<
n
)
0
=
0
.
...
...
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