ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fmptapd GIF version

Theorem fmptapd 5375
Description: Append an additional value to a function. (Contributed by Thierry Arnoux, 3-Jan-2017.)
Hypotheses
Ref Expression
fmptapd.0a (𝜑𝐴 ∈ V)
fmptapd.0b (𝜑𝐵 ∈ V)
fmptapd.1 (𝜑 → (𝑅 ∪ {𝐴}) = 𝑆)
fmptapd.2 ((𝜑𝑥 = 𝐴) → 𝐶 = 𝐵)
Assertion
Ref Expression
fmptapd (𝜑 → ((𝑥𝑅𝐶) ∪ {⟨𝐴, 𝐵⟩}) = (𝑥𝑆𝐶))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝑅   𝑥,𝑆   𝜑,𝑥
Allowed substitution hint:   𝐶(𝑥)

Proof of Theorem fmptapd
StepHypRef Expression
1 fmptapd.0a . . . . 5 (𝜑𝐴 ∈ V)
2 fmptapd.0b . . . . 5 (𝜑𝐵 ∈ V)
3 fmptsn 5373 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {⟨𝐴, 𝐵⟩} = (𝑥 ∈ {𝐴} ↦ 𝐵))
41, 2, 3syl2anc 403 . . . 4 (𝜑 → {⟨𝐴, 𝐵⟩} = (𝑥 ∈ {𝐴} ↦ 𝐵))
5 elsni 3416 . . . . . 6 (𝑥 ∈ {𝐴} → 𝑥 = 𝐴)
6 fmptapd.2 . . . . . 6 ((𝜑𝑥 = 𝐴) → 𝐶 = 𝐵)
75, 6sylan2 280 . . . . 5 ((𝜑𝑥 ∈ {𝐴}) → 𝐶 = 𝐵)
87mpteq2dva 3868 . . . 4 (𝜑 → (𝑥 ∈ {𝐴} ↦ 𝐶) = (𝑥 ∈ {𝐴} ↦ 𝐵))
94, 8eqtr4d 2116 . . 3 (𝜑 → {⟨𝐴, 𝐵⟩} = (𝑥 ∈ {𝐴} ↦ 𝐶))
109uneq2d 3126 . 2 (𝜑 → ((𝑥𝑅𝐶) ∪ {⟨𝐴, 𝐵⟩}) = ((𝑥𝑅𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)))
11 mptun 5049 . . 3 (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥𝑅𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶))
1211a1i 9 . 2 (𝜑 → (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = ((𝑥𝑅𝐶) ∪ (𝑥 ∈ {𝐴} ↦ 𝐶)))
13 fmptapd.1 . . 3 (𝜑 → (𝑅 ∪ {𝐴}) = 𝑆)
1413mpteq1d 3863 . 2 (𝜑 → (𝑥 ∈ (𝑅 ∪ {𝐴}) ↦ 𝐶) = (𝑥𝑆𝐶))
1510, 12, 143eqtr2d 2119 1 (𝜑 → ((𝑥𝑅𝐶) ∪ {⟨𝐴, 𝐵⟩}) = (𝑥𝑆𝐶))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102   = wceq 1284  wcel 1433  Vcvv 2601  cun 2971  {csn 3398  cop 3401  cmpt 3839
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-reu 2355  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-br 3786  df-opab 3840  df-mpt 3841  df-id 4048  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-rn 4374  df-fun 4924  df-fn 4925  df-f 4926  df-f1 4927  df-fo 4928  df-f1o 4929
This theorem is referenced by:  fmptpr  5376
  Copyright terms: Public domain W3C validator