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

Theorem reu7 3597
Description: Restricted uniqueness using implicit substitution. (Contributed by NM, 24-Oct-2006.)
Hypothesis
Ref Expression
rmo4.1 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
reu7 (∃!𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑥𝐴𝑦𝐴 (𝜓𝑥 = 𝑦)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem reu7
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 reu3 3592 . 2 (∃!𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑧𝐴𝑥𝐴 (𝜑𝑥 = 𝑧)))
2 rmo4.1 . . . . . . 7 (𝑥 = 𝑦 → (𝜑𝜓))
3 equequ1 2124 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑦 = 𝑧))
4 equcom 2117 . . . . . . . 8 (𝑦 = 𝑧𝑧 = 𝑦)
53, 4syl6bb 279 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑧 = 𝑦))
62, 5imbi12d 336 . . . . . 6 (𝑥 = 𝑦 → ((𝜑𝑥 = 𝑧) ↔ (𝜓𝑧 = 𝑦)))
76cbvralv 3354 . . . . 5 (∀𝑥𝐴 (𝜑𝑥 = 𝑧) ↔ ∀𝑦𝐴 (𝜓𝑧 = 𝑦))
87rexbii 3222 . . . 4 (∃𝑧𝐴𝑥𝐴 (𝜑𝑥 = 𝑧) ↔ ∃𝑧𝐴𝑦𝐴 (𝜓𝑧 = 𝑦))
9 equequ1 2124 . . . . . . 7 (𝑧 = 𝑥 → (𝑧 = 𝑦𝑥 = 𝑦))
109imbi2d 332 . . . . . 6 (𝑧 = 𝑥 → ((𝜓𝑧 = 𝑦) ↔ (𝜓𝑥 = 𝑦)))
1110ralbidv 3167 . . . . 5 (𝑧 = 𝑥 → (∀𝑦𝐴 (𝜓𝑧 = 𝑦) ↔ ∀𝑦𝐴 (𝜓𝑥 = 𝑦)))
1211cbvrexv 3355 . . . 4 (∃𝑧𝐴𝑦𝐴 (𝜓𝑧 = 𝑦) ↔ ∃𝑥𝐴𝑦𝐴 (𝜓𝑥 = 𝑦))
138, 12bitri 267 . . 3 (∃𝑧𝐴𝑥𝐴 (𝜑𝑥 = 𝑧) ↔ ∃𝑥𝐴𝑦𝐴 (𝜓𝑥 = 𝑦))
1413anbi2i 617 . 2 ((∃𝑥𝐴 𝜑 ∧ ∃𝑧𝐴𝑥𝐴 (𝜑𝑥 = 𝑧)) ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑥𝐴𝑦𝐴 (𝜓𝑥 = 𝑦)))
151, 14bitri 267 1 (∃!𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑥𝐴𝑦𝐴 (𝜓𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 385  wral 3089  wrex 3090  ∃!wreu 3091
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-9 2166  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2377  ax-ext 2777
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-mo 2591  df-eu 2609  df-cleq 2792  df-clel 2795  df-nfc 2930  df-ral 3094  df-rex 3095  df-reu 3096  df-rmo 3097
This theorem is referenced by:  cshwrepswhash1  16137
  Copyright terms: Public domain W3C validator