| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > iftrue | GIF version | ||
| Description: Value of the conditional operator when its first argument is true. (Contributed by NM, 15-May-1999.) (Proof shortened by Andrew Salmon, 26-Jun-2011.) |
| Ref | Expression |
|---|---|
| iftrue | ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-if 3639 | . 2 ⊢ if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜑))} | |
| 2 | dedlema 982 | . . 3 ⊢ (𝜑 → (𝑥 ∈ 𝐴 ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜑)))) | |
| 3 | 2 | abbi2dv 2359 | . 2 ⊢ (𝜑 → 𝐴 = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜑))}) |
| 4 | 1, 3 | eqtr4id 2290 | 1 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) |
| Colors of variables: wff set class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 104 ∨ wo 720 = wceq 1402 ∈ wcel 2209 {cab 2224 ifcif 3638 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in2 624 ax-io 721 ax-5 1500 ax-7 1501 ax-gen 1502 ax-ie1 1546 ax-ie2 1547 ax-8 1557 ax-11 1559 ax-4 1563 ax-17 1579 ax-i9 1583 ax-ial 1587 ax-i5r 1588 ax-ext 2220 |
| This proof depends on definitions: df-bi 117 df-nf 1514 df-sb 1816 df-clab 2225 df-cleq 2231 df-clel 2234 df-if 3639 |
| This theorem is used by: iftruei 3646 iftrued 3647 ifsbdc 3653 ifcldadc 3670 ifeqdadc 3673 ifbothdadc 3674 ifbothdc 3675 ifiddc 3676 ifcldcd 3678 ifnotdc 3679 2if2dc 3680 ifandc 3681 ifordc 3682 ifnefals 3685 pw2f1odclem 7145 fidifsnen 7183 nnnninf 7478 nnnninf2 7479 mkvprop 7510 iftrueb01 7594 ind1 9315 uzin 9976 fzprval 10511 fztpval 10512 modifeq2int 10849 seqf1oglem1 10982 seqf1oglem2 10983 bcval 11214 bcval2 11215 ccatval1 11392 ccatalpha 11408 swrdccat 11534 pfxccat3a 11537 swrdccat3b 11539 sumrbdclem 12174 fsum3cvg 12175 summodclem2a 12178 isumss2 12190 fsum3ser 12194 fsumsplit 12204 sumsplitdc 12229 prodrbdclem 12368 fproddccvg 12369 iprodap 12377 iprodap0 12379 prodssdc 12386 fprodsplitdc 12393 flodddiv4 12733 gcd0val 12767 dfgcd2 12821 eucalgf 12863 eucalginv 12864 eucalglt 12865 phisum 13053 pc0 13117 pcgcd 13142 pcmptcl 13155 pcmpt 13156 pcmpt2 13157 pcprod 13159 fldivp1 13161 1arithlem4 13179 ballotfilemsima 13322 ballotfilemrv1 13327 unct 13396 xpsfrnel 13729 znf1o 15102 psrlidmfi 15233 psrridmfi 15234 mvrf1fi 15252 dvexp2 16029 elply2 16052 elplyd 16058 ply1termlem 16059 chtublem 16386 bposlem1 16402 bposlem3 16404 bposlem5 16406 bposlem6 16407 lgsval2lem 16425 lgsneg 16439 lgsdilem 16442 lgsdir2 16448 lgsdir 16450 lgsdi 16452 lgsne0 16453 gausslemma2dlem1a 16473 2lgslem1c 16505 2lgslem3 16516 2lgs 16519 opvtxval 16558 opiedgval 16561 depindlem1 17043 nnsf 17345 nninfsellemsuc 17352 |
| Copyright terms: Public domain | W3C validator |