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

Theorem rmob 3789
Description: Consequence of "at most one", using implicit substitution. (Contributed by NM, 2-Jan-2015.) (Revised by NM, 16-Jun-2017.)
Hypotheses
Ref Expression
rmoi.b (𝑥 = 𝐵 → (𝜑𝜓))
rmoi.c (𝑥 = 𝐶 → (𝜑𝜒))
Assertion
Ref Expression
rmob ((∃*𝑥𝐴 𝜑 ∧ (𝐵𝐴𝜓)) → (𝐵 = 𝐶 ↔ (𝐶𝐴𝜒)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝜓,𝑥   𝜒,𝑥
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem rmob
StepHypRef Expression
1 df-rmo 3059 . 2 (∃*𝑥𝐴 𝜑 ↔ ∃*𝑥(𝑥𝐴𝜑))
2 simprl 771 . . . 4 ((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) → 𝐵𝐴)
3 eleq1 2818 . . . 4 (𝐵 = 𝐶 → (𝐵𝐴𝐶𝐴))
42, 3syl5ibcom 248 . . 3 ((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) → (𝐵 = 𝐶𝐶𝐴))
5 simpl 486 . . . 4 ((𝐶𝐴𝜒) → 𝐶𝐴)
65a1i 11 . . 3 ((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) → ((𝐶𝐴𝜒) → 𝐶𝐴))
72anim1i 618 . . . . 5 (((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) ∧ 𝐶𝐴) → (𝐵𝐴𝐶𝐴))
8 simpll 767 . . . . 5 (((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) ∧ 𝐶𝐴) → ∃*𝑥(𝑥𝐴𝜑))
9 simplr 769 . . . . 5 (((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) ∧ 𝐶𝐴) → (𝐵𝐴𝜓))
10 eleq1 2818 . . . . . . 7 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
11 rmoi.b . . . . . . 7 (𝑥 = 𝐵 → (𝜑𝜓))
1210, 11anbi12d 634 . . . . . 6 (𝑥 = 𝐵 → ((𝑥𝐴𝜑) ↔ (𝐵𝐴𝜓)))
13 eleq1 2818 . . . . . . 7 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
14 rmoi.c . . . . . . 7 (𝑥 = 𝐶 → (𝜑𝜒))
1513, 14anbi12d 634 . . . . . 6 (𝑥 = 𝐶 → ((𝑥𝐴𝜑) ↔ (𝐶𝐴𝜒)))
1612, 15mob 3619 . . . . 5 (((𝐵𝐴𝐶𝐴) ∧ ∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) → (𝐵 = 𝐶 ↔ (𝐶𝐴𝜒)))
177, 8, 9, 16syl3anc 1373 . . . 4 (((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) ∧ 𝐶𝐴) → (𝐵 = 𝐶 ↔ (𝐶𝐴𝜒)))
1817ex 416 . . 3 ((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) → (𝐶𝐴 → (𝐵 = 𝐶 ↔ (𝐶𝐴𝜒))))
194, 6, 18pm5.21ndd 384 . 2 ((∃*𝑥(𝑥𝐴𝜑) ∧ (𝐵𝐴𝜓)) → (𝐵 = 𝐶 ↔ (𝐶𝐴𝜒)))
201, 19sylanb 584 1 ((∃*𝑥𝐴 𝜑 ∧ (𝐵𝐴𝜓)) → (𝐵 = 𝐶 ↔ (𝐶𝐴𝜒)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2112  ∃*wmo 2537  ∃*wrmo 3054
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-clab 2715  df-cleq 2728  df-clel 2809  df-rmo 3059  df-v 3400
This theorem is referenced by:  rmoi  3790
  Copyright terms: Public domain W3C validator