Skip to content
Snippets Groups Projects
Commit b2d9f029 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Merge branch 'ralf/lower-bound-lt' into 'master'

add version of Qp_lower_bound that returns less-than facts

See merge request !186
parents e80f1433 680b21c4
No related branches found
No related tags found
No related merge requests found
......@@ -790,6 +790,12 @@ Proof.
apply Qp_eq; simpl. unfold Qcdiv. ring.
Qed.
Lemma Qp_lower_bound_lt (q1 q2 : Qp) : q : Qp, q < q1 q < q2.
Proof.
destruct (Qp_lower_bound q1 q2) as (qmin & q1' & q2' & [-> ->]).
exists qmin. split; eapply Qp_lt_sum; eauto.
Qed.
Lemma Qp_cross_split p a b c d :
(a + b = p c + d = p
ac ad bc bd, ac + ad = a bc + bd = b ac + bc = c ad + bd = d)%Qp.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment