Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > fvtp2g | 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 |
---|---|
fvtp2g | ⊢ (((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐵) = 𝐸) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | tprot 4671 | . . 3 ⊢ {〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉} = {〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉} | |
2 | 1 | fveq1i 6657 | . 2 ⊢ ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐵) = ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐵) |
3 | necom 3069 | . . . 4 ⊢ (𝐴 ≠ 𝐵 ↔ 𝐵 ≠ 𝐴) | |
4 | fvtp1g 6946 | . . . . . 6 ⊢ (((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐴)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐵) = 𝐸) | |
5 | 4 | expcom 416 | . . . . 5 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐴) → ((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐵) = 𝐸)) |
6 | 5 | ancoms 461 | . . . 4 ⊢ ((𝐵 ≠ 𝐴 ∧ 𝐵 ≠ 𝐶) → ((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐵) = 𝐸)) |
7 | 3, 6 | sylanb 583 | . . 3 ⊢ ((𝐴 ≠ 𝐵 ∧ 𝐵 ≠ 𝐶) → ((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐵) = 𝐸)) |
8 | 7 | impcom 410 | . 2 ⊢ (((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐵) = 𝐸) |
9 | 2, 8 | syl5eq 2868 | 1 ⊢ (((𝐵 ∈ 𝑉 ∧ 𝐸 ∈ 𝑊) ∧ (𝐴 ≠ 𝐵 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐵) = 𝐸) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 398 = wceq 1537 ∈ wcel 2114 ≠ wne 3016 {ctp 4557 〈cop 4559 ‘cfv 6341 |
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 1970 ax-7 2015 ax-8 2116 ax-9 2124 ax-10 2145 ax-11 2161 ax-12 2177 ax-ext 2793 ax-sep 5189 ax-nul 5196 ax-pow 5252 ax-pr 5316 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-3or 1084 df-3an 1085 df-tru 1540 df-ex 1781 df-nf 1785 df-sb 2070 df-mo 2622 df-eu 2654 df-clab 2800 df-cleq 2814 df-clel 2893 df-nfc 2963 df-ne 3017 df-ral 3143 df-rex 3144 df-rab 3147 df-v 3488 df-sbc 3764 df-dif 3927 df-un 3929 df-in 3931 df-ss 3940 df-nul 4280 df-if 4454 df-sn 4554 df-pr 4556 df-tp 4558 df-op 4560 df-uni 4825 df-br 5053 df-opab 5115 df-id 5446 df-xp 5547 df-rel 5548 df-cnv 5549 df-co 5550 df-dm 5551 df-res 5553 df-iota 6300 df-fun 6343 df-fv 6349 |
This theorem is referenced by: fvtp3g 6948 |
Copyright terms: Public domain | W3C validator |