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

Theorem 2reuswapdc 2934
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 2456 . . 3 (∃*𝑦𝐵 𝜑 ↔ ∃*𝑦(𝑦𝐵𝜑))
21ralbii 2476 . 2 (∀𝑥𝐴 ∃*𝑦𝐵 𝜑 ↔ ∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑))
3 df-ral 2453 . . . 4 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) ↔ ∀𝑥(𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
4 moanimv 2094 . . . . 5 (∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
54albii 1463 . . . 4 (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ ∀𝑥(𝑥𝐴 → ∃*𝑦(𝑦𝐵𝜑)))
63, 5bitr4i 186 . . 3 (∀𝑥𝐴 ∃*𝑦(𝑦𝐵𝜑) ↔ ∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
7 df-reu 2455 . . . . . 6 (∃!𝑥𝐴𝑦𝐵 𝜑 ↔ ∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
8 r19.42v 2627 . . . . . . . . 9 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
9 df-rex 2454 . . . . . . . . 9 (∃𝑦𝐵 (𝑥𝐴𝜑) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)))
108, 9bitr3i 185 . . . . . . . 8 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)))
11 an12 556 . . . . . . . . 9 ((𝑦𝐵 ∧ (𝑥𝐴𝜑)) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1211exbii 1598 . . . . . . . 8 (∃𝑦(𝑦𝐵 ∧ (𝑥𝐴𝜑)) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1310, 12bitri 183 . . . . . . 7 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
1413eubii 2028 . . . . . 6 (∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ ∃!𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
157, 14bitri 183 . . . . 5 (∃!𝑥𝐴𝑦𝐵 𝜑 ↔ ∃!𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
16 2euswapdc 2110 . . . . 5 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃!𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))))
1715, 16syl7bi 164 . . . 4 (DECID𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∀𝑥∃*𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃!𝑦𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))))
18 df-reu 2455 . . . . . 6 (∃!𝑦𝐵𝑥𝐴 𝜑 ↔ ∃!𝑦(𝑦𝐵 ∧ ∃𝑥𝐴 𝜑))
19 r19.42v 2627 . . . . . . . 8 (∃𝑥𝐴 (𝑦𝐵𝜑) ↔ (𝑦𝐵 ∧ ∃𝑥𝐴 𝜑))
20 df-rex 2454 . . . . . . . 8 (∃𝑥𝐴 (𝑦𝐵𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2119, 20bitr3i 185 . . . . . . 7 ((𝑦𝐵 ∧ ∃𝑥𝐴 𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
2221eubii 2028 . . . . . 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 829  wal 1346  wex 1485  ∃!weu 2019  ∃*wmo 2020  wcel 2141  wral 2448  wrex 2449  ∃!wreu 2450  ∃*wrmo 2451
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528
This theorem depends on definitions:  df-bi 116  df-dc 830  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator