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

Theorem rspc2gv 3630
Description: Restricted specialization with two quantifiers, using implicit substitution. (Contributed by BJ, 2-Dec-2021.)
Hypothesis
Ref Expression
rspc2gv.1 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝜑𝜓))
Assertion
Ref Expression
rspc2gv ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑉𝑦𝑊 𝜑𝜓))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝑉,𝑦   𝑥,𝑊,𝑦   𝜓,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem rspc2gv
StepHypRef Expression
1 df-ral 3141 . 2 (∀𝑥𝑉𝑦𝑊 𝜑 ↔ ∀𝑥(𝑥𝑉 → ∀𝑦𝑊 𝜑))
2 df-ral 3141 . . . . 5 (∀𝑦𝑊 𝜑 ↔ ∀𝑦(𝑦𝑊𝜑))
32imbi2i 338 . . . 4 ((𝑥𝑉 → ∀𝑦𝑊 𝜑) ↔ (𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)))
43albii 1814 . . 3 (∀𝑥(𝑥𝑉 → ∀𝑦𝑊 𝜑) ↔ ∀𝑥(𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)))
5 19.21v 1934 . . . . . 6 (∀𝑦(𝑥𝑉 → (𝑦𝑊𝜑)) ↔ (𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)))
65bicomi 226 . . . . 5 ((𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)) ↔ ∀𝑦(𝑥𝑉 → (𝑦𝑊𝜑)))
76albii 1814 . . . 4 (∀𝑥(𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)) ↔ ∀𝑥𝑦(𝑥𝑉 → (𝑦𝑊𝜑)))
8 impexp 453 . . . . . . 7 (((𝑥𝑉𝑦𝑊) → 𝜑) ↔ (𝑥𝑉 → (𝑦𝑊𝜑)))
9 eleq1 2898 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥𝑉𝐴𝑉))
10 eleq1 2898 . . . . . . . . 9 (𝑦 = 𝐵 → (𝑦𝑊𝐵𝑊))
119, 10bi2anan9 637 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑉𝑦𝑊) ↔ (𝐴𝑉𝐵𝑊)))
12 rspc2gv.1 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝜑𝜓))
1311, 12imbi12d 347 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (((𝑥𝑉𝑦𝑊) → 𝜑) ↔ ((𝐴𝑉𝐵𝑊) → 𝜓)))
148, 13syl5bbr 287 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑉 → (𝑦𝑊𝜑)) ↔ ((𝐴𝑉𝐵𝑊) → 𝜓)))
1514spc2gv 3599 . . . . 5 ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑦(𝑥𝑉 → (𝑦𝑊𝜑)) → ((𝐴𝑉𝐵𝑊) → 𝜓)))
1615pm2.43a 54 . . . 4 ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑦(𝑥𝑉 → (𝑦𝑊𝜑)) → 𝜓))
177, 16syl5bi 244 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥(𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)) → 𝜓))
184, 17syl5bi 244 . 2 ((𝐴𝑉𝐵𝑊) → (∀𝑥(𝑥𝑉 → ∀𝑦𝑊 𝜑) → 𝜓))
191, 18syl5bi 244 1 ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑉𝑦𝑊 𝜑𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1529   = wceq 1531  wcel 2108  wral 3136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1775  df-cleq 2812  df-clel 2891  df-ral 3141
This theorem is referenced by:  eulplig  28254  prmidlc  30957  ichreuopeq  43625  isomuspgrlem2b  43984
  Copyright terms: Public domain W3C validator