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

Theorem tposoprab 7388
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 7385 . 2 tpos 𝐹 = tpos {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
3 reldmoprab 6745 . . 3 Rel dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
4 dftpos3 7370 . . 3 (Rel dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → tpos {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐})
53, 4ax-mp 5 . 2 tpos {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐}
6 nfcv 2764 . . . . 5 𝑦𝑏, 𝑎
7 nfoprab2 6705 . . . . 5 𝑦{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
8 nfcv 2764 . . . . 5 𝑦𝑐
96, 7, 8nfbr 4699 . . . 4 𝑦𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
10 nfcv 2764 . . . . 5 𝑥𝑏, 𝑎
11 nfoprab1 6704 . . . . 5 𝑥{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
12 nfcv 2764 . . . . 5 𝑥𝑐
1310, 11, 12nfbr 4699 . . . 4 𝑥𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
14 nfv 1843 . . . 4 𝑎𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
15 nfv 1843 . . . 4 𝑏𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
16 opeq12 4404 . . . . . 6 ((𝑏 = 𝑥𝑎 = 𝑦) → ⟨𝑏, 𝑎⟩ = ⟨𝑥, 𝑦⟩)
1716ancoms 469 . . . . 5 ((𝑎 = 𝑦𝑏 = 𝑥) → ⟨𝑏, 𝑎⟩ = ⟨𝑥, 𝑦⟩)
1817breq1d 4663 . . . 4 ((𝑎 = 𝑦𝑏 = 𝑥) → (⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐 ↔ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐))
199, 13, 14, 15, 18cbvoprab12 6729 . . 3 {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐} = {⟨⟨𝑦, 𝑥⟩, 𝑐⟩ ∣ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐}
20 nfcv 2764 . . . . 5 𝑧𝑥, 𝑦
21 nfoprab3 6706 . . . . 5 𝑧{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}
22 nfcv 2764 . . . . 5 𝑧𝑐
2320, 21, 22nfbr 4699 . . . 4 𝑧𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐
24 nfv 1843 . . . 4 𝑐𝜑
25 breq2 4657 . . . . 5 (𝑐 = 𝑧 → (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐 ↔ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑧))
26 df-br 4654 . . . . . 6 (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑧 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑})
27 oprabid 6677 . . . . . 6 (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} ↔ 𝜑)
2826, 27bitri 264 . . . . 5 (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑧𝜑)
2925, 28syl6bb 276 . . . 4 (𝑐 = 𝑧 → (⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐𝜑))
3023, 24, 29cbvoprab3 6731 . . 3 {⟨⟨𝑦, 𝑥⟩, 𝑐⟩ ∣ ⟨𝑥, 𝑦⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐} = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
3119, 30eqtri 2644 . 2 {⟨⟨𝑎, 𝑏⟩, 𝑐⟩ ∣ ⟨𝑏, 𝑎⟩{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑}𝑐} = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
322, 5, 313eqtri 2648 1 tpos 𝐹 = {⟨⟨𝑦, 𝑥⟩, 𝑧⟩ ∣ 𝜑}
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wcel 1990  cop 4183   class class class wbr 4653  dom cdm 5114  Rel wrel 5119  {coprab 6651  tpos ctpos 7351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-fv 5896  df-oprab 6654  df-tpos 7352
This theorem is referenced by:  tposmpt2  7389
  Copyright terms: Public domain W3C validator