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

Theorem brtpos 8051
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 8048 . . . . 5 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
21adantr 481 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
3 opex 5379 . . . . . . . . . 10 𝐵, 𝐴⟩ ∈ V
4 breldmg 5818 . . . . . . . . . . 11 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉 ∧ ⟨𝐵, 𝐴𝐹𝐶) → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹)
543expia 1120 . . . . . . . . . 10 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
63, 5mpan 687 . . . . . . . . 9 (𝐶𝑉 → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
76adantr 481 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
8 opelcnvg 5789 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
98adantl 482 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
107, 9sylibrd 258 . . . . . . 7 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ dom 𝐹))
11 elun1 4110 . . . . . . 7 (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}))
1210, 11syl6 35 . . . . . 6 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅})))
1312pm4.71rd 563 . . . . 5 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶)))
14 opswap 6132 . . . . . . 7 {⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴
1514breq1i 5081 . . . . . 6 ( {⟨𝐴, 𝐵⟩}𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)
1615anbi2i 623 . . . . 5 ((⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶) ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶))
1713, 16bitr4di 289 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
182, 17bitr4d 281 . . 3 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
1918ex 413 . 2 (𝐶𝑉 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
20 brtpos0 8049 . . 3 (𝐶𝑉 → (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶))
21 opprc 4827 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
2221breq1d 5084 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ∅tpos 𝐹𝐶))
23 ancom 461 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐵 ∈ V ∧ 𝐴 ∈ V))
24 opprc 4827 . . . . . 6 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ = ∅)
2524breq1d 5084 . . . . 5 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2623, 25sylnbi 330 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2722, 26bibi12d 346 . . 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 396  wcel 2106  Vcvv 3432  cun 3885  c0 4256  {csn 4561  cop 4567   cuni 4839   class class class wbr 5074  ccnv 5588  dom cdm 5589  tpos ctpos 8041
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-fv 6441  df-tpos 8042
This theorem is referenced by:  ottpos  8052  relbrtpos  8053  dmtpos  8054  rntpos  8055  ovtpos  8057  dftpos3  8060  tpostpos  8062
  Copyright terms: Public domain W3C validator