| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fvtp3g | 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 |
|---|---|
| fvtp3g | ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐶) = 𝐹) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | tprot 4703 | . . 3 ⊢ {〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉} = {〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉} | |
| 2 | 1 | fveq1i 6832 | . 2 ⊢ ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐶) = ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) |
| 3 | necom 2983 | . . . . 5 ⊢ (𝐴 ≠ 𝐶 ↔ 𝐶 ≠ 𝐴) | |
| 4 | fvtp2g 7142 | . . . . . 6 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐵 ≠ 𝐶 ∧ 𝐶 ≠ 𝐴)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹) | |
| 5 | 4 | expcom 413 | . . . . 5 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐶 ≠ 𝐴) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
| 6 | 3, 5 | sylan2b 594 | . . . 4 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐴 ≠ 𝐶) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
| 7 | 6 | ancoms 458 | . . 3 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
| 8 | 7 | impcom 407 | . 2 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹) |
| 9 | 2, 8 | eqtrid 2780 | 1 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐶) = 𝐹) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1541 ∈ wcel 2113 ≠ wne 2930 {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-3or 1087 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 2931 df-ral 3050 df-rex 3059 df-rab 3398 df-v 3440 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4285 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: (None) |
| Copyright terms: Public domain | W3C validator |