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

Theorem brtpos 8022
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 8019 . . . . 5 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
21adantr 480 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
3 opex 5373 . . . . . . . . . 10 𝐵, 𝐴⟩ ∈ V
4 breldmg 5807 . . . . . . . . . . 11 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉 ∧ ⟨𝐵, 𝐴𝐹𝐶) → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹)
543expia 1119 . . . . . . . . . 10 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
63, 5mpan 686 . . . . . . . . 9 (𝐶𝑉 → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
76adantr 480 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
8 opelcnvg 5778 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
98adantl 481 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
107, 9sylibrd 258 . . . . . . 7 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ dom 𝐹))
11 elun1 4106 . . . . . . 7 (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}))
1210, 11syl6 35 . . . . . 6 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅})))
1312pm4.71rd 562 . . . . 5 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶)))
14 opswap 6121 . . . . . . 7 {⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴
1514breq1i 5077 . . . . . 6 ( {⟨𝐴, 𝐵⟩}𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)
1615anbi2i 622 . . . . 5 ((⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶) ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶))
1713, 16bitr4di 288 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
182, 17bitr4d 281 . . 3 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
1918ex 412 . 2 (𝐶𝑉 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
20 brtpos0 8020 . . 3 (𝐶𝑉 → (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶))
21 opprc 4824 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
2221breq1d 5080 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ∅tpos 𝐹𝐶))
23 ancom 460 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐵 ∈ V ∧ 𝐴 ∈ V))
24 opprc 4824 . . . . . 6 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ = ∅)
2524breq1d 5080 . . . . 5 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2623, 25sylnbi 329 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2722, 26bibi12d 345 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ((⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶) ↔ (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶)))
2820, 27syl5ibrcom 246 . 2 (𝐶𝑉 → (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
2919, 28pm2.61d 179 1 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wcel 2108  Vcvv 3422  cun 3881  c0 4253  {csn 4558  cop 4564   cuni 4836   class class class wbr 5070  ccnv 5579  dom cdm 5580  tpos ctpos 8012
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426  df-tpos 8013
This theorem is referenced by:  ottpos  8023  relbrtpos  8024  dmtpos  8025  rntpos  8026  ovtpos  8028  dftpos3  8031  tpostpos  8033
  Copyright terms: Public domain W3C validator