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

Theorem brtpos 8252
Description: The transposition swaps arguments of a three-parameter relation. (Contributed by Mario Carneiro, 10-Sep-2015.)
Assertion
Ref Expression
brtpos (𝐶 ∈ 𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶))

Proof of Theorem brtpos
StepHypRef Expression
1 brtpos2 8249 . . . . 5 (𝐶 ∈ 𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶)))
21adantr 486 . . . 4 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶)))
3 opex 5432 . . . . . . . . . 10 ⟨𝐵, 𝐴⟩ ∈ V
4 breldmg 5891 . . . . . . . . . . 11 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶 ∈ 𝑉 ∧ ⟨𝐵, 𝐴⟩𝐹𝐶) → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹)
543expia 1139 . . . . . . . . . 10 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶 ∈ 𝑉) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
63, 5mpan 703 . . . . . . . . 9 (𝐶 ∈ 𝑉 → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
76adantr 486 . . . . . . . 8 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
8 opelcnvg 5858 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
98adantl 487 . . . . . . . 8 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
107, 9sylibrd 262 . . . . . . 7 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹))
11 elun1 4128 . . . . . . 7 (⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹 → ⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}))
1210, 11syl6 36 . . . . . 6 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅})))
1312pm4.71rd 572 . . . . 5 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴⟩𝐹𝐶)))
14 opswap 6230 . . . . . . 7 ∪ ◡{⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴⟩
1514breq1i 5110 . . . . . 6 (∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶)
1615anbi2i 635 . . . . 5 ((⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶) ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴⟩𝐹𝐶))
1713, 16bitr4di 292 . . . 4 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶)))
182, 17bitr4d 285 . . 3 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶))
1918ex 418 . 2 (𝐶 ∈ 𝑉 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶)))
20 brtpos0 8250 . . 3 (𝐶 ∈ 𝑉 → (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶))
21 opprc 4856 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
2221breq1d 5113 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ∅tpos 𝐹𝐶))
23 ancom 466 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐵 ∈ V ∧ 𝐴 ∈ V))
24 opprc 4856 . . . . . 6 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ = ∅)
2524breq1d 5113 . . . . 5 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → (⟨𝐵, 𝐴⟩𝐹𝐶 ↔ ∅𝐹𝐶))
2623, 25sylnbi 333 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐵, 𝐴⟩𝐹𝐶 ↔ ∅𝐹𝐶))
2722, 26bibi12d 348 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ((⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶) ↔ (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶)))
2820, 27syl5ibrcom 250 . 2 (𝐶 ∈ 𝑉 → (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶)))
2919, 28pm2.61d 181 1 (𝐶 ∈ 𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴⟩𝐹𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∈ wcel 2145  Vcvv 3451   ∪ cun 3897  ∅c0 4279  {csn 4584  ⟨cop 4590  ∪ cuni 4867   class class class wbr 5103  ◡ccnv 5650  dom cdm 5651  tpos ctpos 8242
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-fv 6546  df-tpos 8243
This theorem is used by:  ottpos  8253  relbrtpos  8254  dmtpos  8255  rntpos  8256  ovtpos  8258  dftpos3  8261  tpostpos  8263
  Copyright terms: Public domain W3C validator