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

Theorem ralcomf 3357
Description: Commutation of restricted universal quantifiers. (Contributed by Mario Carneiro, 14-Oct-2016.)
Hypotheses
Ref Expression
ralcomf.1 𝑦𝐴
ralcomf.2 𝑥𝐵
Assertion
Ref Expression
ralcomf (∀𝑥𝐴𝑦𝐵 𝜑 ↔ ∀𝑦𝐵𝑥𝐴 𝜑)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem ralcomf
StepHypRef Expression
1 ancomst 467 . . . 4 (((𝑥𝐴𝑦𝐵) → 𝜑) ↔ ((𝑦𝐵𝑥𝐴) → 𝜑))
212albii 1817 . . 3 (∀𝑥𝑦((𝑥𝐴𝑦𝐵) → 𝜑) ↔ ∀𝑥𝑦((𝑦𝐵𝑥𝐴) → 𝜑))
3 alcom 2159 . . 3 (∀𝑥𝑦((𝑦𝐵𝑥𝐴) → 𝜑) ↔ ∀𝑦𝑥((𝑦𝐵𝑥𝐴) → 𝜑))
42, 3bitri 277 . 2 (∀𝑥𝑦((𝑥𝐴𝑦𝐵) → 𝜑) ↔ ∀𝑦𝑥((𝑦𝐵𝑥𝐴) → 𝜑))
5 ralcomf.1 . . 3 𝑦𝐴
65r2alf 3222 . 2 (∀𝑥𝐴𝑦𝐵 𝜑 ↔ ∀𝑥𝑦((𝑥𝐴𝑦𝐵) → 𝜑))
7 ralcomf.2 . . 3 𝑥𝐵
87r2alf 3222 . 2 (∀𝑦𝐵𝑥𝐴 𝜑 ↔ ∀𝑦𝑥((𝑦𝐵𝑥𝐴) → 𝜑))
94, 6, 83bitr4i 305 1 (∀𝑥𝐴𝑦𝐵 𝜑 ↔ ∀𝑦𝐵𝑥𝐴 𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1531  wcel 2110  wnfc 2961  wral 3138
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-10 2141  ax-11 2157  ax-12 2173
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1777  df-nf 1781  df-sb 2066  df-clel 2893  df-nfc 2963  df-ral 3143
This theorem is referenced by:  ssiinf  4970  ralcom4f  30227
  Copyright terms: Public domain W3C validator