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

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

Proof of Theorem fvtp1g
StepHypRef Expression
1 df-tp 4546 . . 3 {⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩} = ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩} ∪ {⟨𝐶, 𝐹⟩})
21fveq1i 6718 . 2 ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐴) = (({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩} ∪ {⟨𝐶, 𝐹⟩})‘𝐴)
3 necom 2994 . . . . 5 (𝐴𝐶𝐶𝐴)
4 fvunsn 6994 . . . . 5 (𝐶𝐴 → (({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩} ∪ {⟨𝐶, 𝐹⟩})‘𝐴) = ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩}‘𝐴))
53, 4sylbi 220 . . . 4 (𝐴𝐶 → (({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩} ∪ {⟨𝐶, 𝐹⟩})‘𝐴) = ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩}‘𝐴))
65ad2antll 729 . . 3 (((𝐴𝑉𝐷𝑊) ∧ (𝐴𝐵𝐴𝐶)) → (({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩} ∪ {⟨𝐶, 𝐹⟩})‘𝐴) = ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩}‘𝐴))
7 fvpr1g 7007 . . . . 5 ((𝐴𝑉𝐷𝑊𝐴𝐵) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩}‘𝐴) = 𝐷)
873expa 1120 . . . 4 (((𝐴𝑉𝐷𝑊) ∧ 𝐴𝐵) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩}‘𝐴) = 𝐷)
98adantrr 717 . . 3 (((𝐴𝑉𝐷𝑊) ∧ (𝐴𝐵𝐴𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩}‘𝐴) = 𝐷)
106, 9eqtrd 2777 . 2 (((𝐴𝑉𝐷𝑊) ∧ (𝐴𝐵𝐴𝐶)) → (({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩} ∪ {⟨𝐶, 𝐹⟩})‘𝐴) = 𝐷)
112, 10eqtrid 2789 1 (((𝐴𝑉𝐷𝑊) ∧ (𝐴𝐵𝐴𝐶)) → ({⟨𝐴, 𝐷⟩, ⟨𝐵, 𝐸⟩, ⟨𝐶, 𝐹⟩}‘𝐴) = 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2110  wne 2940  cun 3864  {csn 4541  {cpr 4543  {ctp 4545  cop 4547  cfv 6380
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-res 5563  df-iota 6338  df-fun 6382  df-fv 6388
This theorem is referenced by:  fvtp2g  7014  estrreslem1  17644
  Copyright terms: Public domain W3C validator