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

Theorem riota2df 7380
Description: A deduction version of riota2f 7381. (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 485 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐵𝐴)
3 df-reu 3371 . . . 4 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥(𝑥𝐴𝜓))
43bilani 509 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥(𝑥𝐴𝜓))
5 simpr 489 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
62adantr 485 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝐵𝐴)
75, 6eqeltrd 2865 . . . . 5 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥𝐴)
87biantrurd 541 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ (𝑥𝐴𝜓)))
9 riota2df.5 . . . . 5 ((𝜑𝑥 = 𝐵) → (𝜓𝜒))
109adantlr 727 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓𝜒))
118, 10bitr3d 284 . . 3 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → ((𝑥𝐴𝜓) ↔ 𝜒))
12 riota2df.1 . . . 4 𝑥𝜑
13 nfreu1 3398 . . . 4 𝑥∃!𝑥𝐴 𝜓
1412, 13nfan 1922 . . 3 𝑥(𝜑 ∧ ∃!𝑥𝐴 𝜓)
15 riota2df.3 . . . 4 (𝜑 → Ⅎ𝑥𝜒)
1615adantr 485 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → Ⅎ𝑥𝜒)
17 riota2df.2 . . . 4 (𝜑𝑥𝐵)
1817adantr 485 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝑥𝐵)
192, 4, 11, 14, 16, 18iota2df 6512 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵))
20 df-riota 7357 . . 3 (𝑥𝐴 𝜓) = (℩𝑥(𝑥𝐴𝜓))
2120eqeq1i 2770 . 2 ((𝑥𝐴 𝜓) = 𝐵 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵)
2219, 21bitr4di 292 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (𝑥𝐴 𝜓) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1563  wnf 1806  wcel 2145  ∃!weu 2598  wnfc 2912  ∃!wreu 3368  cio 6479  crio 7356
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2737
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1566  df-ex 1803  df-nf 1807  df-sb 2094  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ral 3080  df-rex 3090  df-reu 3371  df-v 3459  df-un 3912  df-ss 3924  df-sn 4586  df-pr 4588  df-uni 4868  df-iota 6481  df-riota 7357
This theorem is referenced by:  riota2f  7381  riotaeqimp  7383  riota5f  7385  mapdheq  42359  hdmap1eq  42432  hdmapval2lem  42462
  Copyright terms: Public domain W3C validator