Mathbox for Glauco Siliprandi |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > volioore | Structured version Visualization version GIF version |
Description: The measure of an open interval. (Contributed by Glauco Siliprandi, 3-Mar-2021.) |
Ref | Expression |
---|---|
volioore | ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (vol‘(𝐴(,)𝐵)) = if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | volioo 24731 | . . . 4 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐴 ≤ 𝐵) → (vol‘(𝐴(,)𝐵)) = (𝐵 − 𝐴)) | |
2 | 1 | 3expa 1117 | . . 3 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 ≤ 𝐵) → (vol‘(𝐴(,)𝐵)) = (𝐵 − 𝐴)) |
3 | iftrue 4467 | . . . 4 ⊢ (𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0) = (𝐵 − 𝐴)) | |
4 | 3 | adantl 482 | . . 3 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 ≤ 𝐵) → if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0) = (𝐵 − 𝐴)) |
5 | 2, 4 | eqtr4d 2781 | . 2 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 ≤ 𝐵) → (vol‘(𝐴(,)𝐵)) = if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0)) |
6 | simpl 483 | . . 3 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ¬ 𝐴 ≤ 𝐵) → (𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ)) | |
7 | simpr 485 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ¬ 𝐴 ≤ 𝐵) → ¬ 𝐴 ≤ 𝐵) | |
8 | simpr 485 | . . . . . 6 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐵 ∈ ℝ) | |
9 | simpl 483 | . . . . . 6 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐴 ∈ ℝ) | |
10 | 8, 9 | ltnled 11120 | . . . . 5 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐵 < 𝐴 ↔ ¬ 𝐴 ≤ 𝐵)) |
11 | 10 | adantr 481 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ¬ 𝐴 ≤ 𝐵) → (𝐵 < 𝐴 ↔ ¬ 𝐴 ≤ 𝐵)) |
12 | 7, 11 | mpbird 256 | . . 3 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ¬ 𝐴 ≤ 𝐵) → 𝐵 < 𝐴) |
13 | vol0 43470 | . . . . 5 ⊢ (vol‘∅) = 0 | |
14 | 13 | a1i 11 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → (vol‘∅) = 0) |
15 | 8 | adantr 481 | . . . . . . 7 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → 𝐵 ∈ ℝ) |
16 | 9 | adantr 481 | . . . . . . 7 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → 𝐴 ∈ ℝ) |
17 | simpr 485 | . . . . . . 7 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → 𝐵 < 𝐴) | |
18 | 15, 16, 17 | ltled 11121 | . . . . . 6 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → 𝐵 ≤ 𝐴) |
19 | 9 | rexrd 11023 | . . . . . . . 8 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐴 ∈ ℝ*) |
20 | 8 | rexrd 11023 | . . . . . . . 8 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐵 ∈ ℝ*) |
21 | ioo0 13102 | . . . . . . . 8 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) → ((𝐴(,)𝐵) = ∅ ↔ 𝐵 ≤ 𝐴)) | |
22 | 19, 20, 21 | syl2anc 584 | . . . . . . 7 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐴(,)𝐵) = ∅ ↔ 𝐵 ≤ 𝐴)) |
23 | 22 | adantr 481 | . . . . . 6 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → ((𝐴(,)𝐵) = ∅ ↔ 𝐵 ≤ 𝐴)) |
24 | 18, 23 | mpbird 256 | . . . . 5 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → (𝐴(,)𝐵) = ∅) |
25 | 24 | fveq2d 6780 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → (vol‘(𝐴(,)𝐵)) = (vol‘∅)) |
26 | 10 | biimpa 477 | . . . . 5 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → ¬ 𝐴 ≤ 𝐵) |
27 | 26 | iffalsed 4472 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0) = 0) |
28 | 14, 25, 27 | 3eqtr4d 2788 | . . 3 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐵 < 𝐴) → (vol‘(𝐴(,)𝐵)) = if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0)) |
29 | 6, 12, 28 | syl2anc 584 | . 2 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ¬ 𝐴 ≤ 𝐵) → (vol‘(𝐴(,)𝐵)) = if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0)) |
30 | 5, 29 | pm2.61dan 810 | 1 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (vol‘(𝐴(,)𝐵)) = if(𝐴 ≤ 𝐵, (𝐵 − 𝐴), 0)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 205 ∧ wa 396 = wceq 1539 ∈ wcel 2106 ∅c0 4258 ifcif 4461 class class class wbr 5076 ‘cfv 6435 (class class class)co 7277 ℝcr 10868 0cc0 10869 ℝ*cxr 11006 < clt 11007 ≤ cle 11008 − cmin 11203 (,)cioo 13077 volcvol 24625 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2709 ax-rep 5211 ax-sep 5225 ax-nul 5232 ax-pow 5290 ax-pr 5354 ax-un 7588 ax-inf2 9397 ax-cnex 10925 ax-resscn 10926 ax-1cn 10927 ax-icn 10928 ax-addcl 10929 ax-addrcl 10930 ax-mulcl 10931 ax-mulrcl 10932 ax-mulcom 10933 ax-addass 10934 ax-mulass 10935 ax-distr 10936 ax-i2m1 10937 ax-1ne0 10938 ax-1rid 10939 ax-rnegex 10940 ax-rrecex 10941 ax-cnre 10942 ax-pre-lttri 10943 ax-pre-lttrn 10944 ax-pre-ltadd 10945 ax-pre-mulgt0 10946 ax-pre-sup 10947 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2889 df-ne 2944 df-nel 3050 df-ral 3069 df-rex 3070 df-rmo 3071 df-reu 3072 df-rab 3073 df-v 3433 df-sbc 3718 df-csb 3834 df-dif 3891 df-un 3893 df-in 3895 df-ss 3905 df-pss 3907 df-nul 4259 df-if 4462 df-pw 4537 df-sn 4564 df-pr 4566 df-op 4570 df-uni 4842 df-int 4882 df-iun 4928 df-br 5077 df-opab 5139 df-mpt 5160 df-tr 5194 df-id 5491 df-eprel 5497 df-po 5505 df-so 5506 df-fr 5546 df-se 5547 df-we 5548 df-xp 5597 df-rel 5598 df-cnv 5599 df-co 5600 df-dm 5601 df-rn 5602 df-res 5603 df-ima 5604 df-pred 6204 df-ord 6271 df-on 6272 df-lim 6273 df-suc 6274 df-iota 6393 df-fun 6437 df-fn 6438 df-f 6439 df-f1 6440 df-fo 6441 df-f1o 6442 df-fv 6443 df-isom 6444 df-riota 7234 df-ov 7280 df-oprab 7281 df-mpo 7282 df-of 7533 df-om 7713 df-1st 7831 df-2nd 7832 df-frecs 8095 df-wrecs 8126 df-recs 8200 df-rdg 8239 df-1o 8295 df-2o 8296 df-er 8496 df-map 8615 df-pm 8616 df-en 8732 df-dom 8733 df-sdom 8734 df-fin 8735 df-fi 9168 df-sup 9199 df-inf 9200 df-oi 9267 df-dju 9657 df-card 9695 df-pnf 11009 df-mnf 11010 df-xr 11011 df-ltxr 11012 df-le 11013 df-sub 11205 df-neg 11206 df-div 11631 df-nn 11972 df-2 12034 df-3 12035 df-n0 12232 df-z 12318 df-uz 12581 df-q 12687 df-rp 12729 df-xneg 12846 df-xadd 12847 df-xmul 12848 df-ioo 13081 df-ico 13083 df-icc 13084 df-fz 13238 df-fzo 13381 df-fl 13510 df-seq 13720 df-exp 13781 df-hash 14043 df-cj 14808 df-re 14809 df-im 14810 df-sqrt 14944 df-abs 14945 df-clim 15195 df-rlim 15196 df-sum 15396 df-rest 17131 df-topgen 17152 df-psmet 20587 df-xmet 20588 df-met 20589 df-bl 20590 df-mopn 20591 df-top 22041 df-topon 22058 df-bases 22094 df-cmp 22536 df-ovol 24626 df-vol 24627 |
This theorem is referenced by: ovolval5lem1 44160 |
Copyright terms: Public domain | W3C validator |