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

Theorem addcmpblnr 10543
Description: Lemma showing compatibility of addition. (Contributed by NM, 3-Sep-1995.) (New usage is discouraged.)
Assertion
Ref Expression
addcmpblnr ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩))

Proof of Theorem addcmpblnr
StepHypRef Expression
1 oveq12 7166 . 2 (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
2 addclpr 10492 . . . . . . . 8 ((𝐴P𝐹P) → (𝐴 +P 𝐹) ∈ P)
3 addclpr 10492 . . . . . . . 8 ((𝐵P𝐺P) → (𝐵 +P 𝐺) ∈ P)
42, 3anim12i 615 . . . . . . 7 (((𝐴P𝐹P) ∧ (𝐵P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
54an4s 659 . . . . . 6 (((𝐴P𝐵P) ∧ (𝐹P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
6 addclpr 10492 . . . . . . . 8 ((𝐶P𝑅P) → (𝐶 +P 𝑅) ∈ P)
7 addclpr 10492 . . . . . . . 8 ((𝐷P𝑆P) → (𝐷 +P 𝑆) ∈ P)
86, 7anim12i 615 . . . . . . 7 (((𝐶P𝑅P) ∧ (𝐷P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
98an4s 659 . . . . . 6 (((𝐶P𝐷P) ∧ (𝑅P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
105, 9anim12i 615 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐹P𝐺P)) ∧ ((𝐶P𝐷P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
1110an4s 659 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
12 enrbreq 10539 . . . 4 ((((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅))))
1311, 12syl 17 . . 3 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅))))
14 addcompr 10495 . . . . . . . 8 (𝐹 +P 𝐷) = (𝐷 +P 𝐹)
1514oveq1i 7167 . . . . . . 7 ((𝐹 +P 𝐷) +P 𝑆) = ((𝐷 +P 𝐹) +P 𝑆)
16 addasspr 10496 . . . . . . 7 ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆))
17 addasspr 10496 . . . . . . 7 ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆))
1815, 16, 173eqtr3i 2790 . . . . . 6 (𝐹 +P (𝐷 +P 𝑆)) = (𝐷 +P (𝐹 +P 𝑆))
1918oveq2i 7168 . . . . 5 (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆)))
20 addasspr 10496 . . . . 5 ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆)))
21 addasspr 10496 . . . . 5 ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆)))
2219, 20, 213eqtr4i 2792 . . . 4 ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆))
23 addcompr 10495 . . . . . . . 8 (𝐺 +P 𝐶) = (𝐶 +P 𝐺)
2423oveq1i 7167 . . . . . . 7 ((𝐺 +P 𝐶) +P 𝑅) = ((𝐶 +P 𝐺) +P 𝑅)
25 addasspr 10496 . . . . . . 7 ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅))
26 addasspr 10496 . . . . . . 7 ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅))
2724, 25, 263eqtr3i 2790 . . . . . 6 (𝐺 +P (𝐶 +P 𝑅)) = (𝐶 +P (𝐺 +P 𝑅))
2827oveq2i 7168 . . . . 5 (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅)))
29 addasspr 10496 . . . . 5 ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅)))
30 addasspr 10496 . . . . 5 ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅)))
3128, 29, 303eqtr4i 2792 . . . 4 ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))
3222, 31eqeq12i 2774 . . 3 (((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
3313, 32bitrdi 290 . 2 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
341, 33syl5ibr 249 1 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1539  wcel 2112  cop 4532   class class class wbr 5037  (class class class)co 7157  Pcnp 10333   +P cpp 10335   ~R cer 10338
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-sep 5174  ax-nul 5181  ax-pow 5239  ax-pr 5303  ax-un 7466  ax-inf2 9151
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2902  df-ne 2953  df-ral 3076  df-rex 3077  df-reu 3078  df-rmo 3079  df-rab 3080  df-v 3412  df-sbc 3700  df-csb 3809  df-dif 3864  df-un 3866  df-in 3868  df-ss 3878  df-pss 3880  df-nul 4229  df-if 4425  df-pw 4500  df-sn 4527  df-pr 4529  df-tp 4531  df-op 4533  df-uni 4803  df-iun 4889  df-br 5038  df-opab 5100  df-mpt 5118  df-tr 5144  df-id 5435  df-eprel 5440  df-po 5448  df-so 5449  df-fr 5488  df-we 5490  df-xp 5535  df-rel 5536  df-cnv 5537  df-co 5538  df-dm 5539  df-rn 5540  df-res 5541  df-ima 5542  df-pred 6132  df-ord 6178  df-on 6179  df-lim 6180  df-suc 6181  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fo 6347  df-f1o 6348  df-fv 6349  df-ov 7160  df-oprab 7161  df-mpo 7162  df-om 7587  df-1st 7700  df-2nd 7701  df-wrecs 7964  df-recs 8025  df-rdg 8063  df-1o 8119  df-oadd 8123  df-omul 8124  df-er 8306  df-ni 10346  df-pli 10347  df-mi 10348  df-lti 10349  df-plpq 10382  df-mpq 10383  df-ltpq 10384  df-enq 10385  df-nq 10386  df-erq 10387  df-plq 10388  df-mq 10389  df-1nq 10390  df-rq 10391  df-ltnq 10392  df-np 10455  df-plp 10457  df-enr 10529
This theorem is referenced by:  addsrmo  10547
  Copyright terms: Public domain W3C validator