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 4678 | . . 3 ⊢ {〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉} = {〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉} | |
2 | 1 | fveq1i 6665 | . 2 ⊢ ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐶) = ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) |
3 | necom 3069 | . . . . 5 ⊢ (𝐴 ≠ 𝐶 ↔ 𝐶 ≠ 𝐴) | |
4 | fvtp2g 6955 | . . . . . 6 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐵 ≠ 𝐶 ∧ 𝐶 ≠ 𝐴)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹) | |
5 | 4 | expcom 416 | . . . . 5 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐶 ≠ 𝐴) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
6 | 3, 5 | sylan2b 595 | . . . 4 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐴 ≠ 𝐶) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
7 | 6 | ancoms 461 | . . 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 1533 ∈ wcel 2110 ≠ wne 3016 {ctp 4564 〈cop 4566 ‘cfv 6349 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1792 ax-4 1806 ax-5 1907 ax-6 1966 ax-7 2011 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2157 ax-12 2173 ax-ext 2793 ax-sep 5195 ax-nul 5202 ax-pow 5258 ax-pr 5321 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-3or 1084 df-3an 1085 df-tru 1536 df-ex 1777 df-nf 1781 df-sb 2066 df-mo 2618 df-eu 2650 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 3496 df-sbc 3772 df-dif 3938 df-un 3940 df-in 3942 df-ss 3951 df-nul 4291 df-if 4467 df-sn 4561 df-pr 4563 df-tp 4565 df-op 4567 df-uni 4832 df-br 5059 df-opab 5121 df-id 5454 df-xp 5555 df-rel 5556 df-cnv 5557 df-co 5558 df-dm 5559 df-res 5561 df-iota 6308 df-fun 6351 df-fv 6357 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |