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

Theorem fvpr2g 7165
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 4696 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = {⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}
21fveq1i 6859 . 2 ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵)
3 necom 2978 . . 3 (𝐴𝐵𝐵𝐴)
4 fvpr1g 7164 . . 3 ((𝐵𝑉𝐷𝑊𝐵𝐴) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
53, 4syl3an3b 1407 . 2 ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
62, 5eqtrid 2776 1 ((𝐵𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1086   = wceq 1540  wcel 2109  wne 2925  {cpr 4591  cop 4595  cfv 6511
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 2701  ax-sep 5251  ax-nul 5261  ax-pr 5387
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 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3406  df-v 3449  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4297  df-if 4489  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4872  df-br 5108  df-opab 5170  df-id 5533  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-res 5650  df-iota 6464  df-fun 6513  df-fv 6519
This theorem is referenced by:  fvpr2  7167  fpropnf1  7242  f1prex  7259  wrdlen2i  14908  fvpr1o  17523  linds2eq  33352  zlmodzxzscm  48345  zlmodzxzadd  48346  lincvalpr  48407  ldepspr  48462  2arymptfv  48639  fv2prop  48689  prelrrx2b  48703  line2ylem  48740  line2  48741  line2x  48743  line2y  48744
  Copyright terms: Public domain W3C validator