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

Theorem axsepg 5204
Description: A more general version of the axiom scheme of separation ax-sep 5203, where variable 𝑧 can also occur (in addition to 𝑥) in formula 𝜑, which can therefore be thought of as 𝜑(𝑥, 𝑧). This version is derived from the more restrictive ax-sep 5203 with no additional set theory axioms. Note that it was also derived from ax-rep 5190 but without ax-sep 5203 as axsepgfromrep 5201. (Contributed by NM, 10-Dec-2006.) (Proof shortened by Mario Carneiro, 17-Nov-2016.) Remove dependency on ax-12 2177 and ax-13 2390 and shorten proof. (Revised by BJ, 6-Oct-2019.)
Assertion
Ref Expression
axsepg 𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))
Distinct variable groups:   𝑥,𝑦,𝑧   𝜑,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑧)

Proof of Theorem axsepg
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 elequ2 2129 . . . . . 6 (𝑤 = 𝑧 → (𝑥𝑤𝑥𝑧))
21anbi1d 631 . . . . 5 (𝑤 = 𝑧 → ((𝑥𝑤𝜑) ↔ (𝑥𝑧𝜑)))
32bibi2d 345 . . . 4 (𝑤 = 𝑧 → ((𝑥𝑦 ↔ (𝑥𝑤𝜑)) ↔ (𝑥𝑦 ↔ (𝑥𝑧𝜑))))
43albidv 1921 . . 3 (𝑤 = 𝑧 → (∀𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) ↔ ∀𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
54exbidv 1922 . 2 (𝑤 = 𝑧 → (∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) ↔ ∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
6 ax-sep 5203 . 2 𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑))
75, 6chvarvv 2005 1 𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  wal 1535  wex 1780
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-9 2124  ax-sep 5203
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1781
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator