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

Theorem ecopovsymg 6389
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 4512 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
31, 2eqsstri 3056 . . . 4 ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
43brel 4490 . . 3 (𝐴 𝐵 → (𝐴 ∈ (𝑆 × 𝑆) ∧ 𝐵 ∈ (𝑆 × 𝑆)))
5 eqid 2088 . . . 4 (𝑆 × 𝑆) = (𝑆 × 𝑆)
6 breq1 3848 . . . . 5 (⟨𝑓, 𝑔⟩ = 𝐴 → (⟨𝑓, 𝑔, 𝑡⟩ ↔ 𝐴 , 𝑡⟩))
7 breq2 3849 . . . . 5 (⟨𝑓, 𝑔⟩ = 𝐴 → (⟨, 𝑡𝑓, 𝑔⟩ ↔ ⟨, 𝑡 𝐴))
86, 7bibi12d 233 . . . 4 (⟨𝑓, 𝑔⟩ = 𝐴 → ((⟨𝑓, 𝑔, 𝑡⟩ ↔ ⟨, 𝑡𝑓, 𝑔⟩) ↔ (𝐴 , 𝑡⟩ ↔ ⟨, 𝑡 𝐴)))
9 breq2 3849 . . . . 5 (⟨, 𝑡⟩ = 𝐵 → (𝐴 , 𝑡⟩ ↔ 𝐴 𝐵))
10 breq1 3848 . . . . 5 (⟨, 𝑡⟩ = 𝐵 → (⟨, 𝑡 𝐴𝐵 𝐴))
119, 10bibi12d 233 . . . 4 (⟨, 𝑡⟩ = 𝐵 → ((𝐴 , 𝑡⟩ ↔ ⟨, 𝑡 𝐴) ↔ (𝐴 𝐵𝐵 𝐴)))
12 ecopoprg.com . . . . . . . . 9 ((𝑥𝑆𝑦𝑆) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
1312adantl 271 . . . . . . . 8 ((((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
14 simpll 496 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑓𝑆)
15 simprr 499 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑡𝑆)
1613, 14, 15caovcomd 5801 . . . . . . 7 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (𝑓 + 𝑡) = (𝑡 + 𝑓))
17 simplr 497 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑔𝑆)
18 simprl 498 . . . . . . . 8 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → 𝑆)
1913, 17, 18caovcomd 5801 . . . . . . 7 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (𝑔 + ) = ( + 𝑔))
2016, 19eqeq12d 2102 . . . . . 6 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → ((𝑓 + 𝑡) = (𝑔 + ) ↔ (𝑡 + 𝑓) = ( + 𝑔)))
21 eqcom 2090 . . . . . 6 ((𝑡 + 𝑓) = ( + 𝑔) ↔ ( + 𝑔) = (𝑡 + 𝑓))
2220, 21syl6bb 194 . . . . 5 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → ((𝑓 + 𝑡) = (𝑔 + ) ↔ ( + 𝑔) = (𝑡 + 𝑓)))
231ecopoveq 6385 . . . . 5 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (⟨𝑓, 𝑔, 𝑡⟩ ↔ (𝑓 + 𝑡) = (𝑔 + )))
241ecopoveq 6385 . . . . . 6 (((𝑆𝑡𝑆) ∧ (𝑓𝑆𝑔𝑆)) → (⟨, 𝑡𝑓, 𝑔⟩ ↔ ( + 𝑔) = (𝑡 + 𝑓)))
2524ancoms 264 . . . . 5 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (⟨, 𝑡𝑓, 𝑔⟩ ↔ ( + 𝑔) = (𝑡 + 𝑓)))
2622, 23, 253bitr4d 218 . . . 4 (((𝑓𝑆𝑔𝑆) ∧ (𝑆𝑡𝑆)) → (⟨𝑓, 𝑔, 𝑡⟩ ↔ ⟨, 𝑡𝑓, 𝑔⟩))
275, 8, 11, 262optocl 4515 . . 3 ((𝐴 ∈ (𝑆 × 𝑆) ∧ 𝐵 ∈ (𝑆 × 𝑆)) → (𝐴 𝐵𝐵 𝐴))
284, 27syl 14 . 2 (𝐴 𝐵 → (𝐴 𝐵𝐵 𝐴))
2928ibi 174 1 (𝐴 𝐵𝐵 𝐴)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103   = wceq 1289  wex 1426  wcel 1438  cop 3449   class class class wbr 3845  {copab 3898   × cxp 4436  (class class class)co 5652
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-14 1450  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473  ax-ext 2070  ax-sep 3957  ax-pow 4009  ax-pr 4036
This theorem depends on definitions:  df-bi 115  df-3an 926  df-tru 1292  df-nf 1395  df-sb 1693  df-eu 1951  df-mo 1952  df-clab 2075  df-cleq 2081  df-clel 2084  df-nfc 2217  df-ral 2364  df-rex 2365  df-v 2621  df-un 3003  df-in 3005  df-ss 3012  df-pw 3431  df-sn 3452  df-pr 3453  df-op 3455  df-uni 3654  df-br 3846  df-opab 3900  df-xp 4444  df-iota 4980  df-fv 5023  df-ov 5655
This theorem is referenced by:  ecopoverg  6391
  Copyright terms: Public domain W3C validator