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

Theorem mpt2snif 6754
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
mpt2snif (𝑖 ∈ {𝑋}, 𝑗𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗𝐵𝐶)

Proof of Theorem mpt2snif
StepHypRef Expression
1 elsni 4194 . . . 4 (𝑖 ∈ {𝑋} → 𝑖 = 𝑋)
21adantr 481 . . 3 ((𝑖 ∈ {𝑋} ∧ 𝑗𝐵) → 𝑖 = 𝑋)
32iftrued 4094 . 2 ((𝑖 ∈ {𝑋} ∧ 𝑗𝐵) → if(𝑖 = 𝑋, 𝐶, 𝐷) = 𝐶)
43mpt2eq3ia 6720 1 (𝑖 ∈ {𝑋}, 𝑗𝐵 ↦ if(𝑖 = 𝑋, 𝐶, 𝐷)) = (𝑖 ∈ {𝑋}, 𝑗𝐵𝐶)
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wcel 1990  ifcif 4086  {csn 4177  cmpt2 6652
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-v 3202  df-if 4087  df-sn 4178  df-oprab 6654  df-mpt2 6655
This theorem is referenced by:  mdetrsca2  20410  mdetrlin2  20413  mdetunilem5  20422  smadiadetglem2  20478
  Copyright terms: Public domain W3C validator