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

Theorem mposnif 7390
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 4578 . . . 4 (𝑖 ∈ {𝑋} → 𝑖 = 𝑋)
21adantr 481 . . 3 ((𝑖 ∈ {𝑋} ∧ 𝑗𝐵) → 𝑖 = 𝑋)
32iftrued 4467 . 2 ((𝑖 ∈ {𝑋} ∧ 𝑗𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐶)
43mpoeq3ia 7353 1 (𝑖 ∈ {𝑋}, 𝑗𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗𝐵𝐶)
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1539  wcel 2106  ifcif 4459  {csn 4561  cmpo 7277
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-if 4460  df-sn 4562  df-oprab 7279  df-mpo 7280
This theorem is referenced by:  mdetrsca2  21753  mdetrlin2  21756  mdetunilem5  21765  smadiadetglem2  21821
  Copyright terms: Public domain W3C validator