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

Theorem riotass 7134
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 4281 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ∃!𝑥𝐴 𝜑)
2 riotasbc 7121 . . . 4 (∃!𝑥𝐴 𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑)
31, 2syl 17 . . 3 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → [(𝑥𝐴 𝜑) / 𝑥]𝜑)
4 simp1 1128 . . . . 5 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → 𝐴𝐵)
5 riotacl 7120 . . . . . 6 (∃!𝑥𝐴 𝜑 → (𝑥𝐴 𝜑) ∈ 𝐴)
61, 5syl 17 . . . . 5 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) ∈ 𝐴)
74, 6sseldd 3965 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) ∈ 𝐵)
8 simp3 1130 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ∃!𝑥𝐵 𝜑)
9 nfriota1 7110 . . . . 5 𝑥(𝑥𝐴 𝜑)
109nfsbc1 3788 . . . . 5 𝑥[(𝑥𝐴 𝜑) / 𝑥]𝜑
11 sbceq1a 3780 . . . . 5 (𝑥 = (𝑥𝐴 𝜑) → (𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑))
129, 10, 11riota2f 7127 . . . 4 (((𝑥𝐴 𝜑) ∈ 𝐵 ∧ ∃!𝑥𝐵 𝜑) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑 ↔ (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑)))
137, 8, 12syl2anc 584 . . 3 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑 ↔ (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑)))
143, 13mpbid 233 . 2 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑))
1514eqcomd 2824 1 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  w3a 1079   = wceq 1528  wcel 2105  wrex 3136  ∃!wreu 3137  [wsbc 3769  wss 3933  crio 7102
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-reu 3142  df-rab 3144  df-v 3494  df-sbc 3770  df-un 3938  df-in 3940  df-ss 3949  df-sn 4558  df-pr 4560  df-uni 4831  df-iota 6307  df-riota 7103
This theorem is referenced by:  moriotass  7135
  Copyright terms: Public domain W3C validator