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

Theorem df1st2 8162
Description: An alternate possible definition of the 1st function. (Contributed by NM, 14-Oct-2004.) (Revised by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
df1st2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑧 = 𝑥} = (1st ↾ (V × V))
Distinct variable group:   𝑥,𝑦,𝑧

Proof of Theorem df1st2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 fo1st 8071 . . . . . 6 1st :V⟶ontoV
2 fofn 6843 . . . . . 6 (1st :V⟶ontoV → 1st Fn V)
31, 2ax-mp 5 . . . . 5 1st Fn V
4 dffn5 6989 . . . . 5 (1st Fn V ↔ 1st = (𝑤 ∈ V ↦ (1st ‘𝑤)))
53, 4mpbi 233 . . . 4 1st = (𝑤 ∈ V ↦ (1st ‘𝑤))
6 mptv 5225 . . . 4 (𝑤 ∈ V ↦ (1st ‘𝑤)) = {⟨𝑤, 𝑧⟩ ∣ 𝑧 = (1st ‘𝑤)}
75, 6eqtri 2797 . . 3 1st = {⟨𝑤, 𝑧⟩ ∣ 𝑧 = (1st ‘𝑤)}
87reseq1i 5990 . 2 (1st ↾ (V × V)) = ({⟨𝑤, 𝑧⟩ ∣ 𝑧 = (1st ‘𝑤)} ↾ (V × V))
9 resopab 6052 . 2 ({⟨𝑤, 𝑧⟩ ∣ 𝑧 = (1st ‘𝑤)} ↾ (V × V)) = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ 𝑧 = (1st ‘𝑤))}
10 vex 3465 . . . . 5 𝑥 ∈ V
11 vex 3465 . . . . 5 𝑦 ∈ V
1210, 11op1std 8061 . . . 4 (𝑤 = ⟨𝑥, 𝑦⟩ → (1st ‘𝑤) = 𝑥)
1312eqeq2d 2785 . . 3 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑧 = (1st ‘𝑤) ↔ 𝑧 = 𝑥))
1413dfoprab3 8116 . 2 {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ 𝑧 = (1st ‘𝑤))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑧 = 𝑥}
158, 9, 143eqtrri 2802 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑧 = 𝑥} = (1st ↾ (V × V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ⟨cop 4848  {copab 5181   ↦ cmpt 5200   × cxp 5664   ↾ cres 5668   Fn wfn 6573  ⟶ontowfo 6576  ‘cfv 6578  {coprab 7468  1st c1st 8049
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fo 6584  df-fv 6586  df-oprab 7471  df-1st 8051  df-2nd 8052
This theorem is used by:  df1stres  33514
  Copyright terms: Public domain W3C validator