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

Theorem r19.12 3314
Description: Restricted quantifier version of 19.12 2360. (Contributed by NM, 15-Oct-2003.) (Proof shortened by Andrew Salmon, 30-May-2011.) Avoid ax-13 2404, ax-ext 2735. (Revised by Wolf Lammen, 17-Jun-2023.) (Proof shortened by Wolf Lammen, 4-Nov-2024.)
Assertion
Ref Expression
r19.12 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem r19.12
StepHypRef Expression
1 df-rex 3090 . . 3 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝜑))
2 nfv 1948 . . . . 5 Ⅎ𝑦 𝑥 ∈ 𝐴
3 nfra1 3289 . . . . 5 Ⅎ𝑦∀𝑦 ∈ 𝐵 𝜑
42, 3nfan 1933 . . . 4 Ⅎ𝑦(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝜑)
54nfex 2357 . . 3 Ⅎ𝑦∃𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝜑)
61, 5nfxfr 1885 . 2 Ⅎ𝑦∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑
7 rsp 3253 . . . . 5 (∀𝑦 ∈ 𝐵 𝜑 → (𝑦 ∈ 𝐵 → 𝜑))
87com12 33 . . . 4 (𝑦 ∈ 𝐵 → (∀𝑦 ∈ 𝐵 𝜑 → 𝜑))
98reximdv 3180 . . 3 (𝑦 ∈ 𝐵 → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → ∃𝑥 ∈ 𝐴 𝜑))
109com12 33 . 2 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → (𝑦 ∈ 𝐵 → ∃𝑥 ∈ 𝐴 𝜑))
116, 10ralrimi 3263 1 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∃wex 1811   ∈ wcel 2146  ∀wral 3079  ∃wrex 3089
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-10 2179  ax-11 2196  ax-12 2215
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-ral 3080  df-rex 3090
This theorem is used by:  iuniin  4966  ucncn  24615  ftc1a  26369  heicant  38713  rngoid  38976  rngmgmbs4  39005  intimass  44794  intimag  44796
  Copyright terms: Public domain W3C validator