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

Theorem addcomnq 11075
Description: Addition of positive fractions is commutative. (Contributed by NM, 30-Aug-1995.) (Revised by Mario Carneiro, 28-Apr-2013.) (New usage is discouraged.)
Assertion
Ref Expression
addcomnq (𝐴 +Q 𝐵) = (𝐵 +Q 𝐴)

Proof of Theorem addcomnq
StepHypRef Expression
1 addcompq 11074 . . . 4 (𝐴 +pQ 𝐵) = (𝐵 +pQ 𝐴)
21fveq2i 6919 . . 3 ([Q]‘(𝐴 +pQ 𝐵)) = ([Q]‘(𝐵 +pQ 𝐴))
3 addpqnq 11062 . . 3 ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 +Q 𝐵) = ([Q]‘(𝐴 +pQ 𝐵)))
4 addpqnq 11062 . . . 4 ((𝐵 ∈ Q ∧ 𝐴 ∈ Q) → (𝐵 +Q 𝐴) = ([Q]‘(𝐵 +pQ 𝐴)))
54ancoms 464 . . 3 ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐵 +Q 𝐴) = ([Q]‘(𝐵 +pQ 𝐴)))
62, 3, 53eqtr4a 2827 . 2 ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 +Q 𝐵) = (𝐵 +Q 𝐴))
7 addnqf 11072 . . . 4 +Q :(Q × Q)⟶Q
87fdmi 6751 . . 3 dom +Q = (Q × Q)
98ndmovcom 7640 . 2 (¬ (𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 +Q 𝐵) = (𝐵 +Q 𝐴))
106, 9pm2.61i 184 1 (𝐴 +Q 𝐵) = (𝐵 +Q 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572   ∈ wcel 2150   × cxp 5655  ‘cfv 6566  (class class class)co 7451   +pQ cplpq 10972  Qcnq 10976  [Q]cerq 10978   +Q cplq 10979
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 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7783
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 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-oadd 8518  df-omul 8519  df-er 8755  df-ni 10996  df-pli 10997  df-mi 10998  df-lti 10999  df-plpq 11032  df-enq 11035  df-nq 11036  df-erq 11037  df-plq 11038  df-1nq 11040
This theorem is used by:  ltaddnq  11098  addclprlem2  11141  addclpr  11142  addcompr  11145  distrlem4pr  11150  prlem934  11157  ltexprlem2  11161  ltexprlem6  11165  ltexprlem7  11166  prlem936  11171
  Copyright terms: Public domain W3C validator