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

Theorem riota2df 7420
Description: A deduction version of riota2f 7421. (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 3370 . . . 4 (∃!𝑥 ∈ 𝐴 𝜓 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝜓))
43bilani 510 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝜓))
5 simpr 490 . . . . . 6 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
62adantr 486 . . . . . 6 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝐵 ∈ 𝐴)
75, 6eqeltrd 2864 . . . . 5 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 ∈ 𝐴)
87biantrurd 542 . . . 4 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ (𝑥 ∈ 𝐴 ∧ 𝜓)))
9 riota2df.5 . . . . 5 ((𝜑 ∧ 𝑥 = 𝐵) → (𝜓 ↔ 𝜒))
109adantlr 728 . . . 4 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ 𝜒))
118, 10bitr3d 284 . . 3 (((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) ∧ 𝑥 = 𝐵) → ((𝑥 ∈ 𝐴 ∧ 𝜓) ↔ 𝜒))
12 riota2df.1 . . . 4 Ⅎ𝑥𝜑
13 nfreu1 3397 . . . 4 Ⅎ𝑥∃!𝑥 ∈ 𝐴 𝜓
1412, 13nfan 1934 . . 3 Ⅎ𝑥(𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓)
15 riota2df.3 . . . 4 (𝜑 → Ⅎ𝑥𝜒)
1615adantr 486 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → Ⅎ𝑥𝜒)
17 riota2df.2 . . . 4 (𝜑 → Ⅎ𝑥𝐵)
1817adantr 486 . . 3 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → Ⅎ𝑥𝐵)
192, 4, 11, 14, 16, 18iota2df 6541 . 2 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝜒 ↔ (℩𝑥(𝑥 ∈ 𝐴 ∧ 𝜓)) = 𝐵))
20 df-riota 7397 . . 3 (℩𝑥 ∈ 𝐴 𝜓) = (℩𝑥(𝑥 ∈ 𝐴 ∧ 𝜓))
2120eqeq1i 2768 . 2 ((℩𝑥 ∈ 𝐴 𝜓) = 𝐵 ↔ (℩𝑥(𝑥 ∈ 𝐴 ∧ 𝜓)) = 𝐵)
2219, 21bitr4di 292 1 ((𝜑 ∧ ∃!𝑥 ∈ 𝐴 𝜓) → (𝜒 ↔ (℩𝑥 ∈ 𝐴 𝜓) = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2147  ∃!weu 2596  Ⅎwnfc 2911  ∃!wreu 3367  ℩cio 6507  ℩crio 7396
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-reu 3370  df-v 3456  df-ss 3901  df-un 4154  df-sn 4589  df-pr 4591  df-uni 4871  df-iota 6509  df-riota 7397
This theorem is used by:  riota2f  7421  riotaeqimp  7423  riota5f  7425  mapdheq  42976  hdmap1eq  43049  hdmapval2lem  43079
  Copyright terms: Public domain W3C validator