![]() |
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 4499 | . . . . . 6 ⊢ {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = {〈𝐵, 𝐷〉, 〈𝐴, 𝐶〉} | |
2 | df-pr 4401 | . . . . . 6 ⊢ {〈𝐵, 𝐷〉, 〈𝐴, 𝐶〉} = ({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉}) | |
3 | 1, 2 | eqtri 2802 | . . . . 5 ⊢ {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = ({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉}) |
4 | 3 | fveq1i 6447 | . . . 4 ⊢ ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = (({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉})‘𝐵) |
5 | fvunsn 6712 | . . . 4 ⊢ (𝐴 ≠ 𝐵 → (({〈𝐵, 𝐷〉} ∪ {〈𝐴, 𝐶〉})‘𝐵) = ({〈𝐵, 𝐷〉}‘𝐵)) | |
6 | 4, 5 | syl5eq 2826 | . . 3 ⊢ (𝐴 ≠ 𝐵 → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = ({〈𝐵, 𝐷〉}‘𝐵)) |
7 | 6 | 3ad2ant3 1126 | . 2 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = ({〈𝐵, 𝐷〉}‘𝐵)) |
8 | fvsng 6713 | . . 3 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊) → ({〈𝐵, 𝐷〉}‘𝐵) = 𝐷) | |
9 | 8 | 3adant3 1123 | . 2 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐵, 𝐷〉}‘𝐵) = 𝐷) |
10 | 7, 9 | eqtrd 2814 | 1 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐵) = 𝐷) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ w3a 1071 = wceq 1601 ∈ wcel 2107 ≠ wne 2969 ∪ cun 3790 {csn 4398 {cpr 4400 〈cop 4404 ‘cfv 6135 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1839 ax-4 1853 ax-5 1953 ax-6 2021 ax-7 2055 ax-8 2109 ax-9 2116 ax-10 2135 ax-11 2150 ax-12 2163 ax-13 2334 ax-ext 2754 ax-sep 5017 ax-nul 5025 ax-pow 5077 ax-pr 5138 |
This theorem depends on definitions: df-bi 199 df-an 387 df-or 837 df-3an 1073 df-tru 1605 df-ex 1824 df-nf 1828 df-sb 2012 df-mo 2551 df-eu 2587 df-clab 2764 df-cleq 2770 df-clel 2774 df-nfc 2921 df-ne 2970 df-ral 3095 df-rex 3096 df-rab 3099 df-v 3400 df-sbc 3653 df-dif 3795 df-un 3797 df-in 3799 df-ss 3806 df-nul 4142 df-if 4308 df-sn 4399 df-pr 4401 df-op 4405 df-uni 4672 df-br 4887 df-opab 4949 df-id 5261 df-xp 5361 df-rel 5362 df-cnv 5363 df-co 5364 df-dm 5365 df-res 5367 df-iota 6099 df-fun 6137 df-fv 6143 |
This theorem is referenced by: fpropnf1 6796 f1prex 6811 wrdlen2i 14093 zlmodzxzscm 43150 zlmodzxzadd 43151 lincvalpr 43222 ldepspr 43277 fv2prop 43436 prelrrx2b 43450 line2ylem 43487 line2 43488 line2x 43490 line2y 43491 |
Copyright terms: Public domain | W3C validator |