Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
AVA
FloVer
Commits
87e74ade
Commit
87e74ade
authored
Aug 07, 2017
by
Heiko Becker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show stronger soundness in Error validator
parent
604e29ed
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
177 additions
and
558 deletions
+177
-558
coq/ErrorValidation.v
coq/ErrorValidation.v
+173
-553
coq/Expressions.v
coq/Expressions.v
+4
-5
No files found.
coq/ErrorValidation.v
View file @
87e74ade
This diff is collapsed.
Click to expand it.
coq/Expressions.v
View file @
87e74ade
...
@@ -394,19 +394,18 @@ For each evaluation of using an arbitrary epsilon, we can replace it by
...
@@ -394,19 +394,18 @@ For each evaluation of using an arbitrary epsilon, we can replace it by
evaluating
the
subexpressions
and
then
binding
the
result
values
to
different
evaluating
the
subexpressions
and
then
binding
the
result
values
to
different
variables
in
the
Environment
.
variables
in
the
Environment
.
**
)
**
)
Lemma
binary_unfolding
b
f1
f2
E
v1
v2
m1
m2
Gamma
:
Lemma
binary_unfolding
b
f1
f2
E
v1
v2
m1
m2
Gamma
delta
:
(
b
=
Div
->
~
(
v2
=
0
)
%
R
)
->
(
b
=
Div
->
~
(
v2
=
0
)
%
R
)
->
(
Rabs
delta
<=
Q2R
(
mTypeToQ
(
join
m1
m2
)))
%
R
->
eval_exp
E
Gamma
f1
v1
m1
->
eval_exp
E
Gamma
f1
v1
m1
->
eval_exp
E
Gamma
f2
v2
m2
->
eval_exp
E
Gamma
f2
v2
m2
->
eval_exp
E
Gamma
(
Binop
b
f1
f2
)
(
perturb
(
evalBinop
b
v1
v2
)
(
Q2R
(
mTypeToQ
(
join
m1
m2
)))
)
(
join
m1
m2
)
->
eval_exp
E
Gamma
(
Binop
b
f1
f2
)
(
perturb
(
evalBinop
b
v1
v2
)
delta
)
(
join
m1
m2
)
->
eval_exp
(
updEnv
2
v2
(
updEnv
1
v1
emptyEnv
))
eval_exp
(
updEnv
2
v2
(
updEnv
1
v1
emptyEnv
))
(
updDefVars
2
m2
(
updDefVars
1
m1
Gamma
))
(
updDefVars
2
m2
(
updDefVars
1
m1
Gamma
))
(
Binop
b
(
Var
R
1
)
(
Var
R
2
))
(
perturb
(
evalBinop
b
v1
v2
)
(
Q2R
(
mTypeToQ
(
join
m1
m2
)))
)
(
join
m1
m2
).
(
Binop
b
(
Var
R
1
)
(
Var
R
2
))
(
perturb
(
evalBinop
b
v1
v2
)
delta
)
(
join
m1
m2
).
Proof
.
Proof
.
intros
no_div_zero
eval_f1
eval_f2
eval_float
.
intros
no_div_zero
eval_f1
eval_f2
eval_float
.
econstructor
;
try
auto
.
econstructor
;
try
auto
.
rewrite
Rabs_right
;
try
lra
.
auto
using
Rle_ge
,
mTypeToQ_pos_R
.
Qed
.
Qed
.
(
*
(
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment