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

Theorem ecopovsym 8851
Description: Assuming the operation 𝐹 is commutative, show that the relation ∼, specified by the first hypothesis, is symmetric. (Contributed by NM, 27-Aug-1995.) (Revised by Mario Carneiro, 26-Apr-2015.)
Hypotheses
Ref Expression
ecopopr.1 ∼ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
ecopopr.com (𝑥 + 𝑦) = (𝑦 + 𝑥)
Assertion
Ref Expression
ecopovsym (𝐴 ∼ 𝐵 → 𝐵 ∼ 𝐴)
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢, +   𝑥,𝑆,𝑦,𝑧,𝑤,𝑣,𝑢
Allowed substitution hints:   𝐴(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑢)   𝐵(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑢)   ∼ (𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑢)

Proof of Theorem ecopovsym
Dummy variables 𝑓 𝑔 ℎ 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ecopopr.1 . . . . 5 ∼ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
2 opabssxp 5747 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
31, 2eqsstri 3958 . . . 4 ∼ ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
43brel 5719 . . 3 (𝐴 ∼ 𝐵 → (𝐴 ∈ (𝑆 × 𝑆) ∧ 𝐵 ∈ (𝑆 × 𝑆)))
5 eqid 2763 . . . 4 (𝑆 × 𝑆) = (𝑆 × 𝑆)
6 breq1 5108 . . . . 5 (⟨𝑓, 𝑔⟩ = 𝐴 → (⟨𝑓, 𝑔⟩ ∼ ⟨ℎ, 𝑡⟩ ↔ 𝐴 ∼ ⟨ℎ, 𝑡⟩))
7 breq2 5109 . . . . 5 (⟨𝑓, 𝑔⟩ = 𝐴 → (⟨ℎ, 𝑡⟩ ∼ ⟨𝑓, 𝑔⟩ ↔ ⟨ℎ, 𝑡⟩ ∼ 𝐴))
86, 7bibi12d 348 . . . 4 (⟨𝑓, 𝑔⟩ = 𝐴 → ((⟨𝑓, 𝑔⟩ ∼ ⟨ℎ, 𝑡⟩ ↔ ⟨ℎ, 𝑡⟩ ∼ ⟨𝑓, 𝑔⟩) ↔ (𝐴 ∼ ⟨ℎ, 𝑡⟩ ↔ ⟨ℎ, 𝑡⟩ ∼ 𝐴)))
9 breq2 5109 . . . . 5 (⟨ℎ, 𝑡⟩ = 𝐵 → (𝐴 ∼ ⟨ℎ, 𝑡⟩ ↔ 𝐴 ∼ 𝐵))
10 breq1 5108 . . . . 5 (⟨ℎ, 𝑡⟩ = 𝐵 → (⟨ℎ, 𝑡⟩ ∼ 𝐴 ↔ 𝐵 ∼ 𝐴))
119, 10bibi12d 348 . . . 4 (⟨ℎ, 𝑡⟩ = 𝐵 → ((𝐴 ∼ ⟨ℎ, 𝑡⟩ ↔ ⟨ℎ, 𝑡⟩ ∼ 𝐴) ↔ (𝐴 ∼ 𝐵 ↔ 𝐵 ∼ 𝐴)))
121ecopoveq 8850 . . . . . 6 (((𝑓 ∈ 𝑆 ∧ 𝑔 ∈ 𝑆) ∧ (ℎ ∈ 𝑆 ∧ 𝑡 ∈ 𝑆)) → (⟨𝑓, 𝑔⟩ ∼ ⟨ℎ, 𝑡⟩ ↔ (𝑓 + 𝑡) = (𝑔 + ℎ)))
13 vex 3457 . . . . . . . . 9 𝑓 ∈ V
14 vex 3457 . . . . . . . . 9 𝑡 ∈ V
15 ecopopr.com . . . . . . . . 9 (𝑥 + 𝑦) = (𝑦 + 𝑥)
1613, 14, 15caovcom 7625 . . . . . . . 8 (𝑓 + 𝑡) = (𝑡 + 𝑓)
17 vex 3457 . . . . . . . . 9 𝑔 ∈ V
18 vex 3457 . . . . . . . . 9 ℎ ∈ V
1917, 18, 15caovcom 7625 . . . . . . . 8 (𝑔 + ℎ) = (ℎ + 𝑔)
2016, 19eqeq12i 2781 . . . . . . 7 ((𝑓 + 𝑡) = (𝑔 + ℎ) ↔ (𝑡 + 𝑓) = (ℎ + 𝑔))
21 eqcom 2770 . . . . . . 7 ((𝑡 + 𝑓) = (ℎ + 𝑔) ↔ (ℎ + 𝑔) = (𝑡 + 𝑓))
2220, 21bitri 278 . . . . . 6 ((𝑓 + 𝑡) = (𝑔 + ℎ) ↔ (ℎ + 𝑔) = (𝑡 + 𝑓))
2312, 22bitrdi 290 . . . . 5 (((𝑓 ∈ 𝑆 ∧ 𝑔 ∈ 𝑆) ∧ (ℎ ∈ 𝑆 ∧ 𝑡 ∈ 𝑆)) → (⟨𝑓, 𝑔⟩ ∼ ⟨ℎ, 𝑡⟩ ↔ (ℎ + 𝑔) = (𝑡 + 𝑓)))
241ecopoveq 8850 . . . . . 6 (((ℎ ∈ 𝑆 ∧ 𝑡 ∈ 𝑆) ∧ (𝑓 ∈ 𝑆 ∧ 𝑔 ∈ 𝑆)) → (⟨ℎ, 𝑡⟩ ∼ ⟨𝑓, 𝑔⟩ ↔ (ℎ + 𝑔) = (𝑡 + 𝑓)))
2524ancoms 464 . . . . 5 (((𝑓 ∈ 𝑆 ∧ 𝑔 ∈ 𝑆) ∧ (ℎ ∈ 𝑆 ∧ 𝑡 ∈ 𝑆)) → (⟨ℎ, 𝑡⟩ ∼ ⟨𝑓, 𝑔⟩ ↔ (ℎ + 𝑔) = (𝑡 + 𝑓)))
2623, 25bitr4d 285 . . . 4 (((𝑓 ∈ 𝑆 ∧ 𝑔 ∈ 𝑆) ∧ (ℎ ∈ 𝑆 ∧ 𝑡 ∈ 𝑆)) → (⟨𝑓, 𝑔⟩ ∼ ⟨ℎ, 𝑡⟩ ↔ ⟨ℎ, 𝑡⟩ ∼ ⟨𝑓, 𝑔⟩))
275, 8, 11, 262optocl 5751 . . 3 ((𝐴 ∈ (𝑆 × 𝑆) ∧ 𝐵 ∈ (𝑆 × 𝑆)) → (𝐴 ∼ 𝐵 ↔ 𝐵 ∼ 𝐴))
284, 27syl 18 . 2 (𝐴 ∼ 𝐵 → (𝐴 ∼ 𝐵 ↔ 𝐵 ∼ 𝐴))
2928ibi 270 1 (𝐴 ∼ 𝐵 → 𝐵 ∼ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2146  ⟨cop 4837   class class class wbr 5105  {copab 5169   × cxp 5652  (class class class)co 7427
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735  ax-sep 5251  ax-pr 5394
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-ral 3080  df-rex 3090  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-xp 5660  df-iota 6500  df-fv 6554  df-ov 7430
This theorem is used by:  ecopover  8853
  Copyright terms: Public domain W3C validator