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

Theorem riotass2 6592
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 3883 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∃!𝑥𝐴 𝜑)
2 simplr 791 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∀𝑥𝐴 (𝜑𝜓))
3 riotasbc 6580 . . . . 5 (∃!𝑥𝐴 𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑)
4 riotacl 6579 . . . . . 6 (∃!𝑥𝐴 𝜑 → (𝑥𝐴 𝜑) ∈ 𝐴)
5 rspsbc 3499 . . . . . . 7 ((𝑥𝐴 𝜑) ∈ 𝐴 → (∀𝑥𝐴 (𝜑𝜓) → [(𝑥𝐴 𝜑) / 𝑥](𝜑𝜓)))
6 sbcimg 3459 . . . . . . 7 ((𝑥𝐴 𝜑) ∈ 𝐴 → ([(𝑥𝐴 𝜑) / 𝑥](𝜑𝜓) ↔ ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
75, 6sylibd 229 . . . . . 6 ((𝑥𝐴 𝜑) ∈ 𝐴 → (∀𝑥𝐴 (𝜑𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
84, 7syl 17 . . . . 5 (∃!𝑥𝐴 𝜑 → (∀𝑥𝐴 (𝜑𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜓)))
93, 8mpid 44 . . . 4 (∃!𝑥𝐴 𝜑 → (∀𝑥𝐴 (𝜑𝜓) → [(𝑥𝐴 𝜑) / 𝑥]𝜓))
101, 2, 9sylc 65 . . 3 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → [(𝑥𝐴 𝜑) / 𝑥]𝜓)
111, 4syl 17 . . . . 5 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) ∈ 𝐴)
12 ssel 3577 . . . . . 6 (𝐴𝐵 → ((𝑥𝐴 𝜑) ∈ 𝐴 → (𝑥𝐴 𝜑) ∈ 𝐵))
1312ad2antrr 761 . . . . 5 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ((𝑥𝐴 𝜑) ∈ 𝐴 → (𝑥𝐴 𝜑) ∈ 𝐵))
1411, 13mpd 15 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) ∈ 𝐵)
15 simprr 795 . . . 4 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ∃!𝑥𝐵 𝜓)
16 nfriota1 6572 . . . . 5 𝑥(𝑥𝐴 𝜑)
1716nfsbc1 3436 . . . . 5 𝑥[(𝑥𝐴 𝜑) / 𝑥]𝜓
18 sbceq1a 3428 . . . . 5 (𝑥 = (𝑥𝐴 𝜑) → (𝜓[(𝑥𝐴 𝜑) / 𝑥]𝜓))
1916, 17, 18riota2f 6586 . . . 4 (((𝑥𝐴 𝜑) ∈ 𝐵 ∧ ∃!𝑥𝐵 𝜓) → ([(𝑥𝐴 𝜑) / 𝑥]𝜓 ↔ (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑)))
2014, 15, 19syl2anc 692 . . 3 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → ([(𝑥𝐴 𝜑) / 𝑥]𝜓 ↔ (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑)))
2110, 20mpbid 222 . 2 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐵 𝜓) = (𝑥𝐴 𝜑))
2221eqcomd 2627 1 (((𝐴𝐵 ∧ ∀𝑥𝐴 (𝜑𝜓)) ∧ (∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜓)) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wral 2907  wrex 2908  ∃!wreu 2909  [wsbc 3417  wss 3555  crio 6564
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-un 3560  df-in 3562  df-ss 3569  df-sn 4149  df-pr 4151  df-uni 4403  df-iota 5810  df-riota 6565
This theorem is referenced by:  fisupcl  8319  quotlem  23959  adjbdln  28791  rexdiv  29419  cdlemefrs32fva  35168
  Copyright terms: Public domain W3C validator