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 37218
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 6084 . . . . 5 (𝐹 = (𝐺𝐻) → (𝐹 “ {𝐴}) = ((𝐺𝐻) “ {𝐴}))
3 imaundir 6182 . . . . 5 ((𝐺𝐻) “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴}))
42, 3eqtrdi 2796 . . . 4 (𝐹 = (𝐺𝐻) → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
51, 4syl 17 . . 3 (𝜑 → (𝐹 “ {𝐴}) = ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})))
6 bj-funun.neldm . . . . 5 (𝜑 → ¬ 𝐴 ∈ dom 𝐻)
7 ndmima 6133 . . . . 5 𝐴 ∈ dom 𝐻 → (𝐻 “ {𝐴}) = ∅)
86, 7syl 17 . . . 4 (𝜑 → (𝐻 “ {𝐴}) = ∅)
9 uneq2 4185 . . . . 5 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = ((𝐺 “ {𝐴}) ∪ ∅))
10 un0 4417 . . . . 5 ((𝐺 “ {𝐴}) ∪ ∅) = (𝐺 “ {𝐴})
119, 10eqtrdi 2796 . . . 4 ((𝐻 “ {𝐴}) = ∅ → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
128, 11syl 17 . . 3 (𝜑 → ((𝐺 “ {𝐴}) ∪ (𝐻 “ {𝐴})) = (𝐺 “ {𝐴}))
135, 12eqtrd 2780 . 2 (𝜑 → (𝐹 “ {𝐴}) = (𝐺 “ {𝐴}))
14 bj-imafv 37217 . 2 ((𝐹 “ {𝐴}) = (𝐺 “ {𝐴}) → (𝐹𝐴) = (𝐺𝐴))
1513, 14syl 17 1 (𝜑 → (𝐹𝐴) = (𝐺𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1537  wcel 2108  cun 3974  c0 4352  {csn 4648  dom cdm 5700  cima 5703  cfv 6573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-xp 5706  df-cnv 5708  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-iota 6525  df-fv 6581
This theorem is referenced by:  bj-fununsn1  37219  bj-fununsn2  37220
  Copyright terms: Public domain W3C validator