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

Theorem riota2df 6531
 Description: A deduction version of riota2f 6532. (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 480 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝐵𝐴)
3 simpr 476 . . . 4 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥𝐴 𝜓)
4 df-reu 2903 . . . 4 (∃!𝑥𝐴 𝜓 ↔ ∃!𝑥(𝑥𝐴𝜓))
53, 4sylib 207 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → ∃!𝑥(𝑥𝐴𝜓))
6 simpr 476 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
72adantr 480 . . . . . 6 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝐵𝐴)
86, 7eqeltrd 2688 . . . . 5 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → 𝑥𝐴)
98biantrurd 528 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓 ↔ (𝑥𝐴𝜓)))
10 riota2df.5 . . . . 5 ((𝜑𝑥 = 𝐵) → (𝜓𝜒))
1110adantlr 747 . . . 4 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → (𝜓𝜒))
129, 11bitr3d 269 . . 3 (((𝜑 ∧ ∃!𝑥𝐴 𝜓) ∧ 𝑥 = 𝐵) → ((𝑥𝐴𝜓) ↔ 𝜒))
13 riota2df.1 . . . 4 𝑥𝜑
14 nfreu1 3089 . . . 4 𝑥∃!𝑥𝐴 𝜓
1513, 14nfan 1816 . . 3 𝑥(𝜑 ∧ ∃!𝑥𝐴 𝜓)
16 riota2df.3 . . . 4 (𝜑 → Ⅎ𝑥𝜒)
1716adantr 480 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → Ⅎ𝑥𝜒)
18 riota2df.2 . . . 4 (𝜑𝑥𝐵)
1918adantr 480 . . 3 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → 𝑥𝐵)
202, 5, 12, 15, 17, 19iota2df 5792 . 2 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵))
21 df-riota 6511 . . 3 (𝑥𝐴 𝜓) = (℩𝑥(𝑥𝐴𝜓))
2221eqeq1i 2615 . 2 ((𝑥𝐴 𝜓) = 𝐵 ↔ (℩𝑥(𝑥𝐴𝜓)) = 𝐵)
2320, 22syl6bbr 277 1 ((𝜑 ∧ ∃!𝑥𝐴 𝜓) → (𝜒 ↔ (𝑥𝐴 𝜓) = 𝐵))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   = wceq 1475  Ⅎwnf 1699   ∈ wcel 1977  ∃!weu 2458  Ⅎwnfc 2738  ∃!wreu 2898  ℩cio 5766  ℩crio 6510 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-reu 2903  df-v 3175  df-sbc 3403  df-un 3545  df-sn 4126  df-pr 4128  df-uni 4373  df-iota 5768  df-riota 6511 This theorem is referenced by:  riota2f  6532  riota5f  6535  mapdheq  36035  hdmap1eq  36109  hdmapval2lem  36141  riotaeqimp  40338
 Copyright terms: Public domain W3C validator