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

Theorem dfiota4 6550
Description: The ℩ operation using the if operator. (Contributed by Scott Fenton, 6-Oct-2017.) (Proof shortened by JJ, 28-Oct-2021.)
Assertion
Ref Expression
dfiota4 (℩𝑥𝜑) = if(∃!𝑥𝜑, ∪ {𝑥 ∣ 𝜑}, ∅)

Proof of Theorem dfiota4
StepHypRef Expression
1 iotauni 6534 . 2 (∃!𝑥𝜑 → (℩𝑥𝜑) = ∪ {𝑥 ∣ 𝜑})
2 iotanul 6537 . 2 (¬ ∃!𝑥𝜑 → (℩𝑥𝜑) = ∅)
3 ifval 4528 . 2 ((℩𝑥𝜑) = if(∃!𝑥𝜑, ∪ {𝑥 ∣ 𝜑}, ∅) ↔ ((∃!𝑥𝜑 → (℩𝑥𝜑) = ∪ {𝑥 ∣ 𝜑}) ∧ (¬ ∃!𝑥𝜑 → (℩𝑥𝜑) = ∅)))
41, 2, 3mpbir2an 724 1 (℩𝑥𝜑) = if(∃!𝑥𝜑, ∪ {𝑥 ∣ 𝜑}, ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1570  ∃!weu 2596  {cab 2741  ∅c0 4281  ifcif 4485  ∪ cuni 4870  ℩cio 6510
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-ss 3901  df-dif 4050  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-uni 4871  df-iota 6512
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator