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

Theorem riota2df 7400
Description: A deduction version of riota2f 7401. (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 486 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → 𝐵 ∈ 𝐴)
3 df-reu 3366 . . . 4 (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝜓))
43bilani 510 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝜓))
5 simpr 490 . . . . . 6 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
62adantr 486 . . . . . 6 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝐵 ∈ 𝐴)
75, 6eqeltrd 2860 . . . . 5 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 ∈ 𝐴)
87biantrurd 542 . . . 4 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ (𝑥 ∈ 𝐴 ∧ 𝜓)))
9 riota2df.5 . . . . 5 ((𝜑 ∧ 𝑥 = 𝐵) → (𝜓 ↔ 𝜒))
109adantlr 728 . . . 4 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ 𝜒))
118, 10bitr3d 284 . . 3 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → ((𝑥 ∈ 𝐴 ∧ 𝜓) ↔ 𝜒))
12 riota2df.1 . . . 4 Ⅎ𝑥𝜑
13 nfreu1 3393 . . . 4 Ⅎ𝑥∃!𝑥 ∈ 𝐴 𝜓
1412, 13nfan 1931 . . 3 Ⅎ𝑥(𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓)
15 riota2df.3 . . . 4 (𝜑 → Ⅎ𝑥𝜒)
1615adantr 486 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → Ⅎ𝑥𝜒)
17 riota2df.2 . . . 4 (𝜑 → Ⅎ𝑥𝐵)
1817adantr 486 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → Ⅎ𝑥𝐵)
192, 4, 11, 14, 16, 18iota2df 6525 . 2 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝜒 ↔ (℩𝑥(𝑥 ∈ 𝐴 ∧ 𝜓)) = 𝐵))
20 df-riota 7377 . . 3 (℩𝑥 ∈ 𝐴 𝜓) = (℩𝑥(𝑥 ∈ 𝐴 ∧ 𝜓))
2120eqeq1i 2765 . 2 ((℩𝑥 ∈ 𝐴 𝜓) = 𝐵 ↔ (℩𝑥(𝑥 ∈ 𝐴 ∧ 𝜓)) = 𝐵)
2219, 21bitr4di 292 1 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝜒 ↔ (℩𝑥 ∈ 𝐴 𝜓) = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  Ⅎwnf 1815   ∈ wcel 2144  ∃!weu 2593  Ⅎwnfc 2907  ∃!wreu 3363  ℩cio 6492  ℩crio 7376
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-reu 3366  df-v 3452  df-ss 3896  df-un 4151  df-sn 4584  df-pr 4586  df-uni 4867  df-iota 6494  df-riota 7377
This theorem is used by:  riota2f  7401  riotaeqimp  7403  riota5f  7405  mapdheq  42786  hdmap1eq  42859  hdmapval2lem  42889
  Copyright terms: Public domain W3C validator