| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fvpr1g | 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 |
|---|---|
| fvpr1g | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐴) = 𝐶) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-pr 4587 | . . . . 5 ⊢ {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = ({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉}) | |
| 2 | 1 | fveq1i 6878 | . . . 4 ⊢ ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐴) = (({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉})‘𝐴) |
| 3 | necom 3009 | . . . . 5 ⊢ (𝐴 ≠ 𝐵 ↔ 𝐵 ≠ 𝐴) | |
| 4 | fvunsn 7176 | . . . . 5 ⊢ (𝐵 ≠ 𝐴 → (({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉})‘𝐴) = ({〈𝐴, 𝐶〉}‘𝐴)) | |
| 5 | 3, 4 | sylbi 220 | . . . 4 ⊢ (𝐴 ≠ 𝐵 → (({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉})‘𝐴) = ({〈𝐴, 𝐶〉}‘𝐴)) |
| 6 | 2, 5 | eqtrid 2808 | . . 3 ⊢ (𝐴 ≠ 𝐵 → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐴) = ({〈𝐴, 𝐶〉}‘𝐴)) |
| 7 | 6 | 3ad2ant3 1153 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐴) = ({〈𝐴, 𝐶〉}‘𝐴)) |
| 8 | fvsng 7177 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊) → ({〈𝐴, 𝐶〉}‘𝐴) = 𝐶) | |
| 9 | 8 | 3adant3 1150 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉}‘𝐴) = 𝐶) |
| 10 | 7, 9 | eqtrd 2796 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}‘𝐴) = 𝐶) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ w3a 1103 = wceq 1570 ∈ wcel 2145 ≠ wne 2956 ∪ cun 3897 {csn 4584 {cpr 4586 〈cop 4590 ‘cfv 6531 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-12 2213 ax-ext 2733 ax-sep 5249 ax-nul 5260 ax-pr 5391 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-ne 2957 df-ral 3078 df-rex 3088 df-rab 3414 df-v 3453 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-br 5104 df-opab 5168 df-id 5546 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-res 5663 df-iota 6487 df-fun 6533 df-fv 6539 |
| This theorem is used by: fvpr2g 7188 fvpr1 7189 fvtp1g 7195 fpropnf1 7263 f1prex 7284 wrdlen2i 15073 fvpr0o 17711 linds2eq 33918 zlmodzxzscm 49413 zlmodzxzadd 49414 lincvalpr 49474 ldepspr 49529 2arymptfv 49706 fv1prop 49755 prelrrx2b 49770 line2ylem 49807 line2 49808 line2x 49810 line2y 49811 |
| Copyright terms: Public domain | W3C validator |