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 38153
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 6047 . . . . 5 (𝐹 = (𝐺 ∪ 𝐻) → (𝐹 “ {𝐴}) = ((𝐺 ∪ 𝐻) “ {𝐴}))
3 imaundir 6142 . . . . 5 ((𝐺 ∪ 𝐻) “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴}))
42, 3eqtrdi 2812 . . . 4 (𝐹 = (𝐺 ∪ 𝐻) → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
51, 4syl 18 . . 3 (𝜑 → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
6 bj-funun.neldm . . . . 5 (𝜑 → ¬ 𝐴 ∈ dom 𝐻)
7 ndmima 6099 . . . . 5 (¬ 𝐴 ∈ dom 𝐻 → (𝐻 “ {𝐴}) = ∅)
86, 7syl 18 . . . 4 (𝜑 → (𝐻 “ {𝐴}) = ∅)
9 uneq2 4109 . . . . 5 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = ((𝐺 “ {𝐴}) ∪ ∅))
10 un0 4344 . . . . 5 ((𝐺 “ {𝐴}) ∪ ∅) = (𝐺 “ {𝐴})
119, 10eqtrdi 2812 . . . 4 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
128, 11syl 18 . . 3 (𝜑 → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
135, 12eqtrd 2796 . 2 (𝜑 → (𝐹 “ {𝐴}) = (𝐺 “ {𝐴}))
14 bj-imafv 38152 . 2 ((𝐹 “ {𝐴}) = (𝐺 “ {𝐴}) → (𝐹‘𝐴) = (𝐺‘𝐴))
1513, 14syl 18 1 (𝜑 → (𝐹‘𝐴) = (𝐺‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1570   ∈ wcel 2145   ∪ cun 3897  ∅c0 4279  {csn 4584  dom cdm 5651   “ cima 5654  ‘cfv 6537
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-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-xp 5657  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fv 6545
This theorem is used by:  bj-fununsn1  38154  bj-fununsn2  38155
  Copyright terms: Public domain W3C validator