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

Theorem mposnif 7537
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 4597 . . . 4 (𝑖 ∈ {𝑋} → 𝑖 = 𝑋)
21adantr 486 . . 3 ((𝑖 ∈ {𝑋} ∧ 𝑗 ∈ 𝐵) → 𝑖 = 𝑋)
32iftrued 4489 . 2 ((𝑖 ∈ {𝑋} ∧ 𝑗 ∈ 𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐶)
43mpoeq3ia 7499 1 (𝑖 ∈ {𝑋}, 𝑗 ∈ 𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗 ∈ 𝐵 ↦ 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ifcif 4481  {csn 4584   ∈ cmpo 7423
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-if 4482  df-sn 4585  df-oprab 7425  df-mpo 7426
This theorem is used by:  mdetrsca2  22925  mdetrlin2  22928  mdetunilem5  22937  smadiadetglem2  22993
  Copyright terms: Public domain W3C validator