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
7d7d2580
Commit
7d7d2580
authored
9 years ago
by
Felipe Cerqueira
Browse files
Options
Downloads
Patches
Plain Diff
Proof of converge almost ok
parent
64353836
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BertognaResponseTimeDefs.v
+200
-133
200 additions, 133 deletions
BertognaResponseTimeDefs.v
helper.v
+29
-11
29 additions, 11 deletions
helper.v
with
229 additions
and
144 deletions
BertognaResponseTimeDefs.v
+
200
−
133
View file @
7d7d2580
This diff is collapsed.
Click to expand it.
helper.v
+
29
−
11
View file @
7d7d2580
...
...
@@ -292,17 +292,6 @@ Proof.
move
/
IH
=>
/=
IHe
.
by
rewrite
-!
IHe
.
Qed
.
Lemma
fun_monotonic_iter_monotonic
:
forall
k
f
x0
(
MON
:
forall
x1
x2
,
x1
<=
x2
->
f
x1
<=
f
x2
)
(
GE0
:
f
0
>=
x0
),
iter
k
f
x0
<=
iter
k
.
+
1
f
x0
.
Proof
.
induction
k
;
ins
.
by
apply
leq_trans
with
(
n
:=
f
0
);
[
by
ins
|
by
apply
MON
]
.
by
apply
MON
,
IHk
;
ins
.
Qed
.
Lemma
leq_as_delta
:
forall
x1
(
P
:
nat
->
Prop
),
(
forall
x2
,
x1
<=
x2
->
P
x2
)
<->
...
...
@@ -316,6 +305,35 @@ Proof.
}
Qed
.
Lemma
fun_mon_iter_mon
:
forall
(
f
:
nat
->
nat
)
x0
x1
x2
(
LE
:
x1
<=
x2
)
(
MIN
:
f
0
>=
x0
)
(
MON
:
forall
x1
x2
,
x1
<=
x2
->
f
x1
<=
f
x2
),
iter
x1
f
x0
<=
iter
x2
f
x0
.
Proof
.
ins
;
revert
LE
;
revert
x2
;
rewrite
leq_as_delta
;
intros
delta
.
induction
x1
;
try
rewrite
add0n
.
{
destruct
delta
;
first
by
apply
leqnn
.
apply
leq_trans
with
(
n
:=
f
0
);
first
by
apply
MIN
.
by
rewrite
iterS
MON
.
}
{
rewrite
iterS
-
addn1
-
addnA
[
1
+
delta
]
addnC
addnA
addn1
iterS
.
by
apply
MON
,
IHx1
.
}
Qed
.
(*Lemma fun_monotonic_iter_monotonic :
forall k f x0
(MON: forall x1 x2, x1 <= x2 -> f x1 <= f x2)
(GE0: f 0 >= x0),
iter k f x0 <= iter k.+1 f x0.
Proof.
induction k; ins.
by apply leq_trans with (n := f 0); [by ins | by apply MON].
by apply MON, IHk; ins.
Qed.*)
Lemma
divSn_cases
:
forall
n
d
(
GT1
:
d
>
1
),
(
n
%/
d
=
n
.
+
1
%/
d
/\
n
%%
d
+
1
=
n
.
+
1
%%
d
)
\/
...
...
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