| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifbothda | Structured version Visualization version GIF version | ||
| Description: A wff 𝜃 containing a conditional operator is true when both of its cases are true. (Contributed by NM, 15-Feb-2015.) |
| Ref | Expression |
|---|---|
| ifboth.1 | ⊢ (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜓 ↔ 𝜃)) |
| ifboth.2 | ⊢ (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒 ↔ 𝜃)) |
| ifbothda.3 | ⊢ ((𝜂 ∧ 𝜑) → 𝜓) |
| ifbothda.4 | ⊢ ((𝜂 ∧ ¬ 𝜑) → 𝜒) |
| Ref | Expression |
|---|---|
| ifbothda | ⊢ (𝜂 → 𝜃) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ifbothda.3 | . . 3 ⊢ ((𝜂 ∧ 𝜑) → 𝜓) | |
| 2 | iftrue 4493 | . . . . . 6 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) | |
| 3 | 2 | eqcomd 2775 | . . . . 5 ⊢ (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐵)) |
| 4 | ifboth.1 | . . . . 5 ⊢ (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜓 ↔ 𝜃)) | |
| 5 | 3, 4 | syl 18 | . . . 4 ⊢ (𝜑 → (𝜓 ↔ 𝜃)) |
| 6 | 5 | adantl 487 | . . 3 ⊢ ((𝜂 ∧ 𝜑) → (𝜓 ↔ 𝜃)) |
| 7 | 1, 6 | mpbid 235 | . 2 ⊢ ((𝜂 ∧ 𝜑) → 𝜃) |
| 8 | ifbothda.4 | . . 3 ⊢ ((𝜂 ∧ ¬ 𝜑) → 𝜒) | |
| 9 | iffalse 4496 | . . . . . 6 ⊢ (¬ 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵) | |
| 10 | 9 | eqcomd 2775 | . . . . 5 ⊢ (¬ 𝜑 → 𝐵 = if(𝜑, 𝐴, 𝐵)) |
| 11 | ifboth.2 | . . . . 5 ⊢ (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒 ↔ 𝜃)) | |
| 12 | 10, 11 | syl 18 | . . . 4 ⊢ (¬ 𝜑 → (𝜒 ↔ 𝜃)) |
| 13 | 12 | adantl 487 | . . 3 ⊢ ((𝜂 ∧ ¬ 𝜑) → (𝜒 ↔ 𝜃)) |
| 14 | 8, 13 | mpbid 235 | . 2 ⊢ ((𝜂 ∧ ¬ 𝜑) → 𝜃) |
| 15 | 7, 14 | pm2.61dan 825 | 1 ⊢ (𝜂 → 𝜃) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1572 ifcif 4487 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2153 ax-9 2161 ax-ext 2741 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-ex 1815 df-sb 2105 df-clab 2748 df-cleq 2761 df-clel 2845 df-if 4488 |
| This theorem is used by: ifboth 4527 resixpfo 9006 boxriin 9010 boxcutc 9011 suppr 9505 infpr 9538 cantnflem1 9731 ttukeylem5 10634 ttukeylem6 10635 sgn3da 15301 bitsinv1lem 16658 bitsinv1 16659 smumullem 16709 hashgcdeq 17018 ramcl2lem 17238 acsfn 17894 tsrlemax 18821 odlem1 19811 gexlem1 19855 cyggex2 20173 dprdfeq0 20300 xrsdsreclb 21783 mplmon2 22438 evlslem1 22459 coe1tmmul2 22667 coe1tmmul 22668 ptcld 24004 xkopt 24046 stdbdxmet 24906 xrsxmet 25201 iccpnfcnv 25337 iccpnfhmeo 25338 xrhmeo 25339 dvcobr 26338 mdegle0 26463 plyn0mulidp 26670 dvradcnv 26818 psercnlem1 26822 psercn 26823 logtayl 27058 efrlim 27367 lgamgulmlem5 27430 musum 27588 dchrmullid 27649 dchrsum2 27665 sumdchr2 27667 dchrisum0flblem1 27905 dchrisum0flblem2 27906 rplogsum 27924 pntlemj 28000 eupth2lem1 30889 eulerpathpr 30911 ifeqeqx 33249 elrgspnlem2 33914 elrgspnlem3 33915 mplasclco 34270 mplmulmvr 34293 esplyfv 34324 esplyfval3 34326 xrge0iifcnv 34687 xrge0iifhom 34691 esumpinfval 34827 dstfrvunirn 35229 signswn0 35311 signswch 35312 lpadmax 35436 lpadright 35438 fnejoin2 37391 poimirlem16 38842 poimirlem17 38843 poimirlem19 38845 poimirlem20 38846 poimirlem24 38850 cnambfre 38874 itg2addnclem 38877 itg2addnclem3 38879 itg2addnc 38880 itg2gt0cn 38881 ftc1anclem7 38905 ftc1anclem8 38906 ftc1anc 38907 sticksstones10 43491 sticksstones12a 43493 aks6d1c6lem3 43508 kelac1 44347 discsubc 50616 iinfconstbas 50618 discthing 51034 |
| Copyright terms: Public domain | W3C validator |