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

Theorem fvtp2g 6429
Description: The value of a function with a domain of (at most) three elements. (Contributed by Alexander van der Vekens, 4-Dec-2017.)
Assertion
Ref Expression
fvtp2g (((𝐵𝑉𝐸𝑊) ∧ (𝐴𝐵𝐵𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐵) = 𝐸)

Proof of Theorem fvtp2g
StepHypRef Expression
1 tprot 4261 . . 3 {⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩} = {⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}
21fveq1i 6159 . 2 ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐵) = ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵)
3 necom 2843 . . . 4 (𝐴𝐵𝐵𝐴)
4 fvtp1g 6428 . . . . . 6 (((𝐵𝑉𝐸𝑊) ∧ (𝐵𝐶𝐵𝐴)) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸)
54expcom 451 . . . . 5 ((𝐵𝐶𝐵𝐴) → ((𝐵𝑉𝐸𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸))
65ancoms 469 . . . 4 ((𝐵𝐴𝐵𝐶) → ((𝐵𝑉𝐸𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸))
73, 6sylanb 489 . . 3 ((𝐴𝐵𝐵𝐶) → ((𝐵𝑉𝐸𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸))
87impcom 446 . 2 (((𝐵𝑉𝐸𝑊) ∧ (𝐴𝐵𝐵𝐶)) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸)
92, 8syl5eq 2667 1 (((𝐵𝑉𝐸𝑊) ∧ (𝐴𝐵𝐵𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐵) = 𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1987  wne 2790  {ctp 4159  cop 4161  cfv 5857
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2913  df-rex 2914  df-rab 2917  df-v 3192  df-sbc 3423  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3898  df-if 4065  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-br 4624  df-opab 4684  df-id 4999  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-res 5096  df-iota 5820  df-fun 5859  df-fv 5865
This theorem is referenced by:  fvtp3g  6430
  Copyright terms: Public domain W3C validator