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

Theorem sbidm 1844
Description: An idempotent law for substitution. (Contributed by NM, 30-Jun-1994.) (Proof rewritten by Jim Kingdon, 21-Jan-2018.)
Assertion
Ref Expression
sbidm ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)

Proof of Theorem sbidm
StepHypRef Expression
1 df-sb 1756 . . . . 5 ([𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
21simplbi 272 . . . 4 ([𝑦 / 𝑥]𝜑 → (𝑥 = 𝑦𝜑))
32sbimi 1757 . . 3 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥](𝑥 = 𝑦𝜑))
4 sbequ8 1840 . . 3 ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥](𝑥 = 𝑦𝜑))
53, 4sylibr 133 . 2 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑)
6 ax-1 6 . . 3 ([𝑦 / 𝑥]𝜑 → (𝑥 = 𝑦 → [𝑦 / 𝑥]𝜑))
7 sb1 1759 . . . 4 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦𝜑))
8 pm4.24 393 . . . . . . . 8 (∃𝑥(𝑥 = 𝑦𝜑) ↔ (∃𝑥(𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
9 ax-ie1 1486 . . . . . . . . 9 (∃𝑥(𝑥 = 𝑦𝜑) → ∀𝑥𝑥(𝑥 = 𝑦𝜑))
10919.41h 1678 . . . . . . . 8 (∃𝑥((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (∃𝑥(𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
118, 10bitr4i 186 . . . . . . 7 (∃𝑥(𝑥 = 𝑦𝜑) ↔ ∃𝑥((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
12 ax-1 6 . . . . . . . . . 10 (𝜑 → (𝑥 = 𝑦𝜑))
1312anim2i 340 . . . . . . . . 9 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)))
1413anim1i 338 . . . . . . . 8 (((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
1514eximi 1593 . . . . . . 7 (∃𝑥((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
1611, 15sylbi 120 . . . . . 6 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
17 anass 399 . . . . . . 7 (((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
1817exbii 1598 . . . . . 6 (∃𝑥((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ ∃𝑥(𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
1916, 18sylib 121 . . . . 5 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
201anbi2i 454 . . . . . 6 ((𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
2120exbii 1598 . . . . 5 (∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑) ↔ ∃𝑥(𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
2219, 21sylibr 133 . . . 4 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑))
237, 22syl 14 . . 3 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑))
24 df-sb 1756 . . 3 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦 → [𝑦 / 𝑥]𝜑) ∧ ∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑)))
256, 23, 24sylanbrc 415 . 2 ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥][𝑦 / 𝑥]𝜑)
265, 25impbii 125 1 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  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-4 1503  ax-ial 1527
This theorem depends on definitions:  df-bi 116  df-sb 1756
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator