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

Theorem riotass2 7243
Description: Restriction of a unique element to a smaller class. (Contributed by NM, 21-Aug-2011.) (Revised by NM, 22-Mar-2013.)
Assertion
Ref Expression
riotass2 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)

Proof of Theorem riotass2
StepHypRef Expression
1 reuss2 4246 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∃!𝑥𝐴 𝜑)
2 simplr 765 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∀𝑥𝐴 (𝜑𝜓))
3 riotasbc 7231 . . . . 5 (∃!𝑥𝐴 𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑)
4 riotacl 7230 . . . . . 6 (∃!𝑥𝐴 𝜑 → (𝑥𝐴 𝜑) ∈ 𝐴)
5 rspsbc 3808 . . . . . . 7 ((𝑥𝐴 𝜑) ∈ 𝐴 → (∀𝑥𝐴 (𝜑𝜓) → [(𝑥𝐴 𝜑) / 𝑥](𝜑𝜓)))
6 sbcimg 3762 . . . . . . 7 ((𝑥𝐴 𝜑) ∈ 𝐴 → ([(𝑥𝐴 𝜑) / 𝑥](𝜑𝜓) ↔ ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
75, 6sylibd 238 . . . . . 6 ((𝑥𝐴 𝜑) ∈ 𝐴 → (∀𝑥𝐴 (𝜑𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
84, 7syl 17 . . . . 5 (∃!𝑥𝐴 𝜑 → (∀𝑥𝐴 (𝜑𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
93, 8mpid 44 . . . 4 (∃!𝑥𝐴 𝜑 → (∀𝑥𝐴 (𝜑𝜓) → [(𝑥𝐴 𝜑) / 𝑥]𝜓))
101, 2, 9sylc 65 . . 3 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → [(𝑥𝐴 𝜑) / 𝑥]𝜓)
111, 4syl 17 . . . . 5 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) ∈ 𝐴)
12 ssel 3910 . . . . . 6 (𝐴𝐵 → ((𝑥𝐴 𝜑) ∈ 𝐴 → (𝑥𝐴 𝜑) ∈ 𝐵))
1312ad2antrr 722 . . . . 5 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ((𝑥𝐴 𝜑) ∈ 𝐴 → (𝑥𝐴 𝜑) ∈ 𝐵))
1411, 13mpd 15 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) ∈ 𝐵)
15 simprr 769 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∃!𝑥𝐵 𝜓)
16 nfriota1 7219 . . . . 5 𝑥(𝑥𝐴 𝜑)
1716nfsbc1 3730 . . . . 5 𝑥[(𝑥𝐴 𝜑) / 𝑥]𝜓
18 sbceq1a 3722 . . . . 5 (𝑥 = (𝑥𝐴 𝜑) → (𝜓[(𝑥𝐴 𝜑) / 𝑥]𝜓))
1916, 17, 18riota2f 7237 . . . 4 (((𝑥𝐴 𝜑) ∈ 𝐵 ∧ ∃!𝑥𝐵 𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜓 ↔ (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑)))
2014, 15, 19syl2anc 583 . . 3 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ([(𝑥𝐴 𝜑) / 𝑥]𝜓 ↔ (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑)))
2110, 20mpbid 231 . 2 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑))
2221eqcomd 2744 1 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  ∃!wreu 3065  [wsbc 3711  wss 3883  crio 7211
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-un 3888  df-in 3890  df-ss 3900  df-sn 4559  df-pr 4561  df-uni 4837  df-iota 6376  df-riota 7212
This theorem is referenced by:  fisupcl  9158  quotlem  25365  adjbdln  30346  rexdiv  31102  cdlemefrs32fva  38341  addinvcom  40334
  Copyright terms: Public domain W3C validator