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

Theorem sbcof2 1803
Description: Version of sbco 1961 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 1801 . . . . . 6 ([𝑥 / 𝑦]𝜑 → ∀𝑦[𝑥 / 𝑦]𝜑)
32sb6f 1796 . . . . 5 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑))
41sb6f 1796 . . . . . . 7 ([𝑥 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑥𝜑))
54imbi2i 225 . . . . . 6 ((𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
65albii 1463 . . . . 5 (∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
73, 6bitri 183 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
8 ax-11 1499 . . . . . . 7 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑))))
9 equcomi 1697 . . . . . . . . . . 11 (𝑥 = 𝑦𝑦 = 𝑥)
109imim1i 60 . . . . . . . . . 10 ((𝑦 = 𝑥𝜑) → (𝑥 = 𝑦𝜑))
1110imim2i 12 . . . . . . . . 9 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → (𝑥 = 𝑦𝜑)))
1211pm2.43d 50 . . . . . . . 8 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦𝜑))
1312alimi 1448 . . . . . . 7 (∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
148, 13syl6 33 . . . . . 6 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
1514a2i 11 . . . . 5 ((𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
1615alimi 1448 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
177, 16sylbi 120 . . 3 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
18 ax-i9 1523 . . . . 5 𝑥 𝑥 = 𝑦
19 exim 1592 . . . . 5 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → (∃𝑥 𝑥 = 𝑦 → ∃𝑥𝑥(𝑥 = 𝑦𝜑)))
2018, 19mpi 15 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥𝑥(𝑥 = 𝑦𝜑))
21 ax-ial 1527 . . . . 5 (∀𝑥(𝑥 = 𝑦𝜑) → ∀𝑥𝑥(𝑥 = 𝑦𝜑))
222119.9h 1636 . . . 4 (∃𝑥𝑥(𝑥 = 𝑦𝜑) ↔ ∀𝑥(𝑥 = 𝑦𝜑))
2320, 22sylib 121 . . 3 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
24 sb2 1760 . . 3 (∀𝑥(𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
2517, 23, 243syl 17 . 2 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → [𝑦 / 𝑥]𝜑)
26 sb1 1759 . . . 4 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦𝜑))
27 simpl 108 . . . . . 6 ((𝑥 = 𝑦𝜑) → 𝑥 = 𝑦)
28 19.8a 1583 . . . . . 6 ((𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦𝜑))
2927, 28jca 304 . . . . 5 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
3029eximi 1593 . . . 4 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
319anim1i 338 . . . . . . . . 9 ((𝑥 = 𝑦𝜑) → (𝑦 = 𝑥𝜑))
3227, 31jca 304 . . . . . . . 8 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
3332eximi 1593 . . . . . . 7 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
34 ax11e 1789 . . . . . . 7 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)) → ∃𝑦(𝑦 = 𝑥𝜑)))
3533, 34syl5 32 . . . . . 6 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑦(𝑦 = 𝑥𝜑)))
3635imdistani 443 . . . . 5 ((𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3736eximi 1593 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3826, 30, 373syl 17 . . 3 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
392sb5f 1797 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑))
401sb5f 1797 . . . . . 6 ([𝑥 / 𝑦]𝜑 ↔ ∃𝑦(𝑦 = 𝑥𝜑))
4140anbi2i 454 . . . . 5 ((𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4241exbii 1598 . . . 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 1346  wex 1485  [wsb 1755
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 1440  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-11 1499  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527
This theorem depends on definitions:  df-bi 116  df-sb 1756
This theorem is referenced by:  sbid2h  1842
  Copyright terms: Public domain W3C validator