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

Theorem riotass 7145
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 4284 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ∃!𝑥𝐴 𝜑)
2 riotasbc 7132 . . . 4 (∃!𝑥𝐴 𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑)
31, 2syl 17 . . 3 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → [(𝑥𝐴 𝜑) / 𝑥]𝜑)
4 simp1 1132 . . . . 5 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → 𝐴𝐵)
5 riotacl 7131 . . . . . 6 (∃!𝑥𝐴 𝜑 → (𝑥𝐴 𝜑) ∈ 𝐴)
61, 5syl 17 . . . . 5 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) ∈ 𝐴)
74, 6sseldd 3968 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) ∈ 𝐵)
8 simp3 1134 . . . 4 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ∃!𝑥𝐵 𝜑)
9 nfriota1 7121 . . . . 5 𝑥(𝑥𝐴 𝜑)
109nfsbc1 3791 . . . . 5 𝑥[(𝑥𝐴 𝜑) / 𝑥]𝜑
11 sbceq1a 3783 . . . . 5 (𝑥 = (𝑥𝐴 𝜑) → (𝜑[(𝑥𝐴 𝜑) / 𝑥]𝜑))
129, 10, 11riota2f 7138 . . . 4 (((𝑥𝐴 𝜑) ∈ 𝐵 ∧ ∃!𝑥𝐵 𝜑) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑 ↔ (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑)))
137, 8, 12syl2anc 586 . . 3 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → ([(𝑥𝐴 𝜑) / 𝑥]𝜑 ↔ (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑)))
143, 13mpbid 234 . 2 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐵 𝜑) = (𝑥𝐴 𝜑))
1514eqcomd 2827 1 ((𝐴𝐵 ∧ ∃𝑥𝐴 𝜑 ∧ ∃!𝑥𝐵 𝜑) → (𝑥𝐴 𝜑) = (𝑥𝐵 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  w3a 1083   = wceq 1537  wcel 2114  wrex 3139  ∃!wreu 3140  [wsbc 3772  wss 3936  crio 7113
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-un 3941  df-in 3943  df-ss 3952  df-sn 4568  df-pr 4570  df-uni 4839  df-iota 6314  df-riota 7114
This theorem is referenced by:  moriotass  7146
  Copyright terms: Public domain W3C validator