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

Theorem moexexdc 2083
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 820 . 2 (DECID𝑥𝜑 ↔ (∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑))
2 hbmo1 2037 . . . . . 6 (∃*𝑥𝜑 → ∀𝑥∃*𝑥𝜑)
3 hba1 1520 . . . . . . 7 (∀𝑥∃*𝑦𝜓 → ∀𝑥𝑥∃*𝑦𝜓)
4 hbe1 1471 . . . . . . . 8 (∃𝑥(𝜑𝜓) → ∀𝑥𝑥(𝜑𝜓))
54hbmo 2038 . . . . . . 7 (∃*𝑦𝑥(𝜑𝜓) → ∀𝑥∃*𝑦𝑥(𝜑𝜓))
63, 5hbim 1524 . . . . . 6 ((∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)) → ∀𝑥(∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
72, 6hbim 1524 . . . . 5 ((∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))) → ∀𝑥(∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
8 moexexdc.1 . . . . . . . 8 𝑦𝜑
98nfri 1499 . . . . . . 7 (𝜑 → ∀𝑦𝜑)
109hbmo 2038 . . . . . . 7 (∃*𝑥𝜑 → ∀𝑦∃*𝑥𝜑)
11 mopick 2077 . . . . . . . . 9 ((∃*𝑥𝜑 ∧ ∃𝑥(𝜑𝜓)) → (𝜑𝜓))
1211ex 114 . . . . . . . 8 (∃*𝑥𝜑 → (∃𝑥(𝜑𝜓) → (𝜑𝜓)))
1312com3r 79 . . . . . . 7 (𝜑 → (∃*𝑥𝜑 → (∃𝑥(𝜑𝜓) → 𝜓)))
149, 10, 13alrimdh 1455 . . . . . 6 (𝜑 → (∃*𝑥𝜑 → ∀𝑦(∃𝑥(𝜑𝜓) → 𝜓)))
15 moim 2063 . . . . . . 7 (∀𝑦(∃𝑥(𝜑𝜓) → 𝜓) → (∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
1615spsd 1518 . . . . . 6 (∀𝑦(∃𝑥(𝜑𝜓) → 𝜓) → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
1714, 16syl6 33 . . . . 5 (𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
187, 17exlimih 1572 . . . 4 (∃𝑥𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
199hbex 1615 . . . . . . . . 9 (∃𝑥𝜑 → ∀𝑦𝑥𝜑)
20 exsimpl 1596 . . . . . . . . 9 (∃𝑥(𝜑𝜓) → ∃𝑥𝜑)
2119, 20exlimih 1572 . . . . . . . 8 (∃𝑦𝑥(𝜑𝜓) → ∃𝑥𝜑)
2221con3i 621 . . . . . . 7 (¬ ∃𝑥𝜑 → ¬ ∃𝑦𝑥(𝜑𝜓))
23 mon 2028 . . . . . . 7 (¬ ∃𝑦𝑥(𝜑𝜓) → ∃*𝑦𝑥(𝜑𝜓))
2422, 23syl 14 . . . . . 6 (¬ ∃𝑥𝜑 → ∃*𝑦𝑥(𝜑𝜓))
2524a1d 22 . . . . 5 (¬ ∃𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
2625a1d 22 . . . 4 (¬ ∃𝑥𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
2718, 26jaoi 705 . . 3 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
2827impd 252 . 2 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))
291, 28sylbi 120 1 (DECID𝑥𝜑 → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 697  DECID wdc 819  wal 1329  wnf 1436  wex 1468  ∃*wmo 2000
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515
This theorem depends on definitions:  df-bi 116  df-dc 820  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003
This theorem is referenced by:  2moswapdc  2089
  Copyright terms: Public domain W3C validator