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

Theorem fvpr2g 7168
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 4699 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = {⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}
21fveq1i 6862 . 2 ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵)
3 necom 2979 . . 3 (𝐴𝐵𝐵𝐴)
4 fvpr1g 7167 . . 3 ((𝐵𝑉𝐷𝑊𝐵𝐴) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
53, 4syl3an3b 1407 . 2 ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
62, 5eqtrid 2777 1 ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1086   = wceq 1540  wcel 2109  wne 2926  {cpr 4594  cop 4598  cfv 6514
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-sep 5254  ax-nul 5264  ax-pr 5390
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-nul 4300  df-if 4492  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-br 5111  df-opab 5173  df-id 5536  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-res 5653  df-iota 6467  df-fun 6516  df-fv 6522
This theorem is referenced by:  fvpr2  7170  fpropnf1  7245  f1prex  7262  wrdlen2i  14915  fvpr1o  17530  linds2eq  33359  zlmodzxzscm  48349  zlmodzxzadd  48350  lincvalpr  48411  ldepspr  48466  2arymptfv  48643  fv2prop  48693  prelrrx2b  48707  line2ylem  48744  line2  48745  line2x  48747  line2y  48748
  Copyright terms: Public domain W3C validator