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

Theorem moexexdc 2061
Description: "At most one" double quantification. (Contributed by Jim Kingdon, 5-Jul-2018.)
Hypothesis
Ref Expression
moexexdc.1 𝑦𝜑
Assertion
Ref Expression
moexexdc (DECID𝑥𝜑 → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))

Proof of Theorem moexexdc
StepHypRef Expression
1 df-dc 805 . 2 (DECID𝑥𝜑 ↔ (∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑))
2 hbmo1 2015 . . . . . 6 (∃*𝑥𝜑 → ∀𝑥∃*𝑥𝜑)
3 hba1 1505 . . . . . . 7 (∀𝑥∃*𝑦𝜓 → ∀𝑥𝑥∃*𝑦𝜓)
4 hbe1 1456 . . . . . . . 8 (∃𝑥(𝜑𝜓) → ∀𝑥𝑥(𝜑𝜓))
54hbmo 2016 . . . . . . 7 (∃*𝑦𝑥(𝜑𝜓) → ∀𝑥∃*𝑦𝑥(𝜑𝜓))
63, 5hbim 1509 . . . . . 6 ((∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)) → ∀𝑥(∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
72, 6hbim 1509 . . . . 5 ((∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))) → ∀𝑥(∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
8 moexexdc.1 . . . . . . . 8 𝑦𝜑
98nfri 1484 . . . . . . 7 (𝜑 → ∀𝑦𝜑)
109hbmo 2016 . . . . . . 7 (∃*𝑥𝜑 → ∀𝑦∃*𝑥𝜑)
11 mopick 2055 . . . . . . . . 9 ((∃*𝑥𝜑 ∧ ∃𝑥(𝜑𝜓)) → (𝜑𝜓))
1211ex 114 . . . . . . . 8 (∃*𝑥𝜑 → (∃𝑥(𝜑𝜓) → (𝜑𝜓)))
1312com3r 79 . . . . . . 7 (𝜑 → (∃*𝑥𝜑 → (∃𝑥(𝜑𝜓) → 𝜓)))
149, 10, 13alrimdh 1440 . . . . . 6 (𝜑 → (∃*𝑥𝜑 → ∀𝑦(∃𝑥(𝜑𝜓) → 𝜓)))
15 moim 2041 . . . . . . 7 (∀𝑦(∃𝑥(𝜑𝜓) → 𝜓) → (∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
1615spsd 1503 . . . . . 6 (∀𝑦(∃𝑥(𝜑𝜓) → 𝜓) → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
1714, 16syl6 33 . . . . 5 (𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
187, 17exlimih 1557 . . . 4 (∃𝑥𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
199hbex 1600 . . . . . . . . 9 (∃𝑥𝜑 → ∀𝑦𝑥𝜑)
20 exsimpl 1581 . . . . . . . . 9 (∃𝑥(𝜑𝜓) → ∃𝑥𝜑)
2119, 20exlimih 1557 . . . . . . . 8 (∃𝑦𝑥(𝜑𝜓) → ∃𝑥𝜑)
2221con3i 606 . . . . . . 7 (¬ ∃𝑥𝜑 → ¬ ∃𝑦𝑥(𝜑𝜓))
23 mon 2006 . . . . . . 7 (¬ ∃𝑦𝑥(𝜑𝜓) → ∃*𝑦𝑥(𝜑𝜓))
2422, 23syl 14 . . . . . 6 (¬ ∃𝑥𝜑 → ∃*𝑦𝑥(𝜑𝜓))
2524a1d 22 . . . . 5 (¬ ∃𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
2625a1d 22 . . . 4 (¬ ∃𝑥𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
2718, 26jaoi 690 . . 3 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
2827impd 252 . 2 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))
291, 28sylbi 120 1 (DECID𝑥𝜑 → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 682  DECID wdc 804  wal 1314  wnf 1421  wex 1453  ∃*wmo 1978
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 588  ax-in2 589  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500
This theorem depends on definitions:  df-bi 116  df-dc 805  df-tru 1319  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981
This theorem is referenced by:  2moswapdc  2067
  Copyright terms: Public domain W3C validator