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

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

Proof of Theorem mposnif
StepHypRef Expression
1 elsni 4584 . . . 4 (𝑖 ∈ {𝑋} → 𝑖 = 𝑋)
21adantr 483 . . 3 ((𝑖 ∈ {𝑋} ∧ 𝑗𝐵) → 𝑖 = 𝑋)
32iftrued 4475 . 2 ((𝑖 ∈ {𝑋} ∧ 𝑗𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐶)
43mpoeq3ia 7232 1 (𝑖 ∈ {𝑋}, 𝑗𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗𝐵𝐶)
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1537  wcel 2114  ifcif 4467  {csn 4567  cmpo 7158
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-if 4468  df-sn 4568  df-oprab 7160  df-mpo 7161
This theorem is referenced by:  mdetrsca2  21213  mdetrlin2  21216  mdetunilem5  21225  smadiadetglem2  21281
  Copyright terms: Public domain W3C validator