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

Theorem cbvabw 2293
Description: Version of cbvab 2294 with a disjoint variable condition. (Contributed by Gino Giotto, 10-Jan-2024.) Reduce axiom usage. (Revised by Gino Giotto, 25-Aug-2024.)
Hypotheses
Ref Expression
cbvabw.1 𝑦𝜑
cbvabw.2 𝑥𝜓
cbvabw.3 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cbvabw {𝑥𝜑} = {𝑦𝜓}
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)

Proof of Theorem cbvabw
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 cbvabw.1 . . . . . 6 𝑦𝜑
21nfsbv 1940 . . . . 5 𝑦[𝑧 / 𝑥]𝜑
3 equequ2 1706 . . . . . . . 8 (𝑦 = 𝑧 → (𝑥 = 𝑦𝑥 = 𝑧))
43imbi1d 230 . . . . . . 7 (𝑦 = 𝑧 → ((𝑥 = 𝑦𝜑) ↔ (𝑥 = 𝑧𝜑)))
54albidv 1817 . . . . . 6 (𝑦 = 𝑧 → (∀𝑥(𝑥 = 𝑦𝜑) ↔ ∀𝑥(𝑥 = 𝑧𝜑)))
6 sb6 1879 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑))
7 sb6 1879 . . . . . 6 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑧𝜑))
85, 6, 73bitr4g 222 . . . . 5 (𝑦 = 𝑧 → ([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
92, 8sbiev 1785 . . . 4 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑)
10 cbvabw.2 . . . . . 6 𝑥𝜓
11 cbvabw.3 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
1210, 11sbiev 1785 . . . . 5 ([𝑦 / 𝑥]𝜑𝜓)
1312sbbii 1758 . . . 4 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
149, 13bitr3i 185 . . 3 ([𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
15 df-clab 2157 . . 3 (𝑧 ∈ {𝑥𝜑} ↔ [𝑧 / 𝑥]𝜑)
16 df-clab 2157 . . 3 (𝑧 ∈ {𝑦𝜓} ↔ [𝑧 / 𝑦]𝜓)
1714, 15, 163bitr4i 211 . 2 (𝑧 ∈ {𝑥𝜑} ↔ 𝑧 ∈ {𝑦𝜓})
1817eqriv 2167 1 {𝑥𝜑} = {𝑦𝜓}
Colors of variables: wff set class
Syntax hints:  wi 4  wb 104  wal 1346   = wceq 1348  wnf 1453  [wsb 1755  wcel 2141  {cab 2156
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-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-11 1499  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163
This theorem is referenced by:  cbvsbcw  2982
  Copyright terms: Public domain W3C validator