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

Theorem 2moswapv 2714
Description: A condition allowing to swap an existential quantifier and at at-most-one quantifier. Version of 2moswap 2729 with a disjoint variable condition, which does not require ax-13 2390. (Contributed by NM, 10-Apr-2004.) (Revised by Gino Giotto, 22-Aug-2023.) Factor out common proof lines with moexexvw 2713. (Revised by Wolf Lammen, 2-Oct-2023.)
Assertion
Ref Expression
2moswapv (∀𝑥∃*𝑦𝜑 → (∃*𝑥𝑦𝜑 → ∃*𝑦𝑥𝜑))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem 2moswapv
StepHypRef Expression
1 nfe1 2154 . . . 4 𝑦𝑦𝜑
21nfmov 2644 . . . 4 𝑦∃*𝑥𝑦𝜑
3 nfe1 2154 . . . . 5 𝑥𝑥(∃𝑦𝜑𝜑)
43nfmov 2644 . . . 4 𝑥∃*𝑦𝑥(∃𝑦𝜑𝜑)
51, 2, 4moexexlem 2711 . . 3 ((∃*𝑥𝑦𝜑 ∧ ∀𝑥∃*𝑦𝜑) → ∃*𝑦𝑥(∃𝑦𝜑𝜑))
65expcom 416 . 2 (∀𝑥∃*𝑦𝜑 → (∃*𝑥𝑦𝜑 → ∃*𝑦𝑥(∃𝑦𝜑𝜑)))
7 19.8a 2180 . . . . 5 (𝜑 → ∃𝑦𝜑)
87pm4.71ri 563 . . . 4 (𝜑 ↔ (∃𝑦𝜑𝜑))
98exbii 1848 . . 3 (∃𝑥𝜑 ↔ ∃𝑥(∃𝑦𝜑𝜑))
109mobii 2631 . 2 (∃*𝑦𝑥𝜑 ↔ ∃*𝑦𝑥(∃𝑦𝜑𝜑))
116, 10syl6ibr 254 1 (∀𝑥∃*𝑦𝜑 → (∃*𝑥𝑦𝜑 → ∃*𝑦𝑥𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1535  wex 1780  ∃*wmo 2620
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-10 2145  ax-11 2161  ax-12 2177
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622
This theorem is referenced by:  2euswapv  2715  2rmoswap  3752
  Copyright terms: Public domain W3C validator