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

Theorem rmo4 3665
Description: Restricted "at most one" using implicit substitution. (Contributed by NM, 24-Oct-2006.) (Revised by NM, 16-Jun-2017.)
Hypothesis
Ref Expression
rmo4.1 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
rmo4 (∃*𝑥𝐴 𝜑 ↔ ∀𝑥𝐴𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦))
Distinct variable groups:   𝑥,𝑦,𝐴   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem rmo4
StepHypRef Expression
1 df-rmo 3071 . 2 (∃*𝑥𝐴 𝜑 ↔ ∃*𝑥(𝑥𝐴𝜑))
2 an4 653 . . . . . . . . 9 (((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) ↔ ((𝑥𝐴𝑦𝐴) ∧ (𝜑𝜓)))
3 ancom 461 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) ↔ (𝑦𝐴𝑥𝐴))
43anbi1i 624 . . . . . . . . 9 (((𝑥𝐴𝑦𝐴) ∧ (𝜑𝜓)) ↔ ((𝑦𝐴𝑥𝐴) ∧ (𝜑𝜓)))
52, 4bitri 274 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) ↔ ((𝑦𝐴𝑥𝐴) ∧ (𝜑𝜓)))
65imbi1i 350 . . . . . . 7 ((((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) → 𝑥 = 𝑦) ↔ (((𝑦𝐴𝑥𝐴) ∧ (𝜑𝜓)) → 𝑥 = 𝑦))
7 impexp 451 . . . . . . 7 ((((𝑦𝐴𝑥𝐴) ∧ (𝜑𝜓)) → 𝑥 = 𝑦) ↔ ((𝑦𝐴𝑥𝐴) → ((𝜑𝜓) → 𝑥 = 𝑦)))
8 impexp 451 . . . . . . 7 (((𝑦𝐴𝑥𝐴) → ((𝜑𝜓) → 𝑥 = 𝑦)) ↔ (𝑦𝐴 → (𝑥𝐴 → ((𝜑𝜓) → 𝑥 = 𝑦))))
96, 7, 83bitri 297 . . . . . 6 ((((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) → 𝑥 = 𝑦) ↔ (𝑦𝐴 → (𝑥𝐴 → ((𝜑𝜓) → 𝑥 = 𝑦))))
109albii 1822 . . . . 5 (∀𝑦(((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) → 𝑥 = 𝑦) ↔ ∀𝑦(𝑦𝐴 → (𝑥𝐴 → ((𝜑𝜓) → 𝑥 = 𝑦))))
11 df-ral 3069 . . . . 5 (∀𝑦𝐴 (𝑥𝐴 → ((𝜑𝜓) → 𝑥 = 𝑦)) ↔ ∀𝑦(𝑦𝐴 → (𝑥𝐴 → ((𝜑𝜓) → 𝑥 = 𝑦))))
12 r19.21v 3113 . . . . 5 (∀𝑦𝐴 (𝑥𝐴 → ((𝜑𝜓) → 𝑥 = 𝑦)) ↔ (𝑥𝐴 → ∀𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦)))
1310, 11, 123bitr2i 299 . . . 4 (∀𝑦(((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) → 𝑥 = 𝑦) ↔ (𝑥𝐴 → ∀𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦)))
1413albii 1822 . . 3 (∀𝑥𝑦(((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) → 𝑥 = 𝑦) ↔ ∀𝑥(𝑥𝐴 → ∀𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦)))
15 eleq1w 2821 . . . . 5 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
16 rmo4.1 . . . . 5 (𝑥 = 𝑦 → (𝜑𝜓))
1715, 16anbi12d 631 . . . 4 (𝑥 = 𝑦 → ((𝑥𝐴𝜑) ↔ (𝑦𝐴𝜓)))
1817mo4 2566 . . 3 (∃*𝑥(𝑥𝐴𝜑) ↔ ∀𝑥𝑦(((𝑥𝐴𝜑) ∧ (𝑦𝐴𝜓)) → 𝑥 = 𝑦))
19 df-ral 3069 . . 3 (∀𝑥𝐴𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦) ↔ ∀𝑥(𝑥𝐴 → ∀𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦)))
2014, 18, 193bitr4i 303 . 2 (∃*𝑥(𝑥𝐴𝜑) ↔ ∀𝑥𝐴𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦))
211, 20bitri 274 1 (∃*𝑥𝐴 𝜑 ↔ ∀𝑥𝐴𝑦𝐴 ((𝜑𝜓) → 𝑥 = 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537  wcel 2106  ∃*wmo 2538  wral 3064  ∃*wrmo 3067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1783  df-mo 2540  df-clel 2816  df-ral 3069  df-rmo 3071
This theorem is referenced by:  reu4  3666  disjor  5054  somo  5540  nnasmo  8493  supmo  9211  infmo  9254  sqrmo  14963  catideu  17384  poslubmo  18129  posglbmo  18130  mgmidmo  18344  mndinvmod  18415  lspextmo  20318  evlseu  21293  ply1divmo  25300  2sqmo  26585  tghilberti2  26999  foot  27083  mideu  27099  cvmliftmo  33246  hilbert1.2  34457  poimirlem1  35778  poimirlem13  35790  poimirlem14  35791  poimirlem18  35795  poimirlem21  35798  inecmo  36487  idomsubgmo  41023
  Copyright terms: Public domain W3C validator