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

Theorem df2nd2 8099
Description: An alternate possible definition of the 2nd function. (Contributed by NM, 10-Aug-2006.) (Revised by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
df2nd2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑧 = 𝑦} = (2nd ↾ (V × V))
Distinct variable group:   𝑥,𝑦,𝑧

Proof of Theorem df2nd2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 fo2nd 8011 . . . . . 6 2nd :V–onto→V
2 fofn 6790 . . . . . 6 (2nd :V–onto→V → 2nd Fn V)
31, 2ax-mp 5 . . . . 5 2nd Fn V
4 dffn5 6935 . . . . 5 (2nd Fn V ↔ 2nd = (𝑤 ∈ V ↦ (2nd ‘𝑤)))
53, 4mpbi 233 . . . 4 2nd = (𝑤 ∈ V ↦ (2nd ‘𝑤))
6 mptv 5211 . . . 4 (𝑤 ∈ V ↦ (2nd ‘𝑤)) = {⟨𝑤, 𝑧⟩ ∣ 𝑧 = (2nd ‘𝑤)}
75, 6eqtri 2784 . . 3 2nd = {⟨𝑤, 𝑧⟩ ∣ 𝑧 = (2nd ‘𝑤)}
87reseq1i 5966 . 2 (2nd ↾ (V × V)) = ({⟨𝑤, 𝑧⟩ ∣ 𝑧 = (2nd ‘𝑤)} ↾ (V × V))
9 resopab 6028 . 2 ({⟨𝑤, 𝑧⟩ ∣ 𝑧 = (2nd ‘𝑤)} ↾ (V × V)) = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ 𝑧 = (2nd ‘𝑤))}
10 vex 3455 . . . . 5 𝑥 ∈ V
11 vex 3455 . . . . 5 𝑦 ∈ V
1210, 11op2ndd 8001 . . . 4 (𝑤 = ⟨𝑥, 𝑦⟩ → (2nd ‘𝑤) = 𝑦)
1312eqeq2d 2772 . . 3 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑧 = (2nd ‘𝑤) ↔ 𝑧 = 𝑦))
1413dfoprab3 8054 . 2 {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ 𝑧 = (2nd ‘𝑤))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑧 = 𝑦}
158, 9, 143eqtrri 2789 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑧 = 𝑦} = (2nd ↾ (V × V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⟨cop 4590  {copab 5167   ↦ cmpt 5186   × cxp 5649   ↾ cres 5653   Fn wfn 6526  –onto→wfo 6529  ‘cfv 6531  {coprab 7413  2nd c2nd 7989
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-fo 6537  df-fv 6539  df-oprab 7416  df-1st 7990  df-2nd 7991
This theorem is used by:  df2ndres  33280
  Copyright terms: Public domain W3C validator