ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  2reuswapdc GIF version

Theorem 2reuswapdc 2930
Description: A condition allowing swap of uniqueness and existential quantifiers. (Contributed by Thierry Arnoux, 7-Apr-2017.) (Revised by NM, 16-Jun-2017.)
Assertion
Ref Expression
2reuswapdc (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 → (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝐵𝑥𝐴 𝜑)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐵(𝑦)

Proof of Theorem 2reuswapdc
StepHypRef Expression
1 df-rmo 2452 . . 3 (∃*𝑦𝐵 𝜑 ↔ ∃*𝑦(𝑦𝐵𝜑))
21ralbii 2472 . 2 (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 ↔ ∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑))
3 df-ral 2449 . . . 4 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) ↔ ∀𝑥(𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
4 moanimv 2089 . . . . 5 (∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
54albii 1458 . . . 4 (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ ∀𝑥(𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
63, 5bitr4i 186 . . 3 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) ↔ ∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
7 df-reu 2451 . . . . . 6 (∃!𝑥𝐴𝑦𝐵 𝜑 ↔ ∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
8 r19.42v 2623 . . . . . . . . 9 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
9 df-rex 2450 . . . . . . . . 9 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)))
108, 9bitr3i 185 . . . . . . . 8 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)))
11 an12 551 . . . . . . . . 9 ((𝑦𝐵 ∧ (𝑥𝐴𝜑)) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1211exbii 1593 . . . . . . . 8 (∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1310, 12bitri 183 . . . . . . 7 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1413eubii 2023 . . . . . 6 (∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃!𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
157, 14bitri 183 . . . . 5 (∃!𝑥𝐴𝑦𝐵 𝜑 ↔ ∃!𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
16 2euswapdc 2105 . . . . 5 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃!𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))))
1715, 16syl7bi 164 . . . 4 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))))
18 df-reu 2451 . . . . . 6 (∃!𝑦𝐵𝑥𝐴 𝜑 ↔ ∃!𝑦(𝑦𝐵 ∧ ∃𝑥𝐴 𝜑))
19 r19.42v 2623 . . . . . . . 8 (∃𝑥𝐴 (𝑦𝐵𝜑) ↔ (𝑦𝐵 ∧ ∃𝑥𝐴 𝜑))
20 df-rex 2450 . . . . . . . 8 (∃𝑥𝐴 (𝑦𝐵𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2119, 20bitr3i 185 . . . . . . 7 ((𝑦𝐵 ∧ ∃𝑥𝐴 𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2221eubii 2023 . . . . . 6 (∃!𝑦(𝑦𝐵 ∧ ∃𝑥𝐴 𝜑) ↔ ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2318, 22bitri 183 . . . . 5 (∃!𝑦𝐵𝑥𝐴 𝜑 ↔ ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2423imbi2i 225 . . . 4 ((∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑))))
2517, 24syl6ibr 161 . . 3 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝐵𝑥𝐴 𝜑)))
266, 25syl5bi 151 . 2 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) → (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝐵𝑥𝐴 𝜑)))
272, 26syl5bi 151 1 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 → (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝐵𝑥𝐴 𝜑)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  DECID wdc 824  wal 1341  wex 1480  ∃!weu 2014  ∃*wmo 2015  wcel 2136  wral 2444  wrex 2445  ∃!wreu 2446  ∃*wrmo 2447
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523
This theorem depends on definitions:  df-bi 116  df-dc 825  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator