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

Theorem reeanlem 3238
Description: Lemma factoring out common proof steps of reeanv 3239 and reean 3317. (Contributed by Wolf Lammen, 20-Aug-2023.)
Hypothesis
Ref Expression
reeanlem.1 (∃𝑥𝑦((𝑥𝐴𝜑) ∧ (𝑦𝐵𝜓)) ↔ (∃𝑥(𝑥𝐴𝜑) ∧ ∃𝑦(𝑦𝐵𝜓)))
Assertion
Ref Expression
reeanlem (∃𝑥𝐴𝑦𝐵 (𝜑𝜓) ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐵 𝜓))
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝜓(𝑥, 𝑦)   𝐴(𝑥)   𝐵(𝑥, 𝑦)

Proof of Theorem reeanlem
StepHypRef Expression
1 an4 669 . . . 4 (((𝑥𝐴𝑦𝐵) ∧ (𝜑𝜓)) ↔ ((𝑥𝐴𝜑) ∧ (𝑦𝐵𝜓)))
212exbii 1882 . . 3 (∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ (𝜑𝜓)) ↔ ∃𝑥𝑦((𝑥𝐴𝜑) ∧ (𝑦𝐵𝜓)))
3 reeanlem.1 . . 3 (∃𝑥𝑦((𝑥𝐴𝜑) ∧ (𝑦𝐵𝜓)) ↔ (∃𝑥(𝑥𝐴𝜑) ∧ ∃𝑦(𝑦𝐵𝜓)))
42, 3bitri 278 . 2 (∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ (𝜑𝜓)) ↔ (∃𝑥(𝑥𝐴𝜑) ∧ ∃𝑦(𝑦𝐵𝜓)))
5 r2ex 3204 . 2 (∃𝑥𝐴𝑦𝐵 (𝜑𝜓) ↔ ∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ (𝜑𝜓)))
6 df-rex 3092 . . 3 (∃𝑥𝐴 𝜑 ↔ ∃𝑥(𝑥𝐴𝜑))
7 df-rex 3092 . . 3 (∃𝑦𝐵 𝜓 ↔ ∃𝑦(𝑦𝐵𝜓))
86, 7anbi12i 640 . 2 ((∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐵 𝜓) ↔ (∃𝑥(𝑥𝐴𝜑) ∧ ∃𝑦(𝑦𝐵𝜓)))
94, 5, 83bitr4i 306 1 (∃𝑥𝐴𝑦𝐵 (𝜑𝜓) ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐵 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401  wex 1812  wcel 2146  wrex 3091
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-ral 3082  df-rex 3092
This theorem is used by:  reeanv  3239  reean  3317
  Copyright terms: Public domain W3C validator