| Mathbox for Stefan O'Rear |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > fgraphxp | Structured version Visualization version GIF version | ||
| Description: Express a function as a subset of the Cartesian product. (Contributed by Stefan O'Rear, 25-Jan-2015.) |
| Ref | Expression |
|---|---|
| fgraphxp | ⊢ (𝐹:𝐴⟶𝐵 → 𝐹 = {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fgraphopab 43792 | . 2 ⊢ (𝐹:𝐴⟶𝐵 → 𝐹 = {〈𝑎, 𝑏〉 ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)}) | |
| 2 | vex 3461 | . . . . . . 7 ⊢ 𝑎 ∈ V | |
| 3 | vex 3461 | . . . . . . 7 ⊢ 𝑏 ∈ V | |
| 4 | 2, 3 | op1std 7984 | . . . . . 6 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → (1st ‘𝑥) = 𝑎) |
| 5 | 4 | fveq2d 6875 | . . . . 5 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → (𝐹‘(1st ‘𝑥)) = (𝐹‘𝑎)) |
| 6 | 2, 3 | op2ndd 7985 | . . . . 5 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → (2nd ‘𝑥) = 𝑏) |
| 7 | 5, 6 | eqeq12d 2781 | . . . 4 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → ((𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥) ↔ (𝐹‘𝑎) = 𝑏)) |
| 8 | 7 | rabxp 5700 | . . 3 ⊢ {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)} = {〈𝑎, 𝑏〉 ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏)} |
| 9 | df-3an 1103 | . . . 4 ⊢ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)) | |
| 10 | 9 | opabbii 5172 | . . 3 ⊢ {〈𝑎, 𝑏〉 ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏)} = {〈𝑎, 𝑏〉 ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)} |
| 11 | 8, 10 | eqtri 2788 | . 2 ⊢ {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)} = {〈𝑎, 𝑏〉 ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)} |
| 12 | 1, 11 | eqtr4di 2818 | 1 ⊢ (𝐹:𝐴⟶𝐵 → 𝐹 = {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 400 ∧ w3a 1101 = wceq 1563 ∈ wcel 2145 {crab 3417 〈cop 4591 {copab 5167 × cxp 5650 ⟶wf 6521 ‘cfv 6525 1st c1st 7972 2nd c2nd 7973 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1818 ax-4 1832 ax-5 1933 ax-6 1990 ax-7 2031 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2215 ax-ext 2737 ax-sep 5251 ax-nul 5261 ax-pr 5395 ax-un 7722 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1566 df-fal 1576 df-ex 1803 df-nf 1807 df-sb 2094 df-mo 2569 df-eu 2599 df-clab 2744 df-cleq 2757 df-clel 2840 df-nfc 2914 df-ne 2961 df-ral 3080 df-rex 3090 df-rab 3418 df-v 3459 df-dif 3910 df-un 3912 df-in 3914 df-ss 3924 df-nul 4289 df-if 4484 df-sn 4586 df-pr 4588 df-op 4592 df-uni 4869 df-br 5106 df-opab 5168 df-mpt 5187 df-id 5547 df-xp 5658 df-rel 5659 df-cnv 5660 df-co 5661 df-dm 5662 df-rn 5663 df-iota 6481 df-fun 6527 df-fn 6528 df-f 6529 df-fv 6533 df-1st 7974 df-2nd 7975 |
| This theorem is referenced by: hausgraph 43794 |
| Copyright terms: Public domain | W3C validator |