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

Theorem brtpos 7887
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 7884 . . . . 5 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
21adantr 483 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
3 opex 5342 . . . . . . . . . 10 𝐵, 𝐴⟩ ∈ V
4 breldmg 5764 . . . . . . . . . . 11 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉 ∧ ⟨𝐵, 𝐴𝐹𝐶) → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹)
543expia 1117 . . . . . . . . . 10 ((⟨𝐵, 𝐴⟩ ∈ V ∧ 𝐶𝑉) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
63, 5mpan 688 . . . . . . . . 9 (𝐶𝑉 → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
76adantr 483 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
8 opelcnvg 5737 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
98adantl 484 . . . . . . . 8 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 ↔ ⟨𝐵, 𝐴⟩ ∈ dom 𝐹))
107, 9sylibrd 261 . . . . . . 7 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ dom 𝐹))
11 elun1 4140 . . . . . . 7 (⟨𝐴, 𝐵⟩ ∈ dom 𝐹 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}))
1210, 11syl6 35 . . . . . 6 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 → ⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅})))
1312pm4.71rd 565 . . . . 5 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶)))
14 opswap 6072 . . . . . . 7 {⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴
1514breq1i 5059 . . . . . 6 ( {⟨𝐴, 𝐵⟩}𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)
1615anbi2i 624 . . . . 5 ((⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶) ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ ⟨𝐵, 𝐴𝐹𝐶))
1713, 16syl6bbr 291 . . . 4 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐵, 𝐴𝐹𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (dom 𝐹 ∪ {∅}) ∧ {⟨𝐴, 𝐵⟩}𝐹𝐶)))
182, 17bitr4d 284 . . 3 ((𝐶𝑉 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
1918ex 415 . 2 (𝐶𝑉 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
20 brtpos0 7885 . . 3 (𝐶𝑉 → (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶))
21 opprc 4812 . . . . 5 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐴, 𝐵⟩ = ∅)
2221breq1d 5062 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ∅tpos 𝐹𝐶))
23 ancom 463 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐵 ∈ V ∧ 𝐴 ∈ V))
24 opprc 4812 . . . . . 6 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ = ∅)
2524breq1d 5062 . . . . 5 (¬ (𝐵 ∈ V ∧ 𝐴 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2623, 25sylnbi 332 . . . 4 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐵, 𝐴𝐹𝐶 ↔ ∅𝐹𝐶))
2722, 26bibi12d 348 . . 3 (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → ((⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶) ↔ (∅tpos 𝐹𝐶 ↔ ∅𝐹𝐶)))
2820, 27syl5ibrcom 249 . 2 (𝐶𝑉 → (¬ (𝐴 ∈ V ∧ 𝐵 ∈ V) → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶)))
2919, 28pm2.61d 181 1 (𝐶𝑉 → (⟨𝐴, 𝐵⟩tpos 𝐹𝐶 ↔ ⟨𝐵, 𝐴𝐹𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wcel 2114  Vcvv 3486  cun 3922  c0 4279  {csn 4553  cop 4559   cuni 4824   class class class wbr 5052  ccnv 5540  dom cdm 5541  tpos ctpos 7877
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316  ax-un 7447
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3488  df-sbc 3764  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-nul 4280  df-if 4454  df-pw 4527  df-sn 4554  df-pr 4556  df-op 4560  df-uni 4825  df-br 5053  df-opab 5115  df-mpt 5133  df-id 5446  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-rn 5552  df-res 5553  df-ima 5554  df-iota 6300  df-fun 6343  df-fn 6344  df-fv 6349  df-tpos 7878
This theorem is referenced by:  ottpos  7888  relbrtpos  7889  dmtpos  7890  rntpos  7891  ovtpos  7893  dftpos3  7896  tpostpos  7898
  Copyright terms: Public domain W3C validator