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

Theorem moexexdc 1984
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 743 . 2 (DECID𝑥𝜑 ↔ (∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑))
2 hbmo1 1938 . . . . . 6 (∃*𝑥𝜑 → ∀𝑥∃*𝑥𝜑)
3 hba1 1433 . . . . . . 7 (∀𝑥∃*𝑦𝜓 → ∀𝑥𝑥∃*𝑦𝜓)
4 hbe1 1384 . . . . . . . 8 (∃𝑥(𝜑𝜓) → ∀𝑥𝑥(𝜑𝜓))
54hbmo 1939 . . . . . . 7 (∃*𝑦𝑥(𝜑𝜓) → ∀𝑥∃*𝑦𝑥(𝜑𝜓))
63, 5hbim 1437 . . . . . 6 ((∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)) → ∀𝑥(∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
72, 6hbim 1437 . . . . 5 ((∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))) → ∀𝑥(∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
8 moexexdc.1 . . . . . . . 8 𝑦𝜑
98nfri 1412 . . . . . . 7 (𝜑 → ∀𝑦𝜑)
109hbmo 1939 . . . . . . 7 (∃*𝑥𝜑 → ∀𝑦∃*𝑥𝜑)
11 mopick 1978 . . . . . . . . 9 ((∃*𝑥𝜑 ∧ ∃𝑥(𝜑𝜓)) → (𝜑𝜓))
1211ex 108 . . . . . . . 8 (∃*𝑥𝜑 → (∃𝑥(𝜑𝜓) → (𝜑𝜓)))
1312com3r 73 . . . . . . 7 (𝜑 → (∃*𝑥𝜑 → (∃𝑥(𝜑𝜓) → 𝜓)))
149, 10, 13alrimdh 1368 . . . . . 6 (𝜑 → (∃*𝑥𝜑 → ∀𝑦(∃𝑥(𝜑𝜓) → 𝜓)))
15 moim 1964 . . . . . . 7 (∀𝑦(∃𝑥(𝜑𝜓) → 𝜓) → (∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
1615spsd 1431 . . . . . 6 (∀𝑦(∃𝑥(𝜑𝜓) → 𝜓) → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
1714, 16syl6 29 . . . . 5 (𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
187, 17exlimih 1484 . . . 4 (∃𝑥𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
199hbex 1527 . . . . . . . . 9 (∃𝑥𝜑 → ∀𝑦𝑥𝜑)
20 exsimpl 1508 . . . . . . . . 9 (∃𝑥(𝜑𝜓) → ∃𝑥𝜑)
2119, 20exlimih 1484 . . . . . . . 8 (∃𝑦𝑥(𝜑𝜓) → ∃𝑥𝜑)
2221con3i 562 . . . . . . 7 (¬ ∃𝑥𝜑 → ¬ ∃𝑦𝑥(𝜑𝜓))
23 mon 1929 . . . . . . 7 (¬ ∃𝑦𝑥(𝜑𝜓) → ∃*𝑦𝑥(𝜑𝜓))
2422, 23syl 14 . . . . . 6 (¬ ∃𝑥𝜑 → ∃*𝑦𝑥(𝜑𝜓))
2524a1d 22 . . . . 5 (¬ ∃𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓)))
2625a1d 22 . . . 4 (¬ ∃𝑥𝜑 → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
2718, 26jaoi 636 . . 3 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → (∃*𝑥𝜑 → (∀𝑥∃*𝑦𝜓 → ∃*𝑦𝑥(𝜑𝜓))))
2827impd 242 . 2 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))
291, 28sylbi 114 1 (DECID𝑥𝜑 → ((∃*𝑥𝜑 ∧ ∀𝑥∃*𝑦𝜓) → ∃*𝑦𝑥(𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 97  wo 629  DECID wdc 742  wal 1241  wnf 1349  wex 1381  ∃*wmo 1901
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428
This theorem depends on definitions:  df-bi 110  df-dc 743  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904
This theorem is referenced by:  2moswapdc  1990
  Copyright terms: Public domain W3C validator