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

Theorem sbcof2 1790
Description: Version of sbco 1948 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 1788 . . . . . 6 ([𝑥 / 𝑦]𝜑 → ∀𝑦[𝑥 / 𝑦]𝜑)
32sb6f 1783 . . . . 5 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑))
41sb6f 1783 . . . . . . 7 ([𝑥 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑥𝜑))
54imbi2i 225 . . . . . 6 ((𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
65albii 1450 . . . . 5 (∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
73, 6bitri 183 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
8 ax-11 1486 . . . . . . 7 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑))))
9 equcomi 1684 . . . . . . . . . . 11 (𝑥 = 𝑦𝑦 = 𝑥)
109imim1i 60 . . . . . . . . . 10 ((𝑦 = 𝑥𝜑) → (𝑥 = 𝑦𝜑))
1110imim2i 12 . . . . . . . . 9 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → (𝑥 = 𝑦𝜑)))
1211pm2.43d 50 . . . . . . . 8 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦𝜑))
1312alimi 1435 . . . . . . 7 (∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
148, 13syl6 33 . . . . . 6 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
1514a2i 11 . . . . 5 ((𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
1615alimi 1435 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
177, 16sylbi 120 . . 3 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
18 ax-i9 1510 . . . . 5 𝑥 𝑥 = 𝑦
19 exim 1579 . . . . 5 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → (∃𝑥 𝑥 = 𝑦 → ∃𝑥𝑥(𝑥 = 𝑦𝜑)))
2018, 19mpi 15 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥𝑥(𝑥 = 𝑦𝜑))
21 ax-ial 1514 . . . . 5 (∀𝑥(𝑥 = 𝑦𝜑) → ∀𝑥𝑥(𝑥 = 𝑦𝜑))
222119.9h 1623 . . . 4 (∃𝑥𝑥(𝑥 = 𝑦𝜑) ↔ ∀𝑥(𝑥 = 𝑦𝜑))
2320, 22sylib 121 . . 3 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
24 sb2 1747 . . 3 (∀𝑥(𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
2517, 23, 243syl 17 . 2 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → [𝑦 / 𝑥]𝜑)
26 sb1 1746 . . . 4 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦𝜑))
27 simpl 108 . . . . . 6 ((𝑥 = 𝑦𝜑) → 𝑥 = 𝑦)
28 19.8a 1570 . . . . . 6 ((𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦𝜑))
2927, 28jca 304 . . . . 5 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
3029eximi 1580 . . . 4 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
319anim1i 338 . . . . . . . . 9 ((𝑥 = 𝑦𝜑) → (𝑦 = 𝑥𝜑))
3227, 31jca 304 . . . . . . . 8 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
3332eximi 1580 . . . . . . 7 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
34 ax11e 1776 . . . . . . 7 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)) → ∃𝑦(𝑦 = 𝑥𝜑)))
3533, 34syl5 32 . . . . . 6 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑦(𝑦 = 𝑥𝜑)))
3635imdistani 442 . . . . 5 ((𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3736eximi 1580 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3826, 30, 373syl 17 . . 3 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
392sb5f 1784 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑))
401sb5f 1784 . . . . . 6 ([𝑥 / 𝑦]𝜑 ↔ ∃𝑦(𝑦 = 𝑥𝜑))
4140anbi2i 453 . . . . 5 ((𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4241exbii 1585 . . . 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 1333  wex 1472  [wsb 1742
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 1427  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-11 1486  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514
This theorem depends on definitions:  df-bi 116  df-sb 1743
This theorem is referenced by:  sbid2h  1829
  Copyright terms: Public domain W3C validator