MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  addcompr Structured version   Visualization version   GIF version

Theorem addcompr 10432
Description: Addition of positive reals is commutative. Proposition 9-3.5(ii) of [Gleason] p. 123. (Contributed by NM, 19-Nov-1995.) (New usage is discouraged.)
Assertion
Ref Expression
addcompr (𝐴 +P 𝐵) = (𝐵 +P 𝐴)

Proof of Theorem addcompr
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 plpv 10421 . . 3 ((𝐴P𝐵P) → (𝐴 +P 𝐵) = {𝑥 ∣ ∃𝑧𝐴𝑦𝐵 𝑥 = (𝑧 +Q 𝑦)})
2 plpv 10421 . . . . 5 ((𝐵P𝐴P) → (𝐵 +P 𝐴) = {𝑥 ∣ ∃𝑦𝐵𝑧𝐴 𝑥 = (𝑦 +Q 𝑧)})
3 addcomnq 10362 . . . . . . . . 9 (𝑦 +Q 𝑧) = (𝑧 +Q 𝑦)
43eqeq2i 2834 . . . . . . . 8 (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦))
542rexbii 3248 . . . . . . 7 (∃𝑦𝐵𝑧𝐴 𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑦𝐵𝑧𝐴 𝑥 = (𝑧 +Q 𝑦))
6 rexcom 3355 . . . . . . 7 (∃𝑦𝐵𝑧𝐴 𝑥 = (𝑧 +Q 𝑦) ↔ ∃𝑧𝐴𝑦𝐵 𝑥 = (𝑧 +Q 𝑦))
75, 6bitri 276 . . . . . 6 (∃𝑦𝐵𝑧𝐴 𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧𝐴𝑦𝐵 𝑥 = (𝑧 +Q 𝑦))
87abbii 2886 . . . . 5 {𝑥 ∣ ∃𝑦𝐵𝑧𝐴 𝑥 = (𝑦 +Q 𝑧)} = {𝑥 ∣ ∃𝑧𝐴𝑦𝐵 𝑥 = (𝑧 +Q 𝑦)}
92, 8syl6eq 2872 . . . 4 ((𝐵P𝐴P) → (𝐵 +P 𝐴) = {𝑥 ∣ ∃𝑧𝐴𝑦𝐵 𝑥 = (𝑧 +Q 𝑦)})
109ancoms 459 . . 3 ((𝐴P𝐵P) → (𝐵 +P 𝐴) = {𝑥 ∣ ∃𝑧𝐴𝑦𝐵 𝑥 = (𝑧 +Q 𝑦)})
111, 10eqtr4d 2859 . 2 ((𝐴P𝐵P) → (𝐴 +P 𝐵) = (𝐵 +P 𝐴))
12 dmplp 10423 . . 3 dom +P = (P × P)
1312ndmovcom 7324 . 2 (¬ (𝐴P𝐵P) → (𝐴 +P 𝐵) = (𝐵 +P 𝐴))
1411, 13pm2.61i 183 1 (𝐴 +P 𝐵) = (𝐵 +P 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1528  wcel 2105  {cab 2799  wrex 3139  (class class class)co 7145   +Q cplq 10266  Pcnp 10270   +P cpp 10272
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7450  ax-inf2 9093
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3497  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-tp 4564  df-op 4566  df-uni 4833  df-iun 4914  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-ov 7148  df-oprab 7149  df-mpo 7150  df-om 7569  df-1st 7680  df-2nd 7681  df-wrecs 7938  df-recs 7999  df-rdg 8037  df-1o 8093  df-oadd 8097  df-omul 8098  df-er 8279  df-ni 10283  df-pli 10284  df-mi 10285  df-lti 10286  df-plpq 10319  df-enq 10322  df-nq 10323  df-erq 10324  df-plq 10325  df-1nq 10327  df-np 10392  df-plp 10394
This theorem is referenced by:  enrer  10474  addcmpblnr  10480  mulcmpblnrlem  10481  ltsrpr  10488  addcomsr  10498  mulcomsr  10500  mulasssr  10501  distrsr  10502  ltsosr  10505  0lt1sr  10506  0idsr  10508  1idsr  10509  ltasr  10511  recexsrlem  10514  mulgt0sr  10516  ltpsrpr  10520  map2psrpr  10521
  Copyright terms: Public domain W3C validator