ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ecovcom GIF version

Theorem ecovcom 6529
Description: Lemma used to transfer a commutative law via an equivalence relation. Most uses will want ecovicom 6530 instead. (Contributed by NM, 29-Aug-1995.) (Revised by David Abernethy, 4-Jun-2013.)
Hypotheses
Ref Expression
ecovcom.1 𝐶 = ((𝑆 × 𝑆) / )
ecovcom.2 (((𝑥𝑆𝑦𝑆) ∧ (𝑧𝑆𝑤𝑆)) → ([⟨𝑥, 𝑦⟩] + [⟨𝑧, 𝑤⟩] ) = [⟨𝐷, 𝐺⟩] )
ecovcom.3 (((𝑧𝑆𝑤𝑆) ∧ (𝑥𝑆𝑦𝑆)) → ([⟨𝑧, 𝑤⟩] + [⟨𝑥, 𝑦⟩] ) = [⟨𝐻, 𝐽⟩] )
ecovcom.4 𝐷 = 𝐻
ecovcom.5 𝐺 = 𝐽
Assertion
Ref Expression
ecovcom ((𝐴𝐶𝐵𝐶) → (𝐴 + 𝐵) = (𝐵 + 𝐴))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝐴   𝑧,𝐵,𝑤   𝑥, + ,𝑦,𝑧,𝑤   𝑥, ,𝑦,𝑧,𝑤   𝑥,𝑆,𝑦,𝑧,𝑤   𝑧,𝐶,𝑤
Allowed substitution hints:   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦,𝑧,𝑤)   𝐺(𝑥,𝑦,𝑧,𝑤)   𝐻(𝑥,𝑦,𝑧,𝑤)   𝐽(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem ecovcom
StepHypRef Expression
1 ecovcom.1 . 2 𝐶 = ((𝑆 × 𝑆) / )
2 oveq1 5774 . . 3 ([⟨𝑥, 𝑦⟩] = 𝐴 → ([⟨𝑥, 𝑦⟩] + [⟨𝑧, 𝑤⟩] ) = (𝐴 + [⟨𝑧, 𝑤⟩] ))
3 oveq2 5775 . . 3 ([⟨𝑥, 𝑦⟩] = 𝐴 → ([⟨𝑧, 𝑤⟩] + [⟨𝑥, 𝑦⟩] ) = ([⟨𝑧, 𝑤⟩] + 𝐴))
42, 3eqeq12d 2152 . 2 ([⟨𝑥, 𝑦⟩] = 𝐴 → (([⟨𝑥, 𝑦⟩] + [⟨𝑧, 𝑤⟩] ) = ([⟨𝑧, 𝑤⟩] + [⟨𝑥, 𝑦⟩] ) ↔ (𝐴 + [⟨𝑧, 𝑤⟩] ) = ([⟨𝑧, 𝑤⟩] + 𝐴)))
5 oveq2 5775 . . 3 ([⟨𝑧, 𝑤⟩] = 𝐵 → (𝐴 + [⟨𝑧, 𝑤⟩] ) = (𝐴 + 𝐵))
6 oveq1 5774 . . 3 ([⟨𝑧, 𝑤⟩] = 𝐵 → ([⟨𝑧, 𝑤⟩] + 𝐴) = (𝐵 + 𝐴))
75, 6eqeq12d 2152 . 2 ([⟨𝑧, 𝑤⟩] = 𝐵 → ((𝐴 + [⟨𝑧, 𝑤⟩] ) = ([⟨𝑧, 𝑤⟩] + 𝐴) ↔ (𝐴 + 𝐵) = (𝐵 + 𝐴)))
8 ecovcom.4 . . . 4 𝐷 = 𝐻
9 ecovcom.5 . . . 4 𝐺 = 𝐽
10 opeq12 3702 . . . . 5 ((𝐷 = 𝐻𝐺 = 𝐽) → ⟨𝐷, 𝐺⟩ = ⟨𝐻, 𝐽⟩)
1110eceq1d 6458 . . . 4 ((𝐷 = 𝐻𝐺 = 𝐽) → [⟨𝐷, 𝐺⟩] = [⟨𝐻, 𝐽⟩] )
128, 9, 11mp2an 422 . . 3 [⟨𝐷, 𝐺⟩] = [⟨𝐻, 𝐽⟩]
13 ecovcom.2 . . 3 (((𝑥𝑆𝑦𝑆) ∧ (𝑧𝑆𝑤𝑆)) → ([⟨𝑥, 𝑦⟩] + [⟨𝑧, 𝑤⟩] ) = [⟨𝐷, 𝐺⟩] )
14 ecovcom.3 . . . 4 (((𝑧𝑆𝑤𝑆) ∧ (𝑥𝑆𝑦𝑆)) → ([⟨𝑧, 𝑤⟩] + [⟨𝑥, 𝑦⟩] ) = [⟨𝐻, 𝐽⟩] )
1514ancoms 266 . . 3 (((𝑥𝑆𝑦𝑆) ∧ (𝑧𝑆𝑤𝑆)) → ([⟨𝑧, 𝑤⟩] + [⟨𝑥, 𝑦⟩] ) = [⟨𝐻, 𝐽⟩] )
1612, 13, 153eqtr4a 2196 . 2 (((𝑥𝑆𝑦𝑆) ∧ (𝑧𝑆𝑤𝑆)) → ([⟨𝑥, 𝑦⟩] + [⟨𝑧, 𝑤⟩] ) = ([⟨𝑧, 𝑤⟩] + [⟨𝑥, 𝑦⟩] ))
171, 4, 7, 162ecoptocl 6510 1 ((𝐴𝐶𝐵𝐶) → (𝐴 + 𝐵) = (𝐵 + 𝐴))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1331  wcel 1480  cop 3525   × cxp 4532  (class class class)co 5767  [cec 6420   / cqs 6421
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-br 3925  df-opab 3985  df-xp 4540  df-cnv 4542  df-dm 4544  df-rn 4545  df-res 4546  df-ima 4547  df-iota 5083  df-fv 5126  df-ov 5770  df-ec 6424  df-qs 6428
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator