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

Theorem ecopovsymg 6781
Description: Assuming the operation 𝐹 is commutative, show that the relation , specified by the first hypothesis, is symmetric. (Contributed by Jim Kingdon, 1-Sep-2019.)
Hypotheses
Ref Expression
ecopopr.1 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
ecopoprg.com ((𝑥𝑆𝑦𝑆) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
Assertion
Ref Expression
ecopovsymg (𝐴 𝐵𝐵 𝐴)
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢, +   𝑥,𝑆,𝑦,𝑧,𝑤,𝑣,𝑢
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)   𝐵(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)   (𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)

Proof of Theorem ecopovsymg
Dummy variables 𝑓 𝑔 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ecopopr.1 . . . . 5 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
2 opabssxp 4793 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
31, 2eqsstri 3256 . . . 4 ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
43brel 4771 . . 3 (𝐴 𝐵 → (𝐴 ∈ (𝑆 × 𝑆) ∧ 𝐵 ∈ (𝑆 × 𝑆)))
5 eqid 2229 . . . 4 (𝑆 × 𝑆) = (𝑆 × 𝑆)
6 breq1 4086 . . . . 5 (⟨𝑓, 𝑔⟩ = 𝐴 → (⟨𝑓, 𝑔, 𝑡⟩ ↔ 𝐴 , 𝑡⟩))
7 breq2 4087 . . . . 5 (⟨𝑓, 𝑔⟩ = 𝐴 → (⟨, 𝑡𝑓, 𝑔⟩ ↔ ⟨, 𝑡 𝐴))
86, 7bibi12d 235 . . . 4 (⟨𝑓, 𝑔⟩ = 𝐴 → ((⟨𝑓, 𝑔, 𝑡⟩ ↔ ⟨, 𝑡𝑓, 𝑔⟩) ↔ (𝐴 , 𝑡⟩ ↔ ⟨, 𝑡 𝐴)))
9 breq2 4087 . . . . 5 (⟨, 𝑡⟩ = 𝐵 → (𝐴 , 𝑡⟩ ↔ 𝐴 𝐵))
10 breq1 4086 . . . . 5 (⟨, 𝑡⟩ = 𝐵 → (⟨, 𝑡 𝐴𝐵 𝐴))
119, 10bibi12d 235 . . . 4 (⟨, 𝑡⟩ = 𝐵 → ((𝐴 , 𝑡⟩ ↔ ⟨, 𝑡 𝐴) ↔ (𝐴 𝐵𝐵 𝐴)))
12 ecopoprg.com . . . . . . . . 9 ((𝑥𝑆𝑦𝑆) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
1312adantl 277 . . . . . . . 8 ((((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
14 simpll 527 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑓𝑆)
15 simprr 531 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑡𝑆)
1613, 14, 15caovcomd 6162 . . . . . . 7 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (𝑓 + 𝑡) = (𝑡 + 𝑓))
17 simplr 528 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑔𝑆)
18 simprl 529 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑆)
1913, 17, 18caovcomd 6162 . . . . . . 7 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (𝑔 + ) = ( + 𝑔))
2016, 19eqeq12d 2244 . . . . . 6 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → ((𝑓 + 𝑡) = (𝑔 + ) ↔ (𝑡 + 𝑓) = ( + 𝑔)))
21 eqcom 2231 . . . . . 6 ((𝑡 + 𝑓) = ( + 𝑔) ↔ ( + 𝑔) = (𝑡 + 𝑓))
2220, 21bitrdi 196 . . . . 5 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → ((𝑓 + 𝑡) = (𝑔 + ) ↔ ( + 𝑔) = (𝑡 + 𝑓)))
231ecopoveq 6777 . . . . 5 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (⟨𝑓, 𝑔, 𝑡⟩ ↔ (𝑓 + 𝑡) = (𝑔 + )))
241ecopoveq 6777 . . . . . 6 (((𝑆𝑡𝑆) ∧ (𝑓𝑆𝑔𝑆)) → (⟨, 𝑡𝑓, 𝑔⟩ ↔ ( + 𝑔) = (𝑡 + 𝑓)))
2524ancoms 268 . . . . 5 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (⟨, 𝑡𝑓, 𝑔⟩ ↔ ( + 𝑔) = (𝑡 + 𝑓)))
2622, 23, 253bitr4d 220 . . . 4 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (⟨𝑓, 𝑔, 𝑡⟩ ↔ ⟨, 𝑡𝑓, 𝑔⟩))
275, 8, 11, 262optocl 4796 . . 3 ((𝐴 ∈ (𝑆 × 𝑆) ∧ 𝐵 ∈ (𝑆 × 𝑆)) → (𝐴 𝐵𝐵 𝐴))
284, 27syl 14 . 2 (𝐴 𝐵 → (𝐴 𝐵𝐵 𝐴))
2928ibi 176 1 (𝐴 𝐵𝐵 𝐴)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105   = wceq 1395  wex 1538  wcel 2200  cop 3669   class class class wbr 4083  {copab 4144   × cxp 4717  (class class class)co 6001
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-14 2203  ax-ext 2211  ax-sep 4202  ax-pow 4258  ax-pr 4293
This theorem depends on definitions:  df-bi 117  df-3an 1004  df-tru 1398  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ral 2513  df-rex 2514  df-v 2801  df-un 3201  df-in 3203  df-ss 3210  df-pw 3651  df-sn 3672  df-pr 3673  df-op 3675  df-uni 3889  df-br 4084  df-opab 4146  df-xp 4725  df-iota 5278  df-fv 5326  df-ov 6004
This theorem is referenced by:  ecopoverg  6783
  Copyright terms: Public domain W3C validator