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

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