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

Theorem sbcof2 1798
Description: Version of sbco 1956 where 𝑥 is not free in 𝜑. (Contributed by Jim Kingdon, 28-Dec-2017.)
Hypothesis
Ref Expression
sbcof2.1 (𝜑 → ∀𝑥𝜑)
Assertion
Ref Expression
sbcof2 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑)

Proof of Theorem sbcof2
StepHypRef Expression
1 sbcof2.1 . . . . . . 7 (𝜑 → ∀𝑥𝜑)
21hbsb3 1796 . . . . . 6 ([𝑥 / 𝑦]𝜑 → ∀𝑦[𝑥 / 𝑦]𝜑)
32sb6f 1791 . . . . 5 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑))
41sb6f 1791 . . . . . . 7 ([𝑥 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑥𝜑))
54imbi2i 225 . . . . . 6 ((𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
65albii 1458 . . . . 5 (∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
73, 6bitri 183 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
8 ax-11 1494 . . . . . . 7 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑))))
9 equcomi 1692 . . . . . . . . . . 11 (𝑥 = 𝑦𝑦 = 𝑥)
109imim1i 60 . . . . . . . . . 10 ((𝑦 = 𝑥𝜑) → (𝑥 = 𝑦𝜑))
1110imim2i 12 . . . . . . . . 9 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → (𝑥 = 𝑦𝜑)))
1211pm2.43d 50 . . . . . . . 8 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦𝜑))
1312alimi 1443 . . . . . . 7 (∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
148, 13syl6 33 . . . . . 6 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
1514a2i 11 . . . . 5 ((𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
1615alimi 1443 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
177, 16sylbi 120 . . 3 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
18 ax-i9 1518 . . . . 5 𝑥 𝑥 = 𝑦
19 exim 1587 . . . . 5 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → (∃𝑥 𝑥 = 𝑦 → ∃𝑥𝑥(𝑥 = 𝑦𝜑)))
2018, 19mpi 15 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥𝑥(𝑥 = 𝑦𝜑))
21 ax-ial 1522 . . . . 5 (∀𝑥(𝑥 = 𝑦𝜑) → ∀𝑥𝑥(𝑥 = 𝑦𝜑))
222119.9h 1631 . . . 4 (∃𝑥𝑥(𝑥 = 𝑦𝜑) ↔ ∀𝑥(𝑥 = 𝑦𝜑))
2320, 22sylib 121 . . 3 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
24 sb2 1755 . . 3 (∀𝑥(𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
2517, 23, 243syl 17 . 2 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → [𝑦 / 𝑥]𝜑)
26 sb1 1754 . . . 4 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦𝜑))
27 simpl 108 . . . . . 6 ((𝑥 = 𝑦𝜑) → 𝑥 = 𝑦)
28 19.8a 1578 . . . . . 6 ((𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦𝜑))
2927, 28jca 304 . . . . 5 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
3029eximi 1588 . . . 4 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
319anim1i 338 . . . . . . . . 9 ((𝑥 = 𝑦𝜑) → (𝑦 = 𝑥𝜑))
3227, 31jca 304 . . . . . . . 8 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
3332eximi 1588 . . . . . . 7 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
34 ax11e 1784 . . . . . . 7 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)) → ∃𝑦(𝑦 = 𝑥𝜑)))
3533, 34syl5 32 . . . . . 6 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑦(𝑦 = 𝑥𝜑)))
3635imdistani 442 . . . . 5 ((𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3736eximi 1588 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3826, 30, 373syl 17 . . 3 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
392sb5f 1792 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑))
401sb5f 1792 . . . . . 6 ([𝑥 / 𝑦]𝜑 ↔ ∃𝑦(𝑦 = 𝑥𝜑))
4140anbi2i 453 . . . . 5 ((𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4241exbii 1593 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑) ↔ ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4339, 42bitri 183 . . 3 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4438, 43sylibr 133 . 2 ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥][𝑥 / 𝑦]𝜑)
4525, 44impbii 125 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-5 1435  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-11 1494  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522
This theorem depends on definitions:  df-bi 116  df-sb 1751
This theorem is referenced by:  sbid2h  1837
  Copyright terms: Public domain W3C validator