| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > sbcom3 | Structured version Visualization version GIF version | ||
| Description: Substituting 𝑦 for 𝑥 and then 𝑧 for 𝑦 is equivalent to substituting 𝑧 for both 𝑥 and 𝑦. Usage of this theorem is discouraged because it depends on ax-13 2402. For a version requiring a disjoint variable, but fewer axioms, see sbcom3vv 2130. (Contributed by Giovanni Mascellani, 8-Apr-2018.) Remove dependency on ax-11 2190. (Revised by Wolf Lammen, 16-Sep-2018.) (Proof shortened by Wolf Lammen, 16-Sep-2018.) (New usage is discouraged.) |
| Ref | Expression |
|---|---|
| sbcom3 | ⊢ ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nfa1 2184 | . . 3 ⊢ Ⅎ𝑦∀𝑦 𝑦 = 𝑧 | |
| 2 | drsb2 2300 | . . 3 ⊢ (∀𝑦 𝑦 = 𝑧 → ([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑)) | |
| 3 | 1, 2 | sbbid 2280 | . 2 ⊢ (∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑)) |
| 4 | sb4b 2505 | . . . 4 ⊢ (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → [𝑦 / 𝑥]𝜑))) | |
| 5 | sbequ 2115 | . . . . . 6 ⊢ (𝑦 = 𝑧 → ([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑)) | |
| 6 | 5 | pm5.74i 273 | . . . . 5 ⊢ ((𝑦 = 𝑧 → [𝑦 / 𝑥]𝜑) ↔ (𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑)) |
| 7 | 6 | albii 1838 | . . . 4 ⊢ (∀𝑦(𝑦 = 𝑧 → [𝑦 / 𝑥]𝜑) ↔ ∀𝑦(𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑)) |
| 8 | 4, 7 | bitrdi 289 | . . 3 ⊢ (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑))) |
| 9 | sb4b 2505 | . . 3 ⊢ (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑧 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑))) | |
| 10 | 8, 9 | bitr4d 284 | . 2 ⊢ (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑)) |
| 11 | 3, 10 | pm2.61i 183 | 1 ⊢ ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 208 ∀wal 1557 [wsb 2089 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1814 ax-4 1828 ax-5 1929 ax-6 1986 ax-7 2027 ax-10 2174 ax-12 2211 ax-13 2402 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-ex 1799 df-nf 1803 df-sb 2090 |
| This theorem is referenced by: sbco 2537 sbidm 2540 sbcom 2544 |
| Copyright terms: Public domain | W3C validator |