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

Theorem 2sb6rf 2612
Description: Reversed double substitution. (Contributed by NM, 3-Feb-2005.) (Revised by Mario Carneiro, 6-Oct-2016.) Remove variable constraints. (Revised by Wolf Lammen, 28-Sep-2018.)
Hypotheses
Ref Expression
2sb5rf.1 𝑧𝜑
2sb5rf.2 𝑤𝜑
Assertion
Ref Expression
2sb6rf (𝜑 ↔ ∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Distinct variable group:   𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem 2sb6rf
StepHypRef Expression
1 sbequ12r 2280 . . . . 5 (𝑧 = 𝑥 → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ [𝑤 / 𝑦]𝜑))
2 sbequ12r 2280 . . . . 5 (𝑤 = 𝑦 → ([𝑤 / 𝑦]𝜑𝜑))
31, 2sylan9bb 501 . . . 4 ((𝑧 = 𝑥𝑤 = 𝑦) → ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑𝜑))
43pm5.74i 262 . . 3 (((𝑧 = 𝑥𝑤 = 𝑦) → [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
542albii 1905 . 2 (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
6 2sb5rf.2 . . . . 5 𝑤𝜑
7619.23 2247 . . . 4 (∀𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ (∃𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
87albii 1904 . . 3 (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ ∀𝑧(∃𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
9 2sb5rf.1 . . . 4 𝑧𝜑
10919.23 2247 . . 3 (∀𝑧(∃𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ (∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
118, 10bitri 266 . 2 (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ (∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
12 2ax6e 2610 . . 3 𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦)
13 pm5.5 352 . . 3 (∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) → ((∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ 𝜑))
1412, 13ax-mp 5 . 2 ((∃𝑧𝑤(𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ 𝜑)
155, 11, 143bitrri 289 1 (𝜑 ↔ ∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384  wal 1635  wex 1859  wnf 1863  [wsb 2060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2068  ax-7 2104  ax-10 2185  ax-11 2201  ax-12 2214  ax-13 2420
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2061
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator