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

Theorem dfiota4 6565
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 6549 . 2 (∃!𝑥𝜑 → (℩𝑥𝜑) = ∪ {𝑥 ∣ 𝜑})
2 iotanul 6552 . 2 (¬ ∃!𝑥𝜑 → (℩𝑥𝜑) = ∅)
3 ifval 4530 . 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 1572  ∃!weu 2600  {cab 2747  ∅c0 4283  ifcif 4487  ∪ cuni 4875  ℩cio 6525
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-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-v 3458  df-ss 3903  df-dif 4052  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-uni 4876  df-iota 6527
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator