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 38441
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 6065 . . . . 5 (𝐹 = (𝐺 ∪ 𝐻) → (𝐹 “ {𝐴}) = ((𝐺 ∪ 𝐻) “ {𝐴}))
3 imaundir 6160 . . . . 5 ((𝐺 ∪ 𝐻) “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴}))
42, 3eqtrdi 2814 . . . 4 (𝐹 = (𝐺 ∪ 𝐻) → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
51, 4syl 18 . . 3 (𝜑 → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
6 bj-funun.neldm . . . . 5 (𝜑 → ¬ 𝐴 ∈ dom 𝐻)
7 ndmima 6117 . . . . 5 (¬ 𝐴 ∈ dom 𝐻 → (𝐻 “ {𝐴}) = ∅)
86, 7syl 18 . . . 4 (𝜑 → (𝐻 “ {𝐴}) = ∅)
9 uneq2 4164 . . . . 5 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = ((𝐺 “ {𝐴}) ∪ ∅))
10 un0 4347 . . . . 5 ((𝐺 “ {𝐴}) ∪ ∅) = (𝐺 “ {𝐴})
119, 10eqtrdi 2814 . . . 4 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
128, 11syl 18 . . 3 (𝜑 → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
135, 12eqtrd 2798 . 2 (𝜑 → (𝐹 “ {𝐴}) = (𝐺 “ {𝐴}))
14 bj-imafv 38440 . 2 ((𝐹 “ {𝐴}) = (𝐺 “ {𝐴}) → (𝐹‘𝐴) = (𝐺‘𝐴))
1513, 14syl 18 1 (𝜑 → (𝐹‘𝐴) = (𝐺‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1570   ∈ wcel 2147   ∪ cun 4152  ∅c0 4281  {csn 4588  dom cdm 5658   “ cima 5661  ‘cfv 6566
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-xp 5664  df-cnv 5666  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fv 6574
This theorem is used by:  bj-fununsn1  38442  bj-fununsn2  38443
  Copyright terms: Public domain W3C validator