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

Theorem mposnif 7528
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 4601 . . . 4 (𝑖 ∈ {𝑋} → 𝑖 = 𝑋)
21adantr 486 . . 3 ((𝑖 ∈ {𝑋} ∧ 𝑗 ∈ 𝐵) → 𝑖 = 𝑋)
32iftrued 4490 . 2 ((𝑖 ∈ {𝑋} ∧ 𝑗 ∈ 𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐶)
43mpoeq3ia 7490 1 (𝑖 ∈ {𝑋}, 𝑗 ∈ 𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗 ∈ 𝐵 ↦ 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ifcif 4482  {csn 4584   ∈ cmpo 7414
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-if 4483  df-sn 4585  df-oprab 7416  df-mpo 7417
This theorem is used by:  mdetrsca2  22899  mdetrlin2  22902  mdetunilem5  22911  smadiadetglem2  22967
  Copyright terms: Public domain W3C validator