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

Theorem sbcomxyyz 1960
Description: Version of sbcom 1963 with distinct variable constraints between 𝑥 and 𝑦, and 𝑦 and 𝑧. (Contributed by Jim Kingdon, 21-Mar-2018.)
Assertion
Ref Expression
sbcomxyyz ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑)
Distinct variable groups:   𝑥,𝑦   𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem sbcomxyyz
StepHypRef Expression
1 ax-bndl 1497 . 2 (∀𝑧 𝑧 = 𝑥 ∨ (∀𝑧 𝑧 = 𝑦 ∨ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦)))
2 ax-ial 1522 . . . . 5 (∀𝑧 𝑧 = 𝑥 → ∀𝑧𝑧 𝑧 = 𝑥)
3 drsb1 1787 . . . . 5 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑥]𝜑))
42, 3sbbidh 1833 . . . 4 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧][𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
5 drsb1 1787 . . . 4 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧][𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
64, 5bitr3d 189 . . 3 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
7 sbequ12 1759 . . . . . 6 (𝑧 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
87sps 1525 . . . . 5 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
9 hbae 1706 . . . . . 6 (∀𝑧 𝑧 = 𝑦 → ∀𝑥𝑧 𝑧 = 𝑦)
10 sbequ12 1759 . . . . . . 7 (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧]𝜑))
1110sps 1525 . . . . . 6 (∀𝑧 𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧]𝜑))
129, 11sbbidh 1833 . . . . 5 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
138, 12bitr3d 189 . . . 4 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
14 df-nf 1449 . . . . . 6 (Ⅎ𝑧 𝑥 = 𝑦 ↔ ∀𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
1514albii 1458 . . . . 5 (∀𝑥𝑧 𝑥 = 𝑦 ↔ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
16 ax-ial 1522 . . . . . . 7 (∀𝑥𝑧 𝑥 = 𝑦 → ∀𝑥𝑥𝑧 𝑥 = 𝑦)
17 nfs1v 1927 . . . . . . . . . 10 𝑥[𝑦 / 𝑥]𝜑
1817nfsb 1934 . . . . . . . . 9 𝑥[𝑦 / 𝑧][𝑦 / 𝑥]𝜑
1918a1i 9 . . . . . . . 8 (∀𝑥𝑧 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑧][𝑦 / 𝑥]𝜑)
2019nfrd 1508 . . . . . . 7 (∀𝑥𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 → ∀𝑥[𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
21 nfr 1506 . . . . . . . . 9 (Ⅎ𝑧 𝑥 = 𝑦 → (𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
22 nfnf1 1532 . . . . . . . . . . . . 13 𝑧𝑧 𝑥 = 𝑦
23 nfa1 1529 . . . . . . . . . . . . 13 𝑧𝑧 𝑥 = 𝑦
2422, 23nfan 1553 . . . . . . . . . . . 12 𝑧(Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦)
2524nfri 1507 . . . . . . . . . . 11 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → ∀𝑧(Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦))
26 nfs1v 1927 . . . . . . . . . . . . 13 𝑧[𝑦 / 𝑧][𝑦 / 𝑥]𝜑
2726a1i 9 . . . . . . . . . . . 12 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → Ⅎ𝑧[𝑦 / 𝑧][𝑦 / 𝑥]𝜑)
2827nfrd 1508 . . . . . . . . . . 11 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 → ∀𝑧[𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
29 sbequ12 1759 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
3029, 7sylan9bb 458 . . . . . . . . . . . . . 14 ((𝑥 = 𝑦𝑧 = 𝑦) → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
3130ex 114 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3231sps 1525 . . . . . . . . . . . 12 (∀𝑧 𝑥 = 𝑦 → (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3332adantl 275 . . . . . . . . . . 11 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3425, 28, 33sbiedh 1775 . . . . . . . . . 10 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
3534ex 114 . . . . . . . . 9 (Ⅎ𝑧 𝑥 = 𝑦 → (∀𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3621, 35syld 45 . . . . . . . 8 (Ⅎ𝑧 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3736sps 1525 . . . . . . 7 (∀𝑥𝑧 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3816, 20, 37sbiedh 1775 . . . . . 6 (∀𝑥𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑥][𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
3938bicomd 140 . . . . 5 (∀𝑥𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
4015, 39sylbir 134 . . . 4 (∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
4113, 40jaoi 706 . . 3 ((∀𝑧 𝑧 = 𝑦 ∨ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦)) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
426, 41jaoi 706 . 2 ((∀𝑧 𝑧 = 𝑥 ∨ (∀𝑧 𝑧 = 𝑦 ∨ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
431, 42ax-mp 5 1 ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 698  wal 1341  wnf 1448  [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-bndl 1497  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:  sbco3xzyz  1961
  Copyright terms: Public domain W3C validator