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 4693 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = {⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}
21fveq1i 6878 . 2 ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵)
3 necom 3009 . . 3 (𝐴 ≠ 𝐵 ↔ 𝐵 ≠ 𝐴)
4 fvpr1g 7187 . . 3 ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐵 ≠ 𝐴) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
53, 4syl3an3b 1432 . 2 ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({⟨𝐵, 𝐷⟩, ⟨𝐴, 𝐶⟩}‘𝐵) = 𝐷)
62, 5eqtrid 2808 1 ((𝐵 ∈ 𝑉 ∧ 𝐷 ∈ 𝑊 ∧ 𝐴 ≠ 𝐵) → ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}‘𝐵) = 𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  {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:  fvpr2  7190  fpropnf1  7263  f1prex  7284  wrdlen2i  15073  fvpr1o  17712  linds2eq  33918  zlmodzxzscm  49413  zlmodzxzadd  49414  lincvalpr  49474  ldepspr  49529  2arymptfv  49706  fv2prop  49756  prelrrx2b  49770  line2ylem  49807  line2  49808  line2x  49810  line2y  49811
  Copyright terms: Public domain W3C validator