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

Theorem fvtp2g 6947
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 4671 . . 3 {⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩} = {⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}
21fveq1i 6657 . 2 ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐵) = ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵)
3 necom 3069 . . . 4 (𝐴𝐵𝐵𝐴)
4 fvtp1g 6946 . . . . . 6 (((𝐵𝑉𝐸𝑊) ∧ (𝐵𝐶𝐵𝐴)) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸)
54expcom 416 . . . . 5 ((𝐵𝐶𝐵𝐴) → ((𝐵𝑉𝐸𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸))
65ancoms 461 . . . 4 ((𝐵𝐴𝐵𝐶) → ((𝐵𝑉𝐸𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸))
73, 6sylanb 583 . . 3 ((𝐴𝐵𝐵𝐶) → ((𝐵𝑉𝐸𝑊) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸))
87impcom 410 . 2 (((𝐵𝑉𝐸𝑊) ∧ (𝐴𝐵𝐵𝐶)) → ({⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩, ⟨𝐴, 𝐷⟩}‘𝐵) = 𝐸)
92, 8syl5eq 2868 1 (((𝐵𝑉𝐸𝑊) ∧ (𝐴𝐵𝐵𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐵) = 𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  wne 3016  {ctp 4557  cop 4559  cfv 6341
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3488  df-sbc 3764  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-nul 4280  df-if 4454  df-sn 4554  df-pr 4556  df-tp 4558  df-op 4560  df-uni 4825  df-br 5053  df-opab 5115  df-id 5446  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-res 5553  df-iota 6300  df-fun 6343  df-fv 6349
This theorem is referenced by:  fvtp3g  6948
  Copyright terms: Public domain W3C validator