Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  2rmoswap Structured version   Visualization version   GIF version

Theorem 2rmoswap 41659
Description: A condition allowing swap of restricted "at most one" and restricted existential quantifiers, analogous to 2moswap 2673. (Contributed by Alexander van der Vekens, 25-Jun-2017.)
Assertion
Ref Expression
2rmoswap (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑦𝐵𝑥𝐴 𝜑))
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem 2rmoswap
StepHypRef Expression
1 df-rmo 3046 . . 3 (∃*𝑦𝐵 𝜑 ↔ ∃*𝑦(𝑦𝐵𝜑))
21ralbii 3106 . 2 (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 ↔ ∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑))
3 df-ral 3043 . . . 4 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) ↔ ∀𝑥(𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
4 moanimv 2657 . . . . 5 (∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
54albii 1884 . . . 4 (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ ∀𝑥(𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
63, 5bitr4i 267 . . 3 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) ↔ ∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
7 2moswap 2673 . . . 4 (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃*𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃*𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑))))
8 df-rmo 3046 . . . . 5 (∃*𝑥𝐴𝑦𝐵 𝜑 ↔ ∃*𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
9 r19.42v 3218 . . . . . . 7 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
10 df-rex 3044 . . . . . . . 8 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)))
11 an12 873 . . . . . . . . 9 ((𝑦𝐵 ∧ (𝑥𝐴𝜑)) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1211exbii 1911 . . . . . . . 8 (∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1310, 12bitri 264 . . . . . . 7 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
149, 13bitr3i 266 . . . . . 6 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1514mobii 2618 . . . . 5 (∃*𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃*𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
168, 15bitri 264 . . . 4 (∃*𝑥𝐴𝑦𝐵 𝜑 ↔ ∃*𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
17 df-rmo 3046 . . . . 5 (∃*𝑦𝐵𝑥𝐴 𝜑 ↔ ∃*𝑦(𝑦𝐵 ∧ ∃𝑥𝐴 𝜑))
18 r19.42v 3218 . . . . . . 7 (∃𝑥𝐴 (𝑦𝐵𝜑) ↔ (𝑦𝐵 ∧ ∃𝑥𝐴 𝜑))
19 df-rex 3044 . . . . . . 7 (∃𝑥𝐴 (𝑦𝐵𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2018, 19bitr3i 266 . . . . . 6 ((𝑦𝐵 ∧ ∃𝑥𝐴 𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2120mobii 2618 . . . . 5 (∃*𝑦(𝑦𝐵 ∧ ∃𝑥𝐴 𝜑) ↔ ∃*𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2217, 21bitri 264 . . . 4 (∃*𝑦𝐵𝑥𝐴 𝜑 ↔ ∃*𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
237, 16, 223imtr4g 285 . . 3 (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑦𝐵𝑥𝐴 𝜑))
246, 23sylbi 207 . 2 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑦𝐵𝑥𝐴 𝜑))
252, 24sylbi 207 1 (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑦𝐵𝑥𝐴 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  wal 1618  wex 1841  wcel 2127  ∃*wmo 2596  wral 3038  wrex 3039  ∃*wrmo 3041
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1623  df-ex 1842  df-nf 1847  df-eu 2599  df-mo 2600  df-ral 3043  df-rex 3044  df-rmo 3046
This theorem is referenced by:  2reu1  41661
  Copyright terms: Public domain W3C validator