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

Theorem riota2df 7116
Description: A deduction version of riota2f 7117. (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 simpr 488 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥𝐴 𝜓)
4 df-reu 3113 . . . 4 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥(𝑥𝐴𝜓))
53, 4sylib 221 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥(𝑥𝐴𝜓))
6 simpr 488 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
72adantr 484 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝐵𝐴)
86, 7eqeltrd 2890 . . . . 5 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥𝐴)
98biantrurd 536 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ (𝑥𝐴𝜓)))
10 riota2df.5 . . . . 5 ((𝜑𝑥 = 𝐵) → (𝜓𝜒))
1110adantlr 714 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓𝜒))
129, 11bitr3d 284 . . 3 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → ((𝑥𝐴𝜓) ↔ 𝜒))
13 riota2df.1 . . . 4 𝑥𝜑
14 nfreu1 3323 . . . 4 𝑥∃!𝑥𝐴 𝜓
1513, 14nfan 1900 . . 3 𝑥(𝜑 ∧ ∃!𝑥𝐴 𝜓)
16 riota2df.3 . . . 4 (𝜑 → Ⅎ𝑥𝜒)
1716adantr 484 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → Ⅎ𝑥𝜒)
18 riota2df.2 . . . 4 (𝜑𝑥𝐵)
1918adantr 484 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝑥𝐵)
202, 5, 12, 15, 17, 19iota2df 6311 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵))
21 df-riota 7093 . . 3 (𝑥𝐴 𝜓) = (℩𝑥(𝑥𝐴𝜓))
2221eqeq1i 2803 . 2 ((𝑥𝐴 𝜓) = 𝐵 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵)
2320, 22syl6bbr 292 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (𝑥𝐴 𝜓) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wnf 1785  wcel 2111  ∃!weu 2628  wnfc 2936  ∃!wreu 3108  cio 6281  crio 7092
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-reu 3113  df-v 3443  df-sbc 3721  df-un 3886  df-in 3888  df-ss 3898  df-sn 4526  df-pr 4528  df-uni 4801  df-iota 6283  df-riota 7093
This theorem is referenced by:  riota2f  7117  riotaeqimp  7119  riota5f  7121  mapdheq  39024  hdmap1eq  39097  hdmapval2lem  39127
  Copyright terms: Public domain W3C validator