Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  aiotaexim Structured version   Visualization version   GIF version

Theorem aiotaexim 48598
Description: Representation of "the unique element such that 𝜑 " with a class expression 𝐴 which is a set (that means that "the unique element such that 𝜑 " exists). Analog to iotan0 6568 which requires 𝐴 to be nonempty instead of being a set. That gives a more natural statement, closer to statements like spcgv 3561. (Proposed by BJ, 18-Oct-2026.) (Contributed by AV, 18-Oct-2026.)
Hypothesis
Ref Expression
aiotaexim.1 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
aiotaexim ((𝐴 ∈ 𝑉 ∧ 𝐴 = (℩'𝑥𝜑)) → 𝜓)
Distinct variable groups:   𝑥,𝐴   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝑉(𝑥)

Proof of Theorem aiotaexim
StepHypRef Expression
1 dfaiota3 48592 . . . 4 (℩'𝑥𝜑) = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V)
21eqeq2i 2787 . . 3 (𝐴 = (℩'𝑥𝜑) ↔ 𝐴 = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V))
3 iftrue 4498 . . . . . 6 (∃!𝑥𝜑 → if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) = ∩ {𝑥 ∣ 𝜑})
43eqeq2d 2785 . . . . 5 (∃!𝑥𝜑 → (𝐴 = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) ↔ 𝐴 = ∩ {𝑥 ∣ 𝜑}))
5 iotain 6552 . . . . . . 7 (∃!𝑥𝜑 → ∩ {𝑥 ∣ 𝜑} = (℩𝑥𝜑))
65eqeq2d 2785 . . . . . 6 (∃!𝑥𝜑 → (𝐴 = ∩ {𝑥 ∣ 𝜑} ↔ 𝐴 = (℩𝑥𝜑)))
7 eqcom 2781 . . . . . . 7 (𝐴 = (℩𝑥𝜑) ↔ (℩𝑥𝜑) = 𝐴)
8 aiotaexim.1 . . . . . . . . . . 11 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
98iota2 6567 . . . . . . . . . 10 ((𝐴 ∈ 𝑉 ∧ ∃!𝑥𝜑) → (𝜓 ↔ (℩𝑥𝜑) = 𝐴))
109biimprd 251 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ ∃!𝑥𝜑) → ((℩𝑥𝜑) = 𝐴 → 𝜓))
1110expcom 419 . . . . . . . 8 (∃!𝑥𝜑 → (𝐴 ∈ 𝑉 → ((℩𝑥𝜑) = 𝐴 → 𝜓)))
1211com23 87 . . . . . . 7 (∃!𝑥𝜑 → ((℩𝑥𝜑) = 𝐴 → (𝐴 ∈ 𝑉 → 𝜓)))
137, 12biimtrid 245 . . . . . 6 (∃!𝑥𝜑 → (𝐴 = (℩𝑥𝜑) → (𝐴 ∈ 𝑉 → 𝜓)))
146, 13sylbid 243 . . . . 5 (∃!𝑥𝜑 → (𝐴 = ∩ {𝑥 ∣ 𝜑} → (𝐴 ∈ 𝑉 → 𝜓)))
154, 14sylbid 243 . . . 4 (∃!𝑥𝜑 → (𝐴 = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) → (𝐴 ∈ 𝑉 → 𝜓)))
16 iffalse 4501 . . . . . 6 (¬ ∃!𝑥𝜑 → if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) = V)
1716eqeq2d 2785 . . . . 5 (¬ ∃!𝑥𝜑 → (𝐴 = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) ↔ 𝐴 = V))
18 nvelim 5288 . . . . . 6 (𝐴 = V → ¬ 𝐴 ∈ 𝑉)
1918pm2.21d 122 . . . . 5 (𝐴 = V → (𝐴 ∈ 𝑉 → 𝜓))
2017, 19biimtrdi 256 . . . 4 (¬ ∃!𝑥𝜑 → (𝐴 = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) → (𝐴 ∈ 𝑉 → 𝜓)))
2115, 20pm2.61i 184 . . 3 (𝐴 = if(∃!𝑥𝜑, ∩ {𝑥 ∣ 𝜑}, V) → (𝐴 ∈ 𝑉 → 𝜓))
222, 21sylbi 220 . 2 (𝐴 = (℩'𝑥𝜑) → (𝐴 ∈ 𝑉 → 𝜓))
2322impcom 413 1 ((𝐴 ∈ 𝑉 ∧ 𝐴 = (℩'𝑥𝜑)) → 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∃!weu 2605  {cab 2752  Vcvv 3461  ifcif 4492  ∩ cint 4920  ℩cio 6531  ℩'caiota 48583
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-uni 4881  df-int 4921  df-iota 6533  df-aiota 48585
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator