| 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 43481 | . 2 ⊢ (𝐹:𝐴⟶𝐵 → 𝐹 = {〈𝑎, 𝑏〉 ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)}) | |
| 2 | vex 3445 | . . . . . . 7 ⊢ 𝑎 ∈ V | |
| 3 | vex 3445 | . . . . . . 7 ⊢ 𝑏 ∈ V | |
| 4 | 2, 3 | op1std 7945 | . . . . . 6 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → (1st ‘𝑥) = 𝑎) |
| 5 | 4 | fveq2d 6839 | . . . . 5 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → (𝐹‘(1st ‘𝑥)) = (𝐹‘𝑎)) |
| 6 | 2, 3 | op2ndd 7946 | . . . . 5 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → (2nd ‘𝑥) = 𝑏) |
| 7 | 5, 6 | eqeq12d 2753 | . . . 4 ⊢ (𝑥 = 〈𝑎, 𝑏〉 → ((𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥) ↔ (𝐹‘𝑎) = 𝑏)) |
| 8 | 7 | rabxp 5673 | . . 3 ⊢ {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)} = {〈𝑎, 𝑏〉 ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏)} |
| 9 | df-3an 1089 | . . . 4 ⊢ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏) ↔ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)) | |
| 10 | 9 | opabbii 5166 | . . 3 ⊢ {〈𝑎, 𝑏〉 ∣ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵 ∧ (𝐹‘𝑎) = 𝑏)} = {〈𝑎, 𝑏〉 ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)} |
| 11 | 8, 10 | eqtri 2760 | . 2 ⊢ {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)} = {〈𝑎, 𝑏〉 ∣ ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) ∧ (𝐹‘𝑎) = 𝑏)} |
| 12 | 1, 11 | eqtr4di 2790 | 1 ⊢ (𝐹:𝐴⟶𝐵 → 𝐹 = {𝑥 ∈ (𝐴 × 𝐵) ∣ (𝐹‘(1st ‘𝑥)) = (2nd ‘𝑥)}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 ∧ w3a 1087 = wceq 1542 ∈ wcel 2114 {crab 3400 〈cop 4587 {copab 5161 × cxp 5623 ⟶wf 6489 ‘cfv 6493 1st c1st 7933 2nd c2nd 7934 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2185 ax-ext 2709 ax-sep 5242 ax-nul 5252 ax-pr 5378 ax-un 7682 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2540 df-eu 2570 df-clab 2716 df-cleq 2729 df-clel 2812 df-nfc 2886 df-ne 2934 df-ral 3053 df-rex 3062 df-rab 3401 df-v 3443 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-nul 4287 df-if 4481 df-sn 4582 df-pr 4584 df-op 4588 df-uni 4865 df-br 5100 df-opab 5162 df-mpt 5181 df-id 5520 df-xp 5631 df-rel 5632 df-cnv 5633 df-co 5634 df-dm 5635 df-rn 5636 df-iota 6449 df-fun 6495 df-fn 6496 df-f 6497 df-fv 6501 df-1st 7935 df-2nd 7936 |
| This theorem is referenced by: hausgraph 43483 |
| Copyright terms: Public domain | W3C validator |