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

Theorem riotass 7244
Description: Restriction of a unique element to a smaller class. (Contributed by NM, 19-Oct-2005.) (Revised by Mario Carneiro, 24-Dec-2016.)
Assertion
Ref Expression
riotass ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜑))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem riotass
StepHypRef Expression
1 reuss 4247 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ∃!𝑥𝐴 𝜑)
2 riotasbc 7231 . . . 4 (∃!𝑥𝐴 𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑)
31, 2syl 17 . . 3 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → [(𝑥𝐴 𝜑) / 𝑥]𝜑)
4 simp1 1134 . . . . 5 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → 𝐴𝐵)
5 riotacl 7230 . . . . . 6 (∃!𝑥𝐴 𝜑 → (𝑥𝐴 𝜑) ∈ 𝐴)
61, 5syl 17 . . . . 5 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) ∈ 𝐴)
74, 6sseldd 3918 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) ∈ 𝐵)
8 simp3 1136 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ∃!𝑥𝐵 𝜑)
9 nfriota1 7219 . . . . 5 𝑥(𝑥𝐴 𝜑)
109nfsbc1 3730 . . . . 5 𝑥[(𝑥𝐴 𝜑) / 𝑥]𝜑
11 sbceq1a 3722 . . . . 5 (𝑥 = (𝑥𝐴 𝜑) → (𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑))
129, 10, 11riota2f 7237 . . . 4 (((𝑥𝐴 𝜑) ∈ 𝐵 ∧ ∃!𝑥𝐵 𝜑) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑 ↔ (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑)))
137, 8, 12syl2anc 583 . . 3 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑 ↔ (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑)))
143, 13mpbid 231 . 2 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑))
1514eqcomd 2744 1 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  w3a 1085   = wceq 1539  wcel 2108  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:  moriotass  7245  resubeqsub  40332
  Copyright terms: Public domain W3C validator