Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flocq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Flocq
flocq
Commits
718b6d16
Commit
718b6d16
authored
Sep 21, 2010
by
BOLDO Sylvie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First version of Axpy
parent
9c3fc6c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
src/Appli/Axpy.v
src/Appli/Axpy.v
+37
-0
No files found.
src/Appli/Axpy.v
0 → 100644
View file @
718b6d16
Require
Import
Fcore
.
Section
Axpy
.
Variable
beta
:
radix
.
Notation
bpow
e
:=
(
bpow
beta
e
).
Variable
prec
:
Z
.
Variable
Hp
:
Zlt
0
prec
.
(
*
FLX
ou
FLT
?
*
)
Notation
format
:=
(
generic_format
beta
(
FLX_exp
prec
)).
Notation
cexp
:=
(
canonic_exponent
beta
(
FLX_exp
prec
)).
Variable
choice
:
R
->
bool
.
Variable
a1
x1
y1
a
x
y
:
R
.
Hypothesis
Ha
:
format
a
.
Hypothesis
Hx
:
format
x
.
Hypothesis
Hy
:
format
y
.
Notation
t
:=
(
rounding
beta
(
FLX_exp
prec
)
(
ZrndN
choice
)
(
a
*
x
)).
Notation
u
:=
(
rounding
beta
(
FLX_exp
prec
)
(
ZrndN
choice
)
(
t
+
y
)).
Notation
MinOrMax
x
f
:=
((
f
=
rounding
beta
(
FLX_exp
prec
)
ZrndUP
x
)
\
/
(
f
=
rounding
beta
(
FLX_exp
prec
)
ZrndDN
x
)).
Theorem
Axpy_opt
:
(
6
<=
prec
)
%
Z
->
((
bpow
1
+
1
+
bpow
(
4
-
prec
))
*
Rabs
(
a
*
x
)
<=
Rabs
y
)
%
R
->
(
Rabs
(
y1
-
y
+
a1
*
x1
-
a
*
x
)
<=
bpow
(
1
-
prec
)
/
(
6
*
bpow
1
)
*
Rabs
y
)
%
R
->
(
MinOrMax
(
a1
*
x1
+
y1
)
u
).
Admitted
.
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