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

Theorem sbcof2 1733
Description: Version of sbco 1885 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 1731 . . . . . 6 ([𝑥 / 𝑦]𝜑 → ∀𝑦[𝑥 / 𝑦]𝜑)
32sb6f 1726 . . . . 5 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑))
41sb6f 1726 . . . . . . 7 ([𝑥 / 𝑦]𝜑 ↔ ∀𝑦(𝑦 = 𝑥𝜑))
54imbi2i 224 . . . . . 6 ((𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
65albii 1400 . . . . 5 (∀𝑥(𝑥 = 𝑦 → [𝑥 / 𝑦]𝜑) ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
73, 6bitri 182 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)))
8 ax-11 1438 . . . . . . 7 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑))))
9 equcomi 1633 . . . . . . . . . . 11 (𝑥 = 𝑦𝑦 = 𝑥)
109imim1i 59 . . . . . . . . . 10 ((𝑦 = 𝑥𝜑) → (𝑥 = 𝑦𝜑))
1110imim2i 12 . . . . . . . . 9 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → (𝑥 = 𝑦𝜑)))
1211pm2.43d 49 . . . . . . . 8 ((𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦𝜑))
1312alimi 1385 . . . . . . 7 (∀𝑥(𝑥 = 𝑦 → (𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
148, 13syl6 33 . . . . . 6 (𝑥 = 𝑦 → (∀𝑦(𝑦 = 𝑥𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
1514a2i 11 . . . . 5 ((𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → (𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
1615alimi 1385 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑦(𝑦 = 𝑥𝜑)) → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
177, 16sylbi 119 . . 3 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → ∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)))
18 ax-i9 1464 . . . . 5 𝑥 𝑥 = 𝑦
19 exim 1531 . . . . 5 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → (∃𝑥 𝑥 = 𝑦 → ∃𝑥𝑥(𝑥 = 𝑦𝜑)))
2018, 19mpi 15 . . . 4 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥𝑥(𝑥 = 𝑦𝜑))
21 ax-ial 1468 . . . . 5 (∀𝑥(𝑥 = 𝑦𝜑) → ∀𝑥𝑥(𝑥 = 𝑦𝜑))
222119.9h 1575 . . . 4 (∃𝑥𝑥(𝑥 = 𝑦𝜑) ↔ ∀𝑥(𝑥 = 𝑦𝜑))
2320, 22sylib 120 . . 3 (∀𝑥(𝑥 = 𝑦 → ∀𝑥(𝑥 = 𝑦𝜑)) → ∀𝑥(𝑥 = 𝑦𝜑))
24 sb2 1692 . . 3 (∀𝑥(𝑥 = 𝑦𝜑) → [𝑦 / 𝑥]𝜑)
2517, 23, 243syl 17 . 2 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 → [𝑦 / 𝑥]𝜑)
26 sb1 1691 . . . 4 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦𝜑))
27 simpl 107 . . . . . 6 ((𝑥 = 𝑦𝜑) → 𝑥 = 𝑦)
28 19.8a 1523 . . . . . 6 ((𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦𝜑))
2927, 28jca 300 . . . . 5 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
3029eximi 1532 . . . 4 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
319anim1i 333 . . . . . . . . 9 ((𝑥 = 𝑦𝜑) → (𝑦 = 𝑥𝜑))
3227, 31jca 300 . . . . . . . 8 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
3332eximi 1532 . . . . . . 7 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)))
34 ax11e 1719 . . . . . . 7 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦 ∧ (𝑦 = 𝑥𝜑)) → ∃𝑦(𝑦 = 𝑥𝜑)))
3533, 34syl5 32 . . . . . 6 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑦(𝑦 = 𝑥𝜑)))
3635imdistani 434 . . . . 5 ((𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3736eximi 1532 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
3826, 30, 373syl 17 . . 3 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
392sb5f 1727 . . . 4 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑))
401sb5f 1727 . . . . . 6 ([𝑥 / 𝑦]𝜑 ↔ ∃𝑦(𝑦 = 𝑥𝜑))
4140anbi2i 445 . . . . 5 ((𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑) ↔ (𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4241exbii 1537 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ [𝑥 / 𝑦]𝜑) ↔ ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4339, 42bitri 182 . . 3 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ ∃𝑦(𝑦 = 𝑥𝜑)))
4438, 43sylibr 132 . 2 ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥][𝑥 / 𝑦]𝜑)
4525, 44impbii 124 1 ([𝑦 / 𝑥][𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wal 1283  wex 1422  [wsb 1687
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-5 1377  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-11 1438  ax-4 1441  ax-17 1460  ax-i9 1464  ax-ial 1468
This theorem depends on definitions:  df-bi 115  df-sb 1688
This theorem is referenced by:  sbid2h  1772
  Copyright terms: Public domain W3C validator