| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > ifcldadc | GIF version | ||
| Description: Conditional closure. (Contributed by Jim Kingdon, 11-Jan-2022.) |
| Ref | Expression |
|---|---|
| ifcldadc.1 | ⊢ ((𝜑 ∧ 𝜓) → 𝐴 ∈ 𝐶) |
| ifcldadc.2 | ⊢ ((𝜑 ∧ ¬ 𝜓) → 𝐵 ∈ 𝐶) |
| ifcldadc.dc | ⊢ (𝜑 → DECID 𝜓) |
| Ref | Expression |
|---|---|
| ifcldadc | ⊢ (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | iftrue 3607 | . . . 4 ⊢ (𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐴) | |
| 2 | 1 | adantl 277 | . . 3 ⊢ ((𝜑 ∧ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐴) |
| 3 | ifcldadc.1 | . . 3 ⊢ ((𝜑 ∧ 𝜓) → 𝐴 ∈ 𝐶) | |
| 4 | 2, 3 | eqeltrd 2306 | . 2 ⊢ ((𝜑 ∧ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶) |
| 5 | iffalse 3610 | . . . 4 ⊢ (¬ 𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐵) | |
| 6 | 5 | adantl 277 | . . 3 ⊢ ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐵) |
| 7 | ifcldadc.2 | . . 3 ⊢ ((𝜑 ∧ ¬ 𝜓) → 𝐵 ∈ 𝐶) | |
| 8 | 6, 7 | eqeltrd 2306 | . 2 ⊢ ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶) |
| 9 | ifcldadc.dc | . . 3 ⊢ (𝜑 → DECID 𝜓) | |
| 10 | exmiddc 841 | . . 3 ⊢ (DECID 𝜓 → (𝜓 ∨ ¬ 𝜓)) | |
| 11 | 9, 10 | syl 14 | . 2 ⊢ (𝜑 → (𝜓 ∨ ¬ 𝜓)) |
| 12 | 4, 8, 11 | mpjaodan 803 | 1 ⊢ (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ∨ wo 713 DECID wdc 839 = wceq 1395 ∈ wcel 2200 ifcif 3602 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in2 618 ax-io 714 ax-5 1493 ax-7 1494 ax-gen 1495 ax-ie1 1539 ax-ie2 1540 ax-8 1550 ax-11 1552 ax-4 1556 ax-17 1572 ax-i9 1576 ax-ial 1580 ax-i5r 1581 ax-ext 2211 |
| This theorem depends on definitions: df-bi 117 df-dc 840 df-nf 1507 df-sb 1809 df-clab 2216 df-cleq 2222 df-clel 2225 df-if 3603 |
| This theorem is referenced by: updjudhf 7257 omp1eomlem 7272 difinfsnlem 7277 ctmlemr 7286 ctssdclemn0 7288 ctssdc 7291 enumctlemm 7292 xaddf 10052 xaddval 10053 iseqf1olemqcl 10733 iseqf1olemnab 10735 iseqf1olemjpcl 10742 iseqf1olemqpcl 10743 seq3f1oleml 10750 seq3f1o 10751 exp3val 10775 ccatcl 11141 swrdclg 11197 xrmaxiflemcl 11771 summodclem2a 11907 zsumdc 11910 fsum3 11913 isumss 11917 fsum3cvg2 11920 fsum3ser 11923 fsumcl2lem 11924 fsumadd 11932 sumsnf 11935 sumsplitdc 11958 fsummulc2 11974 isumlessdc 12022 cvgratz 12058 prodmodclem3 12101 prodmodclem2a 12102 zproddc 12105 fprodseq 12109 fprodmul 12117 prodsnf 12118 eucalgval2 12590 lcmval 12600 pcmpt 12881 ennnfonelemg 12989 mulgval 13674 mulgfng 13676 elplyd 15430 dvply1 15454 lgsval 15698 lgsfvalg 15699 lgsfcl2 15700 lgscllem 15701 lgsval2lem 15704 lgsdir 15729 lgsdilem2 15730 lgsdi 15731 lgsne0 15732 subctctexmid 16425 |
| Copyright terms: Public domain | W3C validator |