MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mpodifsnif Structured version   Visualization version   GIF version

Theorem mpodifsnif 7260
Description: A mapping with two arguments with the first argument from a difference set with a singleton and a conditional as result. (Contributed by AV, 13-Feb-2019.)
Assertion
Ref Expression
mpodifsnif (𝑖 ∈ (𝐴 ∖ {𝑋}), 𝑗𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ (𝐴 ∖ {𝑋}), 𝑗𝐵𝐷)

Proof of Theorem mpodifsnif
StepHypRef Expression
1 eldifsnneq 4716 . . . 4 (𝑖 ∈ (𝐴 ∖ {𝑋}) → ¬ 𝑖 = 𝑋)
21adantr 483 . . 3 ((𝑖 ∈ (𝐴 ∖ {𝑋}) ∧ 𝑗𝐵) → ¬ 𝑖 = 𝑋)
32iffalsed 4471 . 2 ((𝑖 ∈ (𝐴 ∖ {𝑋}) ∧ 𝑗𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐷)
43mpoeq3ia 7225 1 (𝑖 ∈ (𝐴 ∖ {𝑋}), 𝑗𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ (𝐴 ∖ {𝑋}), 𝑗𝐵𝐷)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 398   = wceq 1536  wcel 2113  cdif 3926  ifcif 4460  {csn 4560  cmpo 7151
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-v 3493  df-dif 3932  df-if 4461  df-sn 4561  df-oprab 7153  df-mpo 7154
This theorem is referenced by:  smadiadetglem1  21273
  Copyright terms: Public domain W3C validator