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

Theorem 2sb5rf 2472
Description: Reversed double substitution. Usage of this theorem is discouraged because it depends on ax-13 2372. (Contributed by NM, 3-Feb-2005.) (Revised by Mario Carneiro, 6-Oct-2016.) Remove distinct variable constraints. (Revised by Wolf Lammen, 28-Sep-2018.) (New usage is discouraged.)
Hypotheses
Ref Expression
2sb5rf.1 𝑧𝜑
2sb5rf.2 𝑤𝜑
Assertion
Ref Expression
2sb5rf (𝜑 ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Distinct variable group:   𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem 2sb5rf
StepHypRef Expression
1 2sb5rf.1 . . . 4 𝑧𝜑
2119.41 2231 . . 3 (∃𝑧(∃𝑤(𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑) ↔ (∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
3 2sb5rf.2 . . . . 5 𝑤𝜑
4319.41 2231 . . . 4 (∃𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑) ↔ (∃𝑤(𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
54exbii 1851 . . 3 (∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑) ↔ ∃𝑧(∃𝑤(𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
6 2ax6e 2471 . . . 4 𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦)
76biantrur 530 . . 3 (𝜑 ↔ (∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
82, 5, 73bitr4ri 303 . 2 (𝜑 ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
9 sbequ12r 2248 . . . . 5 (𝑧 = 𝑥 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ [𝑤 / 𝑦]𝜑))
10 sbequ12r 2248 . . . . 5 (𝑤 = 𝑦 → ([𝑤 / 𝑦]𝜑𝜑))
119, 10sylan9bb 509 . . . 4 ((𝑧 = 𝑥𝑤 = 𝑦) → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑𝜑))
1211pm5.32i 574 . . 3 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ((𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
13122exbii 1852 . 2 (∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ 𝜑))
148, 13bitr4i 277 1 (𝜑 ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  wex 1783  wnf 1787  [wsb 2068
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-10 2139  ax-11 2156  ax-12 2173  ax-13 2372
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069
This theorem is referenced by:  sbel2x  2474
  Copyright terms: Public domain W3C validator