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

Theorem mposnif 7578
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 4603 . . . 4 (𝑖 ∈ {𝑋} → 𝑖 = 𝑋)
21adantr 486 . . 3 ((𝑖 ∈ {𝑋} ∧ 𝑗 ∈ 𝐵) → 𝑖 = 𝑋)
32iftrued 4495 . 2 ((𝑖 ∈ {𝑋} ∧ 𝑗 ∈ 𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐶)
43mpoeq3ia 7540 1 (𝑖 ∈ {𝑋}, 𝑗 ∈ 𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗 ∈ 𝐵 ↦ 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ifcif 4487  {csn 4590   ∈ cmpo 7464
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-if 4488  df-sn 4591  df-oprab 7466  df-mpo 7467
This theorem is used by:  mdetrsca2  23019  mdetrlin2  23022  mdetunilem5  23031  smadiadetglem2  23087
  Copyright terms: Public domain W3C validator