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

Theorem 2sb5rf 1977
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 1840 . 2 (𝜑 ↔ ∃𝑧(𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑))
3 19.42v 1894 . . . 4 (∃𝑤(𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)) ↔ (𝑧 = 𝑥 ∧ ∃𝑤(𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
4 sbcom2 1975 . . . . . . 7 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)
54anbi2i 453 . . . . . 6 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑))
6 anass 399 . . . . . 6 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑) ↔ (𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
75, 6bitri 183 . . . . 5 (((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ (𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
87exbii 1593 . . . 4 (∃𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑) ↔ ∃𝑤(𝑧 = 𝑥 ∧ (𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
9 2sb5rf.2 . . . . . . 7 (𝜑 → ∀𝑤𝜑)
109hbsbv 1929 . . . . . 6 ([𝑧 / 𝑥]𝜑 → ∀𝑤[𝑧 / 𝑥]𝜑)
1110sb5rf 1840 . . . . 5 ([𝑧 / 𝑥]𝜑 ↔ ∃𝑤(𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑))
1211anbi2i 453 . . . 4 ((𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑧 = 𝑥 ∧ ∃𝑤(𝑤 = 𝑦 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)))
133, 8, 123bitr4ri 212 . . 3 ((𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
1413exbii 1593 . 2 (∃𝑧(𝑧 = 𝑥 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
152, 14bitri 183 1 (𝜑 ↔ ∃𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) ∧ [𝑧 / 𝑥][𝑤 / 𝑦]𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341  wex 1480  [wsb 1750
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523
This theorem depends on definitions:  df-bi 116  df-nf 1449  df-sb 1751
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator