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 37751
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 4113 . . . 4 (𝐺 ∪ {⟨𝐵, 𝐶⟩}) = ({⟨𝐵, 𝐶⟩} ∪ 𝐺)
31, 2eqtrdi 2815 . . 3 (𝜑𝐹 = ({⟨𝐵, 𝐶⟩} ∪ 𝐺))
4 bj-fununsn2.neldm . . 3 (𝜑 → ¬ 𝐵 ∈ dom 𝐺)
53, 4bj-funun 37749 . 2 (𝜑 → (𝐹𝐵) = ({⟨𝐵, 𝐶⟩}‘𝐵))
6 bj-fununsn2.ex1 . . 3 (𝜑𝐵𝑉)
7 bj-fununsn2.ex2 . . 3 (𝜑𝐶𝑊)
8 fvsng 7166 . . 3 ((𝐵𝑉𝐶𝑊) → ({⟨𝐵, 𝐶⟩}‘𝐵) = 𝐶)
96, 7, 8syl2anc 593 . 2 (𝜑 → ({⟨𝐵, 𝐶⟩}‘𝐵) = 𝐶)
105, 9eqtrd 2799 1 (𝜑 → (𝐹𝐵) = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1562  wcel 2144  cun 3904  {csn 4584  cop 4590  dom cdm 5649  cfv 6523
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-sep 5248  ax-nul 5258  ax-pr 5392
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-ne 2960  df-ral 3079  df-rex 3089  df-rab 3417  df-v 3458  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4288  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5103  df-opab 5165  df-id 5544  df-xp 5655  df-rel 5656  df-cnv 5657  df-co 5658  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662  df-iota 6479  df-fun 6525  df-fv 6531
This theorem is referenced by:  bj-fvsnun2  37753  bj-fvmptunsn1  37754
  Copyright terms: Public domain W3C validator