HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem moexex 1058
Description: "At most one" double quantification.
Hypothesis
Ref Expression
moexex.1 (φ → ∀yφ)
Assertion
Ref Expression
moexex ((∃*xφ ∧ ∀x∃*yψ) → ∃*yx(φψ))

Proof of Theorem moexex
StepHypRef Expression
1 hbmo1 1032 . . . . 5 (∃*xφ → ∀x∃*xφ)
2 hba1 698 . . . . . 6 (∀x∃*yψ → ∀xx∃*yψ)
3 hbe1 709 . . . . . . 7 (∃x(φψ) → ∀xx(φψ))
43hbmo 1033 . . . . . 6 (∃*yx(φψ) → ∀x∃*yx(φψ))
52, 4hbim 702 . . . . 5 ((∀x∃*yψ → ∃*yx(φψ)) → ∀x(∀x∃*yψ → ∃*yx(φψ)))
61, 5hbim 702 . . . 4 ((∃*xφ → (∀x∃*yψ → ∃*yx(φψ))) → ∀x(∃*xφ → (∀x∃*yψ → ∃*yx(φψ))))
7 moexex.1 . . . . . 6 (φ → ∀yφ)
87hbmo 1033 . . . . . 6 (∃*xφ → ∀y∃*xφ)
9 mopick 1054 . . . . . . . 8 ((∃*xφ ∧ ∃x(φψ)) → (φψ))
109exp 291 . . . . . . 7 (∃*xφ → (∃x(φψ) → (φψ)))
1110com3r 35 . . . . . 6 (φ → (∃*xφ → (∃x(φψ) → ψ)))
127, 8, 1119.21ad 741 . . . . 5 (φ → (∃*xφ → ∀y(∃x(φψ) → ψ)))
13 immo 1043 . . . . . 6 (∀y(∃x(φψ) → ψ) → (∃*yψ → ∃*yx(φψ)))
1413a4sd 683 . . . . 5 (∀y(∃x(φψ) → ψ) → (∀x∃*yψ → ∃*yx(φψ)))
1512, 14syl6 23 . . . 4 (φ → (∃*xφ → (∀x∃*yψ → ∃*yx(φψ))))
166, 1519.23ai 746 . . 3 (∃xφ → (∃*xφ → (∀x∃*yψ → ∃*yx(φψ))))
177hbex 701 . . . . . . . 8 (∃xφ → ∀yxφ)
18 pm3.26 256 . . . . . . . . 9 ((φψ) → φ)
191819.22i 723 . . . . . . . 8 (∃x(φψ) → ∃xφ)
2017, 1919.23ai 746 . . . . . . 7 (∃yx(φψ) → ∃xφ)
2120con3i 90 . . . . . 6 (¬ ∃xφ → ¬ ∃yx(φψ))
22 exmo 1042 . . . . . . 7 (∃yx(φψ) ∨ ∃*yx(φψ))
2322ori 200 . . . . . 6 (¬ ∃yx(φψ) → ∃*yx(φψ))
2421, 23syl 12 . . . . 5 (¬ ∃xφ → ∃*yx(φψ))
2524a1d 14 . . . 4 (¬ ∃xφ → (∀x∃*yψ → ∃*yx(φψ)))
2625a1d 14 . . 3 (¬ ∃xφ → (∃*xφ → (∀x∃*yψ → ∃*yx(φψ))))
2716, 26pm2.61i 110 . 2 (∃*xφ → (∀x∃*yψ → ∃*yx(φψ)))
2827imp 277 1 ((∃*xφ ∧ ∀x∃*yψ) → ∃*yx(φψ))
Colors of variables: wff set class
Syntax hints:  ¬ wn 1   → wi 2   ∧ wa 196  ∀wal 672  ∃wex 678  ∃*wmo 1008
This theorem is referenced by:  moexexv 1059  2moswap 1064
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-16 922  ax-17 925
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010
metamath.org