| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fvtp1g | Structured version Visualization version GIF version | ||
| Description: The value of a function with a domain of (at most) three elements. (Contributed by Alexander van der Vekens, 4-Dec-2017.) |
| Ref | Expression |
|---|---|
| fvtp1g | ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐴) = 𝐷) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-tp 4582 | . . 3 ⊢ {〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉} = ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉} ∪ {〈𝐶, 𝐹〉}) | |
| 2 | 1 | fveq1i 6832 | . 2 ⊢ ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐴) = (({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉} ∪ {〈𝐶, 𝐹〉})‘𝐴) |
| 3 | necom 2982 | . . . . 5 ⊢ (𝐴 ≠ 𝐶 ↔ 𝐶 ≠ 𝐴) | |
| 4 | fvunsn 7122 | . . . . 5 ⊢ (𝐶 ≠ 𝐴 → (({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉} ∪ {〈𝐶, 𝐹〉})‘𝐴) = ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉}‘𝐴)) | |
| 5 | 3, 4 | sylbi 217 | . . . 4 ⊢ (𝐴 ≠ 𝐶 → (({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉} ∪ {〈𝐶, 𝐹〉})‘𝐴) = ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉}‘𝐴)) |
| 6 | 5 | ad2antll 729 | . . 3 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶)) → (({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉} ∪ {〈𝐶, 𝐹〉})‘𝐴) = ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉}‘𝐴)) |
| 7 | fvpr1g 7133 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉}‘𝐴) = 𝐷) | |
| 8 | 7 | 3expa 1118 | . . . 4 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉}‘𝐴) = 𝐷) |
| 9 | 8 | adantrr 717 | . . 3 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉}‘𝐴) = 𝐷) |
| 10 | 6, 9 | eqtrd 2768 | . 2 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶)) → (({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉} ∪ {〈𝐶, 𝐹〉})‘𝐴) = 𝐷) |
| 11 | 2, 10 | eqtrid 2780 | 1 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐴) = 𝐷) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1541 ∈ wcel 2113 ≠ wne 2929 ∪ cun 3896 {csn 4577 {cpr 4579 {ctp 4581 〈cop 4583 ‘cfv 6489 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-12 2182 ax-ext 2705 ax-sep 5238 ax-nul 5248 ax-pr 5374 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2537 df-eu 2566 df-clab 2712 df-cleq 2725 df-clel 2808 df-ne 2930 df-ral 3049 df-rex 3058 df-rab 3397 df-v 3439 df-dif 3901 df-un 3903 df-in 3905 df-ss 3915 df-nul 4283 df-if 4477 df-sn 4578 df-pr 4580 df-tp 4582 df-op 4584 df-uni 4861 df-br 5096 df-opab 5158 df-id 5516 df-xp 5627 df-rel 5628 df-cnv 5629 df-co 5630 df-dm 5631 df-res 5633 df-iota 6445 df-fun 6491 df-fv 6497 |
| This theorem is referenced by: fvtp2g 7142 estrreslem1 18051 |
| Copyright terms: Public domain | W3C validator |