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

Theorem fvtp3g 7129
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
fvtp3g (((𝐶𝑉𝐹𝑊) ∧ (𝐴𝐶𝐵𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐶) = 𝐹)

Proof of Theorem fvtp3g
StepHypRef Expression
1 tprot 4700 . . 3 {⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩} = {⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}
21fveq1i 6818 . 2 ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐶) = ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐶)
3 necom 2979 . . . . 5 (𝐴𝐶𝐶𝐴)
4 fvtp2g 7128 . . . . . 6 (((𝐶𝑉𝐹𝑊) ∧ (𝐵𝐶𝐶𝐴)) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐶) = 𝐹)
54expcom 413 . . . . 5 ((𝐵𝐶𝐶𝐴) → ((𝐶𝑉𝐹𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐶) = 𝐹))
63, 5sylan2b 594 . . . 4 ((𝐵𝐶𝐴𝐶) → ((𝐶𝑉𝐹𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐶) = 𝐹))
76ancoms 458 . . 3 ((𝐴𝐶𝐵𝐶) → ((𝐶𝑉𝐹𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐶) = 𝐹))
87impcom 407 . 2 (((𝐶𝑉𝐹𝑊) ∧ (𝐴𝐶𝐵𝐶)) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐶) = 𝐹)
92, 8eqtrid 2777 1 (((𝐶𝑉𝐹𝑊) ∧ (𝐴𝐶𝐵𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐶) = 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2110  wne 2926  {ctp 4578  cop 4580  cfv 6477
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2112  ax-9 2120  ax-10 2143  ax-11 2159  ax-12 2179  ax-ext 2702  ax-sep 5232  ax-nul 5242  ax-pr 5368
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2067  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 3394  df-v 3436  df-dif 3903  df-un 3905  df-in 3907  df-ss 3917  df-nul 4282  df-if 4474  df-sn 4575  df-pr 4577  df-tp 4579  df-op 4581  df-uni 4858  df-br 5090  df-opab 5152  df-id 5509  df-xp 5620  df-rel 5621  df-cnv 5622  df-co 5623  df-dm 5624  df-res 5626  df-iota 6433  df-fun 6479  df-fv 6485
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator