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
Toggle navigation
Open sidebar
Flocq
flocq
Commits
4d8ec832
Commit
4d8ec832
authored
Sep 02, 2011
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added variant of generic_format_bpow that uses properties of fexp to weaken the hypothesis.
parent
d9fa8833
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
src/Core/Fcore_generic_fmt.v
src/Core/Fcore_generic_fmt.v
+15
-1
No files found.
src/Core/Fcore_generic_fmt.v
View file @
4d8ec832
...
...
@@ -96,7 +96,21 @@ rewrite Ztrunc_Z2R.
rewrite
<-
F2R_bpow
.
rewrite
F2R_change_exp
with
(
1
:=
H
).
now
rewrite
Zmult_1_l
.
omega
.
now
apply
Zle_minus_le_0
.
Qed
.
Theorem
generic_format_bpow
'
:
forall
e
,
(
fexp
e
<=
e
)
%
Z
->
generic_format
(
bpow
e
).
Proof
.
intros
e
He
.
apply
generic_format_bpow
.
destruct
(
Zle_lt_or_eq
_
_
He
).
now
apply
valid_exp
.
rewrite
<-
H
.
apply
valid_exp_
.
rewrite
H
.
apply
Zle_refl
.
Qed
.
Theorem
generic_format_F2R
:
...
...
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