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 23142 | . 2 ⊢ (𝜑 → (〈𝐴, 𝐵〉𝑃〈𝐶, 𝐷〉) = sup({(𝐴𝑀𝐶), (𝐵𝑁𝐷)}, ℝ*, < )) |
9 | xrltso 12528 | . . 3 ⊢ < Or ℝ* | |
10 | xmetcl 22935 | . . . 4 ⊢ ((𝑀 ∈ (∞Met‘𝑋) ∧ 𝐴 ∈ 𝑋 ∧ 𝐶 ∈ 𝑋) → (𝐴𝑀𝐶) ∈ ℝ*) | |
11 | 2, 4, 6, 10 | syl3anc 1367 | . . 3 ⊢ (𝜑 → (𝐴𝑀𝐶) ∈ ℝ*) |
12 | xmetcl 22935 | . . . 4 ⊢ ((𝑁 ∈ (∞Met‘𝑌) ∧ 𝐵 ∈ 𝑌 ∧ 𝐷 ∈ 𝑌) → (𝐵𝑁𝐷) ∈ ℝ*) | |
13 | 3, 5, 7, 12 | syl3anc 1367 | . . 3 ⊢ (𝜑 → (𝐵𝑁𝐷) ∈ ℝ*) |
14 | suppr 8929 | . . 3 ⊢ (( < Or ℝ* ∧ (𝐴𝑀𝐶) ∈ ℝ* ∧ (𝐵𝑁𝐷) ∈ ℝ*) → sup({(𝐴𝑀𝐶), (𝐵𝑁𝐷)}, ℝ*, < ) = if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷))) | |
15 | 9, 11, 13, 14 | mp3an2i 1462 | . 2 ⊢ (𝜑 → sup({(𝐴𝑀𝐶), (𝐵𝑁𝐷)}, ℝ*, < ) = if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷))) |
16 | xrltnle 10702 | . . . . 5 ⊢ (((𝐵𝑁𝐷) ∈ ℝ* ∧ (𝐴𝑀𝐶) ∈ ℝ*) → ((𝐵𝑁𝐷) < (𝐴𝑀𝐶) ↔ ¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷))) | |
17 | 13, 11, 16 | syl2anc 586 | . . . 4 ⊢ (𝜑 → ((𝐵𝑁𝐷) < (𝐴𝑀𝐶) ↔ ¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷))) |
18 | 17 | ifbid 4489 | . . 3 ⊢ (𝜑 → if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷)) = if(¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐴𝑀𝐶), (𝐵𝑁𝐷))) |
19 | ifnot 4517 | . . 3 ⊢ if(¬ (𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐴𝑀𝐶), (𝐵𝑁𝐷)) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶)) | |
20 | 18, 19 | syl6eq 2872 | . 2 ⊢ (𝜑 → if((𝐵𝑁𝐷) < (𝐴𝑀𝐶), (𝐴𝑀𝐶), (𝐵𝑁𝐷)) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶))) |
21 | 8, 15, 20 | 3eqtrd 2860 | 1 ⊢ (𝜑 → (〈𝐴, 𝐵〉𝑃〈𝐶, 𝐷〉) = if((𝐴𝑀𝐶) ≤ (𝐵𝑁𝐷), (𝐵𝑁𝐷), (𝐴𝑀𝐶))) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 208 = wceq 1533 ∈ wcel 2110 ifcif 4467 {cpr 4563 〈cop 4567 class class class wbr 5059 Or wor 5468 ‘cfv 6350 (class class class)co 7150 supcsup 8898 ℝ*cxr 10668 < clt 10669 ≤ cle 10670 distcds 16568 ×s cxps 16773 ∞Metcxmet 20524 toMetSpctms 22923 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1792 ax-4 1806 ax-5 1907 ax-6 1966 ax-7 2011 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2156 ax-12 2172 ax-ext 2793 ax-rep 5183 ax-sep 5196 ax-nul 5203 ax-pow 5259 ax-pr 5322 ax-un 7455 ax-cnex 10587 ax-resscn 10588 ax-1cn 10589 ax-icn 10590 ax-addcl 10591 ax-addrcl 10592 ax-mulcl 10593 ax-mulrcl 10594 ax-mulcom 10595 ax-addass 10596 ax-mulass 10597 ax-distr 10598 ax-i2m1 10599 ax-1ne0 10600 ax-1rid 10601 ax-rnegex 10602 ax-rrecex 10603 ax-cnre 10604 ax-pre-lttri 10605 ax-pre-lttrn 10606 ax-pre-ltadd 10607 ax-pre-mulgt0 10608 ax-pre-sup 10609 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-3or 1084 df-3an 1085 df-tru 1536 df-ex 1777 df-nf 1781 df-sb 2066 df-mo 2618 df-eu 2650 df-clab 2800 df-cleq 2814 df-clel 2893 df-nfc 2963 df-ne 3017 df-nel 3124 df-ral 3143 df-rex 3144 df-reu 3145 df-rmo 3146 df-rab 3147 df-v 3497 df-sbc 3773 df-csb 3884 df-dif 3939 df-un 3941 df-in 3943 df-ss 3952 df-pss 3954 df-nul 4292 df-if 4468 df-pw 4541 df-sn 4562 df-pr 4564 df-tp 4566 df-op 4568 df-uni 4833 df-int 4870 df-iun 4914 df-iin 4915 df-br 5060 df-opab 5122 df-mpt 5140 df-tr 5166 df-id 5455 df-eprel 5460 df-po 5469 df-so 5470 df-fr 5509 df-se 5510 df-we 5511 df-xp 5556 df-rel 5557 df-cnv 5558 df-co 5559 df-dm 5560 df-rn 5561 df-res 5562 df-ima 5563 df-pred 6143 df-ord 6189 df-on 6190 df-lim 6191 df-suc 6192 df-iota 6309 df-fun 6352 df-fn 6353 df-f 6354 df-f1 6355 df-fo 6356 df-f1o 6357 df-fv 6358 df-isom 6359 df-riota 7108 df-ov 7153 df-oprab 7154 df-mpo 7155 df-of 7403 df-om 7575 df-1st 7683 df-2nd 7684 df-supp 7825 df-wrecs 7941 df-recs 8002 df-rdg 8040 df-1o 8096 df-2o 8097 df-oadd 8100 df-er 8283 df-map 8402 df-ixp 8456 df-en 8504 df-dom 8505 df-sdom 8506 df-fin 8507 df-fsupp 8828 df-sup 8900 df-inf 8901 df-oi 8968 df-card 9362 df-pnf 10671 df-mnf 10672 df-xr 10673 df-ltxr 10674 df-le 10675 df-sub 10866 df-neg 10867 df-div 11292 df-nn 11633 df-2 11694 df-3 11695 df-4 11696 df-5 11697 df-6 11698 df-7 11699 df-8 11700 df-9 11701 df-n0 11892 df-z 11976 df-dec 12093 df-uz 12238 df-q 12343 df-rp 12384 df-xneg 12501 df-xadd 12502 df-xmul 12503 df-icc 12739 df-fz 12887 df-fzo 13028 df-seq 13364 df-hash 13685 df-struct 16479 df-ndx 16480 df-slot 16481 df-base 16483 df-sets 16484 df-ress 16485 df-plusg 16572 df-mulr 16573 df-sca 16575 df-vsca 16576 df-ip 16577 df-tset 16578 df-ple 16579 df-ds 16581 df-hom 16583 df-cco 16584 df-rest 16690 df-topn 16691 df-0g 16709 df-gsum 16710 df-topgen 16711 df-prds 16715 df-xrs 16769 df-imas 16775 df-xps 16777 df-mre 16851 df-mrc 16852 df-acs 16854 df-mgm 17846 df-sgrp 17895 df-mnd 17906 df-submnd 17951 df-mulg 18219 df-cntz 18441 df-cmn 18902 df-psmet 20531 df-xmet 20532 df-bl 20534 df-mopn 20535 df-top 21496 df-topon 21513 df-topsp 21535 df-bases 21548 df-xms 22924 df-tms 22926 |
This theorem is referenced by: txmetcnp 23151 |
Copyright terms: Public domain | W3C validator |