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

Theorem cbvabw 2287
Description: Version of cbvab 2288 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 1934 . . . . 5 𝑦[𝑧 / 𝑥]𝜑
3 equequ2 1700 . . . . . . . 8 (𝑦 = 𝑧 → (𝑥 = 𝑦𝑥 = 𝑧))
43imbi1d 230 . . . . . . 7 (𝑦 = 𝑧 → ((𝑥 = 𝑦𝜑) ↔ (𝑥 = 𝑧𝜑)))
54albidv 1811 . . . . . 6 (𝑦 = 𝑧 → (∀𝑥(𝑥 = 𝑦𝜑) ↔ ∀𝑥(𝑥 = 𝑧𝜑)))
6 sb6 1873 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑))
7 sb6 1873 . . . . . 6 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑧𝜑))
85, 6, 73bitr4g 222 . . . . 5 (𝑦 = 𝑧 → ([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
92, 8sbiev 1779 . . . 4 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑)
10 cbvabw.2 . . . . . 6 𝑥𝜓
11 cbvabw.3 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
1210, 11sbiev 1779 . . . . 5 ([𝑦 / 𝑥]𝜑𝜓)
1312sbbii 1752 . . . 4 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
149, 13bitr3i 185 . . 3 ([𝑧 / 𝑥]𝜑 ↔ [𝑧 / 𝑦]𝜓)
15 df-clab 2151 . . 3 (𝑧 ∈ {𝑥𝜑} ↔ [𝑧 / 𝑥]𝜑)
16 df-clab 2151 . . 3 (𝑧 ∈ {𝑦𝜓} ↔ [𝑧 / 𝑦]𝜓)
1714, 15, 163bitr4i 211 . 2 (𝑧 ∈ {𝑥𝜑} ↔ 𝑧 ∈ {𝑦𝜓})
1817eqriv 2161 1 {𝑥𝜑} = {𝑦𝜓}
Colors of variables: wff set class
Syntax hints:  wi 4  wb 104  wal 1340   = wceq 1342  wnf 1447  [wsb 1749  wcel 2135  {cab 2150
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 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-11 1493  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-ext 2146
This theorem depends on definitions:  df-bi 116  df-nf 1448  df-sb 1750  df-clab 2151  df-cleq 2157
This theorem is referenced by:  cbvsbcw  2973
  Copyright terms: Public domain W3C validator