![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > fvpr2g | Structured version Visualization version GIF version |
Description: The value of a function with a domain of (at most) two elements. (Contributed by Alexander van der Vekens, 3-Dec-2017.) |
Ref | Expression |
---|---|
fvpr2g | ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = 𝐷) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | prcom 4399 | . . . . . 6 ⊢ {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = {〈𝐵, 𝐷〉, 〈𝐴, 𝐶〉} | |
2 | df-pr 4312 | . . . . . 6 ⊢ {〈𝐵, 𝐷〉, 〈𝐴, 𝐶〉} = ({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉}) | |
3 | 1, 2 | eqtri 2770 | . . . . 5 ⊢ {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = ({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉}) |
4 | 3 | fveq1i 6341 | . . . 4 ⊢ ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = (({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉})‘𝐵) |
5 | fvunsn 6597 | . . . 4 ⊢ (𝐴 ≠ 𝐵 → (({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉})‘𝐵) = ({〈𝐵, 𝐷〉}‘𝐵)) | |
6 | 4, 5 | syl5eq 2794 | . . 3 ⊢ (𝐴 ≠ 𝐵 → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = ({〈𝐵, 𝐷〉}‘𝐵)) |
7 | 6 | 3ad2ant3 1127 | . 2 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = ({〈𝐵, 𝐷〉}‘𝐵)) |
8 | fvsng 6599 | . . 3 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) → ({〈𝐵, 𝐷〉}‘𝐵) = 𝐷) | |
9 | 8 | 3adant3 1124 | . 2 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐵, 𝐷〉}‘𝐵) = 𝐷) |
10 | 7, 9 | eqtrd 2782 | 1 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = 𝐷) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ w3a 1072 = wceq 1620 ∈ wcel 2127 ≠ wne 2920 ∪ cun 3701 {csn 4309 {cpr 4311 〈cop 4315 ‘cfv 6037 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1859 ax-4 1874 ax-5 1976 ax-6 2042 ax-7 2078 ax-8 2129 ax-9 2136 ax-10 2156 ax-11 2171 ax-12 2184 ax-13 2379 ax-ext 2728 ax-sep 4921 ax-nul 4929 ax-pow 4980 ax-pr 5043 |
This theorem depends on definitions: df-bi 197 df-or 384 df-an 385 df-3an 1074 df-tru 1623 df-ex 1842 df-nf 1847 df-sb 2035 df-eu 2599 df-mo 2600 df-clab 2735 df-cleq 2741 df-clel 2744 df-nfc 2879 df-ne 2921 df-ral 3043 df-rex 3044 df-rab 3047 df-v 3330 df-sbc 3565 df-dif 3706 df-un 3708 df-in 3710 df-ss 3717 df-nul 4047 df-if 4219 df-sn 4310 df-pr 4312 df-op 4316 df-uni 4577 df-br 4793 df-opab 4853 df-id 5162 df-xp 5260 df-rel 5261 df-cnv 5262 df-co 5263 df-dm 5264 df-res 5266 df-iota 6000 df-fun 6039 df-fv 6045 |
This theorem is referenced by: fpropnf1 6675 f1prex 6690 wrdlen2i 13858 zlmodzxzscm 42614 zlmodzxzadd 42615 lincvalpr 42686 ldepspr 42741 |
Copyright terms: Public domain | W3C validator |