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

Theorem bj-fununsn2 37627
Description: Value of a function expressed as a union of a function and a singleton on a couple (with disjoint domain) at the first component of that couple. (Contributed by BJ, 18-Mar-2023.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
bj-fununsn.un (𝜑𝐹 = (𝐺 ∪ {⟨𝐵, 𝐶⟩}))
bj-fununsn2.neldm (𝜑 → ¬ 𝐵 ∈ dom 𝐺)
bj-fununsn2.ex1 (𝜑𝐵𝑉)
bj-fununsn2.ex2 (𝜑𝐶𝑊)
Assertion
Ref Expression
bj-fununsn2 (𝜑 → (𝐹𝐵) = 𝐶)

Proof of Theorem bj-fununsn2
StepHypRef Expression
1 bj-fununsn.un . . . 4 (𝜑𝐹 = (𝐺 ∪ {⟨𝐵, 𝐶⟩}))
2 uncom 4090 . . . 4 (𝐺 ∪ {⟨𝐵, 𝐶⟩}) = ({⟨𝐵, 𝐶⟩} ∪ 𝐺)
31, 2eqtrdi 2792 . . 3 (𝜑𝐹 = ({⟨𝐵, 𝐶⟩} ∪ 𝐺))
4 bj-fununsn2.neldm . . 3 (𝜑 → ¬ 𝐵 ∈ dom 𝐺)
53, 4bj-funun 37625 . 2 (𝜑 → (𝐹𝐵) = ({⟨𝐵, 𝐶⟩}‘𝐵))
6 bj-fununsn2.ex1 . . 3 (𝜑𝐵𝑉)
7 bj-fununsn2.ex2 . . 3 (𝜑𝐶𝑊)
8 fvsng 7127 . . 3 ((𝐵𝑉𝐶𝑊) → ({⟨𝐵, 𝐶⟩}‘𝐵) = 𝐶)
96, 7, 8syl2anc 591 . 2 (𝜑 → ({⟨𝐵, 𝐶⟩}‘𝐵) = 𝐶)
105, 9eqtrd 2776 1 (𝜑 → (𝐹𝐵) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1548  wcel 2121  cun 3882  {csn 4557  cop 4563  dom cdm 5620  cfv 6488
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-10 2154  ax-11 2170  ax-12 2191  ax-ext 2713  ax-sep 5220  ax-nul 5230  ax-pr 5364
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3an 1095  df-tru 1551  df-fal 1561  df-ex 1788  df-nf 1792  df-sb 2075  df-mo 2545  df-eu 2575  df-clab 2720  df-cleq 2733  df-clel 2816  df-ne 2937  df-ral 3056  df-rex 3066  df-rab 3394  df-v 3435  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4264  df-if 4457  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4841  df-br 5075  df-opab 5137  df-id 5515  df-xp 5626  df-rel 5627  df-cnv 5628  df-co 5629  df-dm 5630  df-rn 5631  df-res 5632  df-ima 5633  df-iota 6444  df-fun 6490  df-fv 6496
This theorem is referenced by:  bj-fvsnun2  37629  bj-fvmptunsn1  37630
  Copyright terms: Public domain W3C validator