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

Theorem tposoprab 8087
Description: Transposition of a class of ordered triples. (Contributed by Mario Carneiro, 10-Sep-2015.)
Hypothesis
Ref Expression
tposoprab.1 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
Assertion
Ref Expression
tposoprab tpos 𝐹 = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
Distinct variable group:   𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝐹(𝑥,𝑦,𝑧)

Proof of Theorem tposoprab
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tposoprab.1 . . 3 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
21tposeqi 8084 . 2 tpos 𝐹 = tpos {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
3 reldmoprab 7389 . . 3 Rel dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
4 dftpos3 8069 . . 3 (Rel dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → tpos {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐})
53, 4ax-mp 5 . 2 tpos {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐}
6 nfcv 2908 . . . . 5 𝑦𝑏, 𝑎
7 nfoprab2 7346 . . . . 5 𝑦{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
8 nfcv 2908 . . . . 5 𝑦𝑐
96, 7, 8nfbr 5122 . . . 4 𝑦𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
10 nfcv 2908 . . . . 5 𝑥𝑏, 𝑎
11 nfoprab1 7345 . . . . 5 𝑥{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
12 nfcv 2908 . . . . 5 𝑥𝑐
1310, 11, 12nfbr 5122 . . . 4 𝑥𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
14 nfv 1918 . . . 4 𝑎𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
15 nfv 1918 . . . 4 𝑏𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
16 opeq12 4807 . . . . . 6 ((𝑏 = 𝑥𝑎 = 𝑦) → ⟨𝑏, 𝑎⟩ = ⟨𝑥, 𝑦⟩)
1716ancoms 459 . . . . 5 ((𝑎 = 𝑦𝑏 = 𝑥) → ⟨𝑏, 𝑎⟩ = ⟨𝑥, 𝑦⟩)
1817breq1d 5085 . . . 4 ((𝑎 = 𝑦𝑏 = 𝑥) → (⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐 ↔ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐))
199, 13, 14, 15, 18cbvoprab12 7373 . . 3 {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐} = {⟨⟨𝑦, 𝑥⟩, 𝑐⟩ ∣ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐}
20 nfcv 2908 . . . . 5 𝑧𝑥, 𝑦
21 nfoprab3 7347 . . . . 5 𝑧{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
22 nfcv 2908 . . . . 5 𝑧𝑐
2320, 21, 22nfbr 5122 . . . 4 𝑧𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
24 nfv 1918 . . . 4 𝑐𝜑
25 breq2 5079 . . . . 5 (𝑐 = 𝑧 → (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐 ↔ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑧))
26 df-br 5076 . . . . . 6 (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑧 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑})
27 oprabidw 7315 . . . . . 6 (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} ↔ 𝜑)
2826, 27bitri 274 . . . . 5 (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑧𝜑)
2925, 28bitrdi 287 . . . 4 (𝑐 = 𝑧 → (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐𝜑))
3023, 24, 29cbvoprab3 7375 . . 3 {⟨⟨𝑦, 𝑥⟩, 𝑐⟩ ∣ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐} = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
3119, 30eqtri 2767 . 2 {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐} = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
322, 5, 313eqtri 2771 1 tpos 𝐹 = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1539  wcel 2107  cop 4568   class class class wbr 5075  dom cdm 5590  Rel wrel 5595  {coprab 7285  tpos ctpos 8050
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597
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 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-rab 3074  df-v 3435  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-br 5076  df-opab 5138  df-mpt 5159  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6395  df-fun 6439  df-fn 6440  df-fv 6445  df-oprab 7288  df-tpos 8051
This theorem is referenced by:  tposmpo  8088
  Copyright terms: Public domain W3C validator