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

Theorem brtpos 8309
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 8306 . . . . 5 (𝐶 ∈ 𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶)))
21adantr 486 . . . 4 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ∪ ◡{⟨𝐴, 𝐵⟩}𝐹𝐶)))
3 opex 5447 . . . . . . . . . 10 ⟨𝐵, 𝐴⟩ ∈ V
4 breldmg 5911 . . . . . . . . . . 11 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶 ∈ 𝑉 ∧ ⟨𝐵, 𝐴⟩𝐹𝐶) → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹)
543expia 1140 . . . . . . . . . 10 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶 ∈ 𝑉) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
63, 5mpan 703 . . . . . . . . 9 (𝐶 ∈ 𝑉 → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
76adantr 486 . . . . . . . 8 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
8 opelcnvg 5878 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
98adantl 487 . . . . . . . 8 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
107, 9sylibrd 262 . . . . . . 7 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹))
11 elun1 4190 . . . . . . 7 (⟨𝐴, 𝐵⟩ ∈ ◡dom 𝐹 → ⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}))
1210, 11syl6 36 . . . . . 6 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅})))
1312pm4.71rd 572 . . . . 5 ((𝐶 ∈ 𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴⟩𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (◡dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴⟩𝐹𝐶)))
14 opswap 6262 . . . . . . 7 ∪ ◡{⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴⟩
1514breq1i 5123 . . . . . 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 8307 . . 3 (𝐶 ∈ 𝑉 → (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶))
21 opprc 4867 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
2221breq1d 5126 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ∅tpos 𝐹𝐶))
23 ancom 466 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐵 ∈ V ∧ 𝐴 ∈ V))
24 opprc 4867 . . . . . 6 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ = ∅)
2524breq1d 5126 . . . . 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 2156  Vcvv 3461   ∪ cun 4159  ∅c0 4288  {csn 4595  ⟨cop 4848  ∪ cuni 4880   class class class wbr 5116  ◡ccnv 5665  dom cdm 5666  tpos ctpos 8299
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-fv 6587  df-tpos 8300
This theorem is used by:  ottpos  8310  relbrtpos  8311  dmtpos  8312  rntpos  8313  ovtpos  8315  dftpos3  8318  tpostpos  8320
  Copyright terms: Public domain W3C validator