![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > tmsxpsval2 | Structured version Visualization version GIF version |
Description: Value of the product of two metrics. (Contributed by Mario Carneiro, 2-Sep-2015.) |
Ref | Expression |
---|---|
tmsxps.p | ⊢ 𝑃 = (dist‘((toMetSp‘𝑀) ×s (toMetSp‘𝑁))) |
tmsxps.1 | ⊢ (𝜑 → 𝑀 ∈ (∞Met‘𝑋)) |
tmsxps.2 | ⊢ (𝜑 → 𝑁 ∈ (∞Met‘𝑌)) |
tmsxpsval.a | ⊢ (𝜑 → 𝐴 ∈ 𝑋) |
tmsxpsval.b | ⊢ (𝜑 → 𝐵 ∈ 𝑌) |
tmsxpsval.c | ⊢ (𝜑 → 𝐶 ∈ 𝑋) |
tmsxpsval.d | ⊢ (𝜑 → 𝐷 ∈ 𝑌) |
Ref | Expression |
---|---|
tmsxpsval2 | ⊢ (𝜑 → (〈𝐴, 𝐵〉𝑃〈𝐶, 𝐷〉) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | tmsxps.p | . . 3 ⊢ 𝑃 = (dist‘((toMetSp‘𝑀) ×s (toMetSp‘𝑁))) | |
2 | tmsxps.1 | . . 3 ⊢ (𝜑 → 𝑀 ∈ (∞Met‘𝑋)) | |
3 | tmsxps.2 | . . 3 ⊢ (𝜑 → 𝑁 ∈ (∞Met‘𝑌)) | |
4 | tmsxpsval.a | . . 3 ⊢ (𝜑 → 𝐴 ∈ 𝑋) | |
5 | tmsxpsval.b | . . 3 ⊢ (𝜑 → 𝐵 ∈ 𝑌) | |
6 | tmsxpsval.c | . . 3 ⊢ (𝜑 → 𝐶 ∈ 𝑋) | |
7 | tmsxpsval.d | . . 3 ⊢ (𝜑 → 𝐷 ∈ 𝑌) | |
8 | 1, 2, 3, 4, 5, 6, 7 | tmsxpsval 22671 | . 2 ⊢ (𝜑 → (〈𝐴, 𝐵〉𝑃〈𝐶, 𝐷〉) = sup({(𝐴𝑀𝐶), (𝐵𝑁𝐷)}, ℝ*, < )) |
9 | xrltso 12221 | . . . 4 ⊢ < Or ℝ* | |
10 | 9 | a1i 11 | . . 3 ⊢ (𝜑 → < Or ℝ*) |
11 | xmetcl 22464 | . . . 4 ⊢ ((𝑀 ∈ (∞Met‘𝑋) ∧ 𝐴 ∈ 𝑋 ∧ 𝐶 ∈ 𝑋) → (𝐴𝑀𝐶) ∈ ℝ*) | |
12 | 2, 4, 6, 11 | syl3anc 1491 | . . 3 ⊢ (𝜑 → (𝐴𝑀𝐶) ∈ ℝ*) |
13 | xmetcl 22464 | . . . 4 ⊢ ((𝑁 ∈ (∞Met‘𝑌) ∧ 𝐵 ∈ 𝑌 ∧ 𝐷 ∈ 𝑌) → (𝐵𝑁𝐷) ∈ ℝ*) | |
14 | 3, 5, 7, 13 | syl3anc 1491 | . . 3 ⊢ (𝜑 → (𝐵𝑁𝐷) ∈ ℝ*) |
15 | suppr 8619 | . . 3 ⊢ (( < Or ℝ* ∧ (𝐴𝑀𝐶) ∈ ℝ* ∧ (𝐵𝑁𝐷) ∈ ℝ*) → sup({(𝐴𝑀𝐶), (𝐵𝑁𝐷)}, ℝ*, < ) = if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷))) | |
16 | 10, 12, 14, 15 | syl3anc 1491 | . 2 ⊢ (𝜑 → sup({(𝐴𝑀𝐶), (𝐵𝑁𝐷)}, ℝ*, < ) = if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷))) |
17 | xrltnle 10395 | . . . . 5 ⊢ (((𝐵𝑁𝐷) ∈ ℝ* ∧ (𝐴𝑀𝐶) ∈ ℝ*) → ((𝐵𝑁𝐷) < (𝐴𝑀𝐶) ↔ ¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷))) | |
18 | 14, 12, 17 | syl2anc 580 | . . . 4 ⊢ (𝜑 → ((𝐵𝑁𝐷) < (𝐴𝑀𝐶) ↔ ¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷))) |
19 | 18 | ifbid 4299 | . . 3 ⊢ (𝜑 → if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷)) = if(¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐴𝑀𝐶), (𝐵𝑁𝐷))) |
20 | ifnot 4327 | . . 3 ⊢ if(¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐴𝑀𝐶), (𝐵𝑁𝐷)) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶)) | |
21 | 19, 20 | syl6eq 2849 | . 2 ⊢ (𝜑 → if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷)) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶))) |
22 | 8, 16, 21 | 3eqtrd 2837 | 1 ⊢ (𝜑 → (〈𝐴, 𝐵〉𝑃〈𝐶, 𝐷〉) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶))) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 198 = wceq 1653 ∈ wcel 2157 ifcif 4277 {cpr 4370 〈cop 4374 class class class wbr 4843 Or wor 5232 ‘cfv 6101 (class class class)co 6878 supcsup 8588 ℝ*cxr 10362 < clt 10363 ≤ cle 10364 distcds 16276 ×s cxps 16481 ∞Metcxmet 20053 toMetSpctms 22452 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1891 ax-4 1905 ax-5 2006 ax-6 2072 ax-7 2107 ax-8 2159 ax-9 2166 ax-10 2185 ax-11 2200 ax-12 2213 ax-13 2377 ax-ext 2777 ax-rep 4964 ax-sep 4975 ax-nul 4983 ax-pow 5035 ax-pr 5097 ax-un 7183 ax-inf2 8788 ax-cnex 10280 ax-resscn 10281 ax-1cn 10282 ax-icn 10283 ax-addcl 10284 ax-addrcl 10285 ax-mulcl 10286 ax-mulrcl 10287 ax-mulcom 10288 ax-addass 10289 ax-mulass 10290 ax-distr 10291 ax-i2m1 10292 ax-1ne0 10293 ax-1rid 10294 ax-rnegex 10295 ax-rrecex 10296 ax-cnre 10297 ax-pre-lttri 10298 ax-pre-lttrn 10299 ax-pre-ltadd 10300 ax-pre-mulgt0 10301 ax-pre-sup 10302 |
This theorem depends on definitions: df-bi 199 df-an 386 df-or 875 df-3or 1109 df-3an 1110 df-tru 1657 df-ex 1876 df-nf 1880 df-sb 2065 df-mo 2591 df-eu 2609 df-clab 2786 df-cleq 2792 df-clel 2795 df-nfc 2930 df-ne 2972 df-nel 3075 df-ral 3094 df-rex 3095 df-reu 3096 df-rmo 3097 df-rab 3098 df-v 3387 df-sbc 3634 df-csb 3729 df-dif 3772 df-un 3774 df-in 3776 df-ss 3783 df-pss 3785 df-nul 4116 df-if 4278 df-pw 4351 df-sn 4369 df-pr 4371 df-tp 4373 df-op 4375 df-uni 4629 df-int 4668 df-iun 4712 df-iin 4713 df-br 4844 df-opab 4906 df-mpt 4923 df-tr 4946 df-id 5220 df-eprel 5225 df-po 5233 df-so 5234 df-fr 5271 df-se 5272 df-we 5273 df-xp 5318 df-rel 5319 df-cnv 5320 df-co 5321 df-dm 5322 df-rn 5323 df-res 5324 df-ima 5325 df-pred 5898 df-ord 5944 df-on 5945 df-lim 5946 df-suc 5947 df-iota 6064 df-fun 6103 df-fn 6104 df-f 6105 df-f1 6106 df-fo 6107 df-f1o 6108 df-fv 6109 df-isom 6110 df-riota 6839 df-ov 6881 df-oprab 6882 df-mpt2 6883 df-of 7131 df-om 7300 df-1st 7401 df-2nd 7402 df-supp 7533 df-wrecs 7645 df-recs 7707 df-rdg 7745 df-1o 7799 df-2o 7800 df-oadd 7803 df-er 7982 df-map 8097 df-ixp 8149 df-en 8196 df-dom 8197 df-sdom 8198 df-fin 8199 df-fsupp 8518 df-sup 8590 df-inf 8591 df-oi 8657 df-card 9051 df-cda 9278 df-pnf 10365 df-mnf 10366 df-xr 10367 df-ltxr 10368 df-le 10369 df-sub 10558 df-neg 10559 df-div 10977 df-nn 11313 df-2 11376 df-3 11377 df-4 11378 df-5 11379 df-6 11380 df-7 11381 df-8 11382 df-9 11383 df-n0 11581 df-z 11667 df-dec 11784 df-uz 11931 df-q 12034 df-rp 12075 df-xneg 12193 df-xadd 12194 df-xmul 12195 df-icc 12431 df-fz 12581 df-fzo 12721 df-seq 13056 df-hash 13371 df-struct 16186 df-ndx 16187 df-slot 16188 df-base 16190 df-sets 16191 df-ress 16192 df-plusg 16280 df-mulr 16281 df-sca 16283 df-vsca 16284 df-ip 16285 df-tset 16286 df-ple 16287 df-ds 16289 df-hom 16291 df-cco 16292 df-rest 16398 df-topn 16399 df-0g 16417 df-gsum 16418 df-topgen 16419 df-prds 16423 df-xrs 16477 df-imas 16483 df-xps 16485 df-mre 16561 df-mrc 16562 df-acs 16564 df-mgm 17557 df-sgrp 17599 df-mnd 17610 df-submnd 17651 df-mulg 17857 df-cntz 18062 df-cmn 18510 df-psmet 20060 df-xmet 20061 df-bl 20063 df-mopn 20064 df-top 21027 df-topon 21044 df-topsp 21066 df-bases 21079 df-xms 22453 df-tms 22455 |
This theorem is referenced by: txmetcnp 22680 |
Copyright terms: Public domain | W3C validator |