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 4686 | . . 3 ⊢ {〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉} = {〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉} | |
2 | 1 | fveq1i 6784 | . 2 ⊢ ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐶) = ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) |
3 | necom 2998 | . . . . 5 ⊢ (𝐴 ≠ 𝐶 ↔ 𝐶 ≠ 𝐴) | |
4 | fvtp2g 7083 | . . . . . 6 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐵 ≠ 𝐶 ∧ 𝐶 ≠ 𝐴)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹) | |
5 | 4 | expcom 414 | . . . . 5 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐶 ≠ 𝐴) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
6 | 3, 5 | sylan2b 594 | . . . 4 ⊢ ((𝐵 ≠ 𝐶 ∧ 𝐴 ≠ 𝐶) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
7 | 6 | ancoms 459 | . . 3 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹)) |
8 | 7 | impcom 408 | . 2 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉, 〈𝐴, 𝐷〉}‘𝐶) = 𝐹) |
9 | 2, 8 | eqtrid 2791 | 1 ⊢ (((𝐶 ∈ 𝑉 ∧ 𝐹 ∈ 𝑊) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶)) → ({〈𝐴, 𝐷〉, 〈𝐵, 𝐸〉, 〈𝐶, 𝐹〉}‘𝐶) = 𝐹) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1539 ∈ wcel 2107 ≠ wne 2944 {ctp 4566 〈cop 4568 ‘cfv 6437 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-10 2138 ax-11 2155 ax-12 2172 ax-ext 2710 ax-sep 5224 ax-nul 5231 ax-pr 5353 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2069 df-mo 2541 df-eu 2570 df-clab 2717 df-cleq 2731 df-clel 2817 df-ne 2945 df-ral 3070 df-rex 3071 df-rab 3074 df-v 3435 df-dif 3891 df-un 3893 df-in 3895 df-ss 3905 df-nul 4258 df-if 4461 df-sn 4563 df-pr 4565 df-tp 4567 df-op 4569 df-uni 4841 df-br 5076 df-opab 5138 df-id 5490 df-xp 5596 df-rel 5597 df-cnv 5598 df-co 5599 df-dm 5600 df-res 5602 df-iota 6395 df-fun 6439 df-fv 6445 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |