HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem prlem936a 3947
Description: Sublemma for Lemma 9-3.6 of [Gleason] p. 124. This is a property of positive fractions.
Assertion
Ref Expression
prlem936a ((xQ ∧ (zQyQ)) → ((y +Q z) <Q (x +Q z) ↔ (x +Q z) <Q ((x ·Q (*Qy)) ·Q (y +Q z))))

Proof of Theorem prlem936a
StepHypRef Expression
1 recclpq 3866 . . . . . 6 (yQ → (*Qy) ∈ Q)
21anim2i 270 . . . . 5 ((zQyQ) → (zQ ∧ (*Qy) ∈ Q))
3 mulclpq 3854 . . . . 5 ((zQ ∧ (*Qy) ∈ Q) → (z ·Q (*Qy)) ∈ Q)
4 visset 1350 . . . . . 6 yV
5 visset 1350 . . . . . 6 xV
64, 5ltmpq 3871 . . . . 5 ((z ·Q (*Qy)) ∈ Q → (y <Q x ↔ ((z ·Q (*Qy)) ·Q y) <Q ((z ·Q (*Qy)) ·Q x)))
72, 3, 63syl 21 . . . 4 ((zQyQ) → (y <Q x ↔ ((z ·Q (*Qy)) ·Q y) <Q ((z ·Q (*Qy)) ·Q x)))
84, 5ltapq 3870 . . . . . 6 (zQ → (y <Q x ↔ (z +Q y) <Q (z +Q x)))
9 visset 1350 . . . . . . . 8 zV
109, 4addcompq 3856 . . . . . . 7 (z +Q y) = (y +Q z)
119, 5addcompq 3856 . . . . . . 7 (z +Q x) = (x +Q z)
1210, 11breq12i 2070 . . . . . 6 ((z +Q y) <Q (z +Q x) ↔ (y +Q z) <Q (x +Q z))
138, 12syl6bb 414 . . . . 5 (zQ → (y <Q x ↔ (y +Q z) <Q (x +Q z)))
1413adantr 306 . . . 4 ((zQyQ) → (y <Q x ↔ (y +Q z) <Q (x +Q z)))
15 recidpq 3865 . . . . . . . 8 (yQ → (y ·Q (*Qy)) = 1Q)
1615opreq2d 3013 . . . . . . 7 (yQ → (z ·Q (y ·Q (*Qy))) = (z ·Q 1Q))
17 mulidpq 3863 . . . . . . 7 (zQ → (z ·Q 1Q) = z)
1816, 17sylan9eqr 1145 . . . . . 6 ((zQyQ) → (z ·Q (y ·Q (*Qy))) = z)
19 fvex 2838 . . . . . . . 8 (*Qy) ∈ V
2019, 4mulasspq 3859 . . . . . . 7 ((z ·Q (*Qy)) ·Q y) = (z ·Q ((*Qy) ·Q y))
214, 19mulcompq 3858 . . . . . . . 8 (y ·Q (*Qy)) = ((*Qy) ·Q y)
2221opreq2i 3010 . . . . . . 7 (z ·Q (y ·Q (*Qy))) = (z ·Q ((*Qy) ·Q y))
2320, 22eqtr4 1122 . . . . . 6 ((z ·Q (*Qy)) ·Q y) = (z ·Q (y ·Q (*Qy)))
2418, 23syl5eq 1136 . . . . 5 ((zQyQ) → ((z ·Q (*Qy)) ·Q y) = z)
2524breq1d 2071 . . . 4 ((zQyQ) → (((z ·Q (*Qy)) ·Q y) <Q ((z ·Q (*Qy)) ·Q x) ↔ z <Q ((z ·Q (*Qy)) ·Q x)))
267, 14, 253bitr3d 423 . . 3 ((zQyQ) → ((y +Q z) <Q (x +Q z) ↔ z <Q ((z ·Q (*Qy)) ·Q x)))
27 oprex 3018 . . . 4 ((z ·Q (*Qy)) ·Q x) ∈ V
289, 27ltapq 3870 . . 3 (xQ → (z <Q ((z ·Q (*Qy)) ·Q x) ↔ (x +Q z) <Q (x +Q ((z ·Q (*Qy)) ·Q x))))
2926, 28sylan9bbr 419 . 2 ((xQ ∧ (zQyQ)) → ((y +Q z) <Q (x +Q z) ↔ (x +Q z) <Q (x +Q ((z ·Q (*Qy)) ·Q x))))
3019, 4mulcompq 3858 . . . . . . . . . 10 ((*Qy) ·Q y) = (y ·Q (*Qy))
3115, 30syl5eq 1136 . . . . . . . . 9 (yQ → ((*Qy) ·Q y) = 1Q)
3231opreq2d 3013 . . . . . . . 8 (yQ → (x ·Q ((*Qy) ·Q y)) = (x ·Q 1Q))
3319, 4mulasspq 3859 . . . . . . . 8 ((x ·Q (*Qy)) ·Q y) = (x ·Q ((*Qy) ·Q y))
3432, 33syl5eq 1136 . . . . . . 7 (yQ → ((x ·Q (*Qy)) ·Q y) = (x ·Q 1Q))
35 mulidpq 3863 . . . . . . 7 (xQ → (x ·Q 1Q) = x)
3634, 35sylan9eqr 1145 . . . . . 6 ((xQyQ) → ((x ·Q (*Qy)) ·Q y) = x)
37 visset 1350 . . . . . . . . 9 wV
38 visset 1350 . . . . . . . . 9 vV
3937, 38mulcompq 3858 . . . . . . . 8 (w ·Q v) = (v ·Q w)
40 visset 1350 . . . . . . . . 9 uV
4138, 40mulasspq 3859 . . . . . . . 8 ((w ·Q v) ·Q u) = (w ·Q (v ·Q u))
425, 19, 9, 39, 41caopr31 3076 . . . . . . 7 ((x ·Q (*Qy)) ·Q z) = ((z ·Q (*Qy)) ·Q x)
4342a1i 7 . . . . . 6 ((xQyQ) → ((x ·Q (*Qy)) ·Q z) = ((z ·Q (*Qy)) ·Q x))
4436, 43opreq12d 3014 . . . . 5 ((xQyQ) → (((x ·Q (*Qy)) ·Q y) +Q ((x ·Q (*Qy)) ·Q z)) = (x +Q ((z ·Q (*Qy)) ·Q x)))
454, 9distrpq 3861 . . . . 5 ((x ·Q (*Qy)) ·Q (y +Q z)) = (((x ·Q (*Qy)) ·Q y) +Q ((x ·Q (*Qy)) ·Q z))
4644, 45syl5eq 1136 . . . 4 ((xQyQ) → ((x ·Q (*Qy)) ·Q (y +Q z)) = (x +Q ((z ·Q (*Qy)) ·Q x)))
4746adantrl 311 . . 3 ((xQ ∧ (zQyQ)) → ((x ·Q (*Qy)) ·Q (y +Q z)) = (x +Q ((z ·Q (*Qy)) ·Q x)))
4847breq2d 2072 . 2 ((xQ ∧ (zQyQ)) → ((x +Q z) <Q ((x ·Q (*Qy)) ·Q (y +Q z)) ↔ (x +Q z) <Q (x +Q ((z ·Q (*Qy)) ·Q x))))
4929, 48bitr4d 409 1 ((xQ ∧ (zQyQ)) → ((y +Q z) <Q (x +Q z) ↔ (x +Q z) <Q ((x ·Q (*Qy)) ·Q (y +Q z))))
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196   = wceq 1091   ∈ wcel 1092   class class class wbr 2054   ‘cfv 2422  (class class class)co 3001  Qcnq 3773  1Qc1q 3774   +Q cplq 3775   ·Q cmq 3776  *Qcrq 3777   <Q cltq 3778
This theorem is referenced by:  prlem936 3949
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-un 1076  ax-pow 1077  ax-reg 1078  ax-inf 1079
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-3or 582  df-3an 583  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010  df-clab 1093  df-cleq 1097  df-clel 1099  df-ne 1192  df-ral 1205  df-rex 1206  df-reu 1207  df-rab 1208  df-v 1349  df-sbc 1441  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-pss 1494  df-nul 1708  df-if 1777  df-pw 1799  df-sn 1811  df-pr 1812  df-tp 1814  df-op 1815  df-uni 1920  df-int 1966  df-iun 1996  df-tr 2042  df-br 2063  df-opab 2098  df-eprel 2122  df-id 2125  df-po 2128  df-so 2138  df-fr 2169  df-we 2186  df-ord 2202  df-on 2203  df-lim 2204  df-suc 2205  df-om 2373  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-dm 2428  df-rn 2429  df-res 2430  df-ima 2431  df-fun 2432  df-fn 2433  df-f 2434  df-f1 2435  df-fv 2438  df-rdg 2970  df-opr 3003  df-oprab 3004  df-1o 3104  df-oadd 3106  df-omul 3107  df-er 3200  df-ec 3202  df-qs 3205  df-ni 3794  df-pli 3795  df-mi 3796  df-lti 3797  df-plpq 3829  df-mpq 3830  df-enq 3831  df-nq 3832  df-plq 3833  df-mq 3834  df-rq 3835  df-ltq 3836  df-1q 3837
metamath.org