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

Theorem sbidm 1747
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 1662 . . . . 5 ([𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
21simplbi 263 . . . 4 ([𝑦 / 𝑥]𝜑 → (𝑥 = 𝑦𝜑))
32sbimi 1663 . . 3 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥](𝑥 = 𝑦𝜑))
4 sbequ8 1743 . . 3 ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥](𝑥 = 𝑦𝜑))
53, 4sylibr 141 . 2 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑)
6 ax-1 5 . . 3 ([𝑦 / 𝑥]𝜑 → (𝑥 = 𝑦 → [𝑦 / 𝑥]𝜑))
7 sb1 1665 . . . 4 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦𝜑))
8 pm4.24 381 . . . . . . . 8 (∃𝑥(𝑥 = 𝑦𝜑) ↔ (∃𝑥(𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
9 ax-ie1 1398 . . . . . . . . 9 (∃𝑥(𝑥 = 𝑦𝜑) → ∀𝑥𝑥(𝑥 = 𝑦𝜑))
10919.41h 1591 . . . . . . . 8 (∃𝑥((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (∃𝑥(𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
118, 10bitr4i 180 . . . . . . 7 (∃𝑥(𝑥 = 𝑦𝜑) ↔ ∃𝑥((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
12 ax-1 5 . . . . . . . . . 10 (𝜑 → (𝑥 = 𝑦𝜑))
1312anim2i 328 . . . . . . . . 9 ((𝑥 = 𝑦𝜑) → (𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)))
1413anim1i 327 . . . . . . . 8 (((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
1514eximi 1507 . . . . . . 7 (∃𝑥((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) → ∃𝑥((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
1611, 15sylbi 118 . . . . . 6 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)))
17 anass 387 . . . . . . 7 (((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
1817exbii 1512 . . . . . 6 (∃𝑥((𝑥 = 𝑦 ∧ (𝑥 = 𝑦𝜑)) ∧ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ ∃𝑥(𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
1916, 18sylib 131 . . . . 5 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
201anbi2i 438 . . . . . 6 ((𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
2120exbii 1512 . . . . 5 (∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑) ↔ ∃𝑥(𝑥 = 𝑦 ∧ ((𝑥 = 𝑦𝜑) ∧ ∃𝑥(𝑥 = 𝑦𝜑))))
2219, 21sylibr 141 . . . 4 (∃𝑥(𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑))
237, 22syl 14 . . 3 ([𝑦 / 𝑥]𝜑 → ∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑))
24 df-sb 1662 . . 3 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦 → [𝑦 / 𝑥]𝜑) ∧ ∃𝑥(𝑥 = 𝑦 ∧ [𝑦 / 𝑥]𝜑)))
256, 23, 24sylanbrc 402 . 2 ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥][𝑦 / 𝑥]𝜑)
265, 25impbii 121 1 ([𝑦 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 101  wb 102  wex 1397  [wsb 1661
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-5 1352  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-4 1416  ax-ial 1443
This theorem depends on definitions:  df-bi 114  df-sb 1662
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator