MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  exdistrf Structured version   Visualization version   GIF version

Theorem exdistrf 2468
Description: Distribution of existential quantifiers, with a bound-variable hypothesis saying that 𝑦 is not free in 𝜑, but 𝑥 can be free in 𝜑 (and there is no distinct variable condition on 𝑥 and 𝑦). (Contributed by Mario Carneiro, 20-Mar-2013.) (Proof shortened by Wolf Lammen, 14-May-2018.)
Hypothesis
Ref Expression
exdistrf.1 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦𝜑)
Assertion
Ref Expression
exdistrf (∃𝑥𝑦(𝜑𝜓) → ∃𝑥(𝜑 ∧ ∃𝑦𝜓))

Proof of Theorem exdistrf
StepHypRef Expression
1 nfe1 2201 . 2 𝑥𝑥(𝜑 ∧ ∃𝑦𝜓)
2 19.8a 2223 . . . . . 6 (𝜓 → ∃𝑦𝜓)
32anim2i 610 . . . . 5 ((𝜑𝜓) → (𝜑 ∧ ∃𝑦𝜓))
43eximi 1933 . . . 4 (∃𝑦(𝜑𝜓) → ∃𝑦(𝜑 ∧ ∃𝑦𝜓))
5 biidd 254 . . . . 5 (∀𝑥 𝑥 = 𝑦 → ((𝜑 ∧ ∃𝑦𝜓) ↔ (𝜑 ∧ ∃𝑦𝜓)))
65drex1 2462 . . . 4 (∀𝑥 𝑥 = 𝑦 → (∃𝑥(𝜑 ∧ ∃𝑦𝜓) ↔ ∃𝑦(𝜑 ∧ ∃𝑦𝜓)))
74, 6syl5ibr 238 . . 3 (∀𝑥 𝑥 = 𝑦 → (∃𝑦(𝜑𝜓) → ∃𝑥(𝜑 ∧ ∃𝑦𝜓)))
8 19.40 1971 . . . 4 (∃𝑦(𝜑𝜓) → (∃𝑦𝜑 ∧ ∃𝑦𝜓))
9 exdistrf.1 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦𝜑)
10919.9d 2244 . . . . 5 (¬ ∀𝑥 𝑥 = 𝑦 → (∃𝑦𝜑𝜑))
1110anim1d 604 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → ((∃𝑦𝜑 ∧ ∃𝑦𝜓) → (𝜑 ∧ ∃𝑦𝜓)))
12 19.8a 2223 . . . 4 ((𝜑 ∧ ∃𝑦𝜓) → ∃𝑥(𝜑 ∧ ∃𝑦𝜓))
138, 11, 12syl56 36 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → (∃𝑦(𝜑𝜓) → ∃𝑥(𝜑 ∧ ∃𝑦𝜓)))
147, 13pm2.61i 177 . 2 (∃𝑦(𝜑𝜓) → ∃𝑥(𝜑 ∧ ∃𝑦𝜓))
151, 14exlimi 2260 1 (∃𝑥𝑦(𝜑𝜓) → ∃𝑥(𝜑 ∧ ∃𝑦𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 386  wal 1654  wex 1878  wnf 1882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1894  ax-4 1908  ax-5 2009  ax-6 2075  ax-7 2112  ax-10 2192  ax-12 2220  ax-13 2389
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 879  df-ex 1879  df-nf 1883
This theorem is referenced by:  oprabid  6941
  Copyright terms: Public domain W3C validator