Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fgraphxp Structured version   Visualization version   GIF version

Theorem fgraphxp 44398
Description: Express a function as a subset of the Cartesian product. (Contributed by Stefan O'Rear, 25-Jan-2015.)
Assertion
Ref Expression
fgraphxp (𝐹:𝐴⟶𝐵 → 𝐹 = {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)})
Distinct variable groups:   𝑥,𝐹   𝑥,𝐴   𝑥,𝐵

Proof of Theorem fgraphxp
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fgraphopab 44397 . 2 (𝐹:𝐴⟶𝐵 → 𝐹 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)})
2 vex 3458 . . . . . . 7 𝑎 ∈ V
3 vex 3458 . . . . . . 7 𝑏 ∈ V
42, 3op1std 8035 . . . . . 6 (𝑥 = ⟨𝑎, 𝑏⟩ → (1st ‘𝑥) = 𝑎)
54fveq2d 6912 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → (𝐹‘(1st ‘𝑥)) = (𝐹‘𝑎))
62, 3op2ndd 8036 . . . . 5 (𝑥 = ⟨𝑎, 𝑏⟩ → (2nd ‘𝑥) = 𝑏)
75, 6eqeq12d 2779 . . . 4 (𝑥 = ⟨𝑎, 𝑏⟩ → ((𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥) ↔ (𝐹‘𝑎) = 𝑏))
87rabxp 5703 . . 3 {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)} = {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏)}
9 df-3an 1105 . . . 4 ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏))
109opabbii 5175 . . 3 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏)} = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)}
118, 10eqtri 2786 . 2 {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)} = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)}
121, 11eqtr4di 2816 1 (𝐹:𝐴⟶𝐵 → 𝐹 = {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  {crab 3416  ⟨cop 4838  {copab 5170   × cxp 5653  ⟶wf 6554  ‘cfv 6558  1st c1st 8023  2nd c2nd 8024
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566  df-1st 8025  df-2nd 8026
This theorem is used by:  hausgraph  44399
  Copyright terms: Public domain W3C validator