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

Theorem fnimatpd 6957
Description: The image of an unordered triple under a function. (Contributed by Thierry Arnoux, 19-Sep-2023.)
Hypotheses
Ref Expression
fnimatpd.1 (𝜑 → 𝐹 Fn 𝐷)
fnimatpd.2 (𝜑 → 𝐴 ∈ 𝐷)
fnimatpd.3 (𝜑 → 𝐵 ∈ 𝐷)
fnimatpd.4 (𝜑 → 𝐶 ∈ 𝐷)
Assertion
Ref Expression
fnimatpd (𝜑 → (𝐹 “ {𝐴, 𝐵, 𝐶}) = {(𝐹‘𝐴), (𝐹‘𝐵), (𝐹‘𝐶)})

Proof of Theorem fnimatpd
StepHypRef Expression
1 fnimatpd.1 . . . 4 (𝜑 → 𝐹 Fn 𝐷)
2 fnimatpd.2 . . . 4 (𝜑 → 𝐴 ∈ 𝐷)
3 fnimatpd.3 . . . 4 (𝜑 → 𝐵 ∈ 𝐷)
4 fnimapr 6956 . . . 4 ((𝐹 Fn 𝐷 ∧ 𝐴 ∈ 𝐷 ∧ 𝐵 ∈ 𝐷) → (𝐹 “ {𝐴, 𝐵}) = {(𝐹‘𝐴), (𝐹‘𝐵)})
51, 2, 3, 4syl3anc 1398 . . 3 (𝜑 → (𝐹 “ {𝐴, 𝐵}) = {(𝐹‘𝐴), (𝐹‘𝐵)})
6 fnimatpd.4 . . . . 5 (𝜑 → 𝐶 ∈ 𝐷)
7 fnsnfv 6952 . . . . 5 ((𝐹 Fn 𝐷 ∧ 𝐶 ∈ 𝐷) → {(𝐹‘𝐶)} = (𝐹 “ {𝐶}))
81, 6, 7syl2anc 596 . . . 4 (𝜑 → {(𝐹‘𝐶)} = (𝐹 “ {𝐶}))
98eqcomd 2766 . . 3 (𝜑 → (𝐹 “ {𝐶}) = {(𝐹‘𝐶)})
105, 9uneq12d 4115 . 2 (𝜑 → ((𝐹 “ {𝐴, 𝐵}) ∪ (𝐹 “ {𝐶})) = ({(𝐹‘𝐴), (𝐹‘𝐵)} ∪ {(𝐹‘𝐶)}))
11 df-tp 4588 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶})
1211imaeq2i 6048 . . 3 (𝐹 “ {𝐴, 𝐵, 𝐶}) = (𝐹 “ ({𝐴, 𝐵} ∪ {𝐶}))
13 imaundi 6135 . . 3 (𝐹 “ ({𝐴, 𝐵} ∪ {𝐶})) = ((𝐹 “ {𝐴, 𝐵}) ∪ (𝐹 “ {𝐶}))
1412, 13eqtri 2783 . 2 (𝐹 “ {𝐴, 𝐵, 𝐶}) = ((𝐹 “ {𝐴, 𝐵}) ∪ (𝐹 “ {𝐶}))
15 df-tp 4588 . 2 {(𝐹‘𝐴), (𝐹‘𝐵), (𝐹‘𝐶)} = ({(𝐹‘𝐴), (𝐹‘𝐵)} ∪ {(𝐹‘𝐶)})
1610, 14, 153eqtr4g 2820 1 (𝜑 → (𝐹 “ {𝐴, 𝐵, 𝐶}) = {(𝐹‘𝐴), (𝐹‘𝐵), (𝐹‘𝐶)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2145   ∪ cun 3896  {csn 4583  {cpr 4585  {ctp 4587   “ cima 5650   Fn wfn 6522  ‘cfv 6527
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 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
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 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fun 6529  df-fn 6530  df-fv 6535
This theorem is used by:  cycl3grtri  48967  grtrimap  48968
  Copyright terms: Public domain W3C validator