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

Theorem 2mos 2652
Description: Double "there exists at most one", using implicit substitution. (Contributed by NM, 10-Feb-2005.) (Proof shortened by Wolf Lammen, 21-May-2025.)
Hypothesis
Ref Expression
2mos.1 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜑𝜓))
Assertion
Ref Expression
2mos (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦𝑧𝑤((𝜑𝜓) → (𝑥 = 𝑧𝑦 = 𝑤)))
Distinct variable groups:   𝑧,𝑤,𝜑   𝑥,𝑦,𝜓   𝑥,𝑧,𝑤,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑧,𝑤)

Proof of Theorem 2mos
StepHypRef Expression
1 2mo 2651 . 2 (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦𝑧𝑤((𝜑 ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) → (𝑥 = 𝑧𝑦 = 𝑤)))
2 2mos.1 . . . . . . 7 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜑𝜓))
322sbievw 2096 . . . . . 6 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑𝜓)
43anbi2i 622 . . . . 5 ((𝜑 ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (𝜑𝜓))
54imbi1i 349 . . . 4 (((𝜑 ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ((𝜑𝜓) → (𝑥 = 𝑧𝑦 = 𝑤)))
652albii 1818 . . 3 (∀𝑧𝑤((𝜑 ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑧𝑤((𝜑𝜓) → (𝑥 = 𝑧𝑦 = 𝑤)))
762albii 1818 . 2 (∀𝑥𝑦𝑧𝑤((𝜑 ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦𝑧𝑤((𝜑𝜓) → (𝑥 = 𝑧𝑦 = 𝑤)))
81, 7bitri 275 1 (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦𝑧𝑤((𝜑𝜓) → (𝑥 = 𝑧𝑦 = 𝑤)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wal 1535  wex 1777  [wsb 2064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-10 2141  ax-11 2158  ax-12 2178
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-tru 1540  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator