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

Theorem addcompr 11149
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 11138 . . 3 ((𝐴 ∈ P ∧ 𝐵 ∈ P) → (𝐴 +P 𝐵) = {𝑥 ∣ ∃𝑧 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = (𝑧 +Q 𝑦)})
2 plpv 11138 . . . . 5 ((𝐵 ∈ P ∧ 𝐴 ∈ P) → (𝐵 +P 𝐴) = {𝑥 ∣ ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐴 𝑥 = (𝑦 +Q 𝑧)})
3 addcomnq 11079 . . . . . . . . 9 (𝑦 +Q 𝑧) = (𝑧 +Q 𝑦)
43eqeq2i 2782 . . . . . . . 8 (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦))
542rexbii 3148 . . . . . . 7 (∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐴 𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐴 𝑥 = (𝑧 +Q 𝑦))
6 rexcom 3298 . . . . . . 7 (∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐴 𝑥 = (𝑧 +Q 𝑦) ↔ ∃𝑧 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = (𝑧 +Q 𝑦))
75, 6bitri 278 . . . . . 6 (∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐴 𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = (𝑧 +Q 𝑦))
87abbii 2836 . . . . 5 {𝑥 ∣ ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐴 𝑥 = (𝑦 +Q 𝑧)} = {𝑥 ∣ ∃𝑧 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = (𝑧 +Q 𝑦)}
92, 8eqtrdi 2820 . . . 4 ((𝐵 ∈ P ∧ 𝐴 ∈ P) → (𝐵 +P 𝐴) = {𝑥 ∣ ∃𝑧 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = (𝑧 +Q 𝑦)})
109ancoms 464 . . 3 ((𝐴 ∈ P ∧ 𝐵 ∈ P) → (𝐵 +P 𝐴) = {𝑥 ∣ ∃𝑧 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = (𝑧 +Q 𝑦)})
111, 10eqtr4d 2807 . 2 ((𝐴 ∈ P ∧ 𝐵 ∈ P) → (𝐴 +P 𝐵) = (𝐵 +P 𝐴))
12 dmplp 11140 . . 3 dom +P = (P × P)
1312ndmovcom 7644 . 2 (¬ (𝐴 ∈ P ∧ 𝐵 ∈ P) → (𝐴 +P 𝐵) = (𝐵 +P 𝐴))
1411, 13pm2.61i 184 1 (𝐴 +P 𝐵) = (𝐵 +P 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572   ∈ wcel 2151  {cab 2747  ∃wrex 3096  (class class class)co 7455   +Q cplq 10983  Pcnp 10987   +P cpp 10989
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787  ax-inf2 9683
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-ov 7458  df-oprab 7459  df-mpo 7460  df-om 7916  df-1st 8039  df-2nd 8040  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-rdg 8460  df-1o 8518  df-oadd 8522  df-omul 8523  df-er 8759  df-ni 11000  df-pli 11001  df-mi 11002  df-lti 11003  df-plpq 11036  df-enq 11039  df-nq 11040  df-erq 11041  df-plq 11042  df-1nq 11044  df-np 11109  df-plp 11111
This theorem is used by:  enrer  11191  addcmpblnr  11197  mulcmpblnrlem  11198  ltsrpr  11205  addcomsr  11215  mulcomsr  11217  mulasssr  11218  distrsr  11219  ltsosr  11222  0lt1sr  11223  0idsr  11225  1idsr  11226  ltasr  11228  recexsrlem  11231  mulgt0sr  11233  ltpsrpr  11237  map2psrpr  11238
  Copyright terms: Public domain W3C validator