ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  2sb5rf GIF version

Theorem 2sb5rf 1987
Description: Reversed double substitution. (Contributed by NM, 3-Feb-2005.)
Hypotheses
Ref Expression
2sb5rf.1 (𝜑 → ∀𝑧𝜑)
2sb5rf.2 (𝜑 → ∀𝑤𝜑)
Assertion
Ref Expression
2sb5rf (𝜑 ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Distinct variable groups:   𝑥,𝑦   𝑥,𝑤   𝑦,𝑧   𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem 2sb5rf
StepHypRef Expression
1 2sb5rf.1 . . 3 (𝜑 → ∀𝑧𝜑)
21sb5rf 1850 . 2 (𝜑 ↔ ∃𝑧(𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑))
3 19.42v 1904 . . . 4 (∃𝑤(𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)) ↔ (𝑧 = 𝑥 ∧ ∃𝑤(𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
4 sbcom2 1985 . . . . . . 7 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)
54anbi2i 457 . . . . . 6 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑))
6 anass 401 . . . . . 6 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑) ↔ (𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
75, 6bitri 184 . . . . 5 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
87exbii 1603 . . . 4 (∃𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ∃𝑤(𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
9 2sb5rf.2 . . . . . . 7 (𝜑 → ∀𝑤𝜑)
109hbsbv 1939 . . . . . 6 ([𝑧 / 𝑥]𝜑 → ∀𝑤[𝑧 / 𝑥]𝜑)
1110sb5rf 1850 . . . . 5 ([𝑧 / 𝑥]𝜑 ↔ ∃𝑤(𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑))
1211anbi2i 457 . . . 4 ((𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑧 = 𝑥 ∧ ∃𝑤(𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
133, 8, 123bitr4ri 213 . . 3 ((𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
1413exbii 1603 . 2 (∃𝑧(𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
152, 14bitri 184 1 (𝜑 ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  wal 1351  wex 1490  [wsb 1760
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-10 1503  ax-11 1504  ax-i12 1505  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533
This theorem depends on definitions:  df-bi 117  df-nf 1459  df-sb 1761
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator