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

Theorem riotass2 7143
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 4219 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∃!𝑥𝐴 𝜑)
2 simplr 768 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∀𝑥𝐴 (𝜑𝜓))
3 riotasbc 7131 . . . . 5 (∃!𝑥𝐴 𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑)
4 riotacl 7130 . . . . . 6 (∃!𝑥𝐴 𝜑 → (𝑥𝐴 𝜑) ∈ 𝐴)
5 rspsbc 3787 . . . . . . 7 ((𝑥𝐴 𝜑) ∈ 𝐴 → (∀𝑥𝐴 (𝜑𝜓) → [(𝑥𝐴 𝜑) / 𝑥](𝜑𝜓)))
6 sbcimg 3746 . . . . . . 7 ((𝑥𝐴 𝜑) ∈ 𝐴 → ([(𝑥𝐴 𝜑) / 𝑥](𝜑𝜓) ↔ ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
75, 6sylibd 242 . . . . . 6 ((𝑥𝐴 𝜑) ∈ 𝐴 → (∀𝑥𝐴 (𝜑𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
84, 7syl 17 . . . . 5 (∃!𝑥𝐴 𝜑 → (∀𝑥𝐴 (𝜑𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
93, 8mpid 44 . . . 4 (∃!𝑥𝐴 𝜑 → (∀𝑥𝐴 (𝜑𝜓) → [(𝑥𝐴 𝜑) / 𝑥]𝜓))
101, 2, 9sylc 65 . . 3 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → [(𝑥𝐴 𝜑) / 𝑥]𝜓)
111, 4syl 17 . . . . 5 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) ∈ 𝐴)
12 ssel 3887 . . . . . 6 (𝐴𝐵 → ((𝑥𝐴 𝜑) ∈ 𝐴 → (𝑥𝐴 𝜑) ∈ 𝐵))
1312ad2antrr 725 . . . . 5 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ((𝑥𝐴 𝜑) ∈ 𝐴 → (𝑥𝐴 𝜑) ∈ 𝐵))
1411, 13mpd 15 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) ∈ 𝐵)
15 simprr 772 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∃!𝑥𝐵 𝜓)
16 nfriota1 7120 . . . . 5 𝑥(𝑥𝐴 𝜑)
1716nfsbc1 3717 . . . . 5 𝑥[(𝑥𝐴 𝜑) / 𝑥]𝜓
18 sbceq1a 3709 . . . . 5 (𝑥 = (𝑥𝐴 𝜑) → (𝜓[(𝑥𝐴 𝜑) / 𝑥]𝜓))
1916, 17, 18riota2f 7137 . . . 4 (((𝑥𝐴 𝜑) ∈ 𝐵 ∧ ∃!𝑥𝐵 𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜓 ↔ (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑)))
2014, 15, 19syl2anc 587 . . 3 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ([(𝑥𝐴 𝜑) / 𝑥]𝜓 ↔ (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑)))
2110, 20mpbid 235 . 2 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑))
2221eqcomd 2764 1 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  wral 3070  wrex 3071  ∃!wreu 3072  [wsbc 3698  wss 3860  crio 7112
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 2729
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 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ral 3075  df-rex 3076  df-reu 3077  df-rab 3079  df-v 3411  df-sbc 3699  df-un 3865  df-in 3867  df-ss 3877  df-sn 4526  df-pr 4528  df-uni 4802  df-iota 6298  df-riota 7113
This theorem is referenced by:  fisupcl  8971  quotlem  25000  adjbdln  29970  rexdiv  30728  cdlemefrs32fva  38002  addinvcom  39938
  Copyright terms: Public domain W3C validator