MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fvpr2g Structured version   Visualization version   GIF version

Theorem fvpr2g 7188
Description: The value of a function with a domain of (at most) two elements. (Contributed by Alexander van der Vekens, 3-Dec-2017.) (Proof shortened by BJ, 26-Sep-2024.)
Assertion
Ref Expression
fvpr2g ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = 𝐷)

Proof of Theorem fvpr2g
StepHypRef Expression
1 prcom 4736 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = {⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}
21fveq1i 6892 . 2 ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵)
3 necom 2994 . . 3 (𝐴𝐵𝐵𝐴)
4 fvpr1g 7187 . . 3 ((𝐵𝑉𝐷𝑊𝐵𝐴) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
53, 4syl3an3b 1405 . 2 ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
62, 5eqtrid 2784 1 ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1087   = wceq 1541  wcel 2106  wne 2940  {cpr 4630  cop 4634  cfv 6543
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-ne 2941  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-res 5688  df-iota 6495  df-fun 6545  df-fv 6551
This theorem is referenced by:  fvpr2  7192  fpropnf1  7265  f1prex  7281  wrdlen2i  14892  fvpr1o  17505  linds2eq  32492  zlmodzxzscm  47023  zlmodzxzadd  47024  lincvalpr  47089  ldepspr  47144  2arymptfv  47326  fv2prop  47376  prelrrx2b  47390  line2ylem  47427  line2  47428  line2x  47430  line2y  47431
  Copyright terms: Public domain W3C validator