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

Theorem dftpos3 8060
Description: Alternate definition of tpos when 𝐹 has relational domain. Compare df-cnv 5597. (Contributed by Mario Carneiro, 10-Sep-2015.)
Assertion
Ref Expression
dftpos3 (Rel dom 𝐹 → tpos 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ⟨𝑦, 𝑥𝐹𝑧})
Distinct variable group:   𝑥,𝑦,𝑧,𝐹

Proof of Theorem dftpos3
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 relcnv 6012 . . . . . . . . . 10 Rel dom 𝐹
2 dmtpos 8054 . . . . . . . . . . 11 (Rel dom 𝐹 → dom tpos 𝐹 = dom 𝐹)
32releqd 5689 . . . . . . . . . 10 (Rel dom 𝐹 → (Rel dom tpos 𝐹 ↔ Rel dom 𝐹))
41, 3mpbiri 257 . . . . . . . . 9 (Rel dom 𝐹 → Rel dom tpos 𝐹)
5 reltpos 8047 . . . . . . . . 9 Rel tpos 𝐹
64, 5jctil 520 . . . . . . . 8 (Rel dom 𝐹 → (Rel tpos 𝐹 ∧ Rel dom tpos 𝐹))
7 relrelss 6176 . . . . . . . 8 ((Rel tpos 𝐹 ∧ Rel dom tpos 𝐹) ↔ tpos 𝐹 ⊆ ((V × V) × V))
86, 7sylib 217 . . . . . . 7 (Rel dom 𝐹 → tpos 𝐹 ⊆ ((V × V) × V))
98sseld 3920 . . . . . 6 (Rel dom 𝐹 → (𝑤 ∈ tpos 𝐹𝑤 ∈ ((V × V) × V)))
10 elvvv 5662 . . . . . 6 (𝑤 ∈ ((V × V) × V) ↔ ∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
119, 10syl6ib 250 . . . . 5 (Rel dom 𝐹 → (𝑤 ∈ tpos 𝐹 → ∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
1211pm4.71rd 563 . . . 4 (Rel dom 𝐹 → (𝑤 ∈ tpos 𝐹 ↔ (∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 ∈ tpos 𝐹)))
13 19.41vvv 1955 . . . . 5 (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 ∈ tpos 𝐹) ↔ (∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 ∈ tpos 𝐹))
14 eleq1 2826 . . . . . . . 8 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ tpos 𝐹 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ tpos 𝐹))
15 df-br 5075 . . . . . . . . 9 (⟨𝑥, 𝑦⟩tpos 𝐹𝑧 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ tpos 𝐹)
16 brtpos 8051 . . . . . . . . . 10 (𝑧 ∈ V → (⟨𝑥, 𝑦⟩tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑥𝐹𝑧))
1716elv 3438 . . . . . . . . 9 (⟨𝑥, 𝑦⟩tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑥𝐹𝑧)
1815, 17bitr3i 276 . . . . . . . 8 (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ tpos 𝐹 ↔ ⟨𝑦, 𝑥𝐹𝑧)
1914, 18bitrdi 287 . . . . . . 7 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ tpos 𝐹 ↔ ⟨𝑦, 𝑥𝐹𝑧))
2019pm5.32i 575 . . . . . 6 ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 ∈ tpos 𝐹) ↔ (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ ⟨𝑦, 𝑥𝐹𝑧))
21203exbii 1852 . . . . 5 (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 ∈ tpos 𝐹) ↔ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ ⟨𝑦, 𝑥𝐹𝑧))
2213, 21bitr3i 276 . . . 4 ((∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 ∈ tpos 𝐹) ↔ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ ⟨𝑦, 𝑥𝐹𝑧))
2312, 22bitrdi 287 . . 3 (Rel dom 𝐹 → (𝑤 ∈ tpos 𝐹 ↔ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ ⟨𝑦, 𝑥𝐹𝑧)))
2423abbi2dv 2877 . 2 (Rel dom 𝐹 → tpos 𝐹 = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ ⟨𝑦, 𝑥𝐹𝑧)})
25 df-oprab 7279 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ⟨𝑦, 𝑥𝐹𝑧} = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ ⟨𝑦, 𝑥𝐹𝑧)}
2624, 25eqtr4di 2796 1 (Rel dom 𝐹 → tpos 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ⟨𝑦, 𝑥𝐹𝑧})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  {cab 2715  Vcvv 3432  wss 3887  cop 4567   class class class wbr 5074   × cxp 5587  ccnv 5588  dom cdm 5589  Rel wrel 5594  {coprab 7276  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-oprab 7279  df-tpos 8042
This theorem is referenced by:  tposoprab  8078
  Copyright terms: Public domain W3C validator