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

Theorem sbcomxyyz 1894
Description: Version of sbcom 1897 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 1444 . 2 (∀𝑧 𝑧 = 𝑥 ∨ (∀𝑧 𝑧 = 𝑦 ∨ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦)))
2 ax-ial 1472 . . . . 5 (∀𝑧 𝑧 = 𝑥 → ∀𝑧𝑧 𝑧 = 𝑥)
3 drsb1 1727 . . . . 5 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑥]𝜑))
42, 3sbbidh 1773 . . . 4 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧][𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
5 drsb1 1727 . . . 4 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧][𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
64, 5bitr3d 188 . . 3 (∀𝑧 𝑧 = 𝑥 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
7 sbequ12 1701 . . . . . 6 (𝑧 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
87sps 1475 . . . . 5 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
9 hbae 1653 . . . . . 6 (∀𝑧 𝑧 = 𝑦 → ∀𝑥𝑧 𝑧 = 𝑦)
10 sbequ12 1701 . . . . . . 7 (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧]𝜑))
1110sps 1475 . . . . . 6 (∀𝑧 𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧]𝜑))
129, 11sbbidh 1773 . . . . 5 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
138, 12bitr3d 188 . . . 4 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
14 df-nf 1395 . . . . . 6 (Ⅎ𝑧 𝑥 = 𝑦 ↔ ∀𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
1514albii 1404 . . . . 5 (∀𝑥𝑧 𝑥 = 𝑦 ↔ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
16 ax-ial 1472 . . . . . . 7 (∀𝑥𝑧 𝑥 = 𝑦 → ∀𝑥𝑥𝑧 𝑥 = 𝑦)
17 nfs1v 1863 . . . . . . . . . 10 𝑥[𝑦 / 𝑥]𝜑
1817nfsb 1870 . . . . . . . . 9 𝑥[𝑦 / 𝑧][𝑦 / 𝑥]𝜑
1918a1i 9 . . . . . . . 8 (∀𝑥𝑧 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑧][𝑦 / 𝑥]𝜑)
2019nfrd 1458 . . . . . . 7 (∀𝑥𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 → ∀𝑥[𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
21 nfr 1456 . . . . . . . . 9 (Ⅎ𝑧 𝑥 = 𝑦 → (𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
22 nfnf1 1481 . . . . . . . . . . . . 13 𝑧𝑧 𝑥 = 𝑦
23 nfa1 1479 . . . . . . . . . . . . 13 𝑧𝑧 𝑥 = 𝑦
2422, 23nfan 1502 . . . . . . . . . . . 12 𝑧(Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦)
2524nfri 1457 . . . . . . . . . . 11 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → ∀𝑧(Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦))
26 nfs1v 1863 . . . . . . . . . . . . 13 𝑧[𝑦 / 𝑧][𝑦 / 𝑥]𝜑
2726a1i 9 . . . . . . . . . . . 12 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → Ⅎ𝑧[𝑦 / 𝑧][𝑦 / 𝑥]𝜑)
2827nfrd 1458 . . . . . . . . . . 11 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 → ∀𝑧[𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
29 sbequ12 1701 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
3029, 7sylan9bb 450 . . . . . . . . . . . . . 14 ((𝑥 = 𝑦𝑧 = 𝑦) → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
3130ex 113 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3231sps 1475 . . . . . . . . . . . 12 (∀𝑧 𝑥 = 𝑦 → (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3332adantl 271 . . . . . . . . . . 11 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → (𝑧 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3425, 28, 33sbiedh 1717 . . . . . . . . . 10 ((Ⅎ𝑧 𝑥 = 𝑦 ∧ ∀𝑧 𝑥 = 𝑦) → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
3534ex 113 . . . . . . . . 9 (Ⅎ𝑧 𝑥 = 𝑦 → (∀𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3621, 35syld 44 . . . . . . . 8 (Ⅎ𝑧 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3736sps 1475 . . . . . . 7 (∀𝑥𝑧 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑)))
3816, 20, 37sbiedh 1717 . . . . . 6 (∀𝑥𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑥][𝑦 / 𝑧]𝜑 ↔ [𝑦 / 𝑧][𝑦 / 𝑥]𝜑))
3938bicomd 139 . . . . 5 (∀𝑥𝑧 𝑥 = 𝑦 → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
4015, 39sylbir 133 . . . 4 (∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
4113, 40jaoi 671 . . 3 ((∀𝑧 𝑧 = 𝑦 ∨ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦)) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
426, 41jaoi 671 . 2 ((∀𝑧 𝑧 = 𝑥 ∨ (∀𝑧 𝑧 = 𝑦 ∨ ∀𝑥𝑧(𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))) → ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑))
431, 42ax-mp 7 1 ([𝑦 / 𝑧][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥][𝑦 / 𝑧]𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wo 664  wal 1287  wnf 1394  [wsb 1692
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473
This theorem depends on definitions:  df-bi 115  df-nf 1395  df-sb 1693
This theorem is referenced by:  sbco3xzyz  1895
  Copyright terms: Public domain W3C validator