Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-funun Structured version   Visualization version   GIF version

Theorem bj-funun 38543
Description: Value of a function expressed as a union of two functions at a point not in the domain of one of them. (Contributed by BJ, 18-Mar-2023.)
Hypotheses
Ref Expression
bj-funun.un (𝜑 → 𝐹 = (𝐺 ∪ 𝐻))
bj-funun.neldm (𝜑 → ¬ 𝐴 ∈ dom 𝐻)
Assertion
Ref Expression
bj-funun (𝜑 → (𝐹‘𝐴) = (𝐺‘𝐴))

Proof of Theorem bj-funun
StepHypRef Expression
1 bj-funun.un . . . 4 (𝜑 → 𝐹 = (𝐺 ∪ 𝐻))
2 imaeq1 6074 . . . . 5 (𝐹 = (𝐺 ∪ 𝐻) → (𝐹 “ {𝐴}) = ((𝐺 ∪ 𝐻) “ {𝐴}))
3 imaundir 6169 . . . . 5 ((𝐺 ∪ 𝐻) “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴}))
42, 3eqtrdi 2825 . . . 4 (𝐹 = (𝐺 ∪ 𝐻) → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
51, 4syl 18 . . 3 (𝜑 → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
6 bj-funun.neldm . . . . 5 (𝜑 → ¬ 𝐴 ∈ dom 𝐻)
7 ndmima 6126 . . . . 5 (¬ 𝐴 ∈ dom 𝐻 → (𝐻 “ {𝐴}) = ∅)
86, 7syl 18 . . . 4 (𝜑 → (𝐻 “ {𝐴}) = ∅)
9 uneq2 4171 . . . . 5 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = ((𝐺 “ {𝐴}) ∪ ∅))
10 un0 4354 . . . . 5 ((𝐺 “ {𝐴}) ∪ ∅) = (𝐺 “ {𝐴})
119, 10eqtrdi 2825 . . . 4 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
128, 11syl 18 . . 3 (𝜑 → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
135, 12eqtrd 2809 . 2 (𝜑 → (𝐹 “ {𝐴}) = (𝐺 “ {𝐴}))
14 bj-imafv 38542 . 2 ((𝐹 “ {𝐴}) = (𝐺 “ {𝐴}) → (𝐹‘𝐴) = (𝐺‘𝐴))
1513, 14syl 18 1 (𝜑 → (𝐹‘𝐴) = (𝐺‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1572   ∈ wcel 2156   ∪ cun 4159  ∅c0 4288  {csn 4595  dom cdm 5666   “ cima 5669  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-xp 5672  df-cnv 5674  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fv 6587
This theorem is used by:  bj-fununsn1  38544  bj-fununsn2  38545
  Copyright terms: Public domain W3C validator