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

Theorem rspc2gv 3621
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 3062 . 2 (∀𝑥𝑉𝑦𝑊 𝜑 ↔ ∀𝑥(𝑥𝑉 → ∀𝑦𝑊 𝜑))
2 df-ral 3062 . . . . 5 (∀𝑦𝑊 𝜑 ↔ ∀𝑦(𝑦𝑊𝜑))
32imbi2i 335 . . . 4 ((𝑥𝑉 → ∀𝑦𝑊 𝜑) ↔ (𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)))
43albii 1821 . . 3 (∀𝑥(𝑥𝑉 → ∀𝑦𝑊 𝜑) ↔ ∀𝑥(𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)))
5 19.21v 1942 . . . . . 6 (∀𝑦(𝑥𝑉 → (𝑦𝑊𝜑)) ↔ (𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)))
65bicomi 223 . . . . 5 ((𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)) ↔ ∀𝑦(𝑥𝑉 → (𝑦𝑊𝜑)))
76albii 1821 . . . 4 (∀𝑥(𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)) ↔ ∀𝑥𝑦(𝑥𝑉 → (𝑦𝑊𝜑)))
8 impexp 451 . . . . . . 7 (((𝑥𝑉𝑦𝑊) → 𝜑) ↔ (𝑥𝑉 → (𝑦𝑊𝜑)))
9 eleq1 2821 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥𝑉𝐴𝑉))
10 eleq1 2821 . . . . . . . . 9 (𝑦 = 𝐵 → (𝑦𝑊𝐵𝑊))
119, 10bi2anan9 637 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑉𝑦𝑊) ↔ (𝐴𝑉𝐵𝑊)))
12 rspc2gv.1 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝜑𝜓))
1311, 12imbi12d 344 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (((𝑥𝑉𝑦𝑊) → 𝜑) ↔ ((𝐴𝑉𝐵𝑊) → 𝜓)))
148, 13bitr3id 284 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑉 → (𝑦𝑊𝜑)) ↔ ((𝐴𝑉𝐵𝑊) → 𝜓)))
1514spc2gv 3590 . . . . 5 ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑦(𝑥𝑉 → (𝑦𝑊𝜑)) → ((𝐴𝑉𝐵𝑊) → 𝜓)))
1615pm2.43a 54 . . . 4 ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑦(𝑥𝑉 → (𝑦𝑊𝜑)) → 𝜓))
177, 16biimtrid 241 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥(𝑥𝑉 → ∀𝑦(𝑦𝑊𝜑)) → 𝜓))
184, 17biimtrid 241 . 2 ((𝐴𝑉𝐵𝑊) → (∀𝑥(𝑥𝑉 → ∀𝑦𝑊 𝜑) → 𝜓))
191, 18biimtrid 241 1 ((𝐴𝑉𝐵𝑊) → (∀𝑥𝑉𝑦𝑊 𝜑𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1539   = wceq 1541  wcel 2106  wral 3061
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1544  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-ral 3062
This theorem is referenced by:  eulplig  29733  prmidlc  32562  irrdiff  36202  ichreuopeq  46131  isomuspgrlem2b  46487  iscnrm3lem5  47560  iscnrm3r  47571  catprslem  47620  thincmoALT  47640  functhinclem2  47652  fullthinc2  47657  mndtcbas2  47699
  Copyright terms: Public domain W3C validator