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 3312
Description: Restricted quantifier version of 19.12 2358. (Contributed by NM, 15-Oct-2003.) (Proof shortened by Andrew Salmon, 30-May-2011.) Avoid ax-13 2402, ax-ext 2733. (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 3088 . . 3 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝜑))
2 nfv 1947 . . . . 5 Ⅎ𝑦 𝑥 ∈ 𝐴
3 nfra1 3287 . . . . 5 Ⅎ𝑦∀𝑦 ∈ 𝐵 𝜑
42, 3nfan 1932 . . . 4 Ⅎ𝑦(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝜑)
54nfex 2355 . . 3 Ⅎ𝑦∃𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝜑)
61, 5nfxfr 1886 . 2 Ⅎ𝑦∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑
7 rsp 3251 . . . . 5 (∀𝑦 ∈ 𝐵 𝜑 → (𝑦 ∈ 𝐵 → 𝜑))
87com12 33 . . . 4 (𝑦 ∈ 𝐵 → (∀𝑦 ∈ 𝐵 𝜑 → 𝜑))
98reximdv 3178 . . 3 (𝑦 ∈ 𝐵 → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → ∃𝑥 ∈ 𝐴 𝜑))
109com12 33 . 2 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → (𝑦 ∈ 𝐵 → ∃𝑥 ∈ 𝐴 𝜑))
116, 10ralrimi 3261 1 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝜑 → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087
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  ax-6 2000  ax-7 2041  ax-10 2178  ax-11 2194  ax-12 2213
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-ral 3078  df-rex 3088
This theorem is used by:  iuniin  4964  ucncn  24603  ftc1a  26357  heicant  38573  rngoid  38836  rngmgmbs4  38865  intimass  44653  intimag  44655
  Copyright terms: Public domain W3C validator