Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tej Chajed
stdpp
Commits
f9c54965
Commit
f9c54965
authored
Oct 04, 2016
by
Zhen Zhang
Browse files
Add lemmas about Qp and fraction
parent
4ced99f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/numbers.v
View file @
f9c54965
...
...
@@ -566,3 +566,10 @@ Proof.
exists
(
mk_Qp
(
q2
-
q1
/
2
%
Z
)
Hq2'
).
split
;
[
by
rewrite
Qp_div_2
|].
apply
Qp_eq
;
simpl
.
ring
.
Qed
.
Lemma
Qp_ge_1
(
q
:
Qp
)
:
¬
((
1
+
q
)%
Qp
≤
1
%
Qp
)%
Qc
.
Proof
.
intros
Hle
.
apply
(
Qcplus_le_mono_l
q
0
1
)
in
Hle
.
apply
Qcle_ngt
in
Hle
.
by
destruct
q
.
Qed
.
Write
Preview
Supports
Markdown
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