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

Theorem brtpos 7884
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 7881 . . . . 5 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
21adantr 484 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
3 opex 5321 . . . . . . . . . 10 𝐵, 𝐴⟩ ∈ V
4 breldmg 5742 . . . . . . . . . . 11 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉 ∧ ⟨𝐵, 𝐴𝐹𝐶) → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹)
543expia 1118 . . . . . . . . . 10 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
63, 5mpan 689 . . . . . . . . 9 (𝐶𝑉 → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
76adantr 484 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
8 opelcnvg 5715 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
98adantl 485 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
107, 9sylibrd 262 . . . . . . 7 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ dom 𝐹))
11 elun1 4103 . . . . . . 7 (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}))
1210, 11syl6 35 . . . . . 6 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅})))
1312pm4.71rd 566 . . . . 5 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶)))
14 opswap 6053 . . . . . . 7 {⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴
1514breq1i 5037 . . . . . 6 ( {⟨𝐴, 𝐵⟩}𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)
1615anbi2i 625 . . . . 5 ((⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶) ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶))
1713, 16syl6bbr 292 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
182, 17bitr4d 285 . . 3 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
1918ex 416 . 2 (𝐶𝑉 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
20 brtpos0 7882 . . 3 (𝐶𝑉 → (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶))
21 opprc 4788 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
2221breq1d 5040 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ∅tpos 𝐹𝐶))
23 ancom 464 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐵 ∈ V ∧ 𝐴 ∈ V))
24 opprc 4788 . . . . . 6 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ = ∅)
2524breq1d 5040 . . . . 5 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2623, 25sylnbi 333 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2722, 26bibi12d 349 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ((⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶) ↔ (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶)))
2820, 27syl5ibrcom 250 . 2 (𝐶𝑉 → (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
2919, 28pm2.61d 182 1 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wcel 2111  Vcvv 3441  cun 3879  c0 4243  {csn 4525  cop 4531   cuni 4800   class class class wbr 5030  ccnv 5518  dom cdm 5519  tpos ctpos 7874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-fv 6332  df-tpos 7875
This theorem is referenced by:  ottpos  7885  relbrtpos  7886  dmtpos  7887  rntpos  7888  ovtpos  7890  dftpos3  7893  tpostpos  7895
  Copyright terms: Public domain W3C validator