![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > elimhyp2v | Structured version Visualization version GIF version |
Description: Eliminate a hypothesis containing 2 class variables. (Contributed by NM, 14-Aug-1999.) |
Ref | Expression |
---|---|
elimhyp2v.1 | ⊢ (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜑 ↔ 𝜒)) |
elimhyp2v.2 | ⊢ (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒 ↔ 𝜃)) |
elimhyp2v.3 | ⊢ (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂)) |
elimhyp2v.4 | ⊢ (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂 ↔ 𝜃)) |
elimhyp2v.5 | ⊢ 𝜏 |
Ref | Expression |
---|---|
elimhyp2v | ⊢ 𝜃 |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | iftrue 4313 | . . . . . 6 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐴) | |
2 | 1 | eqcomd 2784 | . . . . 5 ⊢ (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐶)) |
3 | elimhyp2v.1 | . . . . 5 ⊢ (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜑 ↔ 𝜒)) | |
4 | 2, 3 | syl 17 | . . . 4 ⊢ (𝜑 → (𝜑 ↔ 𝜒)) |
5 | iftrue 4313 | . . . . . 6 ⊢ (𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐵) | |
6 | 5 | eqcomd 2784 | . . . . 5 ⊢ (𝜑 → 𝐵 = if(𝜑, 𝐵, 𝐷)) |
7 | elimhyp2v.2 | . . . . 5 ⊢ (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒 ↔ 𝜃)) | |
8 | 6, 7 | syl 17 | . . . 4 ⊢ (𝜑 → (𝜒 ↔ 𝜃)) |
9 | 4, 8 | bitrd 271 | . . 3 ⊢ (𝜑 → (𝜑 ↔ 𝜃)) |
10 | 9 | ibi 259 | . 2 ⊢ (𝜑 → 𝜃) |
11 | elimhyp2v.5 | . . 3 ⊢ 𝜏 | |
12 | iffalse 4316 | . . . . . 6 ⊢ (¬ 𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐶) | |
13 | 12 | eqcomd 2784 | . . . . 5 ⊢ (¬ 𝜑 → 𝐶 = if(𝜑, 𝐴, 𝐶)) |
14 | elimhyp2v.3 | . . . . 5 ⊢ (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂)) | |
15 | 13, 14 | syl 17 | . . . 4 ⊢ (¬ 𝜑 → (𝜏 ↔ 𝜂)) |
16 | iffalse 4316 | . . . . . 6 ⊢ (¬ 𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐷) | |
17 | 16 | eqcomd 2784 | . . . . 5 ⊢ (¬ 𝜑 → 𝐷 = if(𝜑, 𝐵, 𝐷)) |
18 | elimhyp2v.4 | . . . . 5 ⊢ (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂 ↔ 𝜃)) | |
19 | 17, 18 | syl 17 | . . . 4 ⊢ (¬ 𝜑 → (𝜂 ↔ 𝜃)) |
20 | 15, 19 | bitrd 271 | . . 3 ⊢ (¬ 𝜑 → (𝜏 ↔ 𝜃)) |
21 | 11, 20 | mpbii 225 | . 2 ⊢ (¬ 𝜑 → 𝜃) |
22 | 10, 21 | pm2.61i 177 | 1 ⊢ 𝜃 |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 198 = wceq 1601 ifcif 4307 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1839 ax-4 1853 ax-5 1953 ax-6 2021 ax-7 2055 ax-9 2116 ax-10 2135 ax-12 2163 ax-ext 2754 |
This theorem depends on definitions: df-bi 199 df-an 387 df-or 837 df-tru 1605 df-ex 1824 df-nf 1828 df-sb 2012 df-clab 2764 df-cleq 2770 df-clel 2774 df-if 4308 |
This theorem is referenced by: omlsi 28835 |
Copyright terms: Public domain | W3C validator |