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

Theorem riota2df 7378
Description: A deduction version of riota2f 7379. (Contributed by NM, 17-Feb-2013.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
riota2df.1 𝑥𝜑
riota2df.2 (𝜑𝑥𝐵)
riota2df.3 (𝜑 → Ⅎ𝑥𝜒)
riota2df.4 (𝜑𝐵𝐴)
riota2df.5 ((𝜑𝑥 = 𝐵) → (𝜓𝜒))
Assertion
Ref Expression
riota2df ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (𝑥𝐴 𝜓) = 𝐵))
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)   𝜒(𝑥)   𝐵(𝑥)

Proof of Theorem riota2df
StepHypRef Expression
1 riota2df.4 . . . 4 (𝜑𝐵𝐴)
21adantr 484 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐵𝐴)
3 df-reu 3370 . . . 4 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥(𝑥𝐴𝜓))
43bilani 508 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥(𝑥𝐴𝜓))
5 simpr 488 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
62adantr 484 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝐵𝐴)
75, 6eqeltrd 2864 . . . . 5 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥𝐴)
87biantrurd 540 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ (𝑥𝐴𝜓)))
9 riota2df.5 . . . . 5 ((𝜑𝑥 = 𝐵) → (𝜓𝜒))
109adantlr 725 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓𝜒))
118, 10bitr3d 283 . . 3 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → ((𝑥𝐴𝜓) ↔ 𝜒))
12 riota2df.1 . . . 4 𝑥𝜑
13 nfreu1 3397 . . . 4 𝑥∃!𝑥𝐴 𝜓
1412, 13nfan 1921 . . 3 𝑥(𝜑 ∧ ∃!𝑥𝐴 𝜓)
15 riota2df.3 . . . 4 (𝜑 → Ⅎ𝑥𝜒)
1615adantr 484 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → Ⅎ𝑥𝜒)
17 riota2df.2 . . . 4 (𝜑𝑥𝐵)
1817adantr 484 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝑥𝐵)
192, 4, 11, 14, 16, 18iota2df 6510 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵))
20 df-riota 7355 . . 3 (𝑥𝐴 𝜓) = (℩𝑥(𝑥𝐴𝜓))
2120eqeq1i 2769 . 2 ((𝑥𝐴 𝜓) = 𝐵 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵)
2219, 21bitr4di 291 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (𝑥𝐴 𝜓) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 399   = wceq 1562  wnf 1805  wcel 2144  ∃!weu 2597  wnfc 2911  ∃!wreu 3367  cio 6477  crio 7354
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1565  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ral 3079  df-rex 3089  df-reu 3370  df-v 3458  df-un 3911  df-ss 3923  df-sn 4585  df-pr 4587  df-uni 4868  df-iota 6479  df-riota 7355
This theorem is referenced by:  riota2f  7379  riotaeqimp  7381  riota5f  7383  mapdheq  42357  hdmap1eq  42430  hdmapval2lem  42460
  Copyright terms: Public domain W3C validator